/* Variáveis de Cores (Paleta Olinda) */
:root {
    --blue: #0A3D91;
    --red: #D32F2F;
    --green: #2E7D32;
    --yellow: #FBC02D;
    --light-bg: #F5F7FA;
    --dark-text: #333333;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--dark-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 700;
    font-size: 14px;
}

nav a.active {
    color: var(--red);
    border-bottom: 2px solid var(--red);
}

/* Botões Globais */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-green-top { background: var(--green); color: var(--white); padding: 10px 20px; }

.btn-green-large { background: var(--green); color: var(--white); padding: 15px 40px; font-size: 16px; border-radius: 8px; width: 100%; justify-content: center;}
.btn-red-small { background: var(--red); color: var(--white); padding: 10px 20px; border-radius: 5px; margin-top: 10px;}
.btn-map { background: var(--green); color: var(--white); padding: 8px 15px; text-decoration: none; border-radius: 5px; display: inline-block; margin-top: 10px; font-size: 12px; font-weight: bold;}

/* Hero Section (Com o efeito de névoa branca suave) */
.hero {
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    position: relative;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* Efeito de fundo esfumaçado */
    background: rgba(255, 255, 255, 0.85); 
    border-radius: 50px; 
    box-shadow: 0 0 80px 60px rgba(255, 255, 255, 0.85); 
    display: inline-block;
    padding: 20px 40px;
    max-width: 800px;
}

.hero-title-img { 
    max-width: 100%; 
    height: auto; 
    margin: 0 auto;
    display: block;
}

/* Serviços */
.services { padding: 60px 0; text-align: center; }
.section-title { font-size: 28px; color: var(--blue); margin-bottom: 40px; position: relative;}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid;
}

.border-blue { border-color: var(--blue); }
.border-red { border-color: var(--red); }
.border-green { border-color: var(--green); }
.border-yellow { border-color: var(--yellow); }

.service-card img { height: 60px; margin-bottom: 15px; }
.service-card h4 { font-size: 16px; margin-bottom: 10px; }
.price-label { font-size: 12px; color: #777; }
.price { font-size: 24px; font-weight: 800; }
.price.blue { color: var(--blue); }
.price.red { color: var(--red); }
.price.green { color: var(--green); }
.price.yellow { color: var(--yellow); }

/* Agendamento */
.booking { padding: 40px 0; }
.booking-container {
    background: var(--blue);
    color: var(--white);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.booking-info { flex: 1; min-width: 250px; }
.booking-info h3 { font-size: 24px; margin-bottom: 5px; }
.booking-info .subtitle { color: var(--yellow); font-style: italic; margin-bottom: 20px; }
.booking-info ul { list-style: none; margin-bottom: 20px; }
.booking-info ul li { margin-bottom: 10px; font-size: 14px; }
.booking-info .warning { color: var(--yellow); font-size: 12px; font-weight: 700; }

.booking-form { flex: 1; min-width: 250px; display: flex; flex-direction: column; gap: 15px; }
.booking-form input, .booking-form select {
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    width: 100%;
}

.booking-calendar-wrapper { flex: 2; display: flex; gap: 20px; min-width: 300px; }
.calendar-ui, .time-slots { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 10px; flex: 1; }
.calendar-ui h4, .time-slots h4 { text-align: center; margin-bottom: 15px; font-size: 14px; color: var(--yellow);}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
    font-size: 12px;
}
.days-grid span.active-day { background: var(--yellow); color: var(--blue); font-weight: bold; border-radius: 50%; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto;}

.slots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.time-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: var(--white);
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.time-btn:hover { background: rgba(255,255,255,0.2); }
.time-btn.active-time { background: var(--yellow); color: var(--blue); border-color: var(--yellow); font-weight: bold; }

.booking-submit { width: 100%; margin-top: 20px; }

/* Galeria */
.gallery { padding: 60px 0; text-align: center; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.gallery-grid img { width: 100%; border-radius: 10px; object-fit: cover; aspect-ratio: 1/1;}

/* Footer */
footer { background: var(--white); padding: 40px 0 20px; border-top: 2px solid #EEE; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; margin-bottom: 40px;}
.footer-info p, .footer-contact p { font-size: 12px; margin-top: 10px; color: #555; line-height: 1.6;}
.footer-info h5, .footer-culture h5, .footer-contact h5 { color: var(--blue); font-size: 16px; margin-bottom: 15px; }

.f-icons { display: flex; justify-content: center; gap: 15px; margin-top: 15px;}
.f-icons img { height: 40px; }

.copyright { text-align: center; border-top: 1px solid #EEE; padding-top: 20px; }
.copyright img { height: 30px; margin-bottom: 10px;}
.copyright p { font-size: 10px; color: #777; }

/* Responsividade Básica */
@media (max-width: 992px) {
    .services-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .booking-container { flex-direction: column; }
    .booking-calendar-wrapper { width: 100%; }
}

@media (max-width: 768px) {
    nav ul { display: none; }
    .services-grid, .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-icons { flex-wrap: wrap; }
    .booking-calendar-wrapper { flex-direction: column; }
}