/* Referanslar (References) Sayfası CSS - Modern Tasarım */

/* Sayfa Başlığı */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/references-header.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 3;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s;
    animation-fill-mode: both;
    position: relative;
    z-index: 3;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Referanslar Bölümü */
.references-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    position: relative;
    z-index: 10;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
    display: inline-block;
}

.section-intro h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-intro p {
    font-size: 1.1rem;
    color: #546e7a;
    line-height: 1.8;
}

/* Filtreleme Butonları */
.filter-buttons {
    display: flex;
    justify-content: center;
    margin: 0 0 50px;
    flex-wrap: wrap;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: #546e7a;
    background-color: var(--bg-light);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gradient);
    color: var(--light-text);
    box-shadow: 0 8px 20px rgba(99, 0, 2, 0.3);
    transform: translateY(-3px);
}

/* Referanslar Grid */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.reference-item {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 1;
    transform: translateY(0);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: center;
}

.reference-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0.02;
    transition: var(--transition);
    z-index: 1;
}

.reference-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.reference-item:hover::before {
    width: 100%;
}

.reference-logo {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(249, 249, 249, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.reference-logo img {
    max-width: 80%;
    max-height: 100px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.reference-item:hover .reference-logo img {
    transform: scale(1.1);
}

.reference-info {
    padding: 15px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.reference-info h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin: 0;
    font-weight: 600;
    transition: var(--transition);
}

.reference-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: var(--transition);
}

.reference-item:hover .reference-info h3::after {
    width: 80px;
}

.reference-info p {
    font-size: 0.95rem;
    color: #546e7a;
    line-height: 1.8;
    margin-bottom: 15px;
}

.reference-category {
    display: inline-block;
    padding: 6px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(99, 0, 2, 0.08);
    border-radius: 50px;
    transition: var(--transition);
    margin-bottom: 15px;
}

.reference-item:hover .reference-category {
    background-color: rgba(99, 0, 2, 0.12);
    transform: translateX(5px);
}

.reference-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.reference-link i {
    margin-right: 8px;
    transition: var(--transition);
}

.reference-link:hover {
    color: var(--secondary-color);
}

.reference-link:hover i {
    transform: translateX(3px);
}

/* Müşteri Yorumları */
.testimonials-section {
    padding: 100px 0;
    background-color: #f9f2e8;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern-bg.png');
    opacity: 0.05;
    z-index: 1;
}

.testimonials-section .section-title {
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    font-size: 2.5rem;
    z-index: 2;
}

.testimonials-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.testimonial {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    font-family: Georgia, serif;
    color: rgba(99, 0, 2, 0.1);
    line-height: 1;
    z-index: 1;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #546e7a;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid rgba(99, 0, 2, 0.1);
    transition: var(--transition);
}

.testimonial:hover .author-image {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.author-info p {
    font-size: 0.9rem;
    color: #78909c;
    line-height: 1.4;
}

/* CTA Bölümü */
.cta {
    background: linear-gradient(rgba(99, 0, 2, 0.9), rgba(99, 0, 2, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--light-text);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cta .btn {
    position: relative;
    z-index: 2;
    min-width: 200px;
    border: 2px solid var(--light-text);
    background: transparent;
    color: var(--light-text);
    font-weight: 600;
}

.cta .btn:hover {
    background: var(--light-text);
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* No Content Message */
.no-content {
    text-align: center;
    padding: 50px;
    font-size: 1.2rem;
    color: #78909c;
    grid-column: 1 / -1;
    background-color: rgba(99, 0, 2, 0.05);
    border-radius: var(--border-radius);
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Ayarlar */
@media screen and (max-width: 1200px) {
    .page-header h1 {
        font-size: 3rem;
    }
    
    .section-intro h2,
    .testimonials-section .section-title {
        font-size: 2.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .cta h2 {
        font-size: 2.4rem;
    }
}

@media screen and (max-width: 992px) {
    .references-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .reference-info h3 {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .references-section,
    .testimonials-section {
        padding: 80px 0;
    }
    
    .section-intro {
        margin-bottom: 40px;
    }
    
    .section-intro h2,
    .testimonials-section .section-title {
        font-size: 2rem;
    }
    
    .section-intro p {
        font-size: 1rem;
    }
    
    .filter-buttons {
        margin-bottom: 30px;
    }
    
    .references-grid {
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .cta {
        padding: 80px 0;
    }
    
    .cta h2 {
        font-size: 2.2rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-intro h2,
    .testimonials-section .section-title {
        font-size: 1.8rem;
    }
    
    .references-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .reference-logo {
        height: 150px;
    }
    
    .reference-logo img {
        max-height: 80px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .testimonial {
        padding: 25px 20px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .cta h2 {
        font-size: 1.8rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
} 