:root {
    /* Clean White & Gold Palette */
    --color-bg: #ffffff;
    --color-text: #000000;
    --color-text-light: #000000;
    --color-text-muted: #000000;
    --color-heading: #000000;
    --color-heading-light: #000000;
    
    /* Golden Accents */
    --color-accent: #d4af37;
    --color-accent-light: #e6c866;
    --color-accent-dark: #b8860b;
    --color-gold: #ffd700;
    --color-champagne: #f9f9f9;
    --color-cream: #ffffff;
    
    /* White Surfaces */
    --color-surface: #ffffff;
    --color-surface-alt: #ffffff;
    --color-surface-warm: #ffffff;
    --color-surface-elevated: #ffffff;
    
    /* Subtle Borders */
    --color-border: rgba(0, 0, 0, 0.1);
    --color-border-light: rgba(0, 0, 0, 0.05);
    --color-border-strong: rgba(0, 0, 0, 0.2);
    --color-muted: #000000;
    
    /* Sophisticated Shadow System */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    
    /* Elegant Gradients */
    --gradient-gold: linear-gradient(135deg, var(--color-accent) 0%, var(--color-gold) 50%, var(--color-accent-light) 100%);
    --gradient-warm: linear-gradient(135deg, var(--color-cream) 0%, var(--color-champagne) 50%, var(--color-surface-warm) 100%);
    --gradient-elegant: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-alt) 25%, var(--color-champagne) 100%);
    
    /* Typography Scale */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.7;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: #000000;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Removed scroll-based animations - content now immediately visible */
.fade-in-up {
    /* No animation - content immediately visible */
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal {
    /* No animation - content immediately visible */
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Removed staggered animations - all content immediately visible */
.scroll-reveal.visible > * {
    /* No animation delays */
}

.scroll-reveal.visible > *:nth-child(1) { animation-delay: 0s; }
.scroll-reveal.visible > *:nth-child(2) { animation-delay: 0s; }
.scroll-reveal.visible > *:nth-child(3) { animation-delay: 0s; }
.scroll-reveal.visible > *:nth-child(4) { animation-delay: 0s; }

/* ==========================================
   SOPHISTICATED ANIMATIONS & MICRO-INTERACTIONS
   ========================================== */

/* Enhanced Hover Effects for Interactive Elements */
.btn-primary, .music-btn, .video-album-btn, .album-btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary::before, .music-btn::before, .video-album-btn::before, .album-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-primary:hover::before, .music-btn:hover::before, 
.video-album-btn:hover::before, .album-btn:hover::before {
    left: 100%;
}

/* Ripple Effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

/* Enhanced Navigation */
.nav-link::after {
    content: '';
    position: absolute;  
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--color-accent) !important;
    transform: translateY(-1px);
}

/* Parallax Scroll Effects */
.parallax-element {
    transform: translateZ(0);
    transition: transform 0.1s ease-out;
}

/* Enhanced Card Interactions */
.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.card-hover-effect:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg) scale(1.02);
}

.card-hover-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: 1;
}

.card-hover-effect:hover::before {
    opacity: 1;
}

/* Magnetic Button Effect */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.magnetic-btn:hover {
    transform: scale(1.1);
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: translateX(-100%);
    animation: textRevealSlide 2s ease-out;
}

