/* ========== REFERENCES SAYFASI - ÖZEL STILLER ========== */
/* Header, footer ve genel stiller style.css'den gelir */

/* HERO BANNER */
.references-hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #312e81 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.references-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(59,130,246,0.2), transparent 70%);
    pointer-events: none;
}

.references-hero-content {
    position: relative;
    max-width: 800px;
    padding: 80px 24px;
    z-index: 2;
}

.references-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.85rem;
    color: #93c5fd;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease;
}

.references-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.references-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.references-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: white;
    color: #1e3a8a;
}

/* DALGA EFEKTİ */
.references-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.references-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.references-hero-wave svg path {
    fill: #ffffff;
}

body.dark-mode .references-hero-wave svg path {
    fill: #0a0f2a;
}

/* ANİMASYONLAR */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* REFERANS LİSTESİ */
.references-list {
    padding: 70px 0;
}

.references-list h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #1e3a8a;
    margin-bottom: 16px;
}

body.dark-mode .references-list h2 {
    color: #60a5fa;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 50px;
}

body.dark-mode .section-subtitle {
    color: #cbd5e1;
}

/* İSTATİSTİKLER */
.reference-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 24px;
}

body.dark-mode .reference-stats {
    background: linear-gradient(135deg, #0f142e, #11173b);
}

.ref-stat {
    text-align: center;
}

.ref-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a8a;
}

body.dark-mode .ref-stat-number {
    color: #60a5fa;
}

.ref-stat-label {
    font-size: 0.9rem;
    color: #64748b;
}

body.dark-mode .ref-stat-label {
    color: #cbd5e1;
}

/* REFERANS KARTLARI GRID */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* REFERANS KARTI */
.reference-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #e2e8f0;
}

.reference-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.15);
}

.reference-card.featured {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #ffffff, #fffbeb);
}

body.dark-mode .reference-card {
    background: #11173b;
    border-color: #1e2a5e;
}

body.dark-mode .reference-card.featured {
    background: linear-gradient(135deg, #11173b, #1a1f3e);
    border-color: #f59e0b;
}

.ref-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.ref-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ref-icon {
    font-size: 2rem;
}

.ref-logo h3 {
    font-size: 1.3rem;
    color: #1e3a8a;
    margin: 0;
}

body.dark-mode .ref-logo h3 {
    color: #60a5fa;
}

.ref-desc {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

body.dark-mode .ref-desc {
    color: #cbd5e1;
}

.ref-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ref-tags span {
    background: #e0e7ff;
    color: #1e3a8a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
}

body.dark-mode .ref-tags span {
    background: #1e2a5e;
    color: #93c5fd;
}

.ref-testimonial {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
    border-left: 3px solid #1e3a8a;
}

body.dark-mode .ref-testimonial {
    background: #0a0f2a;
    border-left-color: #60a5fa;
}

.ref-testimonial p {
    font-style: italic;
    font-size: 0.85rem;
    color: #4b5563;
    margin-bottom: 8px;
}

body.dark-mode .ref-testimonial p {
    color: #cbd5e1;
}

.ref-testimonial span {
    font-size: 0.75rem;
    color: #64748b;
}

body.dark-mode .ref-testimonial span {
    color: #9ca3af;
}

/* MÜŞTERİ YORUMLARI */
.references-testimonials {
    padding: 70px 0;
    background-color: #f8fafc;
}

body.dark-mode .references-testimonials {
    background-color: #0f142e;
}

.references-testimonials h2 {
    text-align: center;
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 50px;
}

body.dark-mode .references-testimonials h2 {
    color: #60a5fa;
}

.testimonials-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-ref-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

body.dark-mode .testimonial-ref-card {
    background: #11173b;
}

.quote-icon {
    font-size: 3rem;
    color: #1e3a8a;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 20px;
}

body.dark-mode .quote-icon {
    color: #60a5fa;
}

.testimonial-ref-card p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

body.dark-mode .testimonial-ref-card p {
    color: #cbd5e1;
}

.testimonial-author strong {
    display: block;
    color: #1e3a8a;
    margin-bottom: 4px;
}

body.dark-mode .testimonial-author strong {
    color: #60a5fa;
}

.testimonial-author span {
    font-size: 0.8rem;
    color: #64748b;
}

body.dark-mode .testimonial-author span {
    color: #9ca3af;
}

/* BAŞARI ÖYKÜLERİ */
.success-stories-ref {
    padding: 70px 0;
}

.success-stories-ref h2 {
    text-align: center;
    font-size: 2rem;
    color: #1e3a8a;
    margin-bottom: 50px;
}

body.dark-mode .success-stories-ref h2 {
    color: #60a5fa;
}

.stories-ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.story-ref-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 20px;
    transition: transform 0.3s;
}

body.dark-mode .story-ref-card {
    background: linear-gradient(135deg, #0f142e, #11173b);
}

.story-ref-card:hover {
    transform: translateY(-5px);
}

.story-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
}

.story-ref-card h3 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 12px;
}

body.dark-mode .story-ref-card h3 {
    color: #60a5fa;
}

.story-ref-card p {
    color: #64748b;
    line-height: 1.5;
}

body.dark-mode .story-ref-card p {
    color: #cbd5e1;
}

/* CTA */
.references-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a, #0f172a);
    text-align: center;
    color: white;
}

.references-cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.references-cta p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.85);
}

.references-cta .btn-primary {
    background: white;
    color: #1e3a8a;
}

.references-cta .btn-primary:hover {
    background: #e0e7ff;
}

/* MOBİL UYUM */
@media (max-width: 768px) {
    .references-hero {
        min-height: 450px;
    }
    
    .references-hero-title {
        font-size: 2.2rem;
    }
    
    .references-hero-subtitle {
        font-size: 1rem;
    }
    
    .references-hero-buttons {
        gap: 12px;
    }
    
    .btn-outline-light {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .references-list h2 {
        font-size: 1.8rem;
    }
    
    .reference-stats {
        gap: 30px;
        padding: 20px;
    }
    
    .ref-stat-number {
        font-size: 1.8rem;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reference-card {
        padding: 20px;
    }
    
    .testimonials-ref-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-ref-grid {
        grid-template-columns: 1fr;
    }
    
    .references-cta h2 {
        font-size: 1.6rem;
    }
    
    .references-hero-wave svg {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .references-hero-title {
        font-size: 1.8rem;
    }
    
    .references-hero-badge {
        font-size: 0.7rem;
    }
    
    .references-list h2 {
        font-size: 1.5rem;
    }
    
    .ref-stat-number {
        font-size: 1.5rem;
    }
    
    .ref-logo h3 {
        font-size: 1.1rem;
    }
}
