/* ========================================
   POUSADA TETO DOCE - Design System
   ======================================== */

:root {
    /* Colors */
    --primary: #1A3C34; /* Emerald Green */
    --primary-light: #2C564B;
    --primary-dark: #0D211C;
    
    --accent: #B8860B; /* Dark Goldenrod / Bronze */
    --accent-light: #D4AF37;
    
    --bg-light: #FAFAFA;
    --bg-white: #FFFFFF;
    --bg-alt: #F3F1ED; /* Warm gray/beige */
    
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #F3F1ED;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Variables */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 8px;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    color: var(--primary);
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: 1px;
}

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

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

.nav-links a {
    color: var(--bg-white);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar.scrolled .nav-links a {
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--accent-light);
}

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

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white) !important;
}

.btn-primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent) !important;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--bg-white) !important;
}

.nav-cta {
    background: var(--accent);
    padding: 10px 20px !important;
    border-radius: 20px;
    color: white !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--bg-white);
    position: absolute;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--primary-dark);
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: var(--primary-dark);
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 60, 52, 0.7), rgba(13, 33, 28, 0.9));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 60px;
}

.hero-tag {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.hero h1 span {
    color: var(--accent-light);
    font-style: italic;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

/* ========================================
   CHALETS GRID
   ======================================== */
.section {
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-inline: auto;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.chalets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.chalet-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: left;
}

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

.chalet-img-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.chalet-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.chalet-card:hover .chalet-img-wrapper img {
    transform: scale(1.05);
}

.chalet-info {
    padding: 30px;
}

.chalet-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.chalet-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.chalet-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.amenity-tag {
    font-size: 12px;
    padding: 5px 10px;
    background: var(--bg-alt);
    color: var(--primary);
    border-radius: 4px;
    font-weight: 600;
}

/* ========================================
   CHALET SINGLE PAGE
   ======================================== */
.single-hero {
    height: 70vh;
}

.chalet-details-section {
    max-width: 1000px;
    margin: -100px auto 100px;
    background: var(--bg-white);
    position: relative;
    z-index: 10;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 60px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.details-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.details-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
}

.features-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
}

.features-list li svg {
    color: var(--accent);
}

.sidebar-card {
    background: var(--bg-alt);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    position: sticky;
    top: 100px;
}

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

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 20px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .chalet-details-section {
        grid-template-columns: 1fr;
        padding: 40px;
        margin: -50px 20px 50px;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    
    .nav-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        right: 0;
    }
}
