/* Import variable tokens */
@import url('variables.css');

/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    /* Handled by GSAP ScrollSmoother or custom implementation */
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--bg-warm-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-warm-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* Typography Styling */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: var(--space-sm);
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin-bottom: var(--space-sm);
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: var(--space-xs);
}

p {
    font-size: 1.05rem;
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.01em;
}

p:last-of-type {
    margin-bottom: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Premium Layout Elements */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.container-wide {
    width: 92%;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* Section Decorator */
section {
    padding: var(--space-xxl) 0;
    position: relative;
    /* overflow: hidden; */
}

.section-bg-warm {
    background-color: var(--bg-warm-dark);
}

.section-bg-pure {
    background-color: var(--bg-pure);
}

/* Section Header (Premium Editorial Style) */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl) auto;
}

.section-header .subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
    margin-bottom: var(--space-sm);
}

.section-header h2 {
    position: relative;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-sm);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1.5px;
    background-color: var(--accent-gold);
}

/* Decorative Gold Cross Separator */
.cross-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.cross-divider .line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-gold-border), transparent);
    max-width: 150px;
}

.cross-divider svg {
    color: var(--accent-gold);
    width: 20px;
    height: 20px;
}

/* Text Utility Classes */
.text-red {
    color: var(--primary-red);
}

.text-gold {
    color: var(--accent-gold);
}

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

.italic {
    font-style: italic;
}

/* Grid / Flex Utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    section {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 576px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background-color: var(--primary-red);
    width: 0%;
    z-index: 1001;
    transition: width 0.1s linear;
}

/* =========================================================================
   NAVIGATION BAR STYLING
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--navbar-height);
    z-index: 1000;
    transition: var(--transition-smooth);
    background-color: transparent;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background-color: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border-bottom: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-sm);
}

.navbar .container-wide {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.05em;
    z-index: 10;
}

.nav-brand span {
    color: var(--primary-red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--primary-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a.active {
    color: var(--primary-red);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: var(--space-xs);
    transition: var(--transition-fast);
}

.mobile-toggle:hover {
    color: var(--primary-red);
}

/* Mobile Nav Menu Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-warm-light);
    box-shadow: var(--shadow-lg);
    z-index: 1005;
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--accent-gold-border);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-close {
    align-self: flex-end;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: var(--space-xs);
    transition: var(--transition-fast);
}

.mobile-nav-close:hover {
    color: var(--primary-red);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    list-style: none;
    margin-top: var(--space-lg);
}

.mobile-nav-links a {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    display: block;
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.mobile-nav-links a.active {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1004;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}

/* =========================================================================
   FOOTER STYLING
   ========================================================================= */
.footer-section {
    background-color: var(--bg-warm-dark);
    padding: var(--space-xl) 0 var(--space-md) 0;
    border-top: 1px solid var(--accent-gold-border);
    position: relative;
}

.footer-verse {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-md) auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.footer-verse p {
    font-size: 1.25rem;
    font-family: var(--font-heading);
    color: var(--text-primary);
    line-height: 1.55;
    margin-bottom: 0;
}

.footer-verse .verse-citation {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    font-weight: 600;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.footer-col h3 {
    font-size: 1.6rem;
    margin-bottom: var(--space-xs);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.footer-col p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-pure);
    border: 1px solid var(--accent-gold-border);
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--primary-red);
    color: var(--bg-pure);
    border-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 14px;
    display: inline-block;
}

.footer-links a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 18px;
}

.footer-contact-info {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-contact-info li {
    display: flex;
    gap: var(--space-sm);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-contact-info li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.footer-bottom {
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Back To Top Button */
.back-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 45px;
    height: 45px;
    background-color: var(--bg-pure);
    border: 1px solid var(--accent-gold-border);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--bg-pure);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* =========================================================================
   HERO SECTION STYLING
   ========================================================================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    /* height: fit-content; */
    padding-top: calc(var(--navbar-height) + 2rem);
    display: flex;
    align-items: center;
    background: linear-gradient(to right,
            rgb(252, 249, 248) 0%,
            rgba(252, 249, 248, 0.43) 80%,
            rgba(252, 249, 248, 0.111) 100%), url('../images/hero-bg.webp') center/cover no-repeat;
    overflow: hidden;
    padding-bottom: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: block;
}

.hero-designation {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.hero-verse-card {
    background: var(--bg-pure);
    border-left: 3px solid var(--accent-gold);
    padding: var(--space-sm) var(--space-md);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    max-width: 600px;
}

.hero-verse-card svg {
    flex-shrink: 0;
    margin-top: 3px;
}

.hero-verse-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-primary);
    line-height: 1.5;
}

.hero-verse-card .verse-ref {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-top: 2px;
}