@keyframes textRevealSlide {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Enhanced Typography Animations */
.animated-text {
    display: inline-block;
    animation: textFloat 3s ease-in-out infinite;
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.stagger-text span {
    display: inline-block;
    animation: letterSlideIn 0.8s ease-out both;
}

.stagger-text span:nth-child(1) { animation-delay: 0.1s; }
.stagger-text span:nth-child(2) { animation-delay: 0.2s; }
.stagger-text span:nth-child(3) { animation-delay: 0.3s; }
.stagger-text span:nth-child(4) { animation-delay: 0.4s; }
.stagger-text span:nth-child(5) { animation-delay: 0.5s; }

@keyframes letterSlideIn {
    0% {
        opacity: 0;
        transform: translateY(50px) rotateX(90deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

/* ==========================================
   ELEGANT LOADING STATES & TRANSITIONS
   ========================================== */

/* Sophisticated Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-surface-warm) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    animation: loaderPulse 2s ease-in-out infinite;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top: 3px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes textGlow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Enhanced Shimmer Effect */
.shimmer {
    background: linear-gradient(110deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.1) 20%, 
        rgba(212, 175, 55, 0.2) 50%, 
        rgba(212, 175, 55, 0.1) 80%, 
        transparent 100%);
    background-size: 200% 100%;
    animation: shimmerWave 2.5s ease-in-out infinite;
}

@keyframes shimmerWave {
    0% {
        background-position: -200% 0;
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        background-position: 200% 0;
        opacity: 0.3;
    }
}

/* Skeleton Loading for Gallery */
.gallery-skeleton {
    background: var(--gradient-elegant);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}

.gallery-skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 20%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.4) 80%,
        transparent 100%);
    animation: skeletonShimmer 2s infinite ease-in-out;
}

@keyframes skeletonShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Tribute Card Loading */
.tribute-skeleton {
    background: var(--gradient-warm);
    border-radius: 24px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    animation: skeletonPulse 1.5s ease-in-out infinite alternate;
}

@keyframes skeletonPulse {
    0% { opacity: 0.6; }
    100% { opacity: 0.9; }
}

/* Progressive Image Loading */
.progressive-image {
    position: relative;
    overflow: hidden;
    background: var(--color-surface-alt);
}

.progressive-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        var(--color-surface-alt) 25%, 
        transparent 25%, 
        transparent 75%, 
        var(--color-surface-alt) 75%),
    linear-gradient(45deg, 
        var(--color-surface-alt) 25%, 
        transparent 25%, 
        transparent 75%, 
        var(--color-surface-alt) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    animation: progressiveLoad 1s linear infinite;
    z-index: 1;
}

.progressive-image img {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.progressive-image img.loaded {
    opacity: 1;
}

@keyframes progressiveLoad {
    0% { background-position: 0 0, 10px 10px; }
    100% { background-position: 20px 20px, 30px 30px; }
}

/* Content Reveal Animations - Removed for immediate visibility */
.content-reveal {
    opacity: 1;
    transform: translateY(0);
}

.content-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.content-reveal-left {
    opacity: 1;
    transform: translateX(0);
}

.content-reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.content-reveal-right {
    opacity: 1;
    transform: translateX(0);
}

.content-reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Page Transition Effects */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    z-index: 9998;
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-transition.active {
    transform: translateY(0);
}

/* Smooth Section Scrolling */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Remove the opacity issue causing sections to be hidden */

/* Enhanced Button Loading States */
.btn-loading {
    position: relative;
    pointer-events: none;
    overflow: hidden;
}

.btn-loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    animation: buttonShine 1.5s infinite;
}

@keyframes buttonShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-loading .btn-text {
    opacity: 0.7;
}

/* Form Input Focus States */
.form-input-wrapper {
    position: relative;
}

.form-input-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.form-input-wrapper.focused::after {
    width: 100%;
}

/* Elegant Tooltip Animations */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-heading);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
}

.tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    border: 5px solid transparent;
    border-top-color: var(--color-heading);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tooltip:hover::before,
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Enhanced Section Transitions */
.section-transition {
    position: relative;
    overflow: hidden;
}

.section-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
}

.section-transition.in-view::before {
    transform: translateX(0);
}

/* Particle Animation */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s linear infinite;
}

.particle:nth-child(odd) {
    animation-delay: -2s;
    background: rgba(212, 175, 55, 0.4);
}

