
/* ========================================
   POUSADA RENASCER - ESTILO COMPLETO
   ======================================== */

/* RESET E VARIÁVEIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a4d5e;
    --primary-dark: #0f3240;
    --primary-light: #2a6d7e;
    --accent-color: #3a8fa0;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --text-dark: #333333;
    --text-light: #666666;
    --beige: #f9f6f1;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* LOGO DO CABEÇALHO - CORRIGIDO */
.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 25px;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 85vh;
    min-height: 500px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background: #1a4d5e url('../hero-bg.jpg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 35px;
    opacity: 0.9;
}

/* ========================================
   BOTÕES
   ======================================== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-full { 
    width: 100%; 
    text-align: center; 
    justify-content: center;
}

/* ========================================
   SEÇÕES
   ======================================== */
section { padding: 80px 0; }

.section-title {
    font-size: 2.2rem;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1.1rem;
}

/* ========================================
   ACOMODAÇÕES
   ======================================== */
.acomodacoes { background: var(--beige); }

.acomodacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.acomodacao-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.acomodacao-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 220px;
    background: #ddd;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content { padding: 20px; }

.card-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 5;
}

.capacidade {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 10px 0;
}

.comodidades-lista {
    list-style: none;
    margin: 15px 0 20px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.comodidades-lista li {
    padding: 3px 0;
}

/* ========================================
   COMODIDADES GRID
   ======================================== */
.comodidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.comodidade-item h3 {
    margin: 10px 0 5px;
    color: var(--primary-color);
}

.comodidade-item p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.comodidade-icon {
    width: 70px;
    height: 70px;
    background: var(--beige);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.comodidade-item:hover .comodidade-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* ========================================
   FORMULÁRIO DE RESERVA
   ======================================== */
.reserva-section { background: var(--beige); }

.reserva-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group { 
    margin-bottom: 20px; 
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 77, 94, 0.1);
}

textarea {
    resize: vertical;
}

.calendario-info {
    background: var(--beige);
    padding: 25px;
    border-radius: 15px;
}

.calendario-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.calendario-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.calendario-info ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.info-box {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid var(--primary-color);
}

.info-box h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-box ul {
    list-style: none;
    margin: 0;
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}
.flatpickr-day.disabled,
.flatpickr-day.flatpickr-disabled {
  background: #f2f2f2;
  color: #bbb;
  cursor: not-allowed;
}

.flatpickr-day.today {
  border-color: #1b6b5f;
}

.flatpickr-day.selected {
  background: #1b6b5f;
  border-color: #1b6b5f;
}
 
/* ========================================
   LOCALIZAÇÃO
   ======================================== */
.localizacao-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.localizacao-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.localizacao-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* ========================================
   FOOTER - CORRIGIDO
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

/* LOGO DO RODAPÉ - CORRIGIDO */
.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4,
.footer-contato h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 8px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contato p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ========================================
   CHATBOT
   ======================================== */
.chatbot {
    position: fixed;
    bottom: 100px; 
    right: 30px;
    width: 350px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    max-height: 550px;
}

.chatbot.active { display: flex; }

.chatbot-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-info {
    flex: 1;
}

.chatbot-info h4 {
    margin: 0;
    font-size: 1rem;
}

.status-online {
    font-size: 0.75rem;
    opacity: 0.9;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
}

.chatbot-body {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    background: #f9f9f9;
}

.chat-message {
    margin-bottom: 15px;
}

.bot-message {
    background: var(--white);
    padding: 12px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 0.9rem;
}

.bot-message p {
    margin: 5px 0;
}

.chatbot-options {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: var(--white);
    border-top: 1px solid var(--medium-gray);
}

.chatbot-options button {
    text-align: left;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition);
}

.chatbot-options button:hover {
    background: var(--beige);
    border-color: var(--primary-color);
}

.chatbot-toggle {
    position: fixed;
    bottom: 30px; 
    right: 30px;
    width: 60px; 
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2001;
    border: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 768px) {
    .nav { 
        display: none; 
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .reserva-container { 
        grid-template-columns: 1fr; 
    }
    
    .form-row { 
        grid-template-columns: 1fr; 
    }
    
    .localizacao-content { 
        grid-template-columns: 1fr; 
    }
    
    .localizacao-map iframe {
        height: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chatbot {
        width: 90%;
        right: 5%;
        bottom: 90px;
    }
    
    .chatbot-toggle {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .acomodacoes-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   ANIMAÇÕES
   ======================================== */
@keyframes pulseForm {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}
/* ================================================= */
/* CALENDÁRIO DE RESERVAS - POUSADA RENASCER */
/* ================================================= */

/* calendário principal */
.flatpickr-calendar {
    font-family: 'Poppins', sans-serif;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* cabeçalho do mês */
.flatpickr-months {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

/* dias da semana */
.flatpickr-weekdays {
    background: #fafafa;
}

/* dias normais */
.flatpickr-day {
    border-radius: 6px;
    transition: all 0.15s ease;
}

/* hover */
.flatpickr-day:hover {
    background: #f1f1f1;
}

/* dia selecionado */
.flatpickr-day.selected {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #ffffff;
}

/* hoje */
.flatpickr-day.today {
    border-color: #2e7d32;
}

/* dias bloqueados (ocupados) */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    background: #ffe5e5;
    color: #c62828;
    opacity: 1;
    cursor: not-allowed;
}

/* ================================================= */
/* LEGENDA DO CALENDÁRIO */
/* ================================================= */

.legenda-calendario {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    font-size: 0.85rem;
    align-items: center;
    flex-wrap: wrap;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legenda-cor {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    display: inline-block;
}

/* disponível */
.legenda-disponivel {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

/* ocupado */
.legenda-ocupado {
    background: #ffcdd2;
    border: 1px solid #ef9a9a;
}

/* selecionado */
.legenda-selecionado {
    background: #2e7d32;
}

/* ================================================= */
/* INPUTS DO CALENDÁRIO */
/* ================================================= */

input#checkin,
input#checkout {
    cursor: pointer;
}