/* 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;
    }
}
/* Premium Components Styling */

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.95rem 2.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--bg-pure);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-red-hover);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    color: var(--bg-pure);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 45, 51, 0.25);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--accent-gold);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--bg-pure);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 166, 70, 0.15);
}

.btn-secondary-red {
    background-color: transparent;
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.btn-secondary-red:hover {
    background-color: var(--primary-red);
    color: var(--bg-pure);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 45, 51, 0.15);
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

/* =========================================================================
   GLASS CARDS & PREMIUM CARDS
   ========================================================================= */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold-border);
    box-shadow: var(--shadow-lg);
}

.premium-card {
    background: var(--bg-pure);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-warm-dark);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* .premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
} */

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold);
}

/* .premium-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
} */

/* =========================================================================
   TIMELINE
   ========================================================================= */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-lg) 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--accent-gold) 15%, var(--accent-gold) 85%, transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: var(--space-sm) 0;
    position: relative;
    width: 50%;
    opacity: 0;
    /* Handled by GSAP scroll reveal */
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item-left {
    left: 0;
    padding-right: var(--space-lg);
    text-align: right;
}

.timeline-item-right {
    left: 50%;
    padding-left: var(--space-lg);
}

.timeline-dot {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    background-color: var(--bg-warm-light);
    border: 3px solid var(--accent-gold);
    position: absolute;
    top: 10px;
    right: 10px;
    /* transform: translateX(-50%); */
    z-index: 2;
    transition: background-color 0.3s;
}

.timeline-item-right .timeline-dot{
    right: unset;
    left: 10px;
}
/* .timeline-item:hover .timeline-dot {
    background-color: var(--primary-red);
} */
.timeline-img{
    aspect-ratio: 3/2;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    margin: -2.5rem -2.5rem ;
    position: relative;
    z-index: 0;
    display: none;
}
.timeline-img::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}
.timeline-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;    
    object-position: top;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 4.8rem;
    color: var(--primary-red-hover);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    display: block;
    position: absolute;
    top: 0;
    z-index: -1;
    right: 50%;
    transform: translate(50% ,-68%);
}

.timeline-content h3,
.timeline-content p{
    z-index: 1;
    position: relative;
}


.timeline-content {
    background-color: var(--bg-pure);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    /* border: 1px solid var(--bg-warm-dark); */
    text-align: left;
    transition: var(--transition-smooth);
    position: relative;
    /* overflow: hidden; */
}

.timeline-item-left .timeline-content {
    text-align: right;
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-gold-border);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .timeline-container::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: var(--space-lg) !important;
        padding-right: 0 !important;
    }

    .timeline-item-left .timeline-content {
        text-align: left;
    }

    .timeline-dot {
        left: 20px;
        transform: translateX(-50%);
    }
}

/* =========================================================================
   ICON CARDS (Responsibilities)
   ========================================================================= */
.icon-card {
    background-color: var(--bg-pure);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-warm-dark);
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-card .icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background-color: var(--bg-warm-light);
    border: 1px solid var(--accent-gold-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    margin-bottom: var(--space-md);
    transition: var(--transition-smooth);
}

.icon-card h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.35rem;
}

.icon-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold-border);
}

.icon-card:hover .icon-wrapper {
    background-color: var(--primary-red);
    color: var(--bg-pure);
    border-color: var(--primary-red);
    transform: rotateY(180deg);
}

/* =========================================================================
   CUSTOM AUDIO PLAYER
   ========================================================================= */
.music-dashboard {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-lg);
    background-color: var(--bg-pure);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-warm-dark);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

@media (max-width: 992px) {
    .music-dashboard {
        grid-template-columns: 1fr;
    }
}

.playlist-section {
    padding: var(--space-lg);
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.search-bar {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    border: 1px solid var(--accent-gold-border);
    border-radius: var(--radius-full);
    background-color: var(--bg-warm-light);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-fast);
}

.search-bar input:focus {
    border-color: var(--primary-red);
    background-color: var(--bg-pure);
}

.search-bar svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 16px;
    height: 16px;
}

.song-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    max-height: 400px;
    overflow-y: auto;
}

