@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Color Palette */
    --bg-primary: #0F2E2A;
    --bg-secondary: #1C3A36;
    --accent-moss: #6FAF8F;
    --accent-sand: #D9C7A3;
    --accent-lake: #4A90A4;
    --text-primary: #F4F7F5;
    --text-secondary: #A8B5B0;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* UI Elements */
    --radius-soft: 24px;
    --radius-pill: 50px;
    --transition-slow: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: 0.3s ease;
    
    /* Glassmorphism */
    --glass-bg: rgba(28, 58, 54, 0.6);
    --glass-border: rgba(244, 247, 245, 0.08);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--accent-sand);
    line-height: 1.2;
}

p {
    color: var(--text-secondary);
}

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

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-soft);
    object-fit: cover;
}

/* Base Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 100px 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition-slow);
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-sand);
    letter-spacing: 1px;
}

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

.nav-links li a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 5px;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-moss);
    transition: var(--transition-fast);
}

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

.nav-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 1px solid var(--accent-moss);
    color: var(--text-primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-btn:hover {
    background-color: var(--accent-moss);
    color: var(--bg-primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-moss);
    color: var(--bg-primary);
    border-radius: var(--radius-pill);
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition-slow);
}

.btn:hover {
    background-color: var(--accent-sand);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-sand);
    color: var(--accent-sand);
}

.btn-outline:hover {
    background-color: var(--accent-sand);
    color: var(--bg-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/photo-1542224566-6e85f2e6772f-hero-hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 46, 42, 0.4) 0%, rgba(15, 46, 42, 0.9) 100%);
    z-index: 2;
}

.sun-rays {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 30%, rgba(217, 199, 163, 0.15) 0%, transparent 60%);
    animation: rotateRays 30s linear infinite;
    z-index: 3;
    pointer-events: none;
}

@keyframes rotateRays {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Page Header (for inner pages) */
.page-header {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--bg-secondary);
    text-align: center;
    margin-bottom: 50px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

/* Sections General */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Cards (Stays, Experiences) */
.card {
    background: var(--bg-secondary);
    border-radius: var(--radius-soft);
    overflow: hidden;
    transition: var(--transition-slow);
    border: 1px solid var(--glass-border);
    position: relative;
}

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

.card-img {
    height: 300px;
    overflow: hidden;
    border-radius: var(--radius-soft) var(--radius-soft) 0 0;
}

.card-img img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: var(--transition-slow);
}

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

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.card-content p {
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-sand);
}

/* Experience Icons */
.icon-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-soft);
    border: 1px solid var(--glass-border);
    transition: var(--transition-slow);
}

.icon-card:hover {
    transform: translateY(-10px);
    background: rgba(28, 58, 54, 0.8);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-sand);
    border: 1px solid var(--accent-moss);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-soft);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 46, 42, 0.8), transparent);
    opacity: 0;
    transition: var(--transition-slow);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Forms */
.booking-form, .contact-form {
    background: var(--bg-secondary);
    padding: 50px;
    border-radius: var(--radius-soft);
    border: 1px solid var(--glass-border);
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--accent-sand);
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(15, 46, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent-moss);
    background: rgba(15, 46, 42, 0.8);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Reviews */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: var(--radius-soft);
    text-align: center;
    border: 1px solid var(--glass-border);
}

.stars {
    color: var(--accent-sand);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.reviewer {
    font-size: 0.9rem;
    color: var(--accent-moss);
}

/* Map Embed */
.map-container {
    border-radius: var(--radius-soft);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--accent-sand);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    padding: 60px;
    border-radius: var(--radius-soft);
    border: 1px solid var(--glass-border);
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.legal-content p, .legal-content ul {
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
    color: var(--text-secondary);
}

/* Animations & Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

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

.mt-5 {
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-slow);
        z-index: 999;
        border-left: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: block;
        z-index: 1000;
    }
    
    .nav-btn-container {
        display: none;
    }
    
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .booking-form, .contact-form, .legal-content {
        padding: 30px 20px;
    }
}