/* ==========================================================================
   ARQUIVO CSS COMUM (style.css)
   Estilos usados em MÚLTIPLAS páginas (Cores, Fontes, Header, Footer, Modal)
   ==========================================================================
*/

/* --- Configurações Globais e Fontes --- */
body { 
    background-color: #FDF8F0; 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
    font-family: 'Lora', serif;
    color: #3d3d3d;
}
.font-cinzel { font-family: 'Cinzel', serif; }
.font-lora { font-family: 'Lora', serif; }

/* --- Paleta de Cores (Classes Utilitárias) --- */
.bg-olive { background-color: #4A572B; }
.text-olive { color: #4A572B; }
.border-olive { border-color: #4A572B; }
.bg-accent-red { background-color: #A13D37; }
.text-accent-red { color: #A13D37; }
.border-accent-red { border-color: #A13D37; }
.text-dark-gray { color: #3d3d3d; }
.bg-dark-gray { background-color: #3d3d3d; }

/* --- Divisor de Seção --- */
.section-divider { 
    height: 4px; 
    background-image: linear-gradient(to right, #009246 33%, #FDF8F0 33%, #FDF8F0 66%, #CE2B37 66%); 
}

/* --- Header, Navegação e Dropdown de Idioma --- */
header { 
    transition: background-color 0.3s ease; 
}
.nav-link { 
    position: relative; 
    transition: color 0.3s; 
    text-decoration: none;
}
.nav-link:hover { color: #A13D37; }
.nav-link::after { 
    content: ''; 
    position: absolute; 
    left: 0; 
    bottom: -5px; 
    width: 0; 
    height: 2px; 
    background-color: #A13D37; 
    transition: width 0.3s; 
}
.nav-link:hover::after { width: 100%; }

.header-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space-x-2 */
}

.home-button {
     display: inline-flex; 
     align-items: center; 
     padding: 0.5rem;
     background-color: rgba(255, 255, 255, 0.85); 
     backdrop-filter: blur(5px); 
     -webkit-backdrop-filter: blur(5px);
     border: 1px solid rgba(74, 87, 43, 0.4); 
     border-radius: 0.5rem;
     transition: all 0.2s ease; 
     box-shadow: 0 2px 5px rgba(74, 87, 43, 0.1);
     color: #4A572B; /* text-olive */
     text-decoration: none;
}
 .home-button:hover,
 .home-button:focus {
     box-shadow: 0 4px 10px rgba(74, 87, 43, 0.2); 
     border-color: #4A572B; 
     outline: none;
 }
 .home-button svg {
     width: 1.25rem; /* w-5 */
     height: 1.25rem; /* h-5 */
 }

.language-dropdown { position: relative; }
.language-dropdown-button { 
    display: inline-flex; 
    align-items: center; 
    padding: 0.5rem; 
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px); 
    border: 1px solid rgba(74, 87, 43, 0.4); 
    border-radius: 0.5rem; 
    cursor: pointer; 
    transition: all 0.2s ease; 
    box-shadow: 0 2px 5px rgba(74, 87, 43, 0.1); 
}
.language-dropdown-button:hover, 
.language-dropdown-button:focus { 
    box-shadow: 0 4px 10px rgba(74, 87, 43, 0.2); 
    border-color: #4A572B; 
    outline: none; 
}
.language-dropdown-button img { 
    width: 28px; 
    height: auto; 
    margin-right: 0.25rem; 
    border-radius: 2px; 
    display: block; 
}
.language-dropdown-button svg { 
    width: 1rem; 
    height: 1rem; 
    transition: transform 0.2s ease; 
    color: #4A572B; 
}
.language-dropdown-button[aria-expanded="true"] svg { 
    transform: rotate(180deg); 
}
.language-dropdown-menu { 
    position: absolute; 
    top: 100%; 
    right: 0; 
    margin-top: 0.25rem; 
    background-color: white; 
    border: 1px solid rgba(74, 87, 43, 0.3); 
    border-radius: 0.5rem; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    z-index: 20; 
    min-width: 150px; 
    padding: 0.5rem 0; 
    opacity: 0; 
    transform: translateY(-10px); 
    transition: opacity 0.2s ease, transform 0.2s ease; 
    pointer-events: none; 
}
.language-dropdown-button[aria-expanded="true"] + .language-dropdown-menu { 
    opacity: 1; 
    transform: translateY(0); 
    pointer-events: auto; 
}
.language-dropdown-menu button { 
    display: flex; 
    align-items: center; 
    width: 100%; 
    padding: 0.5rem 1rem; 
    text-align: left; 
    font-size: 0.875rem; 
    color: #3d3d3d; 
    background: none; 
    border: none; 
    cursor: pointer; 
    transition: background-color 0.2s ease, color 0.2s ease; 
}
.language-dropdown-menu button:hover { 
    background-color: #f0ebe5; 
    color: #4A572B; 
}
.language-dropdown-menu button img { 
    width: 20px; 
    height: auto; 
    margin-right: 0.75rem; 
    border-radius: 2px; 
}
.language-dropdown-menu button.active { 
    font-weight: 700; 
    color: #4A572B; 
    background-color: #f0ebe5; 
}

/* --- Modal de Reserva (GetIn) --- */
.modal-backdrop { 
    position: fixed; 
    inset: 0; 
    background-color: rgba(0, 0, 0, 0.8); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 1rem; 
    z-index: 50; 
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0.3s ease;
    overflow-y: auto;
}
.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-content { 
    background-color: white; 
    border-radius: 0.5rem; 
    box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
    width: 100%; 
    max-width: 42rem; /* max-w-2xl */
    height: 90vh;
    position: relative; 
    transform: scale(0.95); 
    transition: all 0.3s ease; 
    display: flex; /* Para o iframe 100% */
    flex-direction: column;
}
.modal-backdrop.active .modal-content {
    transform: scale(1);
}
.modal-close-button {
    position: absolute;
    top: -0.75rem; /* -top-3 */
    right: -0.75rem; /* -right-3 */
    background-color: #A13D37; /* bg-accent-red */
    color: white;
    width: 2.25rem; /* w-9 */
    height: 2.25rem; /* h-9 */
    border-radius: 9999px; /* rounded-full */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem; /* text-xl */
    z-index: 10;
    line-height: 1;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.modal-close-button:hover {
    background-color: #7f2d29; /* Tom mais escuro de A13D37 */
}

/* --- Estilos do Rodapé --- */
.footer-social-icons a {
    color: #3d3d3d; /* text-dark-gray */
    transition: color 0.2s ease;
}
.footer-social-icons a:hover {
    color: #A13D37; /* text-accent-red */
}

/* --- Botão Flutuante WhatsApp --- */
.floating-whatsapp {
    position: fixed;
    bottom: 1.5rem; /* bottom-6 */
    right: 1.5rem; /* right-6 */
    background-color: #25D366; /* Verde WhatsApp */
    color: white;
    padding: 1rem; /* p-4 */
    border-radius: 9999px; /* rounded-full */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 40;
}
.floating-whatsapp:hover {
    background-color: #1EAE56; /* Verde mais escuro */
    transform: scale(1.1);
}
.floating-whatsapp svg {
    width: 2rem; /* h-8 */
    height: 2rem; /* w-8 */
}