:root {
    --bg-primary: #040e0a;
    --bg-secondary: #0a1b14;
    --bg-tertiary: #10271e;
    --accent-gold: #d4af37;
    --accent-gold-glow: rgba(212, 175, 55, 0.25);
    --text-primary: #f4f8f6;
    --text-secondary: #a0baa9;
    --text-muted: #5a7766;
    
    --font-title: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
}

/* Base resets & Mobile-First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

body {
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .font-serif {
    font-family: var(--font-title);
    letter-spacing: 0.05em;
}

/* Background overlay helper */
.gold-gradient-text {
    background: linear-gradient(135deg, #f3e5ab 0%, var(--accent-gold) 50%, #aa7c11 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section: Mobile-First and Legible */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Align content top and bottom */
    align-items: center; /* Center horizontally */
    text-align: center;
    padding: 4rem 1.5rem 6rem 1.5rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Extra height to allow parallax downward scroll shift */
    background-image: url('image/hero.jpg');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: transform;
    pointer-events: none;
}



.hero-content-top, .hero-content-bottom {
    position: relative;
    z-index: 2;
    max-width: 600px;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 
        2px 2px 4px rgba(6, 18, 14, 0.9),
        -2px -2px 4px rgba(6, 18, 14, 0.9),
        2px -2px 4px rgba(6, 18, 14, 0.9),
        -2px 2px 4px rgba(6, 18, 14, 0.9),
        0 4px 10px rgba(0, 0, 0, 0.9);
    -webkit-text-stroke: 0.5px rgba(6, 18, 14, 0.8);
}

.hero-date {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* Sections & Layout */
.section {
    padding: 4rem 1.5rem;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
}

/* Glassmorphism Cards */
.glass-panel {
    background: rgba(12, 30, 23, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Gallery Swiper container styles */
.swiper-container {
    width: 100%;
    padding-bottom: 3rem !important; /* Space for pagination */
    overflow: hidden;
}

.swiper-slide {
    width: 85%; /* Shows partial slides on mobile for premium look */
    max-width: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.6;
    transform: scale(0.9);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* Slide image container for premium frame */
.image-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    background-color: var(--bg-tertiary);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.swiper-slide-active .image-card {
    border-color: rgba(212, 175, 55, 0.75);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15), 0 0 20px var(--accent-gold-glow);
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-card:hover img {
    transform: scale(1.08);
}

.image-card::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: border-color 0.4s ease;
}

.swiper-slide-active .image-card::after {
    border-color: rgba(212, 175, 55, 0.3);
}

/* Swiper navigation and pagination customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--accent-gold) !important;
    background: rgba(6, 18, 14, 0.7);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.1rem !important;
    font-weight: bold;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--accent-gold);
    color: var(--bg-primary) !important;
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px var(--accent-gold-glow);
}

.swiper-pagination-bullet {
    background: var(--text-muted) !important;
    opacity: 0.5;
    width: 8px;
    height: 8px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--accent-gold) !important;
    opacity: 1 !important;
    width: 20px;
    border-radius: 4px;
    box-shadow: 0 0 6px var(--accent-gold-glow);
}

/* Video Section (Embed responsivo) */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Dynamic Directional Scroll Animations */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Scroll down target states (moves up into view) */
.reveal-down {
    transform: translateY(35px);
}

.reveal-down.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll up target states (moves down into view) */
.reveal-up {
    transform: translateY(-35px);
}

.reveal-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Button & CTA styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #aa7c11 100%);
    color: var(--bg-primary);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(170, 124, 17, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(170, 124, 17, 0.5), 0 0 15px var(--accent-gold-glow);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Footer style */
footer {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #040e0a;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    color: var(--text-primary);
    font-size: 0.85rem;
    overflow: hidden;
    padding: 1.5rem;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('image/hero.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.25);
    opacity: 0.75;
    z-index: 1;
    pointer-events: none;
}

footer p {
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
}

/* Media Queries for Desktop layout enhancements */
@media (min-width: 768px) {
    .hero {
        padding: 3rem 3rem 6rem 3rem;
    }
    .hero-title {
        font-size: 5.5rem;
    }
    .hero-subtitle {
        font-size: 1.6rem;
    }
    .section {
        padding: 6rem 3rem;
    }
    .section-title {
        font-size: 2.75rem;
    }
    .swiper-slide {
        width: 100%; /* standard sizing on desktop */
    }
    .glass-panel {
        padding: 3rem;
    }
}

/* Ambient Glow Background Blobs */
.ambient-glows {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.3;
    will-change: transform;
}

.glow-emerald {
    position: absolute;
    top: 15%;
    left: -15%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 38, 26, 0.75) 0%, rgba(6, 18, 14, 0) 70%);
    filter: blur(120px);
    animation: floatGlow1 30s ease-in-out infinite alternate;
}

.glow-gold {
    position: absolute;
    bottom: 15%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(6, 18, 14, 0) 70%);
    filter: blur(130px);
    animation: floatGlow2 35s ease-in-out infinite alternate;
}

@keyframes floatGlow1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(8vw, 6vh) scale(1.15); }
}

@keyframes floatGlow2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-6vw, -6vh) scale(0.9); }
}

/* Staggered entry animations inside panels */
.reveal h3, .reveal .swiper-container, .reveal .flex {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.animated h3, .reveal.animated .flex {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.reveal.animated .swiper-container {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* WhatsApp Premium CTA Button */
.btn-whatsapp-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 1.1rem 2.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    font-size: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-whatsapp-premium:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5), 0 0 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-premium:active {
    transform: translateY(-1px);
}

/* Pulse Glow Keyframes for WhatsApp Premium */
.animate-pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
