:root {
    /* Cores - Paleta Premium Navy Blue */
    --bg-dark: #081426;
    /* Azul Marinho Profundo */
    --bg-card: #0c1a2e;
    /* Azul levemente mais claro para cards */
    --primary-gold: #c5a059;
    /* Dourado Metálico */
    --primary-gold-hover: #b08d4b;
    --text-white: #f5f5f5;
    /* Off-white */
    --text-gray: #b0b8c4;
    /* Cinza azulado para texto secundário */
    --black-overlay: rgba(0, 0, 0, 0.6);
    --gold-overlay: linear-gradient(135deg, rgba(197, 160, 89, 0.1), transparent);

    /* Fontes */
    --font-title: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Espaçamentos e Transições */
    --container-width: 1200px;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-gold: 1px solid rgba(197, 160, 89, 0.3);
    /* Borda sutil */
}

/* Reset Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografia */
h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilitários */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-gold);
    margin: 20px auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-gold);
}

/* Botões */
.btn-primary {
    background-color: var(--primary-gold);
    color: #fff;
    padding: 16px 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    display: inline-block;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-outline {
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    padding: 12px 24px;
    font-weight: 500;
    display: inline-block;
}

.btn-outline:hover {
    background-color: var(--primary-gold);
    color: #fff;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    background-color: rgba(15, 15, 15, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* Garantir que nada corte a logo */
    overflow: visible;
    line-height: 0;
    padding: 5px 0;
}

.logo a {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--primary-gold);
    opacity: 1;
}

.logo-img {
    height: 150px;
    /* Aumentado significativamente para foco */
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    /* Contraste extra contra fundo escuro */
}

.nav-links .btn-nav {
    border: 1px solid var(--text-white);
    padding: 8px 20px;
    border-radius: 2px;
    opacity: 1;
}

.nav-links .btn-nav:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    height: 100vh;
    /* Altura fixa de tela cheia */
    min-height: 800px;
    /* Garante altura em telas grandes alta resolução */
    padding-top: 100px;
    /* Accounts for fixed header */
    background: radial-gradient(circle at top right, #0e213a, var(--bg-dark));
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Mais espaço para texto */
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-overlay {
    display: none;
    /* Removed for split layout */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding-right: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--text-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-gray);
    margin-bottom: 45px;
    font-weight: 300;
    max-width: 90%;
}

.hero-image-wrapper {
    position: relative;
    height: 80vh;
    /* Altura responsiva relativa à viewport */
    max-height: 800px;
    border-radius: 8px;
    /* Borda mais suave */
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(197, 160, 89, 0.1);
}

/* Gradient Mask overlay for Hero Image */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente do Azul da marca (esquerda) para transparente */
    background: linear-gradient(to right, rgba(8, 20, 38, 0.8) 0%, rgba(8, 20, 38, 0.2) 30%, transparent 100%);
    pointer-events: none;
}

.hero-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.hero:hover .hero-img-main {
    transform: scale(1.1);
    /* Efeito sutil de zoom */
}

/* Diferenciais Layout with Image */
.grid-features-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.about-image {
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
    position: sticky;
    top: 120px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-right: 4px solid var(--primary-gold);
}

/* Diferenciais (Sobre) */
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.feature-card {
    background-color: transparent;
    /* Removido fundo pesado */
    padding: 35px 25px;
    text-align: center;
    border: var(--border-gold);
    /* Borda elegante */
    border-radius: 4px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    /* Centraliza horizontalmente e margem bot */
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--text-white);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Acomodações */
.bg-alt {
    background-color: #050d1a;
    /* Variação mais escura do azul */
    position: relative;
}

.grid-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.room-card {
    background-color: var(--bg-card);
    /* Fundo azul leve */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Borda muito sutil */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-fast);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.room-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.room-image {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.room-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-gold);
    color: #000;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.room-details {
    padding: 30px;
}

.room-details h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.room-details p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.room-features {
    margin-bottom: 25px;
}

.room-features li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, #02060b, #000);
    /* Extra Dark Contrast */
    padding-top: 80px;
    margin-top: 80px;
    border-top: 4px solid var(--primary-gold);
    /* Detalhe premium de contraste */
    position: relative;
    overflow: hidden;
}

