:root {
    --primary-color: #0F172A;
    /* Navy Blue */
    --secondary-color: #C5A059;
    /* Gold/Sand */
    --accent-color: #0D9488;
    /* Teal - subtle accents */
    --bg-color: #F8FAFC;
    /* Light Gray/White */
    --text-color: #334155;
    /* Dark Gray */
    --text-light: #94A3B8;
    /* Light Gray for subtitles */
    --white: #FFFFFF;

    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Cinzel', serif;
    /* For elegant headlines */

    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: clip; /* Resolve falha grave de Mobile Scroll (AOS Freeze) */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.close-menu {
    display: none; /* Escondido por padrão, só aparece no mobile aberto */
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #F3D078, #C5A059, #9E7D38);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background: linear-gradient(135deg, #FADBAA, #D6B56F, #B4924A);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, #F3D078, #C5A059, #9E7D38);
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/hero_bg.jpg');
    /* Fallback/Unsplash */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
}



/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* Accommodations */
.rooms {
    background-color: var(--bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.room-img {
    height: 250px;
    overflow: hidden;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.room-card:hover .room-img img {
    transform: scale(1.1);
}

.room-info {
    padding: 25px;
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.room-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.room-meta span i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.room-price {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

/* Services */
.services {
    background-color: var(--primary-color);
    color: var(--white);
}

.services .section-header h2 {
    color: var(--white);
}

.services .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.service-item h3 {
    font-size: 1.2rem;
    color: var(--white);
    font-family: var(--font-primary);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-color);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 4rem;
    color: rgba(197, 160, 89, 0.2);
    font-family: serif;
}

.rating {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.review-text {
    font-style: italic;
    margin-bottom: 25px;
    color: var(--text-color);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer h4 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.reviewer span {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Location */
.location {
    padding-bottom: 0;
}

.contact-info-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.contact-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* CTA Final */
.cta-final {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('../images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.cta-final h2 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    color: #fff;
    background-color: #128C7E;
    border-color: #128C7E;
}


/* Footer */
footer {
    background-color: #020617;
    /* Slate 950 */
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-col p {
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.rights {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
        transform: scale(1);
    }
}

.btn-whatsapp.pulse-animation {
    animation: pulse 2s infinite;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transition: all 1s ease;
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mobile-socials {
        display: none; /* Esconde do Desktop / Tablet para não duplicar informações */
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-color); /* Fundo sólido de Alta Grife e escuro */
        width: 100%;
        height: 100vh;
        justify-content: center;
        align-items: center;
        text-align: center;
        /* Efeito de abertura Super Premium em Círculo surgindo a partir do Hambúrguer */
        clip-path: circle(0px at calc(100% - 40px) 40px); 
        transition: clip-path 0.7s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.7s;
        z-index: 1000;
        visibility: hidden;
    }

    .nav-menu.active {
        visibility: visible;
        clip-path: circle(150% at calc(100% - 40px) 40px); /* Preenche a tela toda suavemente */
    }

    .nav-item {
        margin: 12px 0;
        transform: translateY(30px);
        opacity: 0;
        transition: all 0.4s ease;
    }

    /* Efeito de revelar as palavras de baixo pra cima de forma cascata */
    .nav-menu.active .nav-item {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active .nav-item:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active .nav-item:nth-child(6) { transition-delay: 0.6s; }
    .nav-menu.active .nav-item:nth-child(7) { transition-delay: 0.7s; }

    .nav-menu .nav-link {
        font-family: var(--font-heading); /* Fonte Serifada elegante igual do logotipo! */
        font-size: 1.3rem; /* Tamanho ajustado e mais delicado */
        font-weight: 500;
        letter-spacing: 2px;
        color: var(--white);
        text-transform: uppercase;
    }
    
    .nav-menu .nav-link::after {
        display: none; 
    }

    /* --- Botão "X" de Fechar o Menu --- */
    .close-menu {
        display: block;
        position: absolute;
        top: 30px;
        right: 35px;
        font-size: 2.5rem;
        color: var(--white);
        cursor: pointer;
        opacity: 0;
        transform: rotate(-90deg);
        transition: all 0.5s ease;
        transition-delay: 0.3s;
    }

    .close-menu:hover {
        color: var(--secondary-color);
        transform: scale(1.1) rotate(0deg);
    }

    .nav-menu.active .close-menu {
        opacity: 1;
        transform: rotate(0deg);
    }

    /* --- Tratamento da nova barra de Ícones Sociais no Mobile --- */
    .mobile-socials {
        display: flex;
        gap: 25px;
        margin-top: 50px; /* Distância do último link */
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
        transition-delay: 0.8s; /* Revela-se com orgulho por último */
    }
    
    .mobile-socials a {
        color: var(--secondary-color); /* Ícones Dourados */
        font-size: 1.8rem;
    }

    .nav-menu.active .mobile-socials {
        opacity: 1;
        transform: translateY(0);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* --- MODELO SPECIAL EFFECTS --- */

/* 1. Header Scrolled Effect */
header.scrolled {
    position: fixed;
    top: 0;
    background-color: rgba(15, 23, 42, 0.98);
    /* Matching Project Theme */
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* 2. Pulse Animation (Modelo version) */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
        transform: scale(1);
    }
}

/* 3. WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
    color: #fff;
}

/* 4. Rotating Text */
.rotating-text {
    color: var(--secondary-color);
    display: inline-block;
    min-width: 250px;
    /* Adjust based on text length */
    font-weight: 700;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Override existing pulse-animation class if present to map to new one */
.pulse-animation {
    animation: pulse-animation 2s infinite;
}