/* ═══════════════════════════════════════════════════
   JENNY HAYMORE — HAYMORE HAPPY HOMES
   Global Styles
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&family=Josefin+Sans:wght@300;400;600&display=swap');

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

:root {
    --warm-white: #FDF8F5;
    --blush: #F2C8BE;
    --dusty-rose: #D9A8A0;
    --dusty-rose-dark: #C4908A;
    --sage: #A8B89A;
    --sage-dark: #8AA882;
    --sage-wash: #E1E8DB;
    --charcoal: #3A3530;
    --warm-gray: #7A726C;
    --gold: #C9A96E;
    --cream: #FAF7F2;
    --border: #EDE7DF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
    background-color: var(--warm-white);
}

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

/* ── UTILITY ── */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.eyebrow {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--dusty-rose);
    margin-bottom: 14px;
}

.section-pad {
    padding: 100px 0;
}

.sage-help-section {
    background: var(--sage-wash);
}

.sage-help-section .cta-button {
    background: var(--sage-dark);
}

.sage-help-section .cta-button:hover {
    background: var(--charcoal);
}

/* ── NAVIGATION ── */
.navbar {
    background: rgba(253, 248, 245, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(58, 53, 48, 0.08);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 2rem;
}

.logo-img {
    height: 85px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--warm-gray);
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--dusty-rose);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--charcoal);
}

.contact-btn {
    background: var(--dusty-rose) !important;
    color: white !important;
    padding: 0.65rem 1.6rem !important;
    border-radius: 50px !important;
    letter-spacing: 2px !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.contact-btn::after {
    display: none !important;
}

.contact-btn:hover {
    background: var(--dusty-rose-dark) !important;
    transform: translateY(-1px);
}

/* ── BUTTONS ── */
.cta-button {
    display: inline-block;
    background: var(--dusty-rose);
    color: white;
    padding: 0.9rem 2.4rem;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--dusty-rose-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 168, 160, 0.35);
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--dusty-rose);
    padding: 0.9rem 2.4rem;
    text-decoration: none;
    border-radius: 50px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border: 1.5px solid var(--dusty-rose);
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background: var(--dusty-rose);
    color: white;
    transform: translateY(-2px);
}

.sage-button {
    background: var(--sage);
}

.sage-button:hover {
    background: var(--sage-dark);
    box-shadow: 0 6px 20px rgba(168, 184, 154, 0.35);
}

/* ── SECTION HEADINGS ── */
.section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-heading .eyebrow {
    color: var(--sage);
}

.section-heading h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.2;
}

.section-heading h2 em {
    font-style: italic;
    color: var(--dusty-rose);
}

/* ── CURVED SECTION DIVIDERS ── */
.curve-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.curve-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.curve-divider.flip svg {
    transform: scaleY(-1);
}

/* ── HERO (HOME) ── */
.hero {
    background: linear-gradient(160deg, var(--warm-white) 0%, #F7EDE8 50%, var(--cream) 100%);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--blush);
    opacity: 0.2;
}

.hero-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text .eyebrow {
    margin-bottom: 20px;
}

.hero-text h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 400;
    color: var(--charcoal);
    line-height: 1.12;
    margin-bottom: 1.2rem;
}

.hero-text h1 em {
    font-style: italic;
    color: var(--dusty-rose);
}

.hero-text .tagline {
    font-size: 16px;
    color: var(--warm-gray);
    margin-bottom: 2.2rem;
    line-height: 1.7;
    max-width: 420px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image .headshot {
    width: 100%;
    max-width: 420px;
    border-radius: 200px 200px 20px 20px;
    box-shadow: 0 20px 60px rgba(58, 53, 48, 0.12);
    object-fit: cover;
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: var(--sage);
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(20px);
}

/* ── BIO SECTION (HOME) ── */
.bio-section {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.bio-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.4rem;
}

.bio-content .subtitle {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dusty-rose);
    margin-bottom: 2rem;
}

.bio-content .bio-text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--warm-gray);
    margin-bottom: 2rem;
}

.learn-more {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--dusty-rose);
    text-decoration: none;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: var(--dusty-rose-dark);
}

/* ── FEATURED LISTINGS ── */
.featured-listings {
    padding: 100px 0;
    background: var(--cream);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.listing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(58, 53, 48, 0.06);
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.listing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(58, 53, 48, 0.1);
}

.listing-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.listing-info {
    padding: 1.5rem;
}

.listing-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.3rem;
}

.listing-address {
    font-size: 14px;
    color: var(--warm-gray);
    margin-bottom: 0.3rem;
}

