/* ===== CSS Custom Properties ===== */
:root {
    --forest-dark: #1a5c2a;
    --forest-mid: #2d8a4e;
    --forest-light: #4ade80;
    --forest-pale: #dcfce7;
    --forest-ghost: #f0fdf4;
    
    --off-white: #fafaf8;
    --cream: #f5f5f0;
    --warm-light: #fefdf8;
    --warm-gray: #e8e6e0;
    --text-dark: #1a2e1f;
    --text-mid: #3d5a42;
    --text-light: #6b8f74;
    --text-muted: #9bb5a3;
    
    --shadow-sm: 0 1px 3px rgba(26, 92, 42, 0.06);
    --shadow-md: 0 4px 16px rgba(26, 92, 42, 0.08);
    --shadow-lg: 0 8px 32px rgba(26, 92, 42, 0.10);
    --shadow-xl: 0 16px 48px rgba(26, 92, 42, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-med: 0.35s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest-mid);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 600px;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    text-decoration: none;
}

.btn-primary {
    background: var(--forest-dark);
    color: #ffffff;
    border-color: var(--forest-dark);
}

.btn-primary:hover {
    background: var(--forest-mid);
    border-color: var(--forest-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: #ffffff;
    color: var(--forest-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 92, 42, 0.08);
    transition: all var(--transition-med);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest-dark);
}

.nav-logo-icon {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.nav-cta) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--forest-dark);
    transition: width var(--transition-fast);
    border-radius: 1px;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--forest-dark);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--forest-dark);
    color: #ffffff !important;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--forest-mid);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--forest-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 92, 42, 0.78) 0%,
        rgba(26, 60, 30, 0.70) 50%,
        rgba(15, 45, 20, 0.82) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.6);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Features Bar ===== */
.features-bar {
    background: var(--warm-light);
    border-bottom: 1px solid var(--warm-gray);
    padding: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px;
    border-right: 1px solid var(--warm-gray);
    transition: background var(--transition-fast);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: var(--forest-ghost);
}

.feature-item svg {
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== Rooms ===== */
.rooms {
    padding: 100px 0;
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.room-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-med);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.room-image {
    overflow: hidden;
    aspect-ratio: 3/2;
}

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

.room-card:hover .room-image img {
    transform: scale(1.05);
}

.room-info {
    padding: 28px;
}

.room-info h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.room-info > p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.65;
    margin-bottom: 20px;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.room-features li {
    padding: 6px 14px;
    background: var(--forest-ghost);
    color: var(--forest-dark);
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
}

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

/* ===== Amenities ===== */
.amenities {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--off-white) 100%);
}

.amenities-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.amenities-content .section-subtitle {
    margin-bottom: 40px;
}

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.amenity-item {
    display: flex;
    gap: 16px;
}

.amenity-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--forest-pale);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.amenity-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.amenity-item p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.amenities-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 3/4;
}

.amenities-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Location ===== */
.location {
    padding: 100px 0;
    background: var(--off-white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    margin-top: 56px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.location-detail {
    display: flex;
    gap: 16px;
}

.location-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.location-detail p,
.location-detail a {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

.location-detail a:hover {
    color: var(--forest-dark);
    text-decoration: underline;
}

.location-highlights h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.location-highlights ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.location-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-mid);
}

.location-highlights li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--forest-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* ===== Gallery ===== */
.gallery {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--cream) 100%);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3/2;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-med);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ===== CTA ===== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--forest-dark) 0%, #0f2d14 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: var(--forest-light);
}

.cta .section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.cta .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--off-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-subtitle {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--forest-dark);
    text-decoration: underline;
}

.contact-form-wrapper {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-mid);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 1.5px solid var(--warm-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--warm-light);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest-mid);
    box-shadow: 0 0 0 3px rgba(45, 138, 78, 0.12);
    background: #ffffff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--forest-ghost);
    border: 1px solid var(--forest-pale);
    border-radius: var(--radius-sm);
    color: var(--forest-dark);
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 8px;
}

.form-success.show {
    display: flex;
}

/* ===== Footer ===== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--forest-light);
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-contact a {
    color: var(--forest-light);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-layout {
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--warm-gray);
        transform: translateY(-120%);
        transition: transform var(--transition-med);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-item {
        border-right: none;
        border-bottom: 1px solid var(--warm-gray);
    }
    
    .feature-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .amenities-layout {
        grid-template-columns: 1fr;
    }
    
    .amenities-image {
        order: -1;
        aspect-ratio: 4/3;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 300px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-item {
        border-bottom: 1px solid var(--warm-gray);
    }
    
    .feature-item:last-child {
        border-bottom: none;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .rooms, .amenities, .location, .gallery, .cta, .contact {
        padding: 72px 0;
    }
}