.song-item {
    display: grid;
    grid-template-columns: 40px 1fr 120px 80px;
    align-items: center;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.song-item:hover {
    background-color: var(--bg-warm-light);
    border-color: var(--bg-warm-dark);
}

.song-item.active {
    background-color: var(--primary-red-light);
    border-color: rgba(210, 45, 51, 0.15);
}

.song-item.active .song-title {
    color: var(--primary-red);
    font-weight: 500;
}

.song-number {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.song-info {
    display: flex;
    flex-direction: column;
}

.song-title {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.song-category {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.song-duration {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: right;
}

.song-action {
    display: flex;
    justify-content: flex-end;
}

.song-action button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.song-action button:hover {
    color: var(--primary-red);
}

/* Floating Player Dashboard Side */
.player-widget-section {
    background: linear-gradient(180deg, var(--bg-warm-dark) 0%, var(--bg-warm-light) 100%);
    border-left: 1px solid var(--bg-warm-dark);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}

@media (max-width: 992px) {
    .player-widget-section {
        border-left: none;
        border-top: 1px solid var(--bg-warm-dark);
    }
}

.album-art-wrapper {
    width: 220px;
    height: 220px;
    border-radius: var(--radius-lg);
    background-color: var(--bg-pure);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--accent-gold-border);
}

.album-art-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.album-art-wrapper .overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent-gold);
    width: 48px;
    height: 48px;
    opacity: 0.15;
}

.track-meta h4 {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.track-meta p {
    font-size: 0.85rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.player-controls-container {
    width: 100%;
    margin-top: var(--space-md);
}

.playback-slider-wrapper {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.current-time,
.total-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    width: 40px;
}

.progress-bar-container {
    flex-grow: 1;
    height: 4px;
    background-color: rgba(26, 26, 26, 0.08);
    border-radius: var(--radius-full);
    position: relative;
    cursor: pointer;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background-color: var(--primary-red);
    border-radius: var(--radius-full);
    position: absolute;
    top: 0;
    left: 0;
}

.playback-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
}

.playback-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.playback-btn:hover {
    color: var(--primary-red);
}

.playback-btn.btn-play-pause {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background-color: var(--primary-red);
    color: var(--bg-pure);
    box-shadow: 0 4px 12px rgba(210, 45, 51, 0.2);
}

.playback-btn.btn-play-pause:hover {
    background-color: var(--primary-red-hover);
    color: var(--bg-pure);
    transform: scale(1.05);
}

.volume-control-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
}

.volume-control-wrapper svg {
    color: var(--text-secondary);
    width: 16px;
    height: 16px;
}

.volume-slider {
    flex-grow: 1;
    height: 3px;
    background-color: rgba(26, 26, 26, 0.08);
    position: relative;
    cursor: pointer;
}

.volume-slider-fill {
    height: 100%;
    width: 75%;
    background-color: var(--accent-gold);
}

/* Lyrics Expand Panel */
.lyrics-accordion {
    width: 100%;
    border-top: 1px solid var(--accent-gold-border);
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
}

.lyrics-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.lyrics-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    text-align: left;
    margin-top: var(--space-xs);
}

.lyrics-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-xs);
}

.lyrics-content .lyrics-original {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.lyrics-content .lyrics-meaning {
    font-style: italic;
    color: var(--text-secondary);
}

/* =========================================================================
   GALLERY (Masonry & Lightbox)
   ========================================================================= */
.gallery-filter-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--bg-warm-dark);
    padding: 0.6rem 1.4rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-gold);
    color: var(--bg-pure);
    border-color: var(--accent-gold);
}

/* 4 Columns Gallery Masonry Layout */
.gallery-masonry {
    columns: 4;
    column-gap: var(--space-md);
    width: 100%;
}

@media (max-width: 1200px) {
    .gallery-masonry {
        columns: 3;
    }
}

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

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

.gallery-item {
    break-inside: avoid;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-warm-dark);
    cursor: pointer;
    position: relative;
    transition: var(--transition-smooth);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 26, 26, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item-overlay h4 {
    color: var(--bg-pure);
    font-size: 1.15rem;
    margin-bottom: 2px;
}

.gallery-item-overlay p {
    color: var(--accent-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.lightbox-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: transparent;
    border: none;
    color: var(--bg-pure);
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--accent-gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bg-pure);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    user-select: none;
}

.lightbox-nav:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.lightbox-prev {
    left: var(--space-md);
}

.lightbox-next {
    right: var(--space-md);
}

.lightbox-image-container {
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 166, 70, 0.3);
}

.lightbox-caption {
    color: var(--bg-pure);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-align: center;
}

/* =========================================================================
   FORMS (Contact)
   ========================================================================= */
