/* ============================================
   PLUM GROVE INN — Classic & Elegant Bed & Breakfast
   Palette: Terracotta + Sand
   Fonts: Cormorant Garamond + Lato
   ============================================ */

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

:root {
    --terracotta: #B85C38;
    --terracotta-dark: #9A4B2E;
    --terracotta-light: #D4845E;
    --sand: #F5E6D3;
    --sand-light: #FAF3EB;
    --sand-dark: #E8D5C0;
    --cream: #FDF8F3;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F38;
    --warm-gray: #6B5E56;
    --warm-gray-light: #8A7E76;
    --white: #FFFFFF;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Lato', 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(44, 36, 32, 0.08);
    --shadow-md: 0 4px 16px rgba(44, 36, 32, 0.10);
    --shadow-lg: 0 8px 32px rgba(44, 36, 32, 0.12);
    --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(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
    color: var(--terracotta-dark);
}

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

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

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

.section-eyebrow.light {
    color: var(--sand-dark);
}

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

.section-title.light {
    color: var(--white);
}

.text-accent {
    color: var(--terracotta);
    font-style: italic;
}

.text-accent-light {
    color: var(--sand);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto;
}

.lead {
    font-size: 1.125rem;
    color: var(--charcoal-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ── 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.05em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
    border-color: var(--terracotta);
}

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

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

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 0.9rem;
}

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

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

.navbar.scrolled {
    background-color: rgba(253, 248, 243, 0.97);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

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

.logo:hover {
    color: var(--white);
}

.logo-light {
    color: var(--white);
}

.navbar.scrolled .logo,
.navbar.scrolled .logo-light {
    color: var(--charcoal);
}

.logo-icon {
    opacity: 0.9;
}

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

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

.nav-links a {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

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

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

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

.navbar.scrolled .nav-links a {
    color: var(--warm-gray);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--charcoal);
}

.nav-cta {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: all var(--transition) !important;
}

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

.nav-cta:hover {
    background-color: var(--white);
    color: var(--charcoal) !important;
    border-color: var(--white);
}

.navbar.scrolled .nav-cta {
    border-color: var(--terracotta);
    color: var(--terracotta) !important;
}

.navbar.scrolled .nav-cta:hover {
    background-color: var(--terracotta);
    color: var(--white) !important;
}

/* Mobile nav toggle */
.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-color: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
    background-color: var(--charcoal);
}

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

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to bottom,
        rgba(44, 36, 32, 0.55) 0%,
        rgba(44, 36, 32, 0.45) 50%,
        rgba(44, 36, 32, 0.70) 100%
    );
}

.hero-content {
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand-dark);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--sand);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(250, 243, 235, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

/* ── About Section ── */
.about {
    padding: 120px 0;
    background-color: var(--cream);
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid var(--terracotta-light);
    border-radius: 4px;
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: 28px;
}

.about-content p {
    color: var(--charcoal-light);
    margin-bottom: 16px;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    color: var(--warm-gray);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
}

.about-signature svg {
    opacity: 0.4;
}

/* ── Rooms Section ── */
.rooms {
    padding: 120px 0;
    background-color: var(--sand-light);
}

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

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

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

.room-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.room-image {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.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-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--terracotta);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 3px;
}

.room-info {
    padding: 28px;
}

.room-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.room-desc {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.room-features li {
    font-size: 0.8rem;
    color: var(--warm-gray-light);
    background-color: var(--sand-light);
    padding: 4px 12px;
    border-radius: 3px;
}

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

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

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

.amenity-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.amenity-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sand);
    border-radius: 50%;
    color: var(--terracotta);
}

.amenity-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--charcoal);
}

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

.amenities-image-stack {
    position: relative;
    padding-top: 40px;
}

.amenity-img-large {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.amenity-img-large img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.amenity-img-small {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 55%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

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

/* ── Location Section ── */
.location {
    padding: 120px 0;
    background-color: var(--sand-light);
}

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

.location-content .section-title {
    margin-bottom: 28px;
}

.location-content p {
    color: var(--charcoal-light);
}

.location-highlights {
    list-style: none;
    margin: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

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

.highlight-icon {
    color: var(--terracotta);
    flex-shrink: 0;
}

.location-contact {
    margin-top: 32px;
    padding: 24px;
    background-color: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
}

.location-contact p {
    margin-bottom: 8px;
    color: var(--charcoal-light);
}

.location-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--terracotta);
    font-weight: 500;
    font-size: 1rem;
}

.location-phone:hover {
    color: var(--terracotta-dark);
}

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

/* ── CTA Section ── */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

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

.cta-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to right,
        rgba(44, 36, 32, 0.80) 0%,
        rgba(44, 36, 32, 0.65) 100%
    );
}

.cta-content {
    max-width: 680px;
    text-align: center;
}

.cta-content .section-title {
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(250, 243, 235, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

/* ── Contact Section ── */
.contact {
    padding: 120px 0;
    background-color: var(--cream);
}

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

.contact-info .section-title {
    margin-bottom: 28px;
}

.contact-info p {
    color: var(--charcoal-light);
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sand);
    border-radius: 50%;
    color: var(--terracotta);
}

.contact-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.contact-item a {
    color: var(--terracotta);
}

.contact-item a:hover {
    color: var(--terracotta-dark);
}

/* ── Contact Form ── */
.contact-form-wrap {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--charcoal);
}

.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: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--warm-gray);
    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(--charcoal);
    background-color: var(--sand-light);
    border: 1px solid var(--sand-dark);
    border-radius: 4px;
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 32px;
    color: var(--terracotta);
}

.form-success svg {
    margin: 0 auto 12px;
}

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

/* ── Footer ── */
.footer {
    background-color: var(--charcoal);
    color: rgba(250, 243, 235, 0.7);
    padding: 80px 0 0;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

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

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

.footer-links a {
    color: rgba(250, 243, 235, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(250, 243, 235, 0.6);
}

.footer-contact a:hover {
    color: var(--sand);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 243, 235, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(250, 243, 235, 0.4);
}

.footer-bottom a {
    color: rgba(250, 243, 235, 0.4);
    font-size: 0.8rem;
}

.footer-bottom a:hover {
    color: var(--sand);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .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; }
}

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -8px 0 32px rgba(0,0,0,0.2);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: rgba(250, 243, 235, 0.8) !important;
        font-size: 0.9rem;
    }

    .nav-links a:hover {
        color: var(--sand) !important;
    }

    .nav-cta {
        border-color: rgba(250, 243, 235, 0.3) !important;
        color: var(--sand) !important;
    }

    .nav-cta:hover {
        background-color: var(--terracotta) !important;
        color: var(--white) !important;
        border-color: var(--terracotta) !important;
    }

    .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);
    }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .about-grid,
    .amenities-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-image-wrap {
        order: -1;
    }

    .about-image-wrap img {
        height: 350px;
    }

    .amenities-image-stack {
        order: -1;
        margin-bottom: 40px;
    }

    .amenity-img-large img {
        height: 300px;
    }

    .amenity-img-small {
        width: 50%;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    .contact-form-wrap {
        padding: 28px;
    }
}

@media (max-width: 600px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .about-image-accent {
        top: -12px;
        left: -12px;
        right: 12px;
        bottom: 12px;
    }

    .location-map {
        min-height: 300px;
    }
}
