@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --primary-gold: #D4AF37;
    --dark-gold: #B8860B;
    --light-gold: #F4E0A1;
    --bg-dark: #0F0F0F;
    --bg-card: #1A1A1A;
    --text-light: #FFFFFF;
    --text-muted: #A0A0A0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.brand {
    font-family: 'Playfair Display', serif;
}

/* --- HEADER & NAV --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 5%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

/* Header fixed state - dark background always for clarity */
header.scrolled,
body:not(.is-home) header {
    background: rgba(15, 15, 15, 0.98);
    height: 70px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    gap: 12px;
}

.logo-brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    background: linear-gradient(to right, #D4AF37, #F4E0A1, #B8860B, #D4AF37);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShine 4s linear infinite;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.2));
    display: flex;
    align-items: baseline;
}

.logo-brand-text::first-letter {
    font-size: 140%;
    margin-right: 0.05em;
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

header.scrolled .logo-brand-text,
body:not(.is-home) .logo-brand-text {
    font-size: 1.3rem;
}

.logo-img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    transition: var(--transition);
}

header.scrolled .logo-img,
body:not(.is-home) .logo-img {
    height: 55px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-gold);
    color: #000 !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 50px;
    font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 5px;
    transition: var(--transition);
}

/* --- HERO SECTIONS --- */
.hero,
.sub-hero {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
}

.sub-hero {
    min-height: 50vh;
    padding-top: 90px;
    /* Header space */
}

.hero::before,
.sub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(2px);
}

.hero-content,
.sub-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out forwards;
}

.hero h1,
.sub-hero h1 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero p,
.sub-hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* --- CONTENT SECTIONS --- */
section {
    padding: 80px 5%;
}

.sub-hero+section {
    padding-top: 40px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

/* Package Cards */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 10px 0;
}

.package-card {
    background: var(--bg-card);
    background-size: cover !important;
    background-position: center !important;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    min-height: 280px;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* Darker for better text contrast */
    transition: var(--transition);
    z-index: 0;
}

.package-card:hover::before {
    background: rgba(0, 0, 0, 0.2);
}

.package-card * {
    position: relative;
    z-index: 1;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
}

.package-price {
    font-size: 2.2rem;
    color: var(--primary-gold);
    font-weight: 700;
}

.package-features {
    list-style: none;
    margin: 30px 0;
    flex: 1;
}

.package-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.package-features li::before {
    content: '✓';
    color: var(--primary-gold);
    margin-right: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary-gold);
    color: #000;
}

.btn-outline {
    border: 1px solid var(--primary-gold);
    color: #fff;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    margin-top: 15px;
}

/* --- ABOUT SECTION --- */
.about-section {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.about-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-img-wrap {
    flex: 0 0 400px;
}

.retro-img {
    width: 100%;
    filter: grayscale(100%) contrast(1.1);
    border-radius: 12px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    header {
        height: 70px;
        background: rgba(10, 10, 10, 0.98) !important;
        /* Mobile header always solid */
    }

    .logo-img {
        height: 50px;
    }

    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 70px;
        /* Below compact header */
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-dark);
        display: flex;
        flex-direction: column;
        padding-top: 50px;
        transition: 0.4s;
        z-index: 999;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .sub-hero {
        min-height: 45vh;
        padding-top: 100px;
        /* Precise space for slogan visibility */
    }

    .sub-hero h1 {
        font-size: 2rem;
    }

    .package-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-row,
    .about-row.reverse {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-img-wrap {
        flex: 0 0 auto;
        width: 100%;
        max-width: 450px;
    }
}

/* --- FOOTER --- */
footer {
    padding: 60px 5% 30px;
    background: #080808;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.footer-logo {
    height: 30px !important;
    width: auto !important;
    max-width: 140px;
    object-fit: contain;
    margin: 0;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    max-width: fit-content;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    font-size: 1.1rem;
}

.social-links a:hover {
    color: #fff;
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.social-links a.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    border-color: transparent;
}

.social-links a.facebook:hover {
    background: #1877F2;
    border-color: transparent;
}

.social-links a.youtube:hover {
    background: #FF0000;
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- LIGHTBOX --- */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(10px);
}

#lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

#lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    display: flex;
    justify-content: center;
}

#lightbox-content img,
#lightbox-content video {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

#lightbox-close {
    position: absolute;
    top: -55px;
    right: 0;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

#lightbox-close:hover {
    color: var(--primary-gold);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: #000;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2001;
    line-height: 1;
    padding: 0;
}

.lightbox-nav-btn:hover {
    background: var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}