/* ============================================
   The Orchard Cabin — Classic & Elegant Style
   Emerald Green + Cream Palette
   ============================================ */

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

:root {
    --emerald-900: #0d1f17;
    --emerald-800: #1B4332;
    --emerald-700: #2d6a4f;
    --emerald-600: #40916c;
    --emerald-500: #52b788;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ebe8df;
    --cream-300: #e0dbd0;
    --warm-gray: #6b6560;
    --warm-gray-light: #9e9790;
    --text-dark: #1a1a18;
    --text-body: #3a3835;
    --gold-accent: #b8943e;
    
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-ui, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(27, 67, 50, 0.10);
    --shadow-lg: 0 8px 32px rgba(27, 67, 50, 0.12);
    --shadow-xl: 0 16px 48px rgba(27, 67, 50, 0.14);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover {
    color: var(--emerald-600);
}

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

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

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--emerald-800);
    margin-bottom: 20px;
    line-height: 1.15;
}

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

.lead {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--emerald-800);
    color: #fff;
    border-color: var(--emerald-800);
}

.btn-primary:hover {
    background-color: var(--emerald-700);
    border-color: var(--emerald-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--emerald-800);
    border-color: var(--emerald-800);
}

.btn-outline:hover {
    background-color: var(--emerald-800);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.site-header.scrolled {
    background-color: rgba(250, 249, 246, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: color var(--transition);
}

.site-header.scrolled .logo {
    color: var(--emerald-800);
}

.logo-icon {
    color: inherit;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* --- Navigation --- */
.main-nav {
    position: relative;
}

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

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.site-header.scrolled .hamburger-line {
    background-color: var(--emerald-800);
}

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

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: #fff;
}

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

.site-header.scrolled .nav-link {
    color: var(--warm-gray);
}

.site-header.scrolled .nav-link:hover {
    color: var(--emerald-800);
}

.nav-cta {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

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

.nav-cta:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.site-header.scrolled .nav-cta {
    background-color: var(--emerald-800);
    border-color: var(--emerald-800);
    color: #fff !important;
}

.site-header.scrolled .nav-cta:hover {
    background-color: var(--emerald-700);
    border-color: var(--emerald-700);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13, 31, 23, 0.55) 0%,
        rgba(27, 67, 50, 0.65) 50%,
        rgba(13, 31, 23, 0.80) 100%
    );
    z-index: 1;
}

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

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* --- Intro / About --- */
.intro {
    padding: 120px 0;
    background-color: var(--cream-50);
}

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

.intro-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.intro-text {
    padding: 16px 0;
}

.intro-text .section-title {
    margin-bottom: 24px;
}

.intro-text p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.intro-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--cream-200);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--emerald-800);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray-light);
}

.stat-divider {
    width: 1px;
    height: 48px;
    background-color: var(--cream-300);
}

/* --- Accommodations --- */
.accommodations {
    padding: 120px 0;
    background-color: var(--cream-100);
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.room-card {
    background-color: var(--cream-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

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

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.room-content {
    padding: 28px;
}

.room-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-800);
    margin-bottom: 10px;
}

.room-description {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.room-features li {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--emerald-700);
    background-color: rgba(45, 106, 79, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
}

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

/* --- Amenities --- */
.amenities {
    padding: 120px 0;
    background-color: var(--cream-50);
}

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

.amenity-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--cream-200);
    transition: all var(--transition);
    background-color: var(--cream-50);
}

.amenity-card:hover {
    border-color: var(--emerald-200, #b7e4c7);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    background-color: #fff;
}

.amenity-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background-color: rgba(27, 67, 50, 0.08);
    margin-bottom: 20px;
    color: var(--emerald-800);
}

.amenity-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-800);
    margin-bottom: 10px;
}

.amenity-desc {
    font-size: 0.9rem;
    color: var(--warm-gray);
    line-height: 1.65;
}

/* --- Testimonial --- */
.testimonial-strip {
    padding: 100px 0;
    background-color: var(--emerald-800);
}

.testimonial-quote {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 24px;
}

.testimonial-quote blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-bottom: 32px;
}

.testimonial-source {
    display: block;
    font-family: var(--font-sans);
    font-style: normal;
}

.source-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.04em;
}

.source-detail {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

/* --- Location --- */
.location {
    padding: 120px 0;
    background-color: var(--cream-100);
}

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

.location-info .section-title {
    margin-bottom: 20px;
}

.location-info p {
    margin-bottom: 16px;
    color: var(--text-body);
}

.location-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    padding: 20px 24px;
    background-color: var(--cream-50);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--emerald-800);
    font-style: normal;
}

.location-address svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--emerald-800);
}

.location-address span {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.location-detail {
    font-size: 0.9rem;
    color: var(--warm-gray);
    margin-bottom: 24px;
}

.location-actions {
    margin-top: 8px;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    min-height: 360px;
}

/* --- CTA / Contact --- */
.cta-section {
    padding: 120px 0;
    background-color: var(--cream-50);
}

.cta-inner {
    max-width: 900px;
    margin: 0 auto;
}

.cta-text {
    text-align: center;
    margin-bottom: 56px;
}

.cta-title {
    color: var(--emerald-800);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.contact-form {
    background-color: #fff;
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--cream-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: var(--cream-50);
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray-light);
}

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

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--emerald-600);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.75rem;
    color: var(--emerald-800);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--warm-gray);
    font-size: 1rem;
}

.contact-direct {
    text-align: center;
    margin-top: 32px;
    font-size: 0.95rem;
    color: var(--warm-gray);
}

.phone-link {
    color: var(--emerald-700);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition);
}

.phone-link:hover {
    color: var(--emerald-800);
    border-bottom-color: var(--emerald-800);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--emerald-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 32px;
}

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

.logo-footer {
    color: #fff;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    max-width: 280px;
}

.footer-contact h4,
.footer-links h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-contact address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 12px;
}

.footer-contact .phone-link {
    color: rgba(255, 255, 255, 0.85);
    border-bottom-color: transparent;
}

.footer-contact .phone-link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

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

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

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

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

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

/* --- Mobile Navigation --- */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--emerald-900);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 24px;
        transition: right var(--transition);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.9rem;
    }

    .nav-link:hover {
        color: #fff !important;
    }

    .nav-cta {
        background-color: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        color: #fff !important;
    }

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

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

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

/* --- Responsive --- */
@media (max-width: 900px) {
    .intro-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image-wrap {
        order: -1;
        max-height: 400px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .amenities-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

    .intro-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .location-map {
        aspect-ratio: 16/9;
        min-height: 240px;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
