
/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
}

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

.text-center {
    text-align: center;
}

h1,
h2,
h3 {
    font-weight: bold;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #2d3748;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.2;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #4a5568;
}

.text-rose {
    color: #fda4af; /* rose-300 */
}

/* Buttons */
.btn-primary {
    background-color: #e11d48; /* rose-600 */
    color: white;
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #be123c; /* rose-700 */
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #f59e0b; /* amber-600 */
    color: white;
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #d97706; /* amber-700 */
    transform: scale(1.05);
}

.btn-white {
    background-color: white;
    color: #e11d48; /* rose-600 */
    padding: 24px 48px;
    font-size: 1.25rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.btn-white:hover {
    background-color: #f7fafc; /* gray-100 */
    transform: scale(1.05);
}

.btn-primary svg,
.btn-secondary svg,
.btn-white svg {
    margin-right: 8px;
    width: 20px;
    height: 20px;
}

.btn-white svg {
    width: 24px;
    height: 24px;
}

/* Sections */
section {
    padding: 80px 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('assets/header_image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 16px;
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: white; /* garante que o texto fique branco */
}

/* Experience Section */
.experience-section {
    background: linear-gradient(to bottom, #fff7ed, #fffbeb); /* from-rose-50 to-amber-50 */
}

.experience-section h2 {
    margin-bottom: 1.5rem;
}

.experience-section p {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 4rem;
}

.card {
    background-color: rgba(255, 255, 255, 0.8); /* white/80 */
    backdrop-filter: blur(4px);
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.card-content {
    padding: 32px;
    text-align: center;
}

.card-content svg {
    height: 48px;
    width: 48px;
    color: #ef4444; /* rose-500 */
    margin: 0 auto 16px auto;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 1rem;
    color: #4a5568;
}

/* Moments Section */
.moments-section {
    background: linear-gradient(to right, #ffe4e6, #fffbeb); /* from-rose-100 to-amber-100 */
}

.moments-section h2 {
    margin-bottom: 1.5rem;
}

.moments-section p {
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .grid-2-cols {
        grid-template-columns: 1fr 1fr;
    }
}

.list-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.list-item svg {
    height: 32px;
    width: 32px;
    color: #ef4444; /* rose-500 */
    flex-shrink: 0;
    margin-top: 4px;
}

.list-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.list-item p {
    font-size: 1rem;
    color: #4a5568;
    margin: 0;
}

.image-container img {
    border-radius: 8px;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1), 0 8px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* Gastronomy Section */
.gastronomy-section {
    background-color: #fff;
}

.gastronomy-section h2 {
    margin-bottom: 1.5rem;
}

.gastronomy-section p {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    color: #4a5568;
}

.feature-list li svg {
    height: 20px;
    width: 20px;
    color: #ef4444; /* rose-500 */
    margin-right: 12px;
}

/* Attractions Section */
.attractions-section {
    background: linear-gradient(to bottom, #fffbeb, #fff7ed); /* from-amber-50 to-rose-50 */
}

.attractions-section h2 {
    margin-bottom: 1.5rem;
}

.attractions-section p {
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.grid-attractions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.attraction-card {
    background-color: rgba(255, 255, 255, 0.9); /* white/90 */
    backdrop-filter: blur(4px);
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.attraction-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.attraction-image {
    width: 100%;
    height: 192px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.attraction-card:hover .attraction-image {
    transform: scale(1.1);
}

.attraction-content {
    padding: 16px;
}

.attraction-content h3 {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.attraction-content p {
    font-size: 0.875rem;
    color: #4a5568;
    margin: 0;
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(to right, #e11d48, #f59e0b); /* from-rose-600 to-amber-600 */
    color: white;
    text-align: center;
}

.final-cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.final-cta-section p {
    color: white;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: #2d3748; /* gray-800 */
    color: white;
    padding: 48px 0;
    text-align: center;
}

.footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer p {
    color: #cbd5e0; /* gray-300 */
    margin-bottom: 1rem;
}

.footer .rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    color: #fbd38d; /* amber-400 */
}

.footer .rating svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer .rating span {
    margin-left: 8px;
    color: white;
}

/* Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 32px;
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    position: relative;
    text-align: center;
    animation: fadeInZoom 0.3s ease-out;
}

.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096; /* gray-500 */
    transition: color 0.3s ease;
}

.close-button:hover {
    color: #4a5568; /* gray-700 */
}

.modal-body svg {
    height: 64px;
    width: 64px;
    color: #ef4444; /* rose-500 */
    margin: 0 auto 16px auto;
}

.modal-body h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 16px;
}

.modal-body p {
    color: #4a5568;
    margin-bottom: 24px;
}

.coupon-box {
    background-color: #fff0f5; /* rose-50 */
    border: 2px solid #fed7e2; /* rose-200 */
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.coupon-box p {
    margin: 0;
}

.coupon-box .coupon-code {
    font-size: 2.25rem;
    font-weight: bold;
    color: #e11d48; /* rose-600 */
    letter-spacing: 0.05em;
}

.site-link {
    color: #e11d48; /* rose-600 */
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.site-link:hover {
    color: #be123c; /* rose-800 */
}

/* Animations */
@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-white {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .btn-white {
        padding: 18px 36px;
        font-size: 1.125rem;
    }

    .grid-3-cols {
        grid-template-columns: 1fr;
    }

    .grid-attractions {
        grid-template-columns: 1fr;
    }
}






/* ============ CARROSSEL ============ */
.carousel-container {
  position: relative;
  width: 100%;
  max-width: 800px; /* ou o tamanho que preferir */
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 8px;
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

/* Botões */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  color: #fff;
  border-radius: 50%;
  user-select: none;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-btn:hover {
  background: rgba(0,0,0,0.6);
}



/* --- ESTILOS ADICIONAIS PARA O MODAL DE DATEPICKER --- */

/* Garante que o modal fique sobre todos os outros elementos */
.modal {
    z-index: 1000;
}

/* Estiliza o campo de input onde o calendário vai aparecer */
#datePickerInput {
    width: 100%;
    padding: 12px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
}

/* Estilo para o botão de confirmação quando está desabilitado */
#confirmReservationBtn[disabled] {
    background-color: #cccccc;
    color: #666666;
    cursor: not-allowed;
    border-color: #cccccc;
}

#confirmReservationBtn[disabled]:hover {
    background-color: #cccccc;
    transform: none;
}

/* Transforma o link <a> no botão para se comportar como um botão real */
#confirmReservationBtn {
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
}









/*
============================================================
VERSÃO FINAL E COMPLETA DO CSS DO MODAL
============================================================
*/

.modal {
    /* Escondido por padrão */
    display: none; 
    
    /* Centralização com Flexbox */
    align-items: center;
    justify-content: center;
    
    /* Layout de tela cheia */
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    padding: 1rem;
    box-sizing: border-box;
}

/* Classe de ativação que será usada pelo JavaScript */
.modal.modal-is-open {
    display: flex;
}

.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 450px;
    position: relative;
    text-align: center;
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}








.loader-overlay {
    /* Estado Padrão: Escondido e pronto para flutuar */
    display: none; 
    position: fixed; /* ESSENCIAL: Faz o elemento 'flutuar' sobre toda a página */
    
    /* Cobre a tela inteira */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2000; /* Fica acima de tudo, inclusive do modal */

    /* Centraliza o coração dentro do overlay */
    justify-content: center;
    align-items: center;
}

/* Classe que o JavaScript vai adicionar para MOSTRAR o loader */
.loader-overlay.is-active {
    display: flex;
}

/* As regras para a forma e animação do coração continuam as mesmas */
.heart-loader {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #e2264d;
    transform: rotate(-45deg);
    animation: blinkHeart 0.8s infinite ease-in-out;
}

.heart-loader::before,
.heart-loader::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: #e2264d;
    border-radius: 50%;
}

.heart-loader::before {
    top: -30px;
    left: 0;
}

.heart-loader::after {
    top: 0;
    left: 30px;
}

@keyframes blinkHeart {
    0% { transform: rotate(-45deg) scale(1); opacity: 1; }
    50% { transform: rotate(-45deg) scale(1.2); opacity: 0.8; }
    100% { transform: rotate(-45deg) scale(1); opacity: 1; }
}




/*
============================================================
ESTILOS PARA A LEGENDA DO CARROSSEL
============================================================
*/

/* O container de cada slide precisa ter posição relativa */
.slide-item {
    position: relative;
    flex-shrink: 0; /* Garante que o item não encolha */
    width: 100%;    /* Garante que o item ocupe todo o espaço do slide */
}

.carousel-caption {
    /* Posiciona a legenda sobre a imagem */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    /* Estilo visual */
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); /* Fundo em degradê */
    color: #fff;
    padding: 2rem 1rem 1rem; /* Mais espaço no topo e menos embaixo */
    text-align: center;
    font-size: 0.9rem;
    
    /* Animação de fade-in/fade-out */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.carousel-caption p {
    color: #ffffff !important; /* Força a cor a ser branca */
    font-weight: bold !important; /* Força o estilo a ser negrito */
    
    /* Bônus: Adiciona uma leve sombra para melhorar a leitura sobre qualquer foto */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);

    margin: 0; /* Mantém a remoção da margem padrão */
}

/* Classe que o JavaScript usará para mostrar a legenda ativa */
.slide-item.active .carousel-caption {
    opacity: 1;
    visibility: visible;
}
