/**
 * Referanslar (Testimonials) Page Modern Styles
 * Temaya uygun modern tasarım
 */

/* Hero Section */
.referanslar-hero {
    background: linear-gradient(135deg, #2c5530 0%, #1e3a21 100%);
    padding: 60px 0 80px;
    margin-top: 120px; /* Header için boşluk */
    position: relative;
    overflow: hidden;
}

.referanslar-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="refgrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23refgrain)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff !important;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff !important;
    animation: fadeInUp 0.6s ease;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Hero İstatistikler */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

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

.stat-item * {
    color: #fff !important;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff !important;
    line-height: 1.2;
}

.stat-label {
    font-size: 14px;
    color: #fff !important;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* Testimonials Grid Section */
.referanslar-grid {
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonials-container {
    margin-bottom: 40px;
}

.testimonials-container .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

/* Testimonial Card */
.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2c5530 0%, #1e3a21 100%);
    border-radius: 20px 20px 0 0;
}

/* Rating Stars */
.card-rating {
    margin-bottom: 20px;
}

.card-rating i {
    font-size: 16px;
    margin-right: 2px;
}

.card-rating i.filled {
    color: #ffc107;
}

.card-rating i.empty {
    color: #e0e0e0;
}

/* Testimonial Content */
.card-content {
    flex: 1;
    margin-bottom: 25px;
}

.testimonial-text {
    color: #5a6c7d;
    line-height: 1.7;
    font-size: 15px;
    font-style: italic;
    position: relative;
    padding-left: 25px;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 40px;
    color: #2c5530;
    opacity: 0.2;
}

/* Client Info */
.card-client {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f3f4;
    margin-bottom: 20px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    flex-shrink: 0;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c5530, #1e3a21);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.client-info {
    flex: 1;
}

.client-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 3px;
}

.client-position {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
}

.service-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2c5530, #1e3a21);
    color: #fff;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    margin-top: 5px;
}

/* Read More Link */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c5530;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #1e3a21;
    gap: 12px;
}

.card-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(3px);
}

/* Pagination */
.testimonials-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.testimonials-pagination ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.testimonials-pagination li {
    margin: 0;
}

.testimonials-pagination a,
.testimonials-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #6c757d;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonials-pagination a:hover {
    background: #2c5530;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(44, 85, 48, 0.3);
}

.testimonials-pagination .current {
    background: #2c5530;
    color: #fff;
}

/* No Testimonials */
.no-testimonials {
    text-align: center;
    padding: 80px 20px;
}

.no-testimonials i {
    font-size: 60px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-testimonials h3 {
    font-size: 24px;
    color: #495057;
    margin-bottom: 10px;
}

.no-testimonials p {
    color: #6c757d;
}

/* CTA Section */
.referanslar-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2c5530, #1e3a21);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(44, 85, 48, 0.4);
    color: #fff;
}

.cta-button i {
    font-size: 18px;
}

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

/* Responsive - Tablet */
@media (max-width: 991px) {
    .referanslar-hero {
        padding: 50px 0 60px;
        margin-top: 100px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 32px;
        color: #fff !important;
    }
    
    .stat-label {
        color: #fff !important;
    }
    
    .referanslar-grid {
        padding: 50px 0;
    }
    
    .testimonials-container .row {
        --bs-gutter-x: 1.25rem;
        --bs-gutter-y: 1.25rem;
    }
    
    .testimonial-card {
        padding: 22px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .referanslar-hero {
        padding: 40px 0 50px;
        margin-top: 80px;
    }
    
    .hero-title {
        font-size: 28px;
        padding: 0 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 28px;
        color: #fff !important;
        line-height: 1.2;
    }
    
    .stat-label {
        font-size: 12px;
        color: #fff !important;
        opacity: 0.95;
    }
    
    .referanslar-grid {
        padding: 30px 0;
    }
    
    .testimonials-container .row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
    
    .testimonial-card {
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    }
    
    .card-rating {
        margin-bottom: 15px;
    }
    
    .card-rating i {
        font-size: 14px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.6;
        padding-left: 20px;
    }
    
    .testimonial-text::before {
        font-size: 30px;
    }
    
    .card-client {
        padding-top: 15px;
    }
    
    .client-avatar {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .avatar-placeholder {
        font-size: 20px;
    }
    
    .client-name {
        font-size: 14px;
    }
    
    .client-position {
        font-size: 12px;
    }
    
    .service-badge {
        font-size: 10px;
        padding: 2px 8px;
    }
    
    .card-link {
        font-size: 13px;
        margin-top: 10px;
    }
    
    .testimonials-pagination {
        margin-top: 30px;
    }
    
    .testimonials-pagination a,
    .testimonials-pagination span {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .referanslar-cta {
        padding: 50px 0;
    }
    
    .cta-content h2 {
        font-size: 26px;
    }
    
    .cta-content p {
        font-size: 15px;
        padding: 0 15px;
    }
    
    .cta-button {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 575px) {
    .referanslar-hero {
        padding: 35px 0 40px;
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 22px;
        padding: 0 10px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        padding: 0 10px;
        margin-bottom: 25px;
    }
    
    .hero-stats {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .referanslar-grid {
        padding: 25px 0;
    }
    
    .testimonials-container {
        padding: 0 10px;
    }
    
    .testimonials-container .row {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    
    .testimonial-card {
        padding: 18px 15px;
        border-radius: 10px;
    }
    
    .card-rating {
        margin-bottom: 12px;
    }
    
    .card-rating i {
        font-size: 13px;
    }
    
    .testimonial-text {
        font-size: 13px;
        padding-left: 18px;
    }
    
    .testimonial-text::before {
        font-size: 25px;
    }
    
    .card-client {
        padding-top: 12px;
    }
    
    .client-avatar {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }
    
    .avatar-placeholder {
        font-size: 18px;
    }
    
    .client-name {
        font-size: 13px;
    }
    
    .client-position {
        font-size: 11px;
    }
    
    .service-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    
    .card-link {
        font-size: 12px;
        margin-top: 8px;
    }
    
    .testimonials-pagination {
        margin-top: 25px;
    }
    
    .testimonials-pagination ul {
        gap: 5px;
    }
    
    .testimonials-pagination a,
    .testimonials-pagination span {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
    
    .referanslar-cta {
        padding: 40px 0;
    }
    
    .cta-content {
        padding: 0 15px;
    }
    
    .cta-content h2 {
        font-size: 22px;
    }
    
    .cta-content p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .cta-button {
        padding: 10px 24px;
        font-size: 13px;
    }
}