body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #595959;
    color: #093F28;
}

header {
    background-color: #093F28;
    color: #595959;
    padding: 20px;
    text-align: center;
}

header.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #ffffff !important;
    color: #595959;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background-color 0.8s ease-in-out;
}

header.fixed .nav-links a {
    color: #749484 !important;
}

header.fixed .nav-links a:hover {
    color: #e0e0e0 !important;
}

header nav a {
    color: #093F28;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover {
    text-decoration: underline;
}

.topo {
    background-color: #fff;
    color: #595959;
    padding: 10px 20px;
}


.logo {
    height: 60px;
    margin-right: 10px;
}

.logo-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}


.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #595959;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(9, 63, 40);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #093F28;
    font-size: 28px;
    cursor: pointer;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 

}

.carousel-item img {
    height: 400px; 
    object-fit: cover;
    width: 100%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
    filter: blur(1px) brightness(1.4);

}

.carousel-caption h5 {
    animation: fadeIn 2s ease-in-out;
    font-size: 1.8rem;
    color: #fff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-caption .btn {
    font-weight: bold;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    transition: background-color 0.3s ease;
}

.carousel-caption .btn:hover {
    background-color: #fff;
    color: #093F28;
    border-color: #fff;
}


section {
    padding: 20px 10px;
}

section[id] {
    scroll-margin-top: 50px;
}
#casa {
    padding: 20px;
    background-color: #fff;
    color: #749484;
}

#casa i {
  font-size: 2rem;
  color: #093F28;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

#casa strong{
    font-size: 0.8rem;
    color:  #595959;
}

#planos {
    background-color: #749484;
    padding: 20px 0;
    width: 100%; 
    color: #fff;
    box-shadow: 0 4px 4px rgba(116, 148, 132, 0.5);
    overflow-x: hidden;
}

.conteudo-planos {
    max-width: 1140px; /* limite clássico do container bootstrap */
    margin: 0 auto;    /* centraliza no meio */
    padding: 0 15px;   /* padding lateral para espaçamento interno */
}

.borda-planos {
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 4px;
    padding: 10px 10px;
    max-width: 100%;
}


#planos i {
  font-size: 2rem;
  color: #093F28;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

#planos strong{
    font-size: 0.8rem;
    color:  #595959;
}

#planos b {
    font-size: 1.1rem;
    color:  #fff;
}

#eventos {
    background-color: #bbc7c3;
    color: #000000;

}

#casa p,
#planos p {
    text-align: justify;
    text-justify: inter-word;
}

#reseva  {
    background-color: #fff;
    color: #749484;
}

#reseva input[type="date"].form-control {
    color: #749484;
    background-color: #fff;
}

#reseva input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(37%) sepia(11%) saturate(607%) hue-rotate(113deg) brightness(92%) contrast(85%);
    cursor: pointer;
}

#reseva select[name="tipo_evento"].form-control {
    color: #749484;
    background-color: #fff;
}

#reseva select[name="tipo_evento"]::-webkit-calendar-picker-indicator {
    filter: invert(37%) sepia(11%) saturate(607%) hue-rotate(113deg) brightness(92%) contrast(85%);
    cursor: pointer;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    
}

.card {
    background-color: #fff;
    border: 2px solid #749484;
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #749484;
}

.card h3 {
    color: #749484;
}

.card li {
    color: #595959;
}

button.submit {
    background-color: #749484;
    color: #fff;
    padding: 8px;
    border: 2px solid transparent;
    border-radius: 10px; 
    transition: all 0.3s ease;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2); 
}

button.submit:hover {
    background-color: #749484;
}

.footer-icons {
    margin-top: 20px;
}

.footer-icons a {
    margin: 0 10px;
    color: #093F28;
    font-size: 1.8em;
    text-decoration: none;
}

.footer-icons a:hover {
    color: #487060;
}

footer {
    background-color: #bbc7c3;
    padding: 20px;
    text-align: center;
}

footer p {
    color: #093F28;
}

.linha {
    margin: 10px auto;
    width: 60%;
    height: 1px;
    background-color: #093F28;
    box-shadow: 0 4px 4px rgba(116, 148, 132, 0.5);
}

.linhaTopo {
    margin-left: 10%;
    margin-bottom: 15px;
    margin-top: 15px;
    height: 1px;
    background-color: #093F28;
    box-shadow: 0 4px 4px rgba(116, 148, 132, 0.5);
}

.linhaTituloBranco {
    margin-left: 0;
    margin-bottom: 15px;
    margin-top: 15px;
    width: 60%;
    height: 1px;
    background-color: #fff;
    box-shadow: 0 4px 4px rgba(255, 255, 255, 0.5);
}

.linhaTituloVerde {
    margin-left: 0;
    margin-bottom: 15px;
    margin-top: 15px;
    width: 60%;
    height: 1px;
    background-color: #749484;
    box-shadow: 0 4px 4px rgba(116, 148, 132, 0.5);
}

.linhaTituloCinza {
    margin-left: 0;
    margin-bottom: 15px;
    margin-top: 15px;
    width: 60%;
    height: 1px;
    background-color: #595959;
}

.alert {
    padding: 10px;
    margin: 20px;
    border-radius: 5px;
    font-weight: bold;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}


#btnTopo {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #093F28;
  color: white;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  transition: opacity 0.4s;
}

#btnTopo:hover {
  background-color: #749484;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        box-shadow: 0 4px 4px rgba(116, 148, 132, 0.8);
    }

    .linhaTopo {
        margin-left: 25%;
        margin-bottom: 15px;
        height: 1px;
        background-color: #093F28;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fff;
        color: #595959;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .nav-links a {
        padding-top: 5px;
        padding-bottom: 5px;
        border-top: 1px solid #487060;
        
    }

    .nav-links.active {
        display: flex;
    }

    header.fixed .nav-links.active a {
        color: #595959 !important;
    }
    
    header.fixed .nav-links.active a:hover {
        color: #093F28 !important;
    }
    


    .card {
        background-color: #fff;
        border: 2px solid #749484;
        padding: 20px;
        border-radius: 10px;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        color: #749484;
    }

    .card-container {
        flex-direction: column;
        align-items: center;
    }

    button.submit {
        width: 100%;
    }

    .footer-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}


.frase {
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Cada frase com tempo controlado de entrada e saída */
.frase1 {
    animation: showHide 5s ease forwards;
    animation-delay: 2s;
}
.frase2 {
    animation: showHide 5s ease forwards;
    animation-delay: 8s;
}
.frase3 {
    animation: showHide 5s ease forwards;
    animation-delay: 16s;
}
.frase4 {
    opacity: 0;
    animation: showHide 5s ease forwards;
    animation-delay: 22s;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
}

/* Animação que mostra e depois esconde */
@keyframes showHide {
    0% { opacity: 0; transform: translate(-50%, -60%); }
    10% { opacity: 1; transform: translate(-50%, -50%); }
    80% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -40%); }
}

/* Só mostra e permanece */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}










.flyer-card {
    width: 80%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.6s ease;
}


.flyer-card.in-view {
    transform: scale(1);
    opacity: 1;
}

.flyer-card:hover {
    transform: scale(1.03);
}

.flyer-img {
    width: 100%;
    display: block;
    border-radius: 15px;
    transition: opacity 0.3s ease;
}

.flyer-link {
    text-decoration: none;
    color: inherit;
}

.flyer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 20px;
    text-align: center;
}

.flyer-card:hover .flyer-overlay {
    opacity: 1;
}





/* Animação de entrada */
@keyframes fadeInZoom {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
