/* ============================================
   Lane Farm Bed & Breakfast — Styles
   Bold editorial | Forest green + off-white
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a2e1f;
    background-color: #F7F4EE;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    color: #1a2e1f;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2D5A3D;
    margin-bottom: 1rem;
}

.section-headline {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    margin-bottom: 1.5rem;
    color: #1a2e1f;
}

.section-desc {
    font-size: 1.1rem;
    color: #3d5a45;
    max-width: 540px;
    line-height: 1.8;
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 64px;
    }
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #2D5A3D;
    color: #F7F4EE;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: 16px;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(247, 244, 238, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(26, 46, 31, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a2e1f;
}

.logo-icon {
    color: #2D5A3D;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: #3d5a45;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: #2D5A3D;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2D5A3D;
    transition: width 0.3s ease;
}

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

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

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a2e1f;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
    
    .nav-links {
        display: flex;
    }
}

/* Mobile nav */
.nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #F7F4EE;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(45, 90, 61, 0.1);
    box-shadow: 0 8px 24px rgba(26, 46, 31, 0.08);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #2D5A3D;
    color: #F7F4EE;
}

.btn-primary:hover {
    background: #1a3d27;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 90, 61, 0.3);
}

.btn-ghost {
    background: transparent;
    color: #F7F4EE;
    border: 1.5px solid rgba(247, 244, 238, 0.6);
}

.btn-ghost:hover {
    background: rgba(247, 244, 238, 0.1);
    border-color: #F7F4EE;
}

.btn-ghost-light {
    background: transparent;
    color: #2D5A3D;
    border: 1.5px solid #2D5A3D;
}

.btn-ghost-light:hover {
    background: #2D5A3D;
    color: #F7F4EE;
}

.btn-full {
    width: 100%;
}

.btn-nav {
    padding: 10px 22px;
    font-size: 0.8125rem;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/34888194/pexels-photo-34888194.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 46, 31, 0.72) 0%,
        rgba(26, 46, 31, 0.65) 50%,
        rgba(26, 46, 31, 0.82) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.7);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    color: #F7F4EE;
    line-height: 1.08;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.hero-headline br {
    display: none;
}

@media (min-width: 640px) {
    .hero-headline br {
        display: block;
    }
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(247, 244, 238, 0.8);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(247, 244, 238, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

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

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

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: #F7F4EE;
}

.about-grid {
    display: grid;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.about-content .section-headline {
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #3d5a45;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.85;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(45, 90, 61, 0.15);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D5A3D;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: #5a7a62;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

/* ---------- Rooms ---------- */
.rooms {
    padding: 120px 0;
    background: #EFF5EE;
}

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

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

.rooms-grid {
    display: grid;
    gap: 32px;
}

.room-card {
    display: grid;
    grid-template-columns: 1fr;
    background: #F7F4EE;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(26, 46, 31, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.room-card:hover {
    box-shadow: 0 8px 32px rgba(26, 46, 31, 0.12);
    transform: translateY(-2px);
}

.room-image {
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.room-info {
    padding: 32px;
}

.room-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1a2e1f;
}

.room-desc {
    color: #5a7a62;
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

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

.room-features li {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2D5A3D;
    background: rgba(45, 90, 61, 0.08);
    padding: 6px 12px;
    border-radius: 4px;
}

.rooms-cta {
    text-align: center;
    margin-top: 48px;
}

@media (min-width: 768px) {
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Experience ---------- */
.experience {
    padding: 120px 0;
    background: #1a2e1f;
    color: #F7F4EE;
}

.experience .section-eyebrow {
    color: rgba(247, 244, 238, 0.6);
}

.experience .section-headline {
    color: #F7F4EE;
    margin-bottom: 3rem;
}

.experience-grid {
    display: grid;
    gap: 64px;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
}

.experience-icon {
    color: rgba(247, 244, 238, 0.7);
}

.experience-item h4 {
    font-size: 1.25rem;
    color: #F7F4EE;
    margin-bottom: 0.5rem;
}

.experience-item p {
    color: rgba(247, 244, 238, 0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.experience-images {
    position: relative;
    min-height: 500px;
}

.exp-img-main {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.exp-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.exp-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 3;
    border: 4px solid #1a2e1f;
}

.exp-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .experience-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }
}

@media (max-width: 767px) {
    .experience-images {
        display: none;
    }
}

/* ---------- Location ---------- */
.location {
    padding: 120px 0;
    background: #F7F4EE;
}

.location-grid {
    display: grid;
    gap: 48px;
}

.location-address {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #3d5a45;
    margin-bottom: 2rem;
}

.location-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #2D5A3D;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #1a3d27;
}

.location-landmarks .landmark-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2D5A3D;
    margin-bottom: 0.75rem;
}

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

.landmarks li {
    font-size: 0.9375rem;
    color: #5a7a62;
    padding-left: 16px;
    position: relative;
}

.landmarks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #2D5A3D;
    border-radius: 50%;
}

.location-map {
    border-radius: 12px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: 0 4px 24px rgba(26, 46, 31, 0.1);
}

@media (min-width: 1024px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: stretch;
    }
}

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: #EFF5EE;
}

.contact-grid {
    display: grid;
    gap: 64px;
}

.contact-desc {
    color: #5a7a62;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: #F7F4EE;
    border-radius: 10px;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.contact-card:hover {
    border-color: rgba(45, 90, 61, 0.2);
    box-shadow: 0 4px 16px rgba(26, 46, 31, 0.06);
}

.contact-card-icon {
    color: #2D5A3D;
    flex-shrink: 0;
}

.contact-card-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5a7a62;
    margin-bottom: 2px;
}

.contact-card-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a2e1f;
}

/* Form */
.contact-form-wrap {
    background: #F7F4EE;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 16px rgba(26, 46, 31, 0.06);
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3d5a45;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #1a2e1f;
    background: #F7F4EE;
    border: 1.5px solid rgba(45, 90, 61, 0.2);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2D5A3D;
    box-shadow: 0 0 0 3px rgba(45, 90, 61, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aab9e;
}

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

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

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: rgba(45, 90, 61, 0.08);
    border-radius: 8px;
    color: #2D5A3D;
    font-size: 0.9375rem;
    font-weight: 500;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: start;
    }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: 100px 0;
    background: #2D5A3D;
    text-align: center;
}

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.6);
    margin-bottom: 1rem;
}

.cta-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #F7F4EE;
    margin-bottom: 1.25rem;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(247, 244, 238, 0.8);
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

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

/* ---------- Footer ---------- */
.site-footer {
    background: #122017;
    color: rgba(247, 244, 238, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(247, 244, 238, 0.1);
}

.logo-light {
    color: #F7F4EE;
}

.footer-tagline {
    margin-top: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
    color: rgba(247, 244, 238, 0.5);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.4);
    margin-bottom: 1.25rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(247, 244, 238, 0.7);
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #F7F4EE;
}

.footer-contact address {
    font-size: 0.9375rem;
    line-height: 1.9;
}

.footer-contact a {
    color: rgba(247, 244, 238, 0.7);
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px 0;
    font-size: 0.8125rem;
    color: rgba(247, 244, 238, 0.35);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