.hero-welcome {
    font-size: 1.05rem;
    margin-bottom: var(--space-md) !important;
    font-weight: 300;
    line-height: 1.7;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.image-frame {
    position: relative;
    /* border-radius: var(--radius-xl); */
    overflow: hidden;
    /* border: 1px solid var(--accent-gold-border); */
    /* box-shadow: var(--shadow-lg); */
    z-index: 2;
    aspect-ratio: 4/5;
    width: 100%;
    max-width: 510px;
    /* background-color: var(--bg-warm-dark); */
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gold-corner {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent-gold);
    z-index: 3;
    pointer-events: none;
}

.gold-corner.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.gold-corner.top-right {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.gold-corner.bottom-left {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.gold-corner.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.frame-backdrop {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    max-width: 380px;
    background-color: var(--accent-gold-light);
    border-radius: var(--radius-xl);
    z-index: 1;
    border: 1px dashed var(--accent-gold-border);
    display: none;
}

/* Scroll indicator animation */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-weight: 500;
    color: white;
}

.scroll-indicator svg {
    width: 16px;
    height: 16px;
    color: white;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Background floating particles */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--accent-gold-light) 0%, transparent 70%);
    border-radius: var(--radius-full);
}

.particle.p1 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 8%;
    filter: blur(40px);
    opacity: 0.4;
}

.particle.p2 {
    width: 220px;
    height: 220px;
    bottom: 10%;
    right: 8%;
    filter: blur(60px);
    opacity: 0.3;
}

.particle.p3 {
    width: 100px;
    height: 100px;
    top: 35%;
    right: 40%;
    filter: blur(35px);
    opacity: 0.2;
}

@media (max-width: 992px) {
    .hero-section {
        min-height: auto;
        padding-top: calc(var(--navbar-height) + 4rem);
        padding-bottom: var(--space-xl);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }

    .hero-verse-card {
        margin: 0 auto var(--space-md) auto;
        text-align: left;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .frame-backdrop {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =========================================================================
   QUOTE SECTION
   ========================================================================= */
.spiritual-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.4;
    color: var(--text-primary);
    max-width: 800px;
    margin: 0 auto var(--space-xs) auto;
    font-style: italic;
    font-weight: 300;
}

.quote-author {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    font-weight: 600;
    display: block;
}

/* =========================================================================
   INNER BANNERS
   ========================================================================= */
.inner-banner {
    padding-top: calc(var(--navbar-height) + 5rem);
    padding-bottom: var(--space-xl);
    background: linear-gradient(180deg,
            rgba(248, 246, 242, 0.90) 0%,
            rgba(248, 246, 242, 0.95) 100%), url('../images/inner-banner-bg.jpg') center/cover no-repeat;
    border-bottom: 1px solid var(--accent-gold-border);
    position: relative;
    overflow: hidden;
}

.inner-banner.banner-biography {
    background-image: linear-gradient(180deg, rgba(248, 246, 242, 0.90) 0%, rgba(248, 246, 242, 0.70) 100%), url('../images/banner-biography.jpg');
}

.inner-banner.banner-roles {
    background-image: linear-gradient(180deg, rgba(248, 246, 242, 0.90) 0%, rgba(248, 246, 242, 0.70) 100%), url('../images/banner-roles.jpg');
}

.inner-banner.banner-melodies {
    background-image: linear-gradient(180deg, rgba(248, 246, 242, 0.90) 0%, rgba(248, 246, 242, 0.70) 100%), url('../images/banner-melodies.jpg');
}

.inner-banner.banner-gallery {
    background-image: linear-gradient(180deg, rgba(248, 246, 242, 0.90) 0%, rgba(248, 246, 242, 0.70) 100%), url('../images/banner-gallery.jpg');
}

.inner-banner.banner-contact {
    background-image: linear-gradient(180deg, rgba(248, 246, 242, 0.90) 0%, rgba(248, 246, 242, 0.70) 100%), url('../images/banner-contact.jpg');
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(217, 119, 6, 0.08) 0%, rgba(248, 246, 242, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}

.inner-banner .container {
    position: relative;
    z-index: 2;
}

.inner-banner h1 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    margin-bottom: var(--space-xs);
    color: #0f172a;
    font-weight: 700;
    text-shadow: none;
}

.inner-banner .subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: #b45309;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    display: block;
    text-shadow: none;
}

.lead-text {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: #334155;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: none;
}

@media (max-width: 768px) {
    .inner-banner {
        padding-top: calc(var(--navbar-height) + 3rem);
        padding-bottom: var(--space-lg);
    }
}

/* 4-Column Grid layout */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}


/* =========================================================================
   SHEPHERD IN ACTION CARDS STYLING (OPTION 3 & INFINITE MARQUEE)
   ========================================================================= */
.infinite-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: var(--space-sm);
    padding: var(--space-sm) 0;
}

.infinite-slider-container .gradient-overlay {
    position: absolute;
    top: 0;
    z-index: 10;
    height: 100%;
    width: 160px;
    pointer-events: none;
}

