/* ============================================
   Nice Necessities — Stylesheet
   Classic & elegant · Forest green + off-white
   ============================================ */

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

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

body {
    min-height: 100vh;
    line-height: 1.7;
    color: #253524;
    background-color: #FDFCF8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
}

input, textarea, select, button {
    font-size: 1rem;
    font-family: inherit;
}

/* ---------- Utility ---------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #3D5A3E;
    color: #FDFCF8;
    padding: 0.5rem 1rem;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    font-size: 0.875rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Section Labels ---------- */
.section-label {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #5c7a4f;
    margin-bottom: 1rem;
}

.section-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: #253524;
    margin-bottom: 1.5rem;
}

.section-heading em {
    font-style: italic;
    color: #3D5A3E;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 2px;
    font-family: 'Lato', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--primary {
    background-color: #3D5A3E;
    color: #FDFCF8;
    border: 1.5px solid #3D5A3E;
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background-color: #2f452e;
    border-color: #2f452e;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(61, 90, 62, 0.25);
}

.btn--ghost {
    background-color: transparent;
    color: #FDFCF8;
    border: 1.5px solid rgba(253, 252, 248, 0.6);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
    background-color: rgba(253, 252, 248, 0.1);
    border-color: #FDFCF8;
}

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

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(253, 252, 248, 0);
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 1.25rem 0;
}

.nav.scrolled {
    background-color: rgba(253, 252, 248, 0.97);
    box-shadow: 0 1px 0 rgba(61, 90, 62, 0.1);
    padding: 0.75rem 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #FDFCF8;
    transition: color 0.3s ease;
}

.nav.scrolled .nav__logo {
    color: #253524;
}

.nav__logo-icon {
    color: #FDFCF8;
    transition: color 0.3s ease;
}

.nav.scrolled .nav__logo-icon {
    color: #3D5A3E;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav__link {
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(253, 252, 248, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
    width: 100%;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: #FDFCF8;
}

.nav.scrolled .nav__link {
    color: #5c7a4f;
}

.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link:focus-visible {
    color: #3D5A3E;
}

.nav__link--cta {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(253, 252, 248, 0.4);
    border-radius: 2px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.nav__link--cta:hover {
    background-color: rgba(253, 252, 248, 0.1);
    border-color: rgba(253, 252, 248, 0.8);
}

.nav.scrolled .nav__link--cta {
    border-color: #3D5A3E;
    color: #3D5A3E;
}

.nav.scrolled .nav__link--cta:hover {
    background-color: #3D5A3E;
    color: #FDFCF8;
}

.nav__toggle {
    display: none;
    padding: 0.5rem;
    color: #FDFCF8;
}

.nav.scrolled .nav__toggle {
    color: #253524;
}

.nav__toggle-icon {
    display: block;
}

.nav__toggle-icon--close {
    display: none;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon {
    display: none;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-icon--close {
    display: block;
}

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

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

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

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(19, 28, 19, 0.82) 0%,
        rgba(45, 69, 46, 0.65) 40%,
        rgba(61, 90, 62, 0.50) 70%,
        rgba(37, 53, 36, 0.75) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(253, 252, 248, 0.7);
    margin-bottom: 2rem;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #C8B99A;
    flex-shrink: 0;
}

.hero__headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.25rem, 5.5vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: #FDFCF8;
    margin-bottom: 1.75rem;
}

.hero__em {
    font-style: italic;
    color: #C8B99A;
}

.hero__sub {
    font-family: 'Lato', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    font-weight: 300;
    line-height: 1.7;
    color: rgba(253, 252, 248, 0.8);
    margin-bottom: 2.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(253, 252, 248, 0.5);
    animation: heroScroll 2s ease-in-out infinite;
}

@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ---------- About ---------- */
.about {
    padding: 7rem 0;
    background-color: #FDFCF8;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about__text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #443c2c;
    margin-bottom: 1.25rem;
}

.about__text p:last-child {
    margin-bottom: 0;
}

.about__image {
    position: relative;
}

.about__image-wrapper {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
}

.about__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about__image-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 120px;
    height: 120px;
    border: 1px solid #C8B99A;
    border-radius: 2px;
    z-index: -1;
}

/* ---------- Divider ---------- */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
    background-color: #FDFCF8;
    color: #3D5A3E;
}

/* ---------- Collection ---------- */
.collection {
    padding: 6rem 0 7rem;
    background-color: #F5F1E8;
}

.collection__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.collection__intro {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #443c2c;
}

.collection__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #FDFCF8;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(37, 53, 36, 0.1);
}

.card__img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card__img {
    transform: scale(1.03);
}

.card__body {
    padding: 1.75rem;
}

.card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #253524;
    margin-bottom: 0.75rem;
}

.card__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #837254;
}

