/* =========================================
   VARIABLES
========================================= */

:root {

    --primary: #6b4f35;
    --primary-dark: #3e2d1e;
    --secondary: #b58b5a;

    --background: #f5f1e9;
    --background-light: #faf8f3;

    --dark: #25221e;
    --dark-light: #332e28;

    --text: #332e28;
    --text-light: #756e65;

    --white: #ffffff;

    --border: #ddd4c7;

    --max-width: 1200px;

    --transition: 0.3s ease;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;
}


a {
    text-decoration: none;

    color: inherit;
}


ul {
    list-style: none;
}


button {
    font-family: inherit;
}


/* =========================================
   HEADER
========================================= */

.header {

    position: relative;

    background: var(--dark);

    color: white;

    z-index: 1000;
}


.header-container {

    max-width: var(--max-width);

    margin: auto;

    padding: 22px 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.logo-area {

    display: flex;

    align-items: center;

    gap: 18px;
}


.logo {

    width: 62px;

    height: 62px;

    border: 2px solid var(--secondary);

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    color: var(--secondary);
}


.title-area h1 {

    font-size: 25px;

    font-weight: 600;

    letter-spacing: 0.5px;
}


.title-area p {

    color: #c8bfb3;

    font-size: 16px;
}


/* =========================================
   NAV
========================================= */

.navbar {

    border-top: 1px solid rgba(255,255,255,0.08);

    background: #211e1a;
}


.nav-list {

    max-width: var(--max-width);

    margin: auto;

    padding: 0 15px;

    display: flex;

    justify-content: center;

    align-items: center;
}


.nav-list > li {

    position: relative;
}


.nav-list > li > a,
.dropdown-button {

    display: flex;

    align-items: center;

    gap: 6px;

    padding: 17px 18px;

    color: #e8e1d8;

    background: transparent;

    border: none;

    cursor: pointer;

    font-size: 14px;

    transition: var(--transition);
}


.nav-list > li > a:hover,
.dropdown-button:hover {

    color: white;

    background: var(--primary);
}


/* =========================================
   DROPDOWN
========================================= */

.dropdown-menu {

    position: absolute;

    top: 100%;

    left: 0;

    min-width: 210px;

    background: var(--dark);

    border-top: 3px solid var(--secondary);

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: var(--transition);

    z-index: 100;
}


.dropdown:hover .dropdown-menu {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


.dropdown-menu a {

    display: block;

    padding: 13px 17px;

    color: #ddd5ca;

    font-size: 14px;

    transition: var(--transition);
}


.dropdown-menu a:hover {

    background: var(--primary);

    color: white;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.menu-toggle {

    display: none;

    background: transparent;

    border: none;

    color: white;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================
   HERO SLIDER
========================================= */

.hero-slider {

    position: relative;

    width: 100%;

    height: 620px;

    overflow: hidden;

    background: #111;
}


.slides {

    width: 100%;

    height: 100%;

    position: relative;
}


.slide {

    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 1s ease,
        visibility 1s ease;
}


.slide.active {

    opacity: 1;

    visibility: visible;
}


.slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


.slide-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(25,20,15,0.85),
            rgba(25,20,15,0.35),
            rgba(25,20,15,0.05)
        );
}


.slide-content {

    max-width: 750px;

    padding: 40px;

    margin-left:
        max(
            30px,
            calc((100% - var(--max-width)) / 2)
        );

    color: white;
}


.slide-content span {

    display: inline-block;

    margin-bottom: 15px;

    color: #d6ad79;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;
}


.slide-content h2 {

    font-size: clamp(38px, 5vw, 65px);

    line-height: 1.05;

    margin-bottom: 20px;

    font-weight: 600;
}


.slide-content p {

    max-width: 600px;

    font-size: 18px;

    color: #eee6dc;
}


/* =========================================
   SLIDER BUTTONS
========================================= */

.slider-button {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 50px;

    height: 50px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,0.4);

    background: rgba(0,0,0,0.35);

    color: white;

    font-size: 20px;

    cursor: pointer;

    transition: var(--transition);

    z-index: 10;
}


.slider-button:hover {

    background: var(--primary);

    border-color: var(--primary);
}


.previous {
    left: 25px;
}


.next {
    right: 25px;
}


/* =========================================
   DOTS
========================================= */

.slider-dots {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 10px;

    z-index: 20;
}


.dot {

    width: 10px;

    height: 10px;

    border-radius: 50%;

    border: 1px solid white;

    background: transparent;

    cursor: pointer;

    transition: var(--transition);
}


.dot.active {

    background: white;

    transform: scale(1.25);
}


/* =========================================
   GENERAL SECTIONS
========================================= */

.section {

    padding: 100px 25px;
}


.section-container {

    max-width: var(--max-width);

    margin: auto;
}


.section-light {

    background: var(--background-light);
}


.section-dark {

    background: var(--dark);

    color: white;
}


.section-title {

    max-width: 750px;

    margin-bottom: 55px;
}


.section-title span {

    color: var(--secondary);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 3px;
}


.section-title h2 {

    margin-top: 10px;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;
}


.section-title.light h2 {

    color: white;
}


/* =========================================
   INTRO
========================================= */

.intro-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr;

    gap: 70px;

    align-items: start;
}


