/* ═══════════════════════════════════════════════════════════════════════════
   MODERN TESTIMONIAL PAGE - Touch & Glow Beauty Parlour
   ═══════════════════════════════════════════════════════════════════════════ */

/* Modern Page Header */
.modern-page-header {
    position: relative;
    padding: 120px 0 80px;
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.85) 100%), 
        url('../images/single-img-four.jpg') center/cover;
    background-attachment: fixed;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bf9456;
    margin-bottom: 15px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.page-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
    color: #bf9456;
}

.page-breadcrumb .separator {
    margin: 0 10px;
    color: #bf9456;
}

/* Modern Testimonials Section */
.modern-testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Section Header */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #bf9456;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Testimonials Grid */
.testimonials-grid {
    margin-bottom: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-50 {
    margin-top: 50px;
}

/* Testimonial Card */
.testimonial-card {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #bf9456 0%, #d4a866 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.15;
}

.quote-icon i {
    font-size: 20px;
    color: #ffffff;
}

/* Rating Stars */
.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 16px;
    margin-right: 3px;
}

/* Testimonial Text */
.testimonial-text {
    flex: 1;
    margin-bottom: 25px;
}

.testimonial-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555555;
    margin: 0;
    font-style: italic;
}

/* Handle HTML content in testimonials */
.testimonial-text p span {
    font-style: normal;
}

.testimonial-text p span[class*="h5vETc"] {
    font-weight: 600;
    color: #1a1a1a;
}

.testimonial-text p span[class*="PVxqTb"] {
    color: #bf9456;
    font-weight: 500;
}

.testimonial-text p br {
    display: none;
}

.testimonial-text p > * {
    display: inline;
}

/* Customer Info */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.author-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #bf9456 0%, #d4a866 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.author-details {
    flex: 1;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px 0;
}

.author-label {
    font-size: 13px;
    color: #bf9456;
    font-weight: 500;
}

/* Card Decoration */
.card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #bf9456 0%, #d4a866 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-card:hover .card-decoration {
    transform: scaleX(1);
}

/* Call to Action */
.testimonial-cta {
    background: 
        linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(45, 45, 45, 0.9) 100%),
        url('../images/bg-image/col-bgimage-2.jpg') center/cover;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 0;
    pointer-events: none;
}

.testimonial-cta h3 {
    position: relative;
    z-index: 1;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.testimonial-cta p {
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-testimonial-cta {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 15px 40px;
    background-color: #bf9456;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-testimonial-cta:hover {
    background-color: #d4a866;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(191, 148, 86, 0.4);
    color: #000000;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1199px) {
    .section-title {
        font-size: 36px;
    }
    
    .page-title {
        font-size: 42px;
    }
}

@media (max-width: 991px) {
    .modern-page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .modern-testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .modern-page-header {
        padding: 80px 0 50px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 15px;
    }
    
    .modern-testimonials-section {
        padding: 50px 0;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonial-text p {
        font-size: 14px;
    }
    
    .testimonial-cta {
        padding: 40px 30px;
    }
    
    .testimonial-cta h3 {
        font-size: 26px;
    }
    
    .testimonial-cta p {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .page-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .quote-icon {
        width: 40px;
        height: 40px;
    }
    
    .quote-icon i {
        font-size: 16px;
    }
    
    .avatar-placeholder {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .author-name {
        font-size: 15px;
    }
    
    .testimonial-cta {
        padding: 35px 25px;
    }
    
    .testimonial-cta h3 {
        font-size: 22px;
    }
    
    .btn-testimonial-cta {
        padding: 12px 30px;
        font-size: 13px;
    }
}

/* Accessibility */
.testimonial-card:focus-within {
    outline: 2px solid #bf9456;
    outline-offset: 2px;
}

.btn-testimonial-cta:focus {
    outline: 2px solid #bf9456;
    outline-offset: 2px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .card-decoration,
    .btn-testimonial-cta {
        animation: none !important;
        transition: none !important;
    }
}