.listing-details {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dusty-rose);
}

.live-listings-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
    max-width: 860px;
    margin: 0 auto;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(58, 53, 48, 0.05);
}

.live-listings-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.live-listings-card > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem;
}

.live-listings-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.live-listings-card p {
    color: var(--warm-gray);
    margin-bottom: 1.75rem;
}

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

/* ── TESTIMONIALS ── */
.testimonials {
    padding: 100px 0;
    background: var(--warm-white);
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(58, 53, 48, 0.05);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    color: var(--blush);
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 1.2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.client-name {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dusty-rose);
    text-align: right;
}

/* ── SCROLLING REVIEWS ── */
.review-scroll-section {
    padding: 90px 0;
    background: var(--cream);
    overflow: hidden;
}

.review-scroll-section.alt {
    background: var(--warm-white);
}

.review-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0.25rem 1.25rem;
    scrollbar-color: var(--dusty-rose) transparent;
}

.review-track::-webkit-scrollbar {
    height: 8px;
}

.review-track::-webkit-scrollbar-track {
    background: transparent;
}

.review-track::-webkit-scrollbar-thumb {
    background: var(--dusty-rose);
    border-radius: 999px;
}

.review-card {
    flex: 0 0 min(380px, 86vw);
    scroll-snap-align: start;
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(58, 53, 48, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-card .stars {
    margin-bottom: 0;
}

.review-card p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--warm-gray);
}

.review-name {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--dusty-rose);
    margin-top: auto;
}

.reviews-link {
    text-align: center;
    margin-top: 2.5rem;
}

/* ── CONTACT SECTION ── */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact.sage-help-section {
    background: var(--sage-wash);
}

.contact .section-heading {
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 0.5rem;
}

.contact-item h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dusty-rose);
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
    color: var(--warm-gray);
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--dusty-rose);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem 1.2rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background: white;
    color: var(--charcoal);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button {
    cursor: pointer;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--dusty-rose);
    box-shadow: 0 0 0 3px rgba(217, 168, 160, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #BEB5AD;
}

/* ── FOOTER ── */
footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 400;
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0.3rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--blush);
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: invert(1);
    mix-blend-mode: screen;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer-brand-logo {
    height: 72px;
    filter: brightness(0) invert(1);
    mix-blend-mode: normal;
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .disclaimer {
    margin-top: 0.4rem;
    font-size: 11px;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58, 53, 48, 0.55), rgba(58, 53, 48, 0.4));
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 400;
    color: white;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.page-hero p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
}

/* ── FEATURED TESTIMONIAL (sidebar) ── */
.featured-testimonial {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border-left: 3px solid var(--sage);
    box-shadow: 0 2px 20px rgba(58, 53, 48, 0.05);
    position: sticky;
    top: 100px;
}

.featured-testimonial .stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.featured-testimonial p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--warm-gray);
    font-style: italic;
    margin-bottom: 1rem;
}

.featured-testimonial span {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage-dark);
}

/* ── HAMBURGER ── */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--charcoal);
    padding: 0.25rem 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text .tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text .cta-button {
        margin: 0 auto;
    }

    .hero-image .headshot {
        max-width: 320px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav-container {
        padding: 0.7rem 1.25rem;
    }

    .logo-img {
        height: 70px;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--warm-white);
        box-shadow: 0 8px 24px rgba(58, 53, 48, 0.08);
        padding: 1rem 0;
        border-top: 1px solid var(--border);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu li {
        padding: 0.85rem 2rem;
    }

    .nav-menu a::after {
        display: none;
    }

    .contact-btn {
        margin: 0.5rem 2rem !important;
        display: inline-block !important;
        text-align: center;
    }

    .navbar {
        position: relative;
    }

    .hero {
        padding: 50px 0 0;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .section-pad {
        padding: 70px 0;
    }

    .listings-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .live-listings-card {
        grid-template-columns: 1fr;
    }

    .live-listings-card img {
        height: 220px;
        min-height: 0;
    }

    .live-listings-card > div {
        padding: 2rem 1.5rem;
    }

    .live-listings-card h3 {
        font-size: 30px;
    }

    .review-scroll-section {
        padding: 70px 0;
    }

    .review-track {
        margin-right: -1.25rem;
        padding-right: 1.25rem;
        gap: 1rem;
    }

    .review-card {
        flex-basis: min(82vw, 340px);
        padding: 1.5rem;
    }

    .contact {
        padding: 70px 0;
    }
}