.particle:nth-child(even) {
    animation-delay: -4s;
    background: rgba(139, 69, 19, 0.3);
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Enhanced Image Hover Effects */
.image-hover-effect {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
}

.image-hover-effect img {
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: brightness(1) contrast(1) saturate(1);
}

.image-hover-effect:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.image-hover-effect::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-hover-effect:hover::after {
    opacity: 1;
}

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

.hero-section {
    background: #ffffff;
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    width: 100%;
    z-index: 1;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
    animation: gradientShift 20s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.floating-elements {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    backdrop-filter: blur(1px);
    animation: floatSlow 15s ease-in-out infinite;
}

.floating-circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -150px;
    animation-delay: 0s;
}

.floating-circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -100px;
    animation-delay: -5s;
}

.floating-circle-3 {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 80%;
    animation-delay: -10s;
}

.floating-circle-4 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: 20%;
    animation-delay: -3s;
}

.floating-circle-5 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 30%;
    animation-delay: -8s;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
    }
    50% {
        transform: translateY(-40px) translateX(-5px) rotate(180deg);
    }
    75% {
        transform: translateY(-10px) translateX(-15px) rotate(270deg);
    }
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(212, 175, 55, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(139, 69, 19, 0.05) 1px, transparent 1px);
    background-size: 50px 50px, 100px 100px;
    opacity: 0.3;
    animation: patternMove 30s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: heroContentFadeIn 2s ease-out;
}

@keyframes heroContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Portrait Styling */
.hero-portrait {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: portraitReveal 1.8s ease-out 0.3s both;
}

@keyframes portraitReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.portrait-frame {
    position: relative;
    display: inline-block;
    padding: 8px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(212, 175, 55, 0.1) 25%, 
        rgba(255, 255, 255, 0.9) 50%, 
        rgba(139, 69, 19, 0.1) 75%, 
        rgba(255, 255, 255, 0.9) 100%);
    border-radius: 50%;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.portrait-inner {
    position: relative;
    padding: 4px;
    background: white;
    border-radius: 50%;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.portrait-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

.portrait-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: portraitGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes portraitGlow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Typography */
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    line-height: 0.9;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title-line {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.02em;
    color: var(--color-heading);
    opacity: 1 !important;
    transform: translateX(0) !important;
    animation: titleSlideIn 1.2s ease-out both;
}

.hero-title-line:first-child {
    animation-delay: 0.6s;
}

.hero-title-emphasis {
    background: linear-gradient(135deg, var(--color-accent) 0%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
    animation-delay: 0.9s;
}

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-name-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: nameReveal 1.5s ease-out 1.2s both;
}

@keyframes nameReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: var(--color-heading);
    letter-spacing: 0.02em;
    text-align: center;
}

.hero-ornament {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
    position: relative;
}

.hero-ornament::before,
.hero-ornament::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.hero-ornament-left::before { left: 0; }
.hero-ornament-left::after { left: 10px; }
.hero-ornament-right::before { right: 0; }
.hero-ornament-right::after { right: 10px; }

.hero-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    opacity: 1 !important;
    transform: scale(1) !important;
    animation: datesReveal 1.5s ease-out 1.5s both;
}

@keyframes datesReveal {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-date-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
}

.hero-date-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.6;
    color: #000000;
    max-width: 600px;
    margin: 0 auto 4rem;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: subtitleReveal 1.5s ease-out 1.8s both;
}

@keyframes subtitleReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    animation: ctaReveal 1.5s ease-out 2.1s both;
    margin-bottom: 8rem;
}

@keyframes ctaReveal {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-accent);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.hero-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    background: var(--color-accent);
    color: white;
}

.hero-btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.hero-btn:hover .hero-btn-glow {
    transform: translateX(100%);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: scrollIndicatorReveal 1.5s ease-out 2.5s both;
    z-index: 10;
}

@keyframes scrollIndicatorReveal {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--color-accent);
    border-radius: 13px;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% {
        top: 8px;
        opacity: 1;
    }
    50% {
        top: 20px;
        opacity: 0.5;
    }
}

