/* =====================================================================
   Bar Nails & Spa — styles.css
   Palette: teal / aqua marble, gold, warm cream, espresso brown
   ===================================================================== */

:root {
    --ink: #22302f;          /* near-black teal for text */
    --ink-soft: #4d5f5d;
    --cream: #faf6ef;        /* page background */
    --cream-2: #f3ece0;      /* alt section background */
    --white: #ffffff;

    --teal: #2f6f6a;         /* primary teal */
    --teal-deep: #1f4a47;    /* deep teal / headers */
    --teal-soft: #dcece9;

    --gold: #c9a24b;         /* accent gold */
    --gold-deep: #a9812f;    /* gold text on light */
    --gold-soft: #ead9b0;

    --brown: #4b3a30;        /* espresso */
    --line: #cdbfa8;         /* dotted leaders / borders */

    --max: 1160px;
    --radius: 14px;
    --shadow: 0 18px 45px -22px rgba(31, 74, 71, 0.55);
    --shadow-sm: 0 8px 24px -14px rgba(31, 74, 71, 0.5);

    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --script: "Great Vibes", cursive;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--teal-deep); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: 1.5rem; }
em { font-style: italic; }

.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gold-deep);
    margin-bottom: 0.9rem;
}

.section-head { max-width: 640px; margin: 0 auto 2.8rem; }
.section-head.center { margin-inline: auto; }
.section-lede { color: var(--ink-soft); margin-top: 0.8rem; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: var(--sans);
    font-weight: 500;
    letter-spacing: 0.06em;
    font-size: 0.86rem;
    text-transform: uppercase;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: 1.5px solid transparent;
    white-space: nowrap;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(169, 129, 47, 0.65); }
.btn-ghost { background: transparent; color: var(--teal-deep); border-color: var(--teal-deep); }
.btn-ghost:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); }

/* ---------- Topbar ---------- */
.topbar {
    background: var(--teal-deep);
    color: var(--gold-soft);
    text-align: center;
    font-size: 0.76rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 246, 239, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(205, 191, 168, 0.4);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px -20px rgba(31, 74, 71, 0.6); background: rgba(250, 246, 239, 0.97); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-mark {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--teal-deep), var(--teal));
    color: var(--gold);
    font-family: var(--serif); font-weight: 700; font-size: 1.35rem;
    box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.5);
}
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--teal-deep); letter-spacing: 0.01em; }
.brand-name .amp { color: var(--gold-deep); font-style: italic; }

.nav-links { list-style: none; display: flex; align-items: center; gap: 1.9rem; }
.nav-links a { font-size: 0.9rem; letter-spacing: 0.05em; color: var(--ink); position: relative; }
.nav-links a:not(.btn):hover { color: var(--gold-deep); }
.nav-links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
    background: var(--gold); transition: width 0.25s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-cta .btn { padding: 0.6rem 1.4rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--teal-deep); transition: transform 0.25s ease, opacity 0.2s ease; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; image-orientation: from-image; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(105deg, rgba(19, 42, 40, 0.82) 0%, rgba(19, 42, 40, 0.55) 45%, rgba(19, 42, 40, 0.25) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding-block: 4rem; }
