/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS E RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    background-color: #f9fbfd;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. CABEÇALHO (HEADER & LOGO) - Ajustado para aproximar o conteúdo
   ========================================================================== */
header {
    background-color: #ffffff;
    padding-top: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eef2f5;
    text-align: center;
}

header .logo {
    max-height: 70px;
    height: auto;
    object-fit: contain;
}

/* ==========================================================================
   3. HERO SECTION (TÍTULO, SUBTÍTULO E MAPA)
   ========================================================================== */
.hero {
    text-align: center;
    padding-top: 25px;
    padding-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2B579A;
    margin-bottom: 10px;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: #666666;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 20px auto;
}

.hero .location-text {
    margin-bottom: 25px;
}

.hero .location-text a {
    color: #2B579A;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.hero .location-text a:hover {
    text-decoration: underline;
    color: #1b3d73;
}

/* Contentor do Mapa Interativo */
.map-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.map-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.map-container:hover .map-image {
    transform: scale(1.02);
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(43, 87, 154, 0.9);
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   4. SECÇÃO DA SALA (ROOM CARD & PREÇOS)
   ========================================================================== */
.single-room-container {
    padding: 40px 0;
}

.room-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .room-card {
        flex-direction: row;
    }
    .room-image {
        flex: 1;
        min-height: 350px;
    }
    .room-info {
        flex: 1;
    }
}

.room-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.room-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-info h3 {
    font-size: 1.8rem;
    color: #2B579A;
    margin-bottom: 5px;
}

.room-meta {
    font-size: 0.9rem;
    color: #888888;
    font-weight: 600;
    margin-bottom: 20px;
}

.room-info p {
    color: #555555;
    margin-bottom: 25px;
}

/* Contentor de Preço e Promoção */
.price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.old-price {
    color: #999999;
    font-size: 1.1rem;
}

.current-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2B579A;
}

.promo-badge {
    background-color: #e8f0fe;
    color: #2B579A;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ==========================================================================
   5. GALERIAS DE IMAGENS (QUAD-GRID)
   ========================================================================== */
.gallery-section {
    padding: 40px 0;
}

.gallery-section h3 {
    font-size: 1.5rem;
    color: #2B579A;
    text-align: center;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    color: #666666;
    margin-bottom: 30px;
}

.access-row {
    margin-bottom: 35px;
}

.access-row h4 {
    color: #2B579A;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.quad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.gallery-item {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
}

.gallery-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
}

.gallery-item span {
    display: block;
    padding: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444444;
}

/* ==========================================================================
   6. INSTRUÇÕES DE AGENDAMENTO
   ========================================================================== */
.booking-instructions {
    padding: 40px 0;
}

.instruction-box {
    background-color: #ffffff;
    border-left: 4px solid #2B579A;
    padding: 30px;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.instruction-box h4 {
    font-size: 1.2rem;
    color: #2B579A;
    margin-bottom: 15px;
}

.instruction-box ul {
    list-style: none;
}

.instruction-box ul li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    color: #555555;
    font-size: 0.95rem;
}

.instruction-box ul li::before {
    content: "•";
    color: #2B579A;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* ==========================================================================
   7. BOTÕES E COMPONENTES (CALENDÁRIO SIMPLYBOOK)
   ========================================================================== */
.btn-primary {
    background-color: #2B579A;
    color: #ffffff;
    border: none;
    padding: 16px 36px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(43, 87, 154, 0.3);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #1b3d73;
    transform: scale(1.02);
}

#sbw_container {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   8. SISTEMA LIGHTBOX (ZOOM DAS IMAGENS)
   ========================================================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 6px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    animation: zoom 0.25s ease;
}

@keyframes zoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.lightbox-close:hover {
    color: #cccccc;
}

/* ==========================================================================
   9. RODAPÉ (FOOTER)
   ========================================================================== */
footer {
    background-color: #1a1a1a;
    color: #aaaaaa;
    padding: 40px 0;
    font-size: 0.85rem;
    margin-top: 60px;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-grid {
        flex-direction: row;
        align-items: center;
    }
}

footer strong {
    color: #ffffff;
}

.legal-links a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: #ffffff;
}

.reclamacoes-link {
    display: inline-block;
    margin-top: 8px;
    color: #2B579A !important;
    font-weight: 600;
}

.reclamacoes-link:hover {
    text-decoration: underline;
}