.form-group {
    margin-bottom: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--accent-gold-border);
    background-color: var(--bg-warm-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-red);
    background-color: var(--bg-pure);
    box-shadow: 0 0 0 3px rgba(210, 45, 51, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

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

/* Banners & Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =========================================================================
   CALL TO ACTION BANNER
   ========================================================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--text-primary) 0%, #2A2A2A 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl) var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 166, 70, 0.2);
    /* margin-bottom: var(--space-xl); */
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: var(--radius-full);
    background: radial-gradient(circle, rgba(201, 166, 70, 0.1) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.cta-banner h2 {
    color: var(--bg-pure);
    margin-bottom: var(--space-sm);
}

.cta-banner p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-md) auto;
}

/* =========================================================================
   REUSABLE PORTFOLIO COMPONENTS
   ========================================================================= */

/* Resource Card layout classes (index.php) */
.resource-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 24px 24px;
    overflow: hidden;
}
.resource-card-img{
    aspect-ratio: 3/2;
    overflow: hidden;
    margin: 0 -24px -20px;
    position: relative;
    z-index: -1;
}
.resource-card-img::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.resource-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.resource-icon-wrapper.red {
    background-color: var(--primary-red-light);
    color: var(--primary-red);
}

.resource-icon-wrapper.gold {
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.resource-card p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.resource-card-link {
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Media Video and Info Block classes (index.php & liturgical-music.php) */
.media-video-card {
    background-color: var(--bg-pure);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-sm);
}

.media-video-card .video-wrapper {
    width: 100%;
    aspect-ratio: 9/6;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #000;
}

.media-video-card iframe,
.media-video-card video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.video-performance-section .grid-2 {
    align-items: stretch;
}

.media-info-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-sm);
}

.media-info-block .meta-label {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    font-weight: 600;
}

.media-info-block .btn-group {
    justify-content: flex-start;
    margin-top: var(--space-xs);
}

/* Playlist Thumbnail and Meta classes (liturgical-music.php) */
.playlist-thumbnail {
    height: 180px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid var(--accent-gold-border);
}

.playlist-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-meta {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.premium-card h3 {
    font-size: 1.25rem;
    margin: 4px 0 8px 0;
}

.premium-card p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

.playlist-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playlist-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.playlist-count i {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    display: inline-block;
    vertical-align: middle;
}

.playlist-link {
    font-weight: 500;
    font-size: 0.85rem;
}

/* Bishop story preview layouts (index.php) */
.preview-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--accent-gold-border);
}

.preview-text .btn-secondary-red {
    margin-top: var(--space-sm);
}

.slider-link-wrapper {
    margin-top: var(--space-md);
}

.media-video-card .video-info {
    padding: var(--space-sm) var(--space-xs) 0 var(--space-xs);
}

.media-video-card .video-info h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.media-video-card .video-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* =========================================================================
   TABLES & RESOURCE ACTION BUTTONS
   ========================================================================= */
.resource-search-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: var(--space-sm);
}

.resource-search-wrapper .search-bar {
    max-width: 400px;
    width: 100%;
}

.resource-search-wrapper input {
    width: 100%;
}

