:root {
    --color-green: #566D29;
    --color-red: #D91A1A;
    --color-bg: #FAF9F6;
    --color-text: #2C3E50;
    --color-gold: #C5A880;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-red);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
    padding: 20px 0;
    background-color: rgba(250, 249, 246, 0.30);
}

header.scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

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

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    position: relative;
    height: 100vh;
    background: url('/img/foto-hotel.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 40px auto;
    opacity: 0.9;
}

.btn-premium {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--color-green);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-premium:hover {
    background-color: var(--color-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(217, 26, 26, 0.3);
}

.teasers {
    padding: 100px 0;
    text-align: center;
    background-color: var(--color-bg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-green);
    margin-bottom: 20px;
}

.whatsapp-float {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-green 2s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float img{
    height: 50px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.hidden-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.show-animate {
    opacity: 1;
    transform: translateY(0);
}

.historia-section {
    padding: 120px 0;
    background-color: var(--color-bg);
    overflow: hidden;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.history-subtitle {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-gold);
    margin-bottom: 25px;
    font-style: italic;
}

.history-paragraph {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #444;
    text-align: justify;
}

.history-quote {
    position: relative;
    padding: 25px 30px;
    margin: 30px 0;
    background-color: #fff;
    border-left: 4px solid var(--color-green);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.history-quote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: rgba(86, 109, 41, 0.1);
    font-family: serif;
}

.history-images {
    position: relative;
    height: 600px;
}

.img-frame {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.history-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.img-frame:hover .history-img {
    transform: scale(1.05);
}

.img-frame-main {
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    z-index: 1;
}

.img-frame-overlap {
    bottom: 0;
    left: 0;
    width: 60%;
    height: 55%;
    z-index: 2;
    border: 10px solid var(--color-bg);
}

.acomodacoes-section {
    padding: 100px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--color-text);
    margin-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-red);
    margin: 15px auto 0;
}

.section-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.room-card {
    background: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.room-image-wrapper {
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    position: relative;
}

.room-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-img {
    transform: scale(1.1);
}

.room-image-wrapper::after {
    content: 'Ampliar Foto';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(86, 109, 41, 0.8);
    padding: 10px 20px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.room-image-wrapper:hover::after {
    opacity: 1;
}

.room-info {
    padding: 25px;
    text-align: center;
}

.room-info h3 {
    font-family: var(--font-heading);
    color: var(--color-green);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.room-info p {
    font-size: 0.95rem;
    color: #555;
}

.premium-card {
    border: 1px solid var(--color-gold);
    background-color: #fdfaf5;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 15px 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    animation: zoomIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-carousel-container {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    text-align: center;
    color: #fff;
}

#modalTitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-gold);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.slides-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slides-container img {
    min-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.prev-slide,
.next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s, color 0.3s;
    z-index: 10;
}

.prev-slide:hover,
.next-slide:hover {
    background: var(--color-red);
}

.prev-slide {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.next-slide {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.carousel-indicators {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background-color: var(--color-red);
}

.close-modal:hover {
    color: var(--color-red);
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.contato-section {
    padding: 100px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.info-card {
    background-color: var(--color-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border-top: 4px solid var(--color-green);
}

.info-card h3 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.info-card p {
    margin-bottom: 25px;
    color: #666;
}

.contact-btn {
    width: 100%;
    display: block;
}

.info-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.detail-item {
    background-color: var(--color-bg);
    padding: 20px;
    border-left: 3px solid var(--color-gold);
    border-radius: 0 4px 4px 0;
    color: #444;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateX(10px);
    background-color: #f0eee9;
}

.contact-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 450px;
    position: relative;
}

.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(30%) contrast(1.1) sepia(10%);
    transition: filter 0.5s ease;
}

.contact-map:hover iframe {
    filter: grayscale(0%) contrast(1) sepia(0%);
}

.site-footer {
    background-color: var(--color-text);
    color: #e0e0e0;
    font-family: var(--font-body);
    padding-top: 80px;
    border-top: 4px solid var(--color-green);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #b0b0b0;
    max-width: 90%;
}

.site-footer h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-red);
}

.site-footer ul {
    list-style: none;
}

.site-footer ul li {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #b0b0b0;
}

.site-footer ul li strong {
    color: var(--color-gold);
    font-weight: 400;
}

.site-footer a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: inline-block;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.social-link:hover {
    color: var(--color-red);
}

.footer-bottom {
    padding: 30px 0;
    background-color: #243342;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright,
.dev-signature {
    font-size: 0.85rem;
    color: #888;
}

.dev-signature {
    text-align: right;
}

.weather-widget {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-gold);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: default;
}

#weather-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

#weather-text {
    letter-spacing: 0.5px;
    font-weight: 300;
    line-height: 1.4;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .site-footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .bottom-content {
        flex-direction: column;
        text-align: center;
    }

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

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    header {
        padding: 10px 0;
        background-color: rgba(250, 249, 246, 0.98);
    }

    .logo-img {
        height: 50px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-title {
        font-size: 2.8rem;
        margin-top: 60px;
    }

    .btn-premium {
        padding: 12px 30px;
        font-size: 0.9rem;
        width: 90%;
        max-width: 300px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

@media screen and (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 350px;
    }

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

    .hero-title {
        font-size: 3.5rem;
        /* Reduzimos o título levemente */
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 0.8rem;
    }

    .history-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .history-images {
        height: 450px;
        margin-top: 30px;
    }

    .img-frame-overlap {
        border-width: 5px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

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

.cuia-loader {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 3px solid rgba(86, 109, 41, 0.1);
    border-radius: 50%;
    border-top-color: var(--color-green);
    border-bottom-color: var(--color-red);
    animation: spin-pulse 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-text);
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInText 1s ease forwards 0.3s;
}

@keyframes spin-pulse {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.15);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes fadeInText {
    to {
        opacity: 1;
    }
}