.intro-text p {

    color: var(--text-light);

    font-size: 17px;

    margin-bottom: 20px;
}


.primary-button {

    display: inline-block;

    margin-top: 15px;

    padding: 13px 25px;

    background: var(--primary);

    color: white;

    font-weight: 600;

    transition: var(--transition);
}


.primary-button:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}


/* =========================================
   INFO CARD
========================================= */

.info-card {

    background: white;

    border: 1px solid var(--border);

    padding: 30px;

    box-shadow:
        0 10px 30px rgba(50,40,30,0.06);
}


.info-item {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);
}


.info-item:first-child {
    padding-top: 0;
}


.info-item:last-child {

    border-bottom: none;

    padding-bottom: 0;
}


.info-icon {

    font-size: 25px;
}


.info-item strong {

    display: block;

    margin-bottom: 3px;
}


.info-item p {

    color: var(--text-light);
}


/* =========================================
   CARDS
========================================= */

.cards-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.event-card {

    background: var(--dark-light);

    border: 1px solid rgba(255,255,255,0.08);

    padding: 35px;

    transition: var(--transition);
}


.event-card:hover {

    transform: translateY(-7px);

    border-color: var(--secondary);
}


.card-number {

    color: var(--secondary);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 30px;
}


.event-card h3 {

    font-size: 24px;

    margin-bottom: 15px;
}


.event-card p {

    color: #bdb5ab;
}


/* =========================================
   REGISTRATION
========================================= */

.registration-box {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding: 45px;

    background: white;

    border-left: 5px solid var(--primary);

    box-shadow:
        0 10px 30px rgba(50,40,30,0.07);
}


.registration-box h3 {

    font-size: 28px;

    margin-bottom: 10px;
}


.registration-box p {

    color: var(--text-light);

    max-width: 700px;
}


/* =========================================
   PRESENTATIONS
========================================= */

.presentation-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;
}


.presentation-item {

    padding: 40px;

    border: 1px solid var(--border);

    background: white;

    transition: var(--transition);
}


.presentation-item:hover {

    transform: translateY(-5px);

    box-shadow:
        0 10px 30px rgba(50,40,30,0.08);
}


.presentation-item h3 {

    font-size: 25px;

    margin-bottom: 15px;
}


.presentation-item p {

    color: var(--text-light);

    margin-bottom: 20px;
}


.presentation-item a {

    color: var(--primary);

    font-weight: 600;
}


/* =========================================
   TIMELINE
========================================= */

.timeline {

    max-width: 900px;

    margin: auto;
}


.timeline-item {

    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 30px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);
}


.timeline-date {

    color: var(--primary);

    font-weight: 700;

    letter-spacing: 1px;
}


