:root {
    --primary-blue: #003366;
    --accent-gold: #B38728;
    /* Slightly darker gold for light theme readability */
    --light-bg: #ffffff;
    --off-white: #f8f9fa;
    --dark-text: #1a1a1a;
    --muted-text: #555555;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --gold-gradient: linear-gradient(45deg, #BF953F, #D4AF37, #B38728);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 800px;
}

/* Glassmorphism Utility (Updated for Light Theme) */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-dark {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.4);
    /* Much more transparent */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.center-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo {
    height: 50px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

.logo-text {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 1px;
    color: var(--primary-blue);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
    white-space: nowrap;
}

.gold-text {
    color: #a67c00;
    /* Rich solid gold */
    font-weight: 800;
}

nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav.active {
    right: 0;
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1.2rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-gold);
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 18px;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
    opacity: 0.5;
}

.lang-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.lang-btn.active {
    opacity: 1;
    box-shadow: 0 0 5px rgba(0, 51, 102, 0.4);
    transform: scale(1.1);
}

.lang-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* Buttons */
.btn {
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #fff;
}

.btn-outline {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: #fff;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('../assets/hero-bg.webp') no-repeat bottom center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.7));*/
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--dark-text);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #ffffff;
    /*var(--accent-gold);*/
    /* Stronger relief/glow effect */
    text-shadow:
        0 0 15px rgb(0, 0, 0),
        0 0 20px rgba(11, 11, 11, 0.7),
        2px 2px 4px rgba(255, 255, 255, 0.2);
}

.subtitle {
    font-size: 1.8rem;
    color: #ffffffdf;
    /* Deep Magenta for high contrast */
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-shadow:
        0 0 15px rgb(0, 0, 0),
        0 0 20px rgba(2, 2, 2, 0.958),
        1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hotel-name {
    font-style: italic;
    color: #f7f7f7;
    /* Deep Magenta matching subtitle */
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow:
        0 0 15px rgb(0, 0, 0),
        0 0 20px rgba(0, 0, 0, 0.9),
        1px 1px 1px rgba(0, 0, 0, 0.2);
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 21px;
    margin: 40px auto;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.9);
}

.countdown-item {
    flex: 1;
}

.countdown-item span {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.countdown-item label {
    font-size: 0.56rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #444444;
    /* Darker labels */
}

/* Generic Section */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    color: var(--primary-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}

.bg-alt {
    background-color: var(--off-white);
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.lorem-text {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
    color: #333333;
    /* Darker for better visibility */
    font-weight: 400;
}

.registration-container .lorem-text {
    margin-left: 10px;
    margin-right: 10px;
}

.tourism-card {
    border-radius: 15px;
    background: #fff;
    border: 1px solid rgba(0, 51, 102, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.tourism-card:hover {
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
}

.hotel-card {
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
}

.hotel-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 25px;
}

.btn-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    display: inline-block;
}

.btn-link:hover {
    text-decoration: underline;
}

.hotel-rates {
    list-style: none;
    margin: 15px 0;
    padding: 0;
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.hotel-list-alt {
    list-style: none;
    margin: 15px 0;
    padding: 0;
    text-align: left;
}

.hotel-list-alt li {
    margin-bottom: 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hotel-list-alt li a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.hotel-list-alt li a:hover {
    color: var(--accent-gold);
}

/* Program Section */
.program-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px;
}

.program-day {
    margin-bottom: 30px;
}

.program-day h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.program-day p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.program-day ul {
    list-style: none;
    margin-left: 10px;
}

.program-day ul li {
    padding: 12px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    font-size: 1rem;
}

.program-day ul li strong {
    min-width: 120px;
    color: var(--primary-blue);
    font-weight: 700;
}

.program-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(179, 135, 40, 0.2), transparent);
    margin: 40px 0;
}

/* Registration Form */
.glass-gold-bg {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(0, 51, 102, 0.05) 100%);
}

.auth-optional {
    padding: 30px;
    margin-top: 30px;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.registration-form {
    padding: 40px;
    text-align: left;
    background: #fff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--muted-text);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    border-radius: 8px;
    outline: none;
}

.form-player-section {
    padding: 10px 0;
}

.form-subtitle {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    border-left: 4px solid var(--accent-gold);
    padding-left: 10px;
}

.form-divider {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.form-group select {
    width: 100%;
    padding: 12px;
    background: #fdfdfd;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-text);
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}

.form-group select:focus {
    border-color: var(--primary-blue);
    background: #fff;
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--primary-blue);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
    color: var(--accent-gold);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Prizes Additional Info */
.premios-info {
    font-size: 0.85rem;
    color: var(--muted-text);
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.premios-grid div {
    padding: 10px;
    background: rgba(0, 51, 102, 0.03);
    border-radius: 5px;
}

.premios-info h4 {
    font-size: 1rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.premios-terms {
    margin-top: 20px;
    font-style: italic;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
}

.premios-terms p {
    margin-bottom: 8px;
}

.eligibility-badge {
    text-align: center;
    max-width: 800px;
    margin: 50px auto 0;
    padding: 15px 25px;
    background: rgba(179, 135, 40, 0.08);
    /* Light gold tint */
    border: 1px solid rgba(179, 135, 40, 0.2);
    border-radius: 50px;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    padding: 50px 0;
    background: var(--off-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--muted-text);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hotel-name {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding: 100px 0 60px;
    }

    nav {
        width: 80%;
    }

    .center-text {
        display: none;
    }

    .countdown-container {
        flex-wrap: nowrap;
        /* Force single row */
        gap: 8px;
        padding: 15px;
        margin: 20px auto;
        max-width: 100%;
    }

    .countdown-item span {
        font-size: 1.4rem;
        /* Smaller numbers */
    }

    .countdown-item label {
        font-size: 0.6rem;
        /* Smaller labels */
    }

    .hero-btns {
        display: flex;
        justify-content: center;
        gap: 10px;
        flex-wrap: nowrap;
        /* Force single row for buttons if possible */
    }

    .hero-btns .btn {
        padding: 10px 15px;
        /* Smaller buttons */
        font-size: 0.85rem;
        flex: 1;
        max-width: 170px;
        white-space: nowrap;
    }
}