:root {
    /* Color Palette */
    --primary: #2C4A3B; /* Deep tropical green */
    --primary-light: #3A6351;
    --accent: #D4A373; /* Warm sand/wood */
    --accent-hover: #C59364;
    --bg-light: #F9F7F3; /* Off-white sand */
    --bg-white: #FFFFFF;
    --text-dark: #2D3748;
    --text-muted: #718096;
    --border: #E2E8F0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
    --nav-height: 80px;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-light);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}

.text-center { text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 3rem; }

/* Layout Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 163, 115, 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 163, 115, 0.4);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--transition-normal);
    background: transparent;
}

nav.scrolled {
    background: rgba(249, 247, 243, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

nav.scrolled .logo,
nav.scrolled .nav-links a {
    color: var(--primary);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    transition: color var(--transition-normal);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-fast);
}

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

.book-btn {
    padding: 0.6rem 1.5rem;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.book-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

nav.scrolled .book-btn {
    background-color: var(--accent);
}

nav.scrolled .book-btn:hover {
    background-color: var(--accent-hover);
}

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

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: 120%; /* Extra height for parallax */
    object-fit: cover;
    object-position: center;
    transition: transform 0.1s ease-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(44, 74, 59, 0.6));
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--accent);
}

.hero-content h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-desc {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0.8;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid white;
    border-radius: 20px;
    margin-top: 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* Stats Bar */
.stats-bar {
    background: white;
    max-width: 1000px;
    margin: -50px auto 0;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 2.5rem;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.feature-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.feature-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-block h3 i {
    color: var(--accent);
    background: rgba(212, 163, 115, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

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

.about-image {
    position: relative;
}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(44, 74, 59, 0.15);
}

.img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

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

.img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(44, 74, 59, 0.2);
    border: 8px solid var(--bg-light);
}

/* Amenities Section */
.amenities-section {
    background-color: var(--bg-white);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.amenity-card {
    background: var(--bg-light);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all var(--transition-normal);
    border: 1px solid var(--border);
}

.amenity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: rgba(212, 163, 115, 0.3);
}

.icon-wrap {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(44, 74, 59, 0.05);
    transition: all var(--transition-normal);
}

.amenity-card:hover .icon-wrap {
    background: var(--primary);
    color: white;
}

.amenity-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.amenity-card ul {
    list-style: none;
}

.amenity-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.amenity-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Reviews Section */
.reviews-section {
    background-color: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-source {
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
}

.review-source.airbnb {
    background-color: #ffe6e6;
    color: #FF5A5F;
}

.review-source.booking {
    background-color: #e6f0ff;
    color: #003580;
}

.booking-score {
    background-color: #003580;
    color: white;
    padding: 2px 6px;
    border-radius: 5px;
    font-weight: 700;
}

.stars {
    color: #FFD700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    flex-grow: 1;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; grid-row: span 1; }
.gallery-item.tall { grid-column: span 1; grid-row: span 2; }

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-img.contain-img {
    object-fit: contain;
    background-color: var(--bg-light);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 74, 59, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform var(--transition-normal);
}

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

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

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-family: var(--font-body);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    font-family: var(--font-heading);
}

.close-lightbox:hover,
.close-lightbox:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {transform:scale(0.9); opacity:0}
    to {transform:scale(1); opacity:1}
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 5rem 0 2rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
}

.footer-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.footer-btn:hover {
    background-color: white;
    color: var(--primary);
}

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 3.5rem; }
    .stats-bar { padding: 2rem; gap: 1rem; }
    .stat-num { font-size: 1.5rem; }
    .about-grid { gap: 2rem; }
    .gallery-grid { grid-auto-rows: 200px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified for demo, a real app would have a hamburger menu */
    .hero-content h1 { font-size: 2.8rem; }
    .hero-desc { font-size: 1.2rem; }
    .stats-bar { grid-template-columns: 1fr 1fr; margin-top: 2rem; position: relative; max-width: 90%; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
    .about-grid { grid-template-columns: 1fr; }
    .img-badge { right: 20px; bottom: -20px; }
    .feature-blocks { grid-template-columns: 1fr; gap: 1.5rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.large { grid-column: span 2; grid-row: span 1; }
    .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
    .gallery-item.wide { grid-column: span 2; }
}

@media (max-width: 480px) {
    .stats-bar { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.large { grid-column: span 1; }
    .gallery-item.wide { grid-column: span 1; }
}

/* Animation Classes */
.opacity-0 { opacity: 0; }
.visible { opacity: 1; transform: translateY(0) translateX(0); }

.fade-in {
    transition: opacity var(--transition-slow);
}

.fade-in-up {
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-left {
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-right {
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