.timeline-content h3 {

    font-size: 23px;

    margin-bottom: 8px;
}


.timeline-content p {

    color: var(--text-light);
}


/* =========================================
   VENUE
========================================= */

.venue {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 40px;

    align-items: stretch;
}


.venue-text {

    padding: 50px 0;
}


.venue-text h3 {

    font-size: 35px;

    margin-bottom: 20px;
}


.venue-text p {

    color: #bdb5ab;

    font-size: 17px;
}


.map-placeholder {

    min-height: 300px;

    background:
        linear-gradient(
            135deg,
            #39342d,
            #26231f
        );

    display: flex;

    justify-content: center;

    align-items: center;

    flex-direction: column;

    color: #bdb5ab;
}


.map-placeholder span {

    font-size: 45px;

    margin-bottom: 10px;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {

    text-align: center;
}


.contact-section .section-title {

    margin-left: auto;

    margin-right: auto;
}


.contact-section > p {

    max-width: 700px;

    margin: 0 auto 25px;

    color: var(--text-light);

    font-size: 17px;
}


.email-link {

    display: inline-block;

    font-size: clamp(22px, 4vw, 34px);

    color: var(--primary);

    font-weight: 600;

    transition: var(--transition);
}


.email-link:hover {

    color: var(--secondary);
}


/* =========================================
   Mapa
========================================= */

.map-container {
    width: 100%;
    min-height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* =========================================
   FOOTER
========================================= */

.footer {

    background: #1b1916;

    color: white;

    padding-top: 60px;
}


.footer-container {

    max-width: var(--max-width);

    margin: auto;

    padding: 0 25px 50px;

    display: flex;

    justify-content: space-between;

    gap: 40px;
}


.footer-logo {

    color: var(--secondary);

    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 12px;
}


.footer-brand p {

    color: #a9a197;
}


.footer-contact h3 {

    margin-bottom: 12px;
}


.footer-contact a {

    color: var(--secondary);

    transition: var(--transition);
}


.footer-contact a:hover {

    color: white;
}


.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.08);

    padding: 20px 25px;

    text-align: center;

    color: #827a71;

    font-size: 13px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }


    .navbar {

        display: none;
    }


    .navbar.active {

        display: block;
    }


    .nav-list {

        flex-direction: column;

        align-items: stretch;
    }


    .nav-list > li > a,
    .dropdown-button {

        width: 100%;

        justify-content: space-between;

        padding: 15px 25px;
    }


    .dropdown-menu {

        position: static;

        display: none;

        opacity: 1;

        visibility: visible;

        transform: none;

        box-shadow: none;

        border-top: none;

        background: #181613;
    }


    .dropdown.active .dropdown-menu {

        display: block;
    }


    .hero-slider {

        height: 550px;
    }


    .intro-grid,
    .venue {

        grid-template-columns: 1fr;
    }


    .cards-grid {

        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    .header-container {

        padding: 16px 20px;
    }


    .logo {

        width: 50px;

        height: 50px;

        font-size: 10px;
    }


    .title-area h1 {

        font-size: 18px;
    }


    .title-area p {

        font-size: 13px;
    }


    .hero-slider {

        height: 520px;
    }


    .slide-content {

        padding: 25px;

        margin-left: 0;
    }


    .slide-content h2 {

        font-size: 38px;
    }


    .slide-content p {

        font-size: 15px;
    }


    .slider-button {

        width: 40px;

        height: 40px;

        font-size: 16px;
    }


    .previous {

        left: 12px;
    }


    .next {

        right: 12px;
    }


    .section {

        padding: 70px 20px;
    }


    .registration-box {

        flex-direction: column;

        align-items: flex-start;

        padding: 30px;
    }


    .presentation-grid {

        grid-template-columns: 1fr;
    }


    .timeline-item {

        grid-template-columns: 1fr;

        gap: 10px;
    }


    .footer-container {

        flex-direction: column;
    }

}