/* ========================================
   STORIES / TESTIMONIALS PAGE
   ======================================== */

/* Hero */
.stories-hero {
    position: relative;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 40%, #2a1f0a 100%);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.stories-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(190, 150, 51, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 30% 80%, rgba(190, 150, 51, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.stories-hero::after {
    content: '\201C';
    position: absolute;
    top: -40px;
    right: 5%;
    font-size: 40rem;
    font-family: 'Butler', serif;
    color: rgba(190, 150, 51, 0.03);
    line-height: 1;
    pointer-events: none;
}

/* Separator */
.st-separator {
    width: 60px;
    height: 2px;
    background: #be9633;
    display: block;
}

/* Section headings */
.st-section-heading {
    letter-spacing: -0.01em;
    line-height: 1.1;
}

/* Video card */
.st-video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.st-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.st-video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #be9633, #d4b761, #be9633);
    z-index: 2;
}

.st-video-card video {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonial image card */
.st-testimonial-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    background: #fff;
}

.st-testimonial-img:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.st-testimonial-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.st-testimonial-img:hover img {
    transform: scale(1.02);
}

/* Featured quote */
.st-featured-quote {
    position: relative;
    padding: 3rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(190, 150, 51, 0.15);
}

.st-featured-quote::before {
    content: '\201C';
    font-size: 8rem;
    font-family: 'Butler', serif;
    line-height: 1;
    color: rgba(190, 150, 51, 0.1);
    position: absolute;
    top: -10px;
    left: 20px;
    pointer-events: none;
}

/* Author photo card */
.st-author-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    aspect-ratio: 3/4;
}

.st-author-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.st-author-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.st-author-card:hover img {
    transform: scale(1.05);
}

.st-author-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(18, 18, 18, 0.85) 0%, transparent 100%);
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.st-author-card:hover .st-author-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp message style */
.st-whatsapp-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.st-whatsapp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.st-whatsapp-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Achievement card */
.st-achievement-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(190, 150, 51, 0.15);
    border: 2px solid rgba(190, 150, 51, 0.2);
    transition: all 0.5s ease;
}

.st-achievement-card:hover {
    box-shadow: 0 20px 60px rgba(190, 150, 51, 0.25);
    border-color: rgba(190, 150, 51, 0.4);
}

.st-achievement-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* Masonry grid */
.st-masonry {
    columns: 3;
    column-gap: 1.5rem;
}

.st-masonry > * {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
    .st-masonry {
        columns: 2;
    }
}

@media (max-width: 640px) {
    .st-masonry {
        columns: 1;
    }
}

/* Lightbox overlay */
.st-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.st-lightbox.active {
    display: flex;
    opacity: 1;
}

.st-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.st-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.st-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Scroll animations */
.st-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.st-fade-in.st-visible {
    opacity: 1;
    transform: translateY(0);
}

.st-fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.st-fade-in-left.st-visible {
    opacity: 1;
    transform: translateX(0);
}

.st-fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.st-fade-in-right.st-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger */
.st-stagger > *:nth-child(1) { transition-delay: 0s; }
.st-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.st-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.st-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.st-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.st-stagger > *:nth-child(6) { transition-delay: 0.40s; }
.st-stagger > *:nth-child(7) { transition-delay: 0.48s; }
.st-stagger > *:nth-child(8) { transition-delay: 0.56s; }

/* Number counter */
.st-stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #be9633, #d4b761);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Gold divider line */
.st-gold-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #be9633, transparent);
}

/* Floating particles */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.st-float {
    animation: float 6s ease-in-out infinite;
}

.st-float-delay {
    animation: float 8s ease-in-out 2s infinite;
}

/* Tab filter */
.st-tab {
    padding: 0.625rem 1.5rem;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: transparent;
    color: #666;
}

.st-tab:hover {
    color: #be9633;
}

.st-tab.active {
    background: #be9633;
    color: #fff;
    border-color: #be9633;
}

/* Smooth category filtering */
.st-gallery-item {
    transition: all 0.4s ease;
}

.st-gallery-item.hidden {
    display: none;
}