.scroll-text {
    font-size: 12px;
    color: var(--color-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* ==========================================
   ENHANCED MOBILE RESPONSIVENESS & TOUCH INTERACTIONS
   ========================================== */

/* Touch-Friendly Interactions */
.touch-target {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .nav-link {
        padding: 12px 16px;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-link:active {
        transform: scale(0.95);
        background: rgba(212, 175, 55, 0.1);
    }
    
    /* Mobile Hero Section */
    .hero-section {
        min-height: 100vh;
        padding: 20px 0;
    }
    
    .hero-name-container {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-ornament {
        width: 40px;
        height: 1px;
    }
    
    .hero-dates {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-date-line {
        width: 30px;
    }
    
    .portrait-image {
        width: 120px;
        height: 120px;
    }
    
    .hero-subtitle {
        margin-bottom: 2rem;
        padding: 0 20px;
    }
    
    /* Mobile-Optimized Floating Elements */
    .floating-circle-1,
    .floating-circle-4 {
        display: none; /* Hide large circles on mobile */
    }
    
    .floating-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .floating-circle-3 {
        width: 80px;
        height: 80px;
    }
    
    .floating-circle-5 {
        width: 60px;
        height: 60px;
    }
}

/* Tablet Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-name {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
    
    .portrait-image {
        width: 140px;
        height: 140px;
    }
    
    .floating-elements {
        opacity: 0.7;
    }
}

/* Mobile Gallery Enhancements */
@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 10px;
    }
    
    .gallery-item {
        border-radius: 16px;
        transition: all 0.3s ease;
    }
    
    .gallery-item:active {
        transform: scale(0.95);
    }
    
    .gallery-navigation {
        bottom: -60px;
    }
    
    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    /* Touch-optimized album buttons */
    .album-btn {
        min-width: 100px;
        padding: 16px 12px;
        border-radius: 20px;
    }
    
    .album-cover {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    
    .album-icon {
        font-size: 28px;
    }
    
    .album-name {
        font-size: 12px;
    }
    
    .album-count {
        font-size: 10px;
    }
}

/* Mobile Tribute Cards */
@media (max-width: 768px) {
    .tribute-card {
        min-height: 240px;
        border-radius: 20px;
        margin-bottom: 1rem;
    }
    
    .tribute-card:active {
        transform: scale(0.98);
        transition: transform 0.2s ease;
    }
    
    .tribute-card h3 {
        font-size: 1.5rem;
    }
}

/* Mobile Video Section */
@media (max-width: 768px) {
    #video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-album-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .video-album-btn .album-icon {
        font-size: 16px;
    }
}

/* Mobile Music Controls */
@media (max-width: 768px) {
    .music-controls {
        margin-bottom: 1rem;
    }
    
    .music-btn {
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 40px;
    }
    
    .music-btn:active {
        transform: scale(0.95);
    }
}

/* Mobile Form Optimizations */
@media (max-width: 768px) {
    .form-input, .form-textarea, .form-select {
        padding: 16px 20px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 16px;
    }
    
    .form-input:focus, .form-textarea:focus, .form-select:focus {
        transform: scale(1.02);
    }
}

/* Touch Feedback for Interactive Elements */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:active,
    .btn-secondary:active,
    .hero-btn:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .gallery-item:active,
    .tribute-card:active {
        transform: scale(0.98);
    }
    
    .nav-link:active {
        background: rgba(212, 175, 55, 0.15);
        transform: scale(0.95);
    }
}

/* Scroll Indicator Mobile */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
        scale: 0.8;
    }
    
    .scroll-text {
        font-size: 10px;
    }
}