.infinite-slider-container .gradient-overlay.left {
    left: 0;
    background: linear-gradient(to right, var(--bg-warm-dark) 0%, transparent 100%);
}

.infinite-slider-container .gradient-overlay.right {
    right: 0;
    background: linear-gradient(to left, var(--bg-warm-dark) 0%, transparent 100%);
}

.slider-track {
    display: flex;
    gap: var(--space-md);
    width: max-content;
    animation: scroll-infinite 32s linear infinite;
}

.infinite-slider-container:hover .slider-track {
    animation-play-state: paused;
}

.slider-track .action-photo-card {
    width: 280px;
    /* height: 375px; */
    aspect-ratio: 1;
    flex-shrink: 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-track .action-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    object-position: top;
}

.slider-track .action-photo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

.slider-track .action-photo-card:hover img {
    transform: scale(1.05);
}

.action-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-sm);
    background: linear-gradient(180deg, transparent, rgba(26, 26, 26, 0.95));
    color: var(--bg-pure);
    z-index: 2;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-track .action-photo-card:hover .action-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.action-card-overlay h4 {
    font-size: 1.05rem;
    color: var(--bg-pure);
    font-family: var(--font-body);
    margin-bottom: 2px;
    font-weight: 500;
}

.action-card-overlay p {
    font-size: 0.75rem;
    color: var(--accent-gold);
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Loops halfway since the second half contains identical slide duplicates */
        transform: translateX(calc(-50% - (var(--space-md) / 2)));
    }
}

@media (max-width: 768px) {
    .infinite-slider-container .gradient-overlay {
        width: 80px;
    }
}

/* =========================================================================
   HERO ILLUSTRATION & DECORATIVE ELEMENTS
   ========================================================================= */

/* Subtle dot-grid texture */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--accent-gold) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.045;
    pointer-events: none;
    z-index: 0;
}

/* Corner ornament L-brackets */
.hero-corner-deco {
    position: absolute;
    width: 180px;
    height: 180px;
    color: var(--accent-gold);
    opacity: 0.28;
    pointer-events: none;
    z-index: 1;
}

.hero-corner-deco.deco-tl {
    top: calc(var(--navbar-height) + 0.5rem);
    left: 1.25rem;
}

.hero-corner-deco.deco-br {
    bottom: 2.5rem;
    right: 1.25rem;
}

/* Olive branch illustrations */
.hero-olive {
    position: absolute;
    color: var(--accent-gold);
    opacity: 0.13;
    pointer-events: none;
    z-index: 1;
    animation: olivesway 10s ease-in-out infinite;
}

.hero-olive-tl {
    top: calc(var(--navbar-height) - 2rem);
    left: -10px;
    width: 140px;
    height: 260px;
    transform-origin: bottom center;
}

.hero-olive-br {
    bottom: -10px;
    right: -10px;
    width: 140px;
    height: 260px;
    transform-origin: top center;
    animation-delay: -5s;
}

/* Sacred mandala / nimbus halo behind portrait */
.hero-portrait-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    /* max-width: 700px; */
    color: var(--accent-gold);
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    animation: halospin 80s linear infinite;
}

/* Warm radial light burst behind portrait */
.hero-light-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 440px;
    height: 440px;
    background: radial-gradient(ellipse at center,
            rgba(201, 166, 70, 0.14) 0%,
            rgba(201, 166, 70, 0.05) 45%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    /* display: none; */
}

/* Extra floating particles */
.particle.p4 {
    width: 120px;
    height: 120px;
    top: 68%;
    left: 12%;
    filter: blur(38px);
    opacity: 0.22;
    animation-delay: -3s;
    animation-duration: 9s;
}

.particle.p5 {
    width: 80px;
    height: 80px;
    top: 28%;
    right: 6%;
    filter: blur(28px);
    opacity: 0.18;
    animation-delay: -6s;
    animation-duration: 7s;
}

.particle.p6 {
    width: 180px;
    height: 180px;
    top: 50%;
    right: 22%;
    filter: blur(55px);
    opacity: 0.15;
    animation-delay: -1s;
    animation-duration: 12s;
}

/* Keyframe: very slow halo rotation */
@keyframes halospin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Keyframe: gentle olive branch sway */
@keyframes olivesway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2.5deg);
    }
}

/* Responsive: hide decorative extras on mobile */
@media (max-width: 768px) {
    .hero-olive {
        opacity: 0.08;
        width: 90px;
        height: 170px;
    }

    .hero-corner-deco {
        width: 80px;
        height: 80px;
        opacity: 0.18;
    }

    .hero-portrait-halo {
        opacity: 0.14;
        width: 130%;
    }

    .hero-light-burst {
        width: 280px;
        height: 280px;
    }

    .hero-bg-grid {
        background-size: 36px 36px;
        opacity: 0.03;
    }
}