/* 
 * Testimonials Page Styles
 * 
 * Custom styles specific to the testimonials page
 * These styles complement the design system and Tailwind CSS
 * Brand Colors: Navy (#04192C), Steel Blue (#184973), Red (#B8030D), Gold (#FFD700)
 */

/* ==========================================
   PAGE ANIMATIONS & EFFECTS
   ========================================== */

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

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

.testimonials-page-main {
    animation: fadeInUp 0.8s ease-out;
}

/* ==========================================
   STAR RATING STYLING
   ========================================== */

.testimonials-page-main .text-\[\#FFD700\] {
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
    letter-spacing: 0.1em;
}

/* Gold star accent on hover */
.testimonials-page-main .bg-white:hover .text-\[\#FFD700\] {
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
}

/* ==========================================
   TESTIMONIAL CARDS
   ========================================== */

.testimonials-page-main .bg-white {
    transition: all 0.3s ease;
    border: 1px solid rgba(24, 73, 115, 0.1);
}

.testimonials-page-main .bg-white:hover {
    border-color: rgba(24, 73, 115, 0.2);
    transform: translateY(-4px);
}

/* Featured card styling */
.testimonials-page-main .rounded-2xl.shadow-lg {
    box-shadow: 0 20px 40px rgba(24, 73, 115, 0.1);
    transition: all 0.3s ease;
}

.testimonials-page-main .rounded-2xl.shadow-lg:hover {
    box-shadow: 0 30px 60px rgba(24, 73, 115, 0.15);
}

/* Quote styling in featured card */
.testimonials-page-main blockquote p {
    position: relative;
    line-height: 1.8;
}

/* Left border accent */
.testimonials-page-main blockquote p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #B8030D, #184973);
    border-radius: 2px;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.testimonials-page-main section:first-child {
    position: relative;
}

/* Overline styling */
.testimonials-page-main > .text-\[\#B8030D\] {
    animation: slideDown 0.6s ease-out;
}

/* Social proof stats cards */
.testimonials-page-main .bg-white\/5 {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.testimonials-page-main .bg-white\/5:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(184, 3, 13, 0.15);
}

/* ==========================================
   TRUST SECTION
   ========================================== */

/* Benefits checkmark styling */
.testimonials-page-main .w-10.h-10 {
    animation: slideDown 0.6s ease-out;
}

/* Stats box styling */
.testimonials-page-main .bg-gradient-to-br.from-\[\#04192C\] {
    box-shadow: 0 20px 40px rgba(4, 25, 44, 0.2);
}

/* ==========================================
   CTA BANNER
   ========================================== */

.testimonials-page-main .bg-\[\#B8030D\] {
    position: relative;
    overflow: hidden;
}

/* Hockey pattern background */
.testimonials-page-main .bg-\[\#B8030D\]::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 2px),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 2px);
    background-size: 50px 50px;
    opacity: 0.1;
    pointer-events: none;
}

/* ==========================================
   ANIMATION DELAYS
   ========================================== */

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-600 { animation-delay: 0.6s; }
.animate-delay-800 { animation-delay: 0.8s; }
.animate-delay-1000 { animation-delay: 1s; }
.animate-delay-1200 { animation-delay: 1.2s; }

/* ==========================================
   RESPONSIVE ADJUSTMENTS
   ========================================== */

@media (max-width: 768px) {
    .testimonials-page-main {
        padding: 0;
    }
    
    .testimonials-page-main h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .testimonials-page-main h2 {
        font-size: 1.5rem;
    }
    
    /* Adjust card spacing */
    .testimonials-page-main .rounded-xl.p-6 {
        padding: 1.5rem;
    }
    
    /* Stack testimonial grid on smaller screens */
    .testimonials-page-main .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    .testimonials-page-main .lg\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
    
    /* Featured card wraps properly */
    .testimonials-page-main .md\:col-span-2 {
        grid-column: auto;
    }
    
    .testimonials-page-main .lg\:col-span-1 {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .testimonials-page-main {
        font-size: 14px;
    }
    
    .testimonials-page-main h1 {
        font-size: 1.5rem;
    }
    
    .testimonials-page-main h2 {
        font-size: 1.25rem;
    }
    
    /* Adjust testimonial card padding */
    .testimonials-page-main .rounded-xl {
        border-radius: 0.75rem;
    }
    
    /* Star sizing */
    .testimonials-page-main .text-2xl {
        font-size: 1.5rem;
    }
    
    .testimonials-page-main .text-3xl {
        font-size: 1.75rem;
    }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

/* High contrast mode support */
@media (prefers-contrast: more) {
    .testimonials-page-main .text-\[\#FFD700\] {
        text-shadow: none;
        color: #DAA900;
    }
    
    .testimonials-page-main .bg-white {
        border: 2px solid #184973;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .testimonials-page-main,
    .testimonials-page-main * {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================
   DARK MODE SUPPORT (Future)
   ========================================== */

@media (prefers-color-scheme: dark) {
    .testimonials-page-main .bg-white {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .testimonials-page-main .text-\[\#04192C\] {
        color: #ffffff;
    }
    
    .testimonials-page-main .text-\[\#4D637B\] {
        color: #b0b0b0;
    }
}