/* Efeito de luz de fundo opcional */
.footer-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.5) 0%, transparent 70%);
    box-shadow: 0 0 100px 30px rgba(197, 160, 89, 0.15);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
    padding-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 120px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(1.1) drop-shadow(0 0 5px rgba(197, 160, 89, 0.3));
}

.footer-brand p {
    color: var(--text-gray);
    max-width: 300px;
    font-size: 0.95rem;
}

.footer-info h4,
.footer-links h4 {
    margin-bottom: 25px;
    color: var(--text-white);
    font-size: 1rem;
    /* Tamanho ajustado para não brigar com o resto */
    font-family: var(--font-body);
    /* Mudado de Playfair para Montserrat */
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-info p {
    color: var(--text-gray);
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-highlight {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--primary-gold);
    /* Cor base dourada */
    transition: var(--transition-fast);
}

.contact-icon {
    width: 24px;
    height: 24px;
}

/* Cores específicas para diferenciar - REMOVED to match premium request */
/* Unified premium look */
.contact-item .contact-icon {
    color: var(--primary-gold);
}

.contact-item:hover .contact-icon {
    color: #fff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.contact-item a {
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item:hover a,
.footer-links a:hover {
    color: var(--primary-gold);
    text-decoration: none;
    padding-left: 5px;
}

/* Social Media Section in Footer */
.social-media-section {
    margin-top: 30px;
}

.social-media-section h4 {
    color: var(--text-white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--text-gray);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link:hover {
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    background: rgba(197, 160, 89, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #1a1a1a;
    color: #666;
    font-size: 0.85rem;
}

/* Whatsapp Float */
.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;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition-fast);
    z-index: 2000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20bd5a;
}

/* Animações (Script Based) */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background-color: rgba(8, 20, 38, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.7);
        padding: 40px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.2rem;
        display: block;
        padding: 10px;
    }

    /* Fixed Header Spacing */
    .logo-img {
        height: 80px;
        /* Reduced specific to mobile */
    }

    /* Hero Fixes */
    .hero {
        padding-top: 100px;
        /* Account for fixed header */
        height: auto;
        min-height: 100vh;
        text-align: center;
        display: flex;
        align-items: center;
        overflow: hidden;
        /* Prevent overflow */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 60px;
        width: 100%;
        margin: 0;
    }

    .hero-content {
        order: 1;
        /* Text first */
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
        /* Smaller for mobile */
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin: 0 auto 25px;
        max-width: 100%;
    }

    .hero-image-wrapper {
        height: 280px;
        order: 2;
        /* Image second */
        width: 100%;
        margin-top: 20px;
    }

    /* Section Fixes */
    .section-header h2 {
        font-size: 1.8rem;
    }

    .grid-features-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        display: none;
        /* Hide decorative image on mobile to save space */
    }

    .grid-features {
        grid-template-columns: 1fr;
        /* Stack cards */
    }

    .grid-rooms {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* WhatsApp Button Mobile Fix - STRICT */
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 24px !important;
        height: 24px !important;
    }

    /* Mobile Scroll Effects */
    .fade-on-scroll {
        transform: translateY(20px);
        /* Smaller movement for mobile */
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }

    /* Mobile Scroll Effects - Slide Up */
    @keyframes slideUpFade {
        from {
            opacity: 0;
            transform: translateY(40px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .feature-card,
    .room-card {
        /* Apply animation */
        animation: none;
        /* Controlled by JS adding class, or default 'fade-on-scroll' */
        margin-bottom: 20px;
    }

    .fade-on-scroll.visible {
        animation: slideUpFade 0.8s ease-out forwards;
    }

    /* Enhance buttons for touch */
    .btn-primary,
    .btn-outline {
        width: 100%;
        /* Full width buttons on mobile */
        text-align: center;
        padding: 15px;
        font-size: 0.9rem;
    }

    /* Footer Fixes */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-logo {
        height: 80px;
        margin: 0 auto 20px;
    }

    .contact-highlight {
        align-items: center;
        /* Center align items */
    }

    .social-icons {
        justify-content: center;
    }
}