/* */
:root {
    --color-dark: #222222; 
    --color-gold: #c79a40; 
    --color-red: #da3733;  
    --color-light: #f4f4f4;
    --color-text-dark: #333333;
}

/*  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background-color: var(--color-light); 
    color: var(--color-text-dark); /*  */
    scroll-behavior: smooth; /*  */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0; /*  */
}

/*  */
.gold-text { color: var(--color-gold); }
.cta-red { background-color: var(--color-red); color: white; }
.cta-dark { background-color: var(--color-dark); color: white; } /*  */
.circuit-bg { 
    background-color: var(--color-dark);
    color: var(--color-light); /*  */
    /*  */
    /* background-image: url('circuit_pattern.png'); */
    background-repeat: repeat;
    background-size: cover; 
    background-position: center;
}
.light-bg { background-color: var(--color-light); }
.box-shadow { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } /*  */


/*  */
#header {
    background-color: rgba(34, 34, 34, 0.95); /*  */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease-in-out;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    font-size: 1.8em;
    font-weight: 900;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    color: var(--color-light);
    text-decoration: none;
    padding: 0 15px;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: var(--color-gold);
}

/*  */
.menu-toggle {
    display: none; /*  */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-gold);
    transition: all 0.3s ease-in-out;
}

/*  */
.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/*  */
.content-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
}

/*  */
.btn {
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.cta-red.hover-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-dark); /*  */
}

.cta-dark.hover-gold:hover {
    background-color: var(--color-gold);
    color: var(--color-dark);
}

.big-btn {
    padding: 15px 30px;
    font-size: 1.1em;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

/*  */
.hero-section {
    padding-top: 100px; /*  */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
}

.hero-banner-title {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 20px auto 30px;
}

.hero-section p {
    font-size: 1.4em;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-light);
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.date-info {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.countdown {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 30px;
}

/*  */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden; /*  */
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.schedule-table thead .header-row th,
.schedule-table .header-row td {
    background-color: var(--color-dark);
    color: var(--color-light);
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid var(--color-gold);
}

.schedule-table .subheader-row th {
    background-color: #e0e0e0;
    color: var(--color-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    border-bottom: 2px solid var(--color-gold);
}

.schedule-table tbody tr:nth-child(even):not(.header-row) {
    background-color: #f9f9f9;
}

.schedule-table tbody tr:hover:not(.header-row) {
    background-color: var(--color-gold);
    color: var(--color-dark);
    cursor: default;
    transition: background-color 0.3s ease;
}

.schedule-table tbody tr td:first-child {
    font-weight: 700; /*  */
    color: var(--color-red);
}


/*  */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    margin-top: 40px;
}

.grid-item {
    /*  */
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s;
    text-align: center; /*  */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);

    /* */
    background-color: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.1); 
}

/* --- --- */
#muestras.circuit-bg .grid-item {
    background-color: #ffffff; /* */
    border: 1px solid #ccc; /* */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* */
}
/* ------------------------------------------------------------------------ */


/* */
.item-icon {
    width: 180px; /* */
    height: 180px; /* */
    margin-bottom: 15px; /* */
    object-fit: contain; 
}

.grid-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

.grid-item h4 {
    color: var(--color-gold);
    margin-bottom: 10px;
    font-size: 1.4em;
}

.grid-item p {
    color: var(--color-light); /* */
}

/* ---  --- */
#muestras.circuit-bg .grid-item p {
    color: var(--color-text-dark); /* */
}
/* ------------------------------------------------------------------ */


/* */
.guest-card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.guest-card {
    width: 300px;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: #ffffff;
    transition: transform 0.3s;
}

.guest-card:hover {
    transform: translateY(-5px);
}

.guest-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid var(--color-gold);
}

.guest-card h4 {
    color: var(--color-dark);
    margin-bottom: 5px;
}

.guest-card p {
    color: #666;
    font-size: 0.95em;
}

/* */
.location-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
}

.contact-info {
    padding: 20px;
    color: var(--color-light);
}

.contact-info h4 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--color-gold);
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info strong {
    font-weight: 700;
}

/* */
.cta-red-section {
    padding: 40px 0;
    background-color: var(--color-red);
    color: white;
}
.cta-red-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* */
.partners-title {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-dark);
}

.logo-slider {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-logo {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: opacity 0.3s, filter 0.3s;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}


/* */
footer {
    padding: 20px 0;
    font-size: 0.9em;
    color: var(--color-light);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.social-icons a {
    margin-left: 15px;
}

.social-icons img {
    width: 24px;
    height: 24px;
    filter: invert(1);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-icons a:hover img {
    opacity: 1;
    filter: invert(0.8) sepia(1) saturate(5) hue-rotate(30deg); /* */
}


/* */
@media screen and (max-width: 900px) {
    .logo {
        font-size: 1.5em;
    }

    /* */
    .location-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        height: 300px;
    }
}

@media screen and (max-width: 768px) {
    /* */
    .menu-toggle {
        display: block;
    }

    #header .container {
        flex-direction: row; /* */
        justify-content: space-between;
        align-items: center;
    }

    /* */
    nav {
        /* */
        position: fixed;
        top: 60px; /* */
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-dark);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    nav.active {
        /* */
        transform: translateX(0);
        
    }

    nav ul {
        flex-direction: column;
        padding-top: 20px;
        align-items: center;
    }

    nav ul li {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li a {
        font-size: 1.2em;
        display: block;
        padding: 10px 0;
    }
    
    .big-btn {
        margin-top: 15px;
    }

    /* */
    .schedule-table thead {
        display: none; /* */
    }

    .schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td {
        display: block;
        width: 100%;
    }
    
    .schedule-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--color-gold);
        border-radius: 5px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }
    
    .schedule-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px dashed #e0e0e0;
    }
    
    .schedule-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 700;
        color: var(--color-dark);
        text-align: left;
    }

    .schedule-table tbody tr td:first-child {
        text-align: right;
    }
    
    .schedule-table .header-row td {
        text-align: center;
        background-color: var(--color-dark) !important;
        color: var(--color-light) !important;
        padding: 10px;
        border-bottom: none;
        font-size: 1.2em;
    }

    /* */
    .hero-section p {
        font-size: 1.2em;
    }
    .countdown {
        font-size: 1.8em;
    }

    /* */
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    footer div:first-child {
        margin-bottom: 10px;
    }
    .social-icons a {
        margin: 0 5px;
    }
}