/* Mobile Loading States */
@media (max-width: 768px) {
    .page-loader {
        padding: 20px;
    }
    
    .loader-spinner {
        width: 40px;
        height: 40px;
        margin-bottom: 15px;
    }
    
    .loader-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* Mobile Safe Areas (for newer phones with notches) */
@supports (padding: max(0px)) {
    .hero-section {
        padding-top: max(80px, env(safe-area-inset-top));
    }
    
    header {
        padding-top: max(0px, env(safe-area-inset-top));
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-elements,
    .hero-pattern,
    .particles {
        display: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --color-text: #000000;
        --color-heading: #000000;
        --color-border: #000000;
        --color-accent: #b8860b;
    }
    
    .gallery-item,
    .tribute-card,
    .schedule-card {
        border: 2px solid var(--color-heading);
    }
}

/* Force All Text to be Black or Golden - Override any remaining gray text */
p, span, div, a, li, td, th, label, input, textarea, select {
    color: #000000 !important;
}

/* Exceptions for golden text */
.text-accent, 
.hero-title-emphasis,
.hero-date-text,
.scroll-text,
h1 .golden, h2 .golden, h3 .golden,
.nav-link:hover,
.tribute-card:hover h3,
.album-btn.active .album-name,
.music-btn:hover,
.video-album-btn:hover,
.hero-btn:hover {
    color: var(--color-accent) !important;
}

/* Ensure all backgrounds are white */
section, .card, .modal, .lightbox-content {
    background: #ffffff !important;
}

/* Dark Mode Override - Force Light Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --color-bg: #ffffff !important;
        --color-text: #000000 !important;
        --color-text-light: #000000 !important;
        --color-text-muted: #000000 !important;
        --color-heading: #000000 !important;
        --color-surface: #ffffff !important;
        --color-surface-alt: #ffffff !important;
        --color-surface-warm: #ffffff !important;
        --color-border: rgba(0, 0, 0, 0.1) !important;
    }
    
    body, html {
        background: #ffffff !important;
        color: #000000 !important;
    }
    
    .hero-section {
        background: #ffffff !important;
    }
}

/* Enhanced Navigation Visibility */
header {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Logo/Title Styling */
header .text-2xl,
header .text-3xl {
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Mobile menu styling */
#mobile-menu a {
    color: #000000 !important;
}

#mobile-menu-button {
    color: #000000 !important;
}

.nav-link {
    position: relative;
    color: #000000 !important;
    font-weight: 600;
    transition: color 0.4s ease;
}

.nav-link:hover {
    color: var(--color-accent) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-accent);
    transition: width 0.4s ease;
}

.nav-link:hover::after {
    width: 70%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: white;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-heading);
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--color-surface-alt);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    width: 100%;
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-heading);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Swiper Styles */
.swiper-slide { height: auto; }
.swiper-button-next, .swiper-button-prev {
    color: var(--color-accent);
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px; font-weight: 700; }
.swiper-pagination-bullet {
    background: var(--color-accent);
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}
.gallery-pagination .swiper-pagination-bullet {
    background: var(--color-accent);
}

.swiper-lazy-preloader {
    /* Visually hide the preloader, but keep it in the DOM for Swiper's JS to find */
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

/* Enhanced Card Components */
.schedule-card, .charity-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* Event Items - Compact Layout */
.event-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.event-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.event-item h4 {
    color: var(--color-accent);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.event-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Map Container - Compact Size */
.map-container {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.map-container:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .event-item {
        padding: 1.25rem;
    }
    
    .map-container {
        height: 180px;
    }
    
    .event-item h4 {
        font-size: 1.1rem;
    }
    
    .event-item p {
        font-size: 0.9rem;
    }
}
.schedule-card::before, .charity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.schedule-card:hover::before, .charity-card:hover::before {
    transform: scaleX(1);
}
.schedule-card:hover, .charity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: var(--color-accent)/20;
}

/* Optimized Tribute Cards - Performance-focused */
.tribute-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 0;
    /* Simplified transition - much faster */
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    /* Hardware acceleration enabled on hover only for better performance */
}