.table-responsive-container {
    overflow-x: auto;
    background-color: var(--bg-pure);
    border-radius: var(--radius-lg);
    border: 1px solid var(--bg-warm-dark);
    box-shadow: var(--shadow-sm);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.premium-table thead tr {
    background-color: var(--bg-warm-dark);
    border-bottom: 1px solid var(--accent-gold-border);
}

.premium-table th {
    padding: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.premium-table tbody tr {
    border-bottom: 1px solid var(--bg-warm-dark);
    transition: background-color 0.2s;
}

.premium-table td {
    padding: 1.2rem;
}

.premium-table td.file-title {
    font-weight: 500;
    color: var(--text-primary);
}

.premium-table td.text-right {
    text-align: right;
}

.tag-label {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tag-label.pdf {
    background-color: #fee2e2;
    color: #991b1b;
}

.tag-label.mp3 {
    background-color: #dbeafe;
    color: #1e40af;
}

.btn-table-action {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-color: var(--accent-gold-border);
}

.icon-table-action {
    width: 12px;
    height: 12px;
    margin-right: 4px;
}

/* =========================================================================
   MELODIES PLAYER WORKSPACE (syriac-melodies.php)
   ========================================================================= */
.music-filters-container {
    display: flex;
    gap: var(--space-xs);
}

.audio-btn-icon {
    width: 20px;
    height: 20px;
}

.audio-btn-icon-play {
    width: 22px;
    height: 22px;
}

.volume-slider-box {
    margin-bottom: var(--space-sm);
}

.download-track-btn {
    font-size: 0.75rem;
    padding: 0.5rem 1.2rem;
    width: 100%;
    border-color: var(--accent-gold-border);
}

.download-track-btn i {
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

.lyrics-toggle-icon {
    width: 16px;
    height: 16px;
}

.divider-subtle {
    border: 0;
    border-top: 1px solid rgba(201, 166, 70, 0.15);
    margin: 8px 0;
}

.lyrics-heading-label {
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Subtitle descriptions in CTA blocks */
.section-footer-paragraph {
    max-width: 600px;
    margin: var(--space-xs) auto var(--space-md) auto !important;
}

/* =========================================================================
   UTILITIES & GENERAL SPACING HELPERS
   ========================================================================= */

/* Icon dimensions */
.icon-xs {
    width: 12px;
    height: 12px;
}

.icon-sm {
    width: 14px;
    height: 14px;
}

.icon-md {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 20px;
    height: 20px;
}

.icon-xl {
    width: 22px;
    height: 22px;
}

.icon-2xl {
    width: 24px;
    height: 24px;
}

.icon-3xl {
    width: 32px;
    height: 32px;
}

.inline-middle {
    display: inline-block;
    vertical-align: middle;
}

/* Layout align stretches */
.contact-section .grid-2 {
    align-items: stretch;
}

.contact-form-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-card h2 {
    font-size: 1.8rem;
    margin-bottom: var(--space-xs);
}

.contact-form-card p {
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.contact-form-card .form-group-msg {
    margin-bottom: var(--space-md);
}

.btn-full-width {
    width: 100%;
}

.contact-details-column {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    justify-content: space-between;
}

.contact-details-column h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-xs);
}

.contact-details-column .footer-contact-info {
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.contact-map-wrapper {
    flex-grow: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-sm);
    min-height: 250px;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 250px;
}

/* Biography story templates layout classes (biography.php) */
.bio-section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    font-weight: 600;
}

.bio-preview-section h2,
.story-text h2 {
    margin-top: 5px;
}

.story-row-reverse {
    margin-top: var(--space-xl);
    direction: rtl;
}

.story-image{
    display: flex;
}
.story-image .image-frame{
    aspect-ratio: 1/1;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.story-col-ltr {
    direction: ltr;
}

.story-col-ltr .image-frame {
    margin-left: 0;
    margin-right: auto;
}

.btn-secondary-gold-outline {
    border-color: var(--accent-gold);
    color: var(--bg-pure);
}

.btn-secondary-gold-outline:hover {
    background-color: var(--accent-gold);
    color: var(--text-primary);
}

.hero-btn-group {
    justify-content: flex-start;
}

.calling-subtitle {
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

.margin-right-xs {
    margin-right: 4px;
}

.youtube-svg {
    fill: currentColor;
    margin-right: 4px;
}

/* =========================================================================
   BIOGRAPHY PROFILE CARD (biography.php) - HORIZONTAL LAYOUT
   ========================================================================= */
.bio-profile-section {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.bio-profile-card.horizontal {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--bg-pure);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--accent-gold-border);
    display: grid;
    grid-template-columns: 280px 1fr;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.bio-profile-card.horizontal:hover {
    box-shadow: 0 20px 48px rgba(26, 26, 26, 0.1);
}

.bio-profile-image-col {
    background: var(--bg-warm-dark);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--accent-gold-border);
}

.bio-profile-photo-frame {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.bio-profile-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform var(--transition-slow);
}

.bio-profile-card.horizontal:hover .bio-profile-photo-frame img {
    transform: scale(1.04);
}

.bio-profile-content-col {
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bio-profile-subtitle {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
    font-weight: 600;
}

.bio-profile-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
    margin: 4px 0 8px 0;
}

.bio-profile-title {
    color: var(--primary-red);
    font-weight: 400;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.bio-profile-church {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.bio-profile-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--accent-gold-border) 0%, transparent 100%);
    margin: var(--space-md) 0;
}

.bio-profile-milestones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.bio-milestone-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
}

.bio-milestone-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    /* background: var(--primary-red-light);
    color: var(--primary-red); */
    /* background: var(--accent-gold-light); */
    color: var(--accent-gold);
    border: 1px solid rgba(210, 45, 51, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

/* .bio-milestone-item:hover .bio-milestone-icon {
    background: var(--primary-red);
    color: #ffffff;
} */

.bio-milestone-info {
    display: flex;
    flex-direction: column;
}

.bio-milestone-label {
    font-size: 0.78rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.bio-milestone-value {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.35;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .bio-profile-card.horizontal {
        grid-template-columns: 240px 1fr;
    }

    .bio-profile-content-col {
        padding: var(--space-md) var(--space-lg);
    }

    .bio-profile-milestones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .bio-profile-name {
        font-size: 1.85rem;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .bio-profile-card.horizontal {
        grid-template-columns: 1fr;
    }

    .bio-profile-image-col {
        border-right: none;
        border-bottom: 1px solid var(--accent-gold-border);
        padding: var(--space-md);
    }

    .bio-profile-photo-frame {
        max-width: 240px;
        min-height: 240px;
        margin: 0 auto;
    }

    .bio-profile-content-col {
        padding: var(--space-md);
    }

    .bio-profile-milestones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .bio-profile-milestones-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================================
   BIOGRAPHY TABS SECTION (biography.php)
   ========================================================================= */
.bio-tabs-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.bio-tabs-nav {
    display: flex;
    gap: 4px;
    background: var(--bg-warm-dark);
    border-radius: var(--radius-lg);
    padding: 6px;
    margin-bottom: var(--space-xl);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: sticky;
    top: calc(var(--navbar-height) + 10px);
    z-index: 1;
}

.bio-tabs-nav::-webkit-scrollbar {
    display: none;
}

.bio-tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
    flex: 1;
    justify-content: center;
    position: relative;
    border: 1px solid transparent;
}

.bio-tab-btn svg {
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
}

.bio-tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.6);
}

.bio-tab-btn:hover svg {
    opacity: 0.9;
}

.bio-tab-btn.active {
    background: var(--bg-pure);
    /* background: var(--primary-red-light); */
    /* color: var(--text-primary); */
    color: var(--primary-red);
    font-weight: 600;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-red);
}

.bio-tab-btn.active svg {
    opacity: 1;
    /* color: var(--accent-gold); */
    color: var(--primary-red);
}

/* .bio-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: var(--radius-full);
} */

/* Tab Content */
.bio-tabs-content {
    position: relative;
}

.bio-tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.bio-tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.bio-tab-panel.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.bio-tab-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-xl);
    align-items: start;
}

