/* assets/css/nav.css */
/* Estilos para o menu de navegação fixo */

.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s;
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8D5B4C; /* Cor primária do site */
    text-decoration: none;
}

.main-nav {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #333333; /* Cor escura do site */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #8D5B4C; /* Cor primária */
}

.nav-cta {
    background-color: #8D5B4C; /* Cor primária */
    color: #FFFFFF!important; /* Cor clara */
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
}

.nav-cta:hover {
    background-color: #7a4f42; /* Tom mais escuro da cor primária */
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger-bar {
    width: 30px;
    height: 3px;
    background-color: #333333;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Estilos para o corpo da página para não ficar sob o menu */
body {
    padding-top: 80px; /* Altura aproximada do header */
}

/* Media Query para menu responsivo */
@media (max-width: 768px) {
   .main-nav {
        position: fixed;
        top: 0;
        right: -100%; /* Começa fora da tela */
        width: 70%;
        height: 100vh;
        background-color: #FCFBF9;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

   .main-nav.active {
        right: 0; /* Entra na tela */
    }

   .nav-links {
        flex-direction: column;
        gap: 40px;
    }

   .nav-links a {
        font-size: 1.2rem;
    }

   .hamburger {
        display: flex;
    }

   .hamburger.active.hamburger-bar:nth-child(1) {
        transform: rotate(45deg);
    }

   .hamburger.active.hamburger-bar:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }

   .hamburger.active.hamburger-bar:nth-child(3) {
        transform: rotate(-45deg);
    }
}