/* Removed complex pseudo-elements that cause performance issues */
/* Replaced with simple hover effects */

.tribute-card:hover {
    /* Simplified transform - only translate, no scale */
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-accent);
    background: #ffffff;
    /* Enable hardware acceleration only on hover for performance */
    will-change: transform;
}

.tribute-card h3 {
    font-size: 1.75rem;
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.5rem;
    /* Smooth color transition only */
    transition: color 0.2s ease;
}

.tribute-card:hover h3 {
    color: var(--color-accent);
}

.tribute-card p {
    color: #000000;
}

.tribute-card:hover p {
    color: #000000;
}

/* Add simple bottom border accent on hover */
.tribute-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.tribute-card:hover::after {
    transform: scaleX(1);
}


/* Enhanced Form Styling */
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background-color: var(--color-surface);
    border: 2px solid var(--color-border);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1), inset 0 1px 3px rgba(0,0,0,0.05);
    background-color: var(--color-surface);
}
.form-label {
    display: block;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

/* Section Spacing */
.section-padding {
    padding: 6rem 0;
}
.section-padding-lg {
    padding: 8rem 0;
}
.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    text-align: center;
}
.section-subtitle {
    font-size: 1.25rem;
    color: var(--color-muted);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Enhanced Gallery Styles */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.gallery-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-column {
        gap: 2rem;
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.84);
    cursor: pointer;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.05) saturate(1.1);
    min-height: 200px;
    background-color: var(--color-surface-alt);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 55, 0.85) 0%,
        rgba(184, 148, 31, 0.9) 50%,
        rgba(139, 134, 128, 0.95) 100%
    );
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

.gallery-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem;
}

.gallery-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.02em;
}

.gallery-description {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.0) 0%, rgba(212, 175, 55, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

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

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

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

/* Gallery Navigation */
.gallery-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    padding: 0 2rem;
}

.gallery-nav-btn {
    pointer-events: all;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--color-border);
    color: var(--color-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

.gallery-nav-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-strong);
    border-color: var(--color-accent);
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

/* Gallery Pagination */
.gallery-pagination-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.gallery-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--color-muted);
    opacity: 0.4;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-pagination .swiper-pagination-bullet-active {
    background: var(--color-accent);
    opacity: 1;
    transform: scale(1.3);
    border-color: var(--color-accent)/30;
    box-shadow: 0 0 0 4px var(--color-accent)/20;
}

.gallery-counter {
    font-weight: 500;
    letter-spacing: 0.05em;
}

.gallery-counter .current-slide {
    color: var(--color-accent-dark);
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-column {
        gap: 1rem;
    }
    
    .gallery-navigation {
        padding: 0 1rem;
    }
    
    .gallery-nav-btn {
        width: 48px;
        height: 48px;
    }
    
    .gallery-title {
        font-size: 1.1rem;
    }
    
    .gallery-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
    }
    
    .gallery-navigation {
        display: none;
    }
}

