/* ========================================
   RICHLAND ACRES — Stylesheet
   Palette: Deep Navy (#0f1c3f) + Warm Gold (#c8a45a)
   Fonts: Playfair Display (headlines) + Inter (body)
   ======================================== */

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

:root {
    --navy:    #0f1c3f;
    --navy-lt: #1a2d56;
    --gold:    #c8a45a;
    --gold-lt: #dbb96e;
    --cream:   #f7f4ee;
    --cream-dk:#ede8dc;
    --white:   #ffffff;
    --charcoal:#2a2a2a;
    --gray:    #6b6b6b;
    --gray-lt: #9a9a9a;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;

    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ---------- SECTION EYEBROW ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-sm);
}

/* ---------- SECTION HEADING ---------- */
.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
    text-transform: uppercase;
}

.btn:active {
    transform: scale(0.97);
}

.btn--gold {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
}

.btn--gold:hover {
    background: var(--gold-lt);
    border-color: var(--gold-lt);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 164, 90, 0.3);
}

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

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 28, 63, 0.0);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(15, 28, 63, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.nav__logo-icon {
    width: 28px;
    height: 28px;
    background: var(--gold);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.nav__logo-icon::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--navy);
    border-radius: 50%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.03em;
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width var(--transition);
}

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

.nav__link:hover::after {
    width: 100%;
}

.nav__link--cta {
    background: var(--gold);
    color: var(--navy);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

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

.nav__link--cta:hover {
    background: var(--gold-lt);
    color: var(--navy);
}

/* Mobile nav */
@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-md);
        padding: var(--space-xl);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav__menu.open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav__link--cta {
        margin-top: var(--space-sm);
    }

    .nav__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav__overlay.visible {
        display: block;
    }
}

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

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

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 28, 63, 0.92) 0%,
        rgba(15, 28, 63, 0.75) 50%,
        rgba(15, 28, 63, 0.6) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--space-xl) var(--space-md);
    text-align: center;
}

.hero__eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.hero__headline em {
    font-style: italic;
    color: var(--gold);
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto var(--space-lg);
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--gold), 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 ---------- */
.about {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about__text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: var(--space-md);
}

.about__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15, 28, 63, 0.15);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about__image:hover img {
    transform: scale(1.03);
}

@media (max-width: 900px) {
    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__image {
        order: -1;
    }
}

/* ---------- FEATURES ---------- */
.features {
    padding: var(--space-3xl) 0;
    background: var(--navy);
}

.features__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.features__header .section-heading {
    color: var(--white);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: background var(--transition), transform var(--transition);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(200, 164, 90, 0.15);
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.feature-card__title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.feature-card__title em {
    color: var(--gold);
    font-style: italic;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 900px) {
    .features__grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

/* ---------- MENU ---------- */
.menu {
    padding: var(--space-3xl) 0;
    background: var(--cream);
}

.menu__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.menu__subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 480px;
    margin: 0 auto;
}

.menu__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto var(--space-lg);
}

.menu__column-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.menu__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.menu__item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(15, 28, 63, 0.1);
}

.menu__item-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
}

.menu__item-desc {
    font-size: 0.875rem;
    color: var(--gray-lt);
    font-style: italic;
}

.menu__note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-lt);
    font-style: italic;
}

@media (max-width: 700px) {
    .menu__split {
        grid-template-columns: 1fr;
    }
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

.gallery__header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item--wide {
    grid-column: span 7;
}

.gallery__item:not(.gallery__item--wide) {
    grid-column: span 5;
}

.gallery__item:nth-child(2) {
    grid-row: 2;
}

.gallery__item:nth-child(3) {
    grid-row: 1;
}

.gallery__item:nth-child(4) {
    grid-row: 2;
}

.gallery__item:nth-child(5) {
    grid-row: 1;
    grid-column: span 5;
}

@media (max-width: 768px) {
    .gallery__grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery__item,
    .gallery__item--wide {
        grid-column: span 1;
    }

    .gallery__item:nth-child(5) {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .gallery__grid {
        grid-template-columns: 1fr;
    }

    .gallery__item,
    .gallery__item--wide {
        grid-column: span 1;
    }

    .gallery__item:nth-child(5) {
        grid-column: span 1;
    }
}

/* ---------- VISIT ---------- */
.visit {
    padding: var(--space-3xl) 0;
    background: var(--cream-dk);
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.visit__info h2 {
    margin-bottom: var(--space-lg);
}

.visit__address {
    font-style: normal;
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 1.05rem;
    color: var(--charcoal);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.visit__addr-icon {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.visit__hours-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-sm);
}

.visit__hours-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.visit__hours-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(15, 28, 63, 0.1);
    font-size: 0.95rem;
}

.visit__day {
    color: var(--charcoal);
    font-weight: 500;
}

.visit__time {
    color: var(--gray);
}

.visit__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(15, 28, 63, 0.12);
    position: relative;
}

.visit__map-link {
    display: block;
    position: relative;
}

.visit__map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.visit__map-overlay {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--navy);
    color: var(--white);
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: background var(--transition);
}

.visit__map-overlay:hover {
    background: var(--navy-lt);
}

@media (max-width: 900px) {
    .visit__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- CONTACT ---------- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--navy);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact__details h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.contact__blurb {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-lg);
    max-width: 440px;
}

.contact__dl {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact__dl-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.contact__dl-item dt {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 164, 90, 0.15);
    border-radius: var(--radius-sm);
    color: var(--gold);
}

.contact__dl-item dd {
    margin: 0;
}

.contact__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.25rem;
}

.contact__dl-item dd a {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    transition: color var(--transition);
}

.contact__dl-item dd a:hover {
    color: var(--gold);
}

/* Form */
.contact__form-wrap {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.form__group {
    margin-bottom: var(--space-md);
}

.form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.form__input,
.form__textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--white);
    transition: border-color var(--transition), background var(--transition);
    outline: none;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__success {
    margin-top: var(--space-md);
    padding: var(--space-sm);
    background: rgba(200, 164, 90, 0.15);
    border: 1px solid rgba(200, 164, 90, 0.3);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 900px) {
    .contact__grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- FOOTER ---------- */
.footer {
    background: #090f21;
    padding: var(--space-xl) 0 var(--space-md);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__logo-icon {
    width: 36px;
    height: 36px;
    background: var(--gold);
    border-radius: 50%;
    margin-bottom: var(--space-xs);
    position: relative;
}

.footer__logo-icon::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--navy);
    border-radius: 50%;
}

.footer__name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer__nav-list {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer__nav-list a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}

.footer__nav-list a:hover {
    color: var(--gold);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-md);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .footer__top {
        flex-direction: column;
    }

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

/* ---------- 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 — keep everything visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
