/* ==========================================================================
   Template 2 — Sidebar / Split Layout — Rosa Hair Studio
   Mobile-first, hard-coded, no frameworks.
   ========================================================================== */

:root {
    --plum: #471f34;
    --plum-2: #5b2941;
    --berry: #a83064;
    --berry-dark: #8c2753;
    --gold: #c49a3f;
    --ink: #33262c;
    --muted: #6d5c63;
    --bg: #ffffff;
    --bg-soft: #faf3f5;
    --border: #ecdcdf;
    --radius: 0.75rem;
    --shadow: 0 6px 24px rgba(71, 31, 52, 0.08);
    --shadow-lg: 0 12px 40px rgba(71, 31, 52, 0.14);
    --max: 72rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    line-height: 1.15;
    margin: 0 0 0.5rem;
    color: var(--plum);
    font-weight: 800;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--berry);
    text-decoration: none;
}

a:hover {
    color: var(--berry-dark);
}

a:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

section {
    padding: 3.5rem 0;
}

section[id] {
    scroll-margin-top: 6rem;
}

/* Soft pink background (--bg-soft). */
.section--soft {
    background: var(--bg-soft);
}

/* Salon Services: run the pink background edge-to-edge (full viewport width) to
   match the Contact section. The section sits inside the centered .container +
   .split-layout, so a ::before bleeds it out to both viewport edges. */
#services {
    position: relative;
    isolation: isolate;
}

#services::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc((min(var(--max), 100vw) - 100vw) / 2 - 1.25rem);
    right: calc((min(var(--max), 100vw) - 100vw) / 2 - 1.25rem);
    background: var(--bg-soft);
    z-index: -1;
}

@media (min-width: 960px) {
    #services::before {
        /* Extend past the 20rem sidebar + 3rem grid gap on the right. */
        right: calc((min(var(--max), 100vw) - 100vw) / 2 - 1.25rem - 23rem);
    }
}

.section-head {
    max-width: 40rem;
    margin-bottom: 2.25rem;
}

.section-head .eyebrow,
.hero .eyebrow {
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    font-size: 0.8rem;
}

.section-head .eyebrow {
    color: var(--berry);
}

.section-head h2 {
    font-size: 1.9rem;
}

.section-head p {
    color: var(--muted);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 0.7rem 1.4rem;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
    background: var(--berry);
    color: #fff;
    box-shadow: 0 4px 14px rgba(168, 48, 100, 0.28);
}

.btn-primary:hover {
    background: var(--berry-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--plum);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--berry);
    color: var(--berry);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
    border-color: #fff;
}

.btn-block {
    width: 100%;
}
/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--border);
}

.site-header.is-scrolled {
    box-shadow: 0 4px 16px rgba(71, 31, 52, 0.08);
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    padding-block: 0.6rem;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    height: 46px;
    width: auto;
}

/* Hamburger toggle (mobile) */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
}

.nav-toggle:hover {
    border-color: var(--berry);
}

.nav-toggle-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 1.5rem;
    height: 1.5rem;
}

.nav-toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--plum);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.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);
}

/* Navigation (collapsed on mobile until toggled) */
.site-nav {
    flex-basis: 100%;
    order: 10;
    display: none;
}

.site-nav.is-open {
    display: block;
}

.site-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--border);
}

.site-nav a {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.6rem 0.25rem;
}

.site-nav a:hover {
    color: var(--berry);
}

.site-nav-cta {
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--border);
}

.site-nav-cta .btn {
    width: 100%;
    color: #fff;
}

.site-nav-cta .btn:hover {
    color: #fff;
}

/* Header CTA (desktop only) */
.header-cta {
    display: none;
}
/* Hero — split two-column layout */
/* Left column: text inside the normal .container. Right column: a vertical photo
   (images/template-2-hero-002.jpg) with a 10px white border, inset over a textured
   plum band of 5px wavy stripes. The band is 25% narrower than a half-column and
   bleeds to the right viewport edge on desktop; it stacks below the text on mobile. */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
    color: var(--ink);
    background: var(--bg);
}

