:root {
    --pink: #c94f78;
    --pink-dark: #a93860;
    --pink-light: #f8e5eb;
    --cream: #fffaf3;
    --brown: #80634e;
    --brown-dark: #594333;
    --white: #ffffff;
    --border: #ead8ce;
}

/* HEADER */

header {
    background: var(--white);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.logo-text {
    font-family: Georgia, serif;
    color: var(--pink-dark);
    font-size: 23px;
}

.logo-text span {
    display: block;
    color: var(--brown);
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    margin-top: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-button,
.event-button {
    background: var(--pink);
    color: white;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: bold;
    transition: 0.2s;
}

.header-button:hover,
.event-button:hover {
    background: var(--pink-dark);
}

/* MOBILE HEADER */

@media (max-width: 600px) {

    header {
        padding: 12px;
    }

    .header-inner {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .logo img {
        width: 90px;
        height: 90px;
    }

    .logo-text {
        font-size: 19px;
    }

    .logo-text span {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-actions a {
        white-space: nowrap;
        text-align: center;
        padding: 10px 14px;
        font-size: 10px;
    }
}


/* MAIN NAVIGATION */

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.main-nav > a,
.dropdown-toggle {
    color: var(--brown-dark);
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
}

.main-nav > a:hover,
.dropdown-toggle:hover {
    color: var(--pink);
}

/* DROPDOWNS */

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
}

.dropdown-menu a {
    display: block;
    padding: 11px 15px;
    color: var(--brown-dark);
    text-decoration: none;
    font-size: 13px;
}

.dropdown-menu a:hover {
    background: var(--pink-light);
    color: var(--pink-dark);
}

/* NAVIGATION BUTTONS */

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-login,
.nav-whatsapp {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.nav-login {
    background: var(--pink);
}

.nav-whatsapp {
    background: #287b55;
}

.nav-login:hover {
    background: var(--pink-dark);
}

.nav-whatsapp:hover {
    background: #1d603f;
}

/* HAMBURGER BUTTON */

.menu-toggle {
    display: none;
    background: var(--pink);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 9px 13px;
    font-size: 22px;
    cursor: pointer;
}

/* RESPONSIVE NAVIGATION */

@media (max-width: 1050px) {

.header-inner {
    display: grid;
    grid-template-columns: 45px 1fr;
    grid-template-areas:
        "menu logo"
        "actions actions"
        "nav nav";
    align-items: center;
    column-gap: 0;
    row-gap: 12px;
}

.menu-toggle {
    grid-area: menu;
    display: block;
    justify-self: start;
    align-self: center;
    margin: 0;
}

.logo {
    grid-area: logo;
    justify-self: center;
    margin: 0;
}

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 12px;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav > a,
    .dropdown-toggle {
        display: block;
        width: 100%;
        text-align: left;
        padding: 13px 10px;
        border-bottom: 1px solid var(--border);
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding-left: 15px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .nav-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 10px;
    }

    .nav-buttons a {
        text-align: center;
    }
}


/* HEADER LAYOUT UPDATE */

.header-inner {
    position: relative;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* DESKTOP */


@media (min-width: 1051px) {

    .header-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 25px;
    }

    .menu-toggle {
        display: none;
    }

    .logo {
        flex-shrink: 0;
    }

    .main-nav {
        display: flex;
        align-items: center;
        order: 2;
        gap: 18px;
        flex: 1;
    }

    .header-actions {
        order: 3;
        flex-shrink: 0;
    }

}


/* MOBILE AND TABLET */

@media (max-width: 1050px) {

    .header-inner {
        display: grid;
        grid-template-columns: 45px 1fr;
        grid-template-areas:
            "menu logo"
            "actions actions"
            "nav nav";
        align-items: center;
        gap: 12px;
    }

    .menu-toggle {
        grid-area: menu;
        display: block;
        justify-self: start;
    }

    .logo {
        grid-area: logo;
        justify-self: center;
        flex-direction: row;
        text-align: left;
        gap: 8px;
    }

    .logo img {
        width: 65px;
        height: 65px;
    }

    .logo-text {
        font-size: 18px;
    }

    .logo-text span {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .header-actions {
        grid-area: actions;
        display: flex;
        justify-content: center;
        width: 100%;
        gap: 12px;
    }

    .header-actions a {
        text-align: center;
        padding: 12px 18px;
        font-size: 11px;
        white-space: nowrap;
    }

    .main-nav {
        grid-area: nav;
    }

}

/* SMALL PHONES */

@media (max-width: 400px) {

    .logo img {
        width: 52px;
        height: 52px;
    }

    .logo-text {
        font-size: 15px;
    }

    .header-actions {
        gap: 7px;
    }

    .header-actions a {
        padding: 11px 13px;
        font-size: 10px;
    }

}



@media (max-width: 1050px) {

    .header-inner {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .menu-toggle {
        position: absolute;
        top: 20%;
        left: 0;
        transform: translateY(-50%);
        z-index: 10;
    }

    .logo {
        align-self: center;
        margin: 0 auto;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
    }
	
	

}

.nav-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.nav-whatsapp i {
    font-size: 19px;
}

.hamburger-lines {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 23px;
}

.hamburger-lines span {
    display: block;
    width: 23px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

@media (max-width: 1050px) {

    .header-inner {
        position: relative;
    }

    .menu-toggle,
    .menu-toggle:focus,
    .menu-toggle:active {
        position: absolute !important;
        top: 18px !important;
        left: 0;
        transform: none !important;
        margin: 0;
        z-index: 1001;
    }

}

/* DROPDOWN CLICK CONTROL */

.nav-dropdown .dropdown-menu {
    display: none;
}

.nav-dropdown.open .dropdown-menu {
    display: block;
}

/* MATCH LOGIN/LOGOUT AND WHATSAPP BUTTON HEIGHTS */

.nav-login,
.nav-whatsapp {
    height: 37px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    line-height: 1;
}

.nav-login,
.nav-whatsapp {
    gap: 8px;
}