.bio-tab-text {
    padding-right: var(--space-md);
}

.bio-tab-text h2 {
    margin-top: 5px;
    margin-bottom: var(--space-md);
    /* font-family: var(--font-heading); */
    /* font-size: 2rem; */
    color: var(--text-primary);
}

.bio-tab-text p {
    margin-bottom: var(--space-sm);
    line-height: 1.8;
    color: var(--text-secondary);
}

.bio-tab-text p strong {
    color: var(--text-primary);
    font-weight: 500;
}

.bio-tab-text p:last-child {
    margin-bottom: 0;
}

.bio-tab-image {
    position: sticky;
    top: calc(var(--navbar-height) + 80px);
}

.bio-tab-image .image-frame {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.bio-tab-image .image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform var(--transition-slow);
}

.bio-tab-image .image-frame:hover img {
    transform: scale(1.03);
}

/* Read More Collapse/Expand */
.bio-tab-body {
    position: relative;
    max-height: 260px;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.bio-tab-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.bio-tab-body.expanded {
    max-height: 2000px;
}

.bio-tab-body.expanded::after {
    opacity: 0;
}

.bio-read-more-link {
    display: inline-block;
    margin-top: var(--space-sm);
    color: var(--primary-red);
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-fast);
    user-select: none;
}

.bio-read-more-link:hover {
    color: var(--primary-red-hover);
    text-decoration: underline;
}

