:root {
    /* Palette "Leadership & Energy" */
    --color-bg: #0a0a0a;
    /* Deep Black */
    --color-primary: #f1e9e4;
    /* Champagne Gold */
    --color-accent: #F9abdf;
    /* Neon Pink */
    --color-accent-hover: #ffc2eb;
    --color-text: #F5F5F5;
    /* Smoke White */
    --color-text-muted: #cccccc;
    --color-card-bg: #111111;

    /* Fonts */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 5rem 2rem;
    --container-max-width: 1200px;
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(241, 233, 228, 0.1);
    height: 70px;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 50px;
    /* Adjust according to logo aspect ratio */
    width: auto;
    transition: transform 0.3s;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
}

.lang-switch span {
    transition: color 0.3s;
}

.lang-switch span.active {
    color: var(--color-accent);
    text-decoration: underline;
}

.lang-switch span:hover {
    color: #fff;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: 0.3s;
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-accent);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(249, 171, 223, 0.4);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 171, 223, 0.6);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    min-height: 700px;
    background-image: url('../img/LatinaXpo25-725.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--nav-height);
    width: 100%;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: var(--color-primary);
    font-size: 2.2rem;
    display: block;
    margin-top: 0.5rem;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
}

.event-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

/* PRICING SECTION */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--color-card-bg);
    padding: 3rem 2rem;
    border: 1px solid #222;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card.vip {
    border: 1px solid var(--color-primary);
    background: linear-gradient(to bottom, #111, #1a1512);
    box-shadow: 0 0 30px rgba(241, 233, 228, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(249, 171, 223, 0.1);
}

.card-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.card-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.card-features {
    text-align: left;
    margin: 2rem 0;
    color: var(--color-text-muted);
    flex-grow: 1;
    /* Pushes button down */
}

.card-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.card-features li::before {
    content: "✓";
    color: var(--color-accent);
    margin-right: 12px;
    font-weight: bold;
    min-width: 15px;
}

/* ABOUT SECTION */
#about {
    background-color: #0f0f0f;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.about-image img {
    border-radius: 20px;
    box-shadow: -20px 20px 0 var(--color-card-bg), -20px 20px 0 2px var(--color-primary);
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* SPEAKERS SECTION */
#speakers {
    background-color: var(--color-bg);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3.5rem;
    margin-top: 4rem;
}

.speaker-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-10px);
}

.speaker-card:hover .speaker-image-wrapper {
    border-color: var(--color-accent);
    box-shadow: 0 0 20px rgba(249, 171, 223, 0.3);
}

.speaker-image-wrapper {
    width: 220px;
    height: 220px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(241, 233, 228, 0.2);
    transition: all 0.3s ease;
}

.speaker-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.speaker-name {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.speaker-role {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.speaker-cta {
    text-align: center;
    margin-top: 5rem;
}

/* TAKEAWAYS */
#takeaways {
    background: linear-gradient(to bottom, #0a0a0a, #141414);
}

.takeaways-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.takeaway-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.takeaway-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-bottom-color: var(--color-accent);
    transform: translateY(-5px);
}

.takeaway-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
}

/* DRESS CODE */
.dresscode-flex {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap-reverse;
}

.dresscode-image {
    flex: 1;
    min-width: 300px;
}

.dresscode-image img {
    border-radius: 12px;
    box-shadow: 20px 20px 0 var(--color-card-bg), 20px 20px 0 2px var(--color-primary);
}

.dresscode-text {
    flex: 1;
    min-width: 300px;
}

/* MAIN CTA */
#main-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/S8/5.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 10rem 2rem;
}

.cta-title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

/* GALLERY */
#gallery {
    padding-bottom: 5rem;
}

.gallery-scroller {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 2rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg);
    cursor: grab;
}

.gallery-scroller:active {
    cursor: grabbing;
}

.gallery-scroller img {
    height: 350px;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.gallery-scroller img:hover {
    transform: scale(1.02);
}

/* SOCIALS */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-icons a {
    color: var(--color-text);
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid var(--color-primary);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--color-accent);
}

.policy-text h3 {
    color: var(--color-primary);
    margin-top: 1.5rem;
}

.policy-text p {
    color: var(--color-text-muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar.scrolled {
        height: 60px;
    }

    .mobile-toggle {
        display: flex;
        /* Show hamburger */
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-title .highlight {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .dresscode-flex {
        gap: 3rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}