/* ---------- Values ---------- */
.values {
    padding: 6rem 0;
    background-color: #3D5A3E;
}

.values__inner {
    text-align: center;
}

.values .section-label {
    color: #C8B99A;
}

.values .section-heading {
    color: #FDFCF8;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.value {
    padding: 2rem 1.5rem;
}

.value__icon {
    color: #C8B99A;
    margin: 0 auto 1.25rem;
    display: flex;
    justify-content: center;
}

.value__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #FDFCF8;
    margin-bottom: 0.75rem;
}

.value__desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(253, 252, 248, 0.7);
}

/* ---------- Visit ---------- */
.visit {
    padding: 7rem 0;
    background-color: #FDFCF8;
}

.visit__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.visit__info h2 {
    margin-bottom: 2rem;
}

.visit__address {
    font-style: normal;
    margin-bottom: 2rem;
}

.visit__street {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.6;
    color: #253524;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.visit__icon {
    flex-shrink: 0;
    margin-top: 4px;
    color: #5c7a4f;
}

.visit__details {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.visit__detail {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1rem;
    color: #443c2c;
}

.visit__detail a {
    color: #3D5A3E;
    border-bottom: 1px solid rgba(61, 90, 62, 0.2);
    transition: border-color 0.3s ease, color 0.3s ease;
}

.visit__detail a:hover,
.visit__detail a:focus-visible {
    color: #2f452e;
    border-color: #2f452e;
}

.visit__hours {
    background-color: #F5F1E8;
    border-radius: 2px;
    padding: 2rem;
}

.visit__hours-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: #253524;
    margin-bottom: 1.25rem;
}

.visit__hours-list {
    list-style: none;
}

.visit__hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(61, 90, 62, 0.1);
    font-size: 0.9375rem;
    color: #443c2c;
}

.visit__hours-row:last-child {
    border-bottom: none;
}

.visit__hours-row--closed span:last-child {
    color: #837254;
    font-style: italic;
}

.visit__hours-note {
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: #837254;
    font-style: italic;
}

.visit__map-wrapper {
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(37, 53, 36, 0.1);
}

.visit__map-wrapper iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ---------- Contact ---------- */
.contact {
    padding: 6rem 0 7rem;
    background-color: #F5F1E8;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

.contact__text {
    max-width: 480px;
}

.contact__text p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #443c2c;
}

.contact__form {
    width: 100%;
    max-width: 520px;
}

.form__group {
    margin-bottom: 1.25rem;
}

.form__input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: #FDFCF8;
    border: 1px solid rgba(61, 90, 62, 0.2);
    border-radius: 2px;
    color: #253524;
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.form__input::placeholder {
    color: #9e8b68;
}

.form__input:focus {
    border-color: #3D5A3E;
    box-shadow: 0 0 0 3px rgba(61, 90, 62, 0.1);
}

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

.form__success {
    display: none;
    align-items: center;
    gap: 0.625rem;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background-color: rgba(61, 90, 62, 0.08);
    border-radius: 2px;
    font-size: 0.9375rem;
    color: #3D5A3E;
    font-weight: 500;
}

.form__success.visible {
    display: flex;
}

/* ---------- Footer ---------- */
.footer {
    background-color: #253524;
    color: rgba(253, 252, 248, 0.7);
    padding: 4rem 0 2rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer__brand {
    max-width: 320px;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #FDFCF8;
    margin-bottom: 1rem;
}

.footer__logo-icon {
    color: #C8B99A;
}

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(253, 252, 248, 0.55);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: rgba(253, 252, 248, 0.7);
    transition: color 0.3s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
    color: #C8B99A;
}

.footer__address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: rgba(253, 252, 248, 0.55);
    margin-top: 0.25rem;
}

.footer__bottom {
    border-top: 1px solid rgba(253, 252, 248, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(253, 252, 248, 0.35);
}

.footer__bottom p {
    margin: 0;
}

/* ---------- 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:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
    .about {
        padding: 8rem 0;
    }

    .about__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .visit__map-wrapper iframe {
        height: 500px;
    }

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

@media (min-width: 768px) {
    .contact__inner {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .nav__toggle {
        display: none;
    }

    .visit__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* ---------- Mobile Menu ---------- */
@media (max-width: 1023px) {
    .nav__toggle {
        display: block;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background-color: #FDFCF8;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }

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

    .nav__menu.open .nav__link {
        color: #253524;
        font-size: 1rem;
    }

    .nav__menu.open .nav__link--cta {
        border-color: #3D5A3E;
        color: #3D5A3E;
    }

    .nav__menu.open .nav__link--cta:hover {
        background-color: #3D5A3E;
        color: #FDFCF8;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(19, 28, 19, 0.5);
        z-index: 98;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        pointer-events: all;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}
