:root {
    --primary-color: #0b1d3a; /* Deep magical blue */
    --secondary-color: #d81b60; /* Magical red/pink */
    --accent-color: #ffd700; /* Star yellow */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --whatsapp-color: #25D366;
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '✨';
    position: absolute;
    top: -15px;
    right: -25px;
    font-size: 1.2rem;
    animation: sparkle 2s infinite alternate;
}

@keyframes sparkle {
    from { transform: scale(0.8) rotate(0deg); opacity: 0.5; }
    to { transform: scale(1.2) rotate(15deg); opacity: 1; }
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.bg-light { background-color: var(--white); }
.bg-dark { background-color: var(--primary-color); }
.text-white, .text-white p, .text-white h2 { color: var(--white) !important; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.3);
}

.btn-primary:hover {
    background-color: #c2185b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(216, 27, 96, 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 10px 0;
}

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

.nav-logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-logo-text {
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.navbar.scrolled .nav-link {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.navbar.scrolled .nav-link.active {
    color: var(--secondary-color);
}

.btn-nav {
    background-color: var(--secondary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(216, 27, 96, 0.2);
}

.btn-nav::after { display: none; }
.btn-nav:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('../imagens/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 29, 58, 0.8) 0%, rgba(11, 29, 58, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--white);
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Features */
.features {
    background-color: var(--white);
    padding: 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 20;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background-color: #fff;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* A Casa */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    height: 500px;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.amenities {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.amenities h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.amenities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.amenities-list li {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
}

/* Localização */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.distancias {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.distancias p {
    background-color: var(--bg-color);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* Avaliações */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: serif;
    font-size: 4rem;
    color: rgba(216, 27, 96, 0.1);
}

.review-stars {
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.instagram-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.instagram-section h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.instagram-section p {
    color: var(--text-light);
    margin-bottom: 40px;
}

/* Contato */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-details {
    margin: 30px 0;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-details a {
    color: var(--accent-color);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--white);
    text-decoration: underline;
}

.contact-disclaimer {
    font-size: 0.85rem;
    opacity: 0.7;
}

.contato-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(216, 27, 96, 0.1);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

/* WhatsApp Floating */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

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

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Footer */
.footer {
    background-color: #061020;
    color: rgba(255,255,255,0.6);
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Mobile Menu Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--white);
}

.navbar.scrolled .bar {
    background-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .contato-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 80px;
    }
    .nav-menu.active { left: 0; }
    .nav-list {
        flex-direction: column;
        width: 100%;
    }
    .nav-link { 
        color: var(--white); 
        font-size: 1.2rem; 
        display: block; 
        padding: 15px 0; 
    }
    .navbar.scrolled .nav-link { color: var(--white); }
    
    .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); }
    .navbar.scrolled .hamburger.active .bar { background-color: var(--white); }

    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; padding: 0 20px; }
    
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-column: span 1; height: 300px; }
    .gallery-item { height: 250px; }
    
    .features { margin-top: 0; border-radius: 0; }
}

/* Language Selector */
.lang-selector { position: relative; margin-left: 20px; }
.current-lang { background: transparent; border: none; color: var(--white); font-size: 0.95rem; font-family: inherit; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; transition: var(--transition); }
.navbar.scrolled .current-lang { color: var(--primary-color); }
.current-lang:hover { background: rgba(255,255,255,0.1); }
.navbar.scrolled .current-lang:hover { background: rgba(0,0,0,0.05); }
.current-lang img { width: 20px; border-radius: 2px; }
.lang-dropdown { position: absolute; top: 100%; right: 0; background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); min-width: 150px; display: none; flex-direction: column; overflow: hidden; margin-top: 10px; }
.lang-dropdown.show { display: flex; animation: fadeIn 0.2s ease; }
.lang-dropdown a { padding: 12px 15px; color: var(--text-color); display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.lang-dropdown a:hover { background: var(--bg-color); color: var(--primary-color); }
.lang-dropdown img { width: 20px; border-radius: 2px; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 768px) {
    .lang-selector { margin: 20px auto; }
    .lang-dropdown { position: static; box-shadow: none; background: transparent; text-align: center; }
    .lang-dropdown a { justify-content: center; color: var(--white); }
    .lang-dropdown a:hover { background: rgba(0,0,0,0.1); }
}