/* Loading states */
.gallery-item img.swiper-lazy {
    background: linear-gradient(90deg, var(--color-surface-alt) 25%, var(--color-surface) 50%, var(--color-surface-alt) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.gallery-item img.swiper-lazy-loaded {
    background: none;
    animation: none;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Lightbox Styles */
.lightbox { transition: opacity 0.3s ease-in-out; }
.lightbox-content {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    transform: scale(0.95);
}
.lightbox.open .lightbox-content {
    opacity: 1;
    transform: scale(1);
}

/* Enhanced Tribute Modal */
#tribute-modal .lightbox-content {
    max-width: 900px;
    max-height: 90vh;
    background: linear-gradient(135deg, #FFFFFF 0%, #FDFBF7 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

#tribute-modal .modal-header {
    background: linear-gradient(135deg, var(--color-surface-alt) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 2rem 2.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    position: relative;
    overflow: hidden;
}

#tribute-modal .modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0); }
}

#tribute-modal-title {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--color-heading);
    margin: 0;
    position: relative;
    z-index: 1;
}

#tribute-modal-body {
    padding: 2.5rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
    position: relative;
}

/* Album Selector Styles (iPhone Photos style) */
.album-selector {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.album-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 16px;
    min-width: 120px;
}

.album-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.album-btn.active {
    background: rgba(212, 175, 55, 0.1);
}

.album-cover {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.album-btn:hover .album-cover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.album-btn.active .album-cover {
    background: linear-gradient(135deg, var(--color-accent) 0%, #c4932f 100%);
}

.album-icon {
    font-size: 24px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.2s ease;
}

.album-btn.active .album-icon {
    color: var(--color-accent);
}

.album-btn:hover .album-icon {
    color: var(--color-accent);
}

.album-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-heading);
    margin-top: 4px;
}

.album-count {
    font-size: 12px;
    color: var(--color-text);
    opacity: 0.7;
}

/* Music Controls */
.music-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.music-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: 50px;
    color: var(--color-accent);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.music-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.music-btn.playing {
    background: var(--color-accent);
    color: white;
}

/* Video Album Selector */
.video-album-selector {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.video-album-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    color: var(--color-text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-album-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.video-album-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.video-album-btn .album-icon {
    font-size: 18px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.6);
    transition: color 0.2s ease;
}

.video-album-btn.active .album-icon,
.video-album-btn:hover .album-icon {
    color: var(--color-accent);
}

/* Custom scrollbar for tribute modal */
#tribute-modal-body::-webkit-scrollbar {
    width: 8px;
}

#tribute-modal-body::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.05);
    border-radius: 4px;
}

#tribute-modal-body::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

#tribute-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

#tribute-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    color: var(--color-heading);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--color-border);
    cursor: pointer;
    z-index: 2;
}

#tribute-modal-close:hover {
    background: var(--color-accent);
    color: white;
    transform: rotate(90deg) scale(1.1);
    border-color: var(--color-accent);
}

/* Enhanced Tribute Modal Content */
.tribute-content {
    line-height: 1.9;
    color: var(--color-text);
    font-size: 1.05rem;
}


.tribute-content h1, .tribute-content h2, .tribute-content h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--color-heading);
    margin-top: 2em;
    margin-bottom: 0.75em;
    line-height: 1.3;
    position: relative;
    padding-left: 1.5rem;
}

.tribute-content h1::before, 
.tribute-content h2::before, 
.tribute-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    border-radius: 2px;
}

.tribute-content h1 { 
    font-size: 2.25rem; 
    font-weight: 300;
}
.tribute-content h2 { 
    font-size: 1.875rem;
    font-weight: 400;
}
.tribute-content h3 { 
    font-size: 1.5rem;
    font-weight: 500;
}

.tribute-content p {
    margin-bottom: 1.25em;
    text-align: justify;
}

.tribute-content blockquote {
    position: relative;
    border: none;
    padding: 1.5rem 2rem;
    margin: 2em 0;
    font-style: italic;
    color: var(--color-heading);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
    border-radius: 12px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.tribute-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.3;
    font-family: 'Cormorant Garamond', serif;
}

.tribute-content ul, .tribute-content ol {
    margin-left: 1.5em;
    margin-bottom: 1.25em;
}

.tribute-content li {
    margin-bottom: 0.75em;
    position: relative;
    padding-left: 0.5em;
}

.tribute-content ul li::before {
    content: '•';
    position: absolute;
    left: -1em;
    color: var(--color-accent);
    font-weight: bold;
}

.tribute-content strong {
    color: var(--color-heading);
    font-weight: 600;
}

.tribute-content em {
    color: var(--color-accent-dark);
    font-style: italic;
}

/* Tribute section background */
#tributes {
    position: relative;
    overflow: hidden;
}

#tributes::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

#tributes::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    border-radius: 50%;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