.hero-copy {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.hero .eyebrow {
    color: var(--berry);
}

.hero h1 {
    color: var(--plum);
    font-size: 2.4rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.75rem 1.25rem;
    background-color: var(--plum);
    background-image:
        url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='60'%20height='16'%20viewBox='0%200%2060%2016'%3E%3Cpath%20d='M0%208%20C%2015%203,%2045%2013,%2060%208'%20fill='none'%20stroke='rgba(255,255,255,0.18)'%20stroke-width='5'%20stroke-linecap='round'/%3E%3C/svg%3E"),
        linear-gradient(135deg, var(--plum) 0%, var(--plum-2) 100%);
    background-size: 60px 16px, 100% 100%;
}

.hero-media img {
    width: 100%;
    max-width: 24rem;
    height: auto;
    border: 10px solid #fff;
    box-shadow: var(--shadow-lg);
}

/* Split layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    padding-block: 3.5rem;
}

.main-col .section {
    padding: 0 0 3.5rem;
}

/* 25px top spacing on the three main-content sections. Padding-top is used
   instead of margin-top so the space renders *inside* each section and is always
   visible — margin-top on the first section (#services) collapsed into the parent
   and/or rendered outside the full-bleed pink background, so it wasn't showing. */
#services,
#about,
#service-area {
    padding-top: 25px;
}

.main-col .section:last-child {
    padding-bottom: 0;
}

/* Side panel */
.side-panel {
    position: static;
}

.side-panel-inner {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.side-panel-inner h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.hours-list {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: grid;
    gap: 0.6rem;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px dashed var(--border);
}

.hours-list li:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.hours-list span:first-child {
    font-weight: 600;
}

.hours-list span:last-child {
    color: var(--muted);
}

.side-note {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: var(--muted);
}
/* Services */
.services-list {
    display: grid;
    gap: 1rem;
}

.service-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    flex: none;
    border-radius: 0.75rem;
    background: rgba(168, 48, 100, 0.1);
    color: var(--berry);
}

.service-icon svg {
    width: 1.6rem;
    height: 1.6rem;
}

.service-item h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.service-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.trust-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
}

.trust-list svg {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--berry);
    flex: none;
}

/* Service Area */
.area-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.city-chip {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--plum);
}
/* Contact */
.contact-form {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.contact-form--centered {
    max-width: 40rem;
    margin-inline: auto;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font: inherit;
    color: var(--ink);
    background: var(--bg-soft);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--berry);
    box-shadow: 0 0 0 3px rgba(168, 48, 100, 0.16);
    background: #fff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.form-status {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #fdf0f4;
    color: #8c2753;
    font-weight: 600;
    border: 1px solid #f5c8d8;
}

/* Footer */
.site-footer {
    background: var(--plum);
    color: rgba(255, 255, 255, 0.78);
    padding: 3rem 0 1.5rem;
}

.site-footer h3 {
    color: #fff;
    font-size: 1rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
    color: #fff;
}

.footer-brand {
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2rem;
    padding-top: 1.25rem;
    font-size: 0.85rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* Back to RCR Web Services (fixed side button) */
.back-to-rcr {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 40;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: var(--plum);
    border-radius: 999px;
    box-shadow: var(--shadow-lg);
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.back-to-rcr:hover {
    background: var(--plum-2);
    color: #fff;
    transform: translateY(-1px);
}

/* Responsive */
@media (min-width: 640px) {
    section {
        padding: 4.5rem 0;
    }

    section[id] {
        scroll-margin-top: 5rem;
    }

    .split-layout {
        padding-block: 4.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 820px) {
    .header-inner {
        flex-wrap: nowrap;
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        flex-basis: auto;
        order: 0;
        display: block;
        margin-left: auto;
    }

    .site-nav ul {
        flex-direction: row;
        gap: 0.25rem 1.25rem;
        padding: 0;
        border-top: none;
    }

    .site-nav a {
        padding: 0.25rem 0;
        font-size: 0.95rem;
    }

    .site-nav-cta {
        display: none;
    }

    .header-cta {
        display: inline-flex;
        margin-left: 0;
    }

    .hero {
        display: flex;
        align-items: center;
        min-height: 40rem;
    }

    .hero-copy {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .hero-media {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        width: 37.5%;
        justify-content: flex-start;
        padding: 2rem 2.5rem 2rem 1.5rem;
    }
}

@media (min-width: 960px) {
    .split-layout {
        grid-template-columns: minmax(0, 1fr) 20rem;
        gap: 3rem;
    }

    .side-panel {
        position: sticky;
        top: 5.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr 1.1fr;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

@media (min-width: 1200px) {
    .hero-media img {
        margin-left: clamp(-7rem, -6vw, -2.5rem);
    }
}

