﻿body {
    margin: 0;
    background-color: #e8dfd3;
    overflow-x: hidden;
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(107,75,42,0.85);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
}

.nav-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 300px;
}

.logo {
    font-weight: 500;
    color: white;
    letter-spacing: 2px;
    position: absolute;
    left: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: max-content;
}

#menu {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap: 7px;
    flex-wrap: nowrap;
}

#menu a {
    margin: 0;
    text-decoration: none;
    color: white;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.3s ease;
    padding: 0 12px 0 6px;
    border-right: none;
    display: inline-block;
    position: relative;
    text-align: center;
}

#menu a:visited,
#menu a:link {
    color: white;
    text-decoration: none;
}

#menu a:first-child {
    border-left: none;
    padding-left: 11px;
}

#menu a:hover {
    transform: scale(1.05);
}

#menu a:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background-color: rgba(255,255,255,0.4);
}

.menu-toggle {
    display: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    user-select: none;
    margin-left: auto;
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    -webkit-appearance: none;
}

@media (max-width: 1100px) {

    .nav-container {
        justify-content: space-between;
        padding: 0 20px;
    }

    .menu-toggle {
        display: block;
    }

    #menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background-color: #8a6b4a;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 15px 20px;
        box-sizing: border-box;
    }

    #menu a {
        margin: 10px 0;
        font-size: 15px;
        padding: 0;
        border-right: none;
        border-left: none;
    }

    #menu a:first-child {
        padding-left: 0;
        border-left: none; 
    }

    #menu a::after {
        content: none !important;
    }

    #menu.active {
        display: flex;
    }
}

.whatsapp-box {
    position: fixed;
    top: 12px;
    right: 25px;
    background-color: #25d366;
    color: white;
    padding: 14px 18px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
    z-index: 9999;
    transition: 0.3s ease;
}

.whatsapp-box i {
    font-size: 26px;
}

.whatsapp-box:hover {
    transform: scale(1.05);
}

@media (max-width: 1100px) {

    .whatsapp-box span {
        display: none; 
    }

    .whatsapp-box {
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        top: auto;
        right: auto;
        bottom: 20px;
        left: 20px;
    }
}

.menu-toggle:focus-visible,
.whatsapp-box:focus-visible {
    outline: 3px solid #5a3a1b;
    outline-offset: 3px;
    border-radius: 8px;
}

.mini-footer {
    width: 100%;
    text-align: center;
    padding: 6px 10px;
    font-size: 13px;
    color: #5a4a3f;
    background-color: #e8dfd3;
    border-top: 1px solid rgba(62, 47, 37, 0.15);
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.mini-footer p {
    margin: 0;
    line-height: 1.4;
}

.mini-footer a {
    color: #3e2f25;
    text-decoration: none;
    margin: 0 5px;
    text-align: center;
    margin-top: 6px;
    line-height: 1.7;
}

.mini-footer a:hover {
    text-decoration: underline;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: #fff;
    color: #3e2f25;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    z-index: 10000;
    text-align: justify;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    grid-gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

@media (max-width: 850px) {

    html, body {
        overflow-x: hidden;
    }
}