/* Responsive: Tablets */
@media (max-width: 992px) {
    .bio-tabs-nav {
        gap: 2px;
        padding: 4px;
    }

    .bio-tab-btn {
        padding: 12px 16px;
        font-size: 0.82rem;
    }

    .bio-tab-btn svg {
        display: none;
    }

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

    .bio-tab-text {
        padding-right: 0;
    }

    .bio-tab-image {
        position: relative;
        top: auto;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Responsive: Mobile */
@media (max-width: 600px) {
    .bio-tabs-nav {
        flex-direction: column;
        gap: 4px;
        border-radius: var(--radius-md);
    }

    .bio-tab-btn {
        padding: 14px 16px;
        font-size: 0.88rem;
        justify-content: flex-start;
    }

    .bio-tab-btn svg {
        display: inline-block;
        width: 16px;
        height: 16px;
    }

    .bio-tab-btn.active::after {
        display: none;
    }

    /* .bio-tab-text h2 {
        font-size: 1.6rem;
    } */

    .bio-tab-image {
        max-width: 100%;
    }
}

/* =========================================================================
   WATERMARKS & DECORATIVE LITURGICAL ORNAMENTS
   ========================================================================= */
.hero-text-content {
    position: relative;
}

.hero-watermark-ornament {
    position: absolute;
    top: 50%;
    left: 8%;
    width: 320px;
    height: 320px;
    color: var(--accent-gold);
    opacity: 0.05;
    transform: translateY(-50%) rotate(-12deg);
    pointer-events: none;
    z-index: 1;
}

.quote-divider {
    position: relative;
    overflow: hidden;
}

.quote-watermark {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    color: var(--accent-gold);
    opacity: 0.24;
    pointer-events: none;
    z-index: 0;
}

.preview-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preview-image .image-frame {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4/5;
}

/* Modern Collage for Biography Preview */
.preview-images-collage {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

/* UI Decorative radial glow behind collage */
.preview-images-collage::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.collage-main-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 68%;
    height: 82%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    background-color: var(--bg-warm-dark);
    transition: var(--transition-smooth);
}

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

.collage-sub-frame {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 58%;
    height: 72%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--accent-gold-border);
    box-shadow: var(--shadow-xl);
    z-index: 3;
    background-color: var(--bg-warm-dark);
    transition: var(--transition-smooth);
}

.collage-sub-frame img,
.collage-sub-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-images-collage img,
.preview-images-collage video {
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
}

.collage-sub-frame video {
    cursor: pointer;
}

/* Collage Video Controls Dock */
.collage-video-controls {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--accent-gold-border);
    padding: 4px 6px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.collage-control-btn {
    background: transparent;
    border: none;
    color: var(--accent-gold);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0;
    outline: none;
    position: relative;
    z-index: 12;
    pointer-events: auto;
}

.collage-control-btn:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: scale(1.08);
}

.collage-control-btn:active {
    transform: scale(0.95);
}

.collage-control-btn svg {
    width: 15px;
    height: 15px;
    pointer-events: none;
}

/* Base icon state: hide by default so uninitialized states don't overlap icons */
.collage-control-btn .icon-pause,
.collage-control-btn .icon-play,
.collage-control-btn .icon-muted,
.collage-control-btn .icon-unmuted {
    display: none;
}

/* Audio button state toggling */
.collage-control-btn.btn-audio.is-muted .icon-muted { display: block !important; }
.collage-control-btn.btn-audio.is-muted .icon-unmuted { display: none !important; }
.collage-control-btn.btn-audio.is-unmuted .icon-muted { display: none !important; }
.collage-control-btn.btn-audio.is-unmuted .icon-unmuted { display: block !important; }

/* Play/Pause button state toggling */
.collage-control-btn.btn-play-pause.is-playing .icon-pause { display: block !important; }
.collage-control-btn.btn-play-pause.is-playing .icon-play { display: none !important; }
.collage-control-btn.btn-play-pause.is-paused .icon-pause { display: none !important; }
.collage-control-btn.btn-play-pause.is-paused .icon-play { display: block !important; }

/* Center overlay play button indicator when paused */
.collage-video-overlay-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0;
}

.collage-video-overlay-play svg {
    margin-left: 3px;
    display: block;
    pointer-events: none;
}

.collage-sub-frame.is-video-paused .collage-video-overlay-play {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.collage-video-overlay-play:hover {
    background: var(--accent-gold);
    color: #ffffff;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Glassmorphic UI Badge */
.collage-badge {
    position: absolute;
    bottom: 8%;
    left: -10%;
    z-index: 4;
    background: #c9a64635;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--accent-gold);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 100%;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition-smooth);
    aspect-ratio: 1;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.collage-badge .badge-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1.1;
}

.collage-badge .badge-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: white;
    font-weight: 600;
    opacity: 0;
}

/* Hover effects for depth */
/* .preview-images-collage:hover .collage-main-frame {
    transform: translate(-8px, -8px) scale(1.01);
}

.preview-images-collage:hover .collage-sub-frame {
    transform: translate(8px, 8px) scale(1.01);
}

.preview-images-collage:hover .collage-badge {
    transform: translate(-4px, -4px) scale(1.03);
} */

@media (max-width: 992px) {
    .hero-watermark-ornament {
        top: 20%;
        left: 50%;
        transform: translate(-50%, -20%) rotate(0deg);
        width: 250px;
        height: 250px;
    }
}