.hero-content .eyebrow { color: var(--gold-soft); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; }
.hero h1 em { color: var(--gold-soft); }
.hero-sub { margin: 1.4rem 0 2rem; font-size: 1.12rem; max-width: 34em; color: rgba(255,255,255,0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .btn-ghost:hover { background: #fff; color: var(--teal-deep); }
.hero-phone { margin-top: 1.6rem; font-size: 0.95rem; color: rgba(255,255,255,0.85); letter-spacing: 0.03em; }
.hero-phone a { color: var(--gold-soft); border-bottom: 1px solid rgba(234, 217, 176, 0.5); }

/* ---------- About ---------- */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-img-lg { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; image-orientation: from-image; }
.about-img-sm {
    position: absolute; right: -18px; bottom: -32px; width: 44%;
    border-radius: 12px; border: 5px solid #fff; box-shadow: var(--shadow);
    aspect-ratio: 1/1; object-fit: cover; image-orientation: from-image;
}
.about-text h2 { margin-bottom: 1.1rem; }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-badges { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; margin-top: 1.8rem; }
.about-badges div { display: flex; flex-direction: column; line-height: 1.25; }
.about-badges strong { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-deep); font-weight: 600; }
.about-badges span { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Services ---------- */
.services { background: var(--cream-2); }
.service-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.service-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-img { aspect-ratio: 4/3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; image-orientation: from-image; transition: transform 0.5s ease; }
.service-card:hover .service-img img { transform: scale(1.06); }
.service-card h3 { margin: 1.2rem 1.3rem 0.5rem; font-size: 1.3rem; }
.service-card p { margin: 0 1.3rem; color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.link-arrow { display: inline-block; margin: 1rem 1.3rem 1.4rem; color: var(--gold-deep); font-size: 0.85rem; letter-spacing: 0.06em; font-weight: 500; }
.link-arrow:hover { color: var(--teal-deep); }

/* ---------- Eyelash feature ---------- */
.lashes { background: var(--teal-deep); color: #fff; }
.lashes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lashes h2 { color: #fff; margin-bottom: 1.1rem; max-width: 12ch; }
.lashes .eyebrow { color: var(--gold-soft); }
.lashes-text p { color: rgba(255,255,255,0.85); }
.lash-list { list-style: none; margin: 1.6rem 0 2rem; border-top: 1px solid rgba(234, 217, 176, 0.25); }
.lash-list li {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 0.7rem 0; border-bottom: 1px solid rgba(234, 217, 176, 0.25);
    font-size: 1.05rem;
}
.lash-list li b { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-soft); font-weight: 600; }
.lash-note { margin-top: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.lashes-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; image-orientation: from-image; }

/* ---------- Menu ---------- */
.menu { background: var(--cream); }
.menu-block { margin-bottom: 2.6rem; }
.menu-block-title {
    font-size: 1.55rem; color: var(--teal-deep); position: relative;
    padding-bottom: 0.5rem; margin-bottom: 1rem;
    display: flex; align-items: baseline; gap: 0.6rem;
}
.menu-block-title::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}
.menu-block-sub { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }

.menu-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }

.menu-list { display: flex; flex-direction: column; }
.menu-item { display: flex; align-items: flex-end; gap: 0.5rem; padding: 0.36rem 0; }
.menu-item-name { flex: 1 1 auto; display: flex; align-items: baseline; color: var(--ink); font-weight: 300; }
.menu-item-name::after {
    content: ""; flex: 1 1 auto; border-bottom: 1.5px dotted var(--line);
    margin-left: 0.6rem; transform: translateY(-4px);
}
.menu-item-price { flex: 0 0 auto; font-weight: 500; color: var(--gold-deep); font-family: var(--serif); font-size: 1.1rem; }

.menu-list-wide { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 4vw, 3.5rem); }

.menu-note { margin-top: 0.8rem; font-size: 0.88rem; color: var(--ink-soft); font-style: italic; }

/* Signature pedicure cards */
.pedi-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.pedi-card {
    background: #fff; border-radius: var(--radius); padding: 1.5rem 1.4rem;
    box-shadow: var(--shadow-sm); border-top: 3px solid var(--gold);
    display: flex; flex-direction: column;
}
.pedi-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.6rem; margin-bottom: 0.6rem; }
.pedi-head h4 { font-size: 1.22rem; color: var(--teal-deep); }
.pedi-price { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--gold-deep); }
.pedi-card p { font-size: 0.92rem; color: var(--ink-soft); }
.menu-cta { margin-top: 1rem; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--white); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testi-card {
    background: var(--cream); border-radius: var(--radius); padding: 2rem 1.8rem;
    box-shadow: var(--shadow-sm); position: relative;
}
.testi-card::before {
    content: "\201C"; font-family: var(--serif); font-size: 4.5rem; line-height: 1;
    color: var(--gold-soft); position: absolute; top: 0.4rem; left: 1.1rem;
}
.testi-card blockquote { position: relative; font-family: var(--serif); font-size: 1.18rem; font-style: italic; color: var(--ink); line-height: 1.5; }
.testi-card figcaption { margin-top: 1.1rem; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }

/* ---------- Visit ---------- */
.visit { background: var(--cream-2); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.visit-row { margin-top: 1.5rem; }
.visit-row h3 { font-size: 1.1rem; letter-spacing: 0.02em; margin-bottom: 0.3rem; color: var(--teal-deep); }
.visit-row a { color: var(--ink-soft); }
.visit-row a:hover { color: var(--gold-deep); }
.visit-lede { color: var(--ink-soft); margin-top: 0.6rem; }
.hours-flag { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); font-weight: 500; }
.hours { list-style: none; max-width: 340px; }
.hours li { display: flex; justify-content: space-between; padding: 0.35rem 0; border-bottom: 1px dotted var(--line); color: var(--ink-soft); font-size: 0.95rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,0.82); padding-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-brand .brand-mark { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name .amp { color: var(--gold-soft); }
.footer-brand p { margin-top: 0.4rem; max-width: 30ch; font-size: 0.92rem; color: rgba(255,255,255,0.6); }
.footer-col h4 { color: var(--gold-soft); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; margin-bottom: 0.6rem; font-size: 0.95rem; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 1.3rem 0; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .service-cards { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .lashes-grid, .visit-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 560px; margin: 0 auto 2.5rem; }
    .lashes-media { max-width: 460px; margin: 0 auto; }
    .lashes-media img { aspect-ratio: 16/10; }
    .testi-grid { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
}

@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 74px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--cream); border-bottom: 1px solid rgba(205,191,168,0.5);
        box-shadow: var(--shadow-sm);
        max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
    }
    .nav-open .nav-links { max-height: 420px; }
    .nav-links li { padding: 0 1.4rem; }
    .nav-links li + li { border-top: 1px solid rgba(205,191,168,0.4); }
    .nav-links a:not(.btn) { display: block; padding: 0.95rem 0; }
    .nav-links a:not(.btn)::after { display: none; }
    .nav-cta { padding: 1rem 1.4rem !important; }
    .nav-cta .btn { display: block; text-align: center; }
    .menu-columns, .menu-list-wide { grid-template-columns: 1fr; }
    .about-img-sm { display: none; }
}

@media (max-width: 480px) {
    .service-cards { grid-template-columns: 1fr; }
    .hero-actions .btn { flex: 1 1 auto; text-align: center; }
    .brand-name { font-size: 1.2rem; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
