/* ============================================
   SHEAR DESIGNS — Classic & Elegant Salon Site
   ============================================ */

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

:root {
    --teal-50:  #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    --slate-50:  #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    --gold-400: #d4a853;
    --gold-500: #c49a3c;
    --gold-600: #b08630;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans:  'Lato', 'Segoe UI', system-ui, sans-serif;

    --shadow-sm:  0 1px 3px rgba(2,6,23,.08), 0 1px 2px rgba(2,6,23,.06);
    --shadow-md:  0 4px 16px rgba(2,6,23,.10), 0 2px 6px rgba(2,6,23,.06);
    --shadow-lg:  0 12px 40px rgba(2,6,23,.14), 0 4px 12px rgba(2,6,23,.08);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--teal-700);
    text-decoration: none;
    transition: color .2s;
}
a:hover { color: var(--teal-600); }

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--teal-900);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 700;
}
.skip-link:focus {
    top: 1rem;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-900);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: .75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--slate-900);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    max-width: 540px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .04em;
    padding: .85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .15s, box-shadow .25s;
    text-decoration: none;
}
.btn:hover {
    transform: translateY(-2px);
    color: inherit;
}

.btn-teal {
    background: var(--teal-700);
    color: #fff;
    border-color: var(--teal-700);
}
.btn-teal:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background: var(--gold-500);
    color: var(--slate-900);
    border-color: var(--gold-500);
}
.btn-gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    color: var(--slate-900);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
}

.btn-outline-teal {
    background: transparent;
    color: var(--teal-700);
    border-color: var(--teal-700);
}
.btn-outline-teal:hover {
    background: var(--teal-700);
    color: #fff;
}

.btn-sm {
    padding: .55rem 1.2rem;
    font-size: .82rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    color: var(--slate-900);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    font-style: italic;
    color: var(--teal-700);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--teal-700);
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: .02em;
}

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

.main-nav a {
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--slate-600);
    transition: color .2s;
}
.main-nav a:hover { color: var(--teal-700); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.hamburger {
    position: relative;
    margin: 0 auto;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

/* ---------- HERO ---------- */
.hero {
    background: var(--teal-950);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 85vh;
    padding: 4rem 0;
}

.hero-content {
    padding-right: 1rem;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--teal-200);
    line-height: 1.75;
    margin-bottom: 2.25rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge-light {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--teal-200);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    padding: .45rem .9rem;
    border-radius: 50px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 820px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold-400);
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: .6;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* ---------- SERVICES ---------- */
.services {
    padding: 6rem 0;
    background: var(--slate-50);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-200);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
    margin-bottom: 1.25rem;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: .65rem;
}

.service-desc {
    font-size: .92rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
    padding: 6rem 0;
    background: #fff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-group {
    position: relative;
}

.about-image-main img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border: 5px solid #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.about-image-secondary img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.about-experience {
    position: absolute;
    top: -20px;
    right: 30px;
    background: var(--teal-900);
    color: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}
.about-experience .exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.about-experience .exp-label {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    opacity: .8;
}

.about-content .section-title {
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--slate-200);
}

.value-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--slate-700);
}
.value-item svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 6rem 0 5rem;
    background: var(--slate-50);
}

.gallery .container:first-child {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2,6,23,.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity .35s;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    background: var(--teal-900);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(13,148,136,.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-eyebrow { color: var(--gold-400); }
.cta-title { color: #fff; margin-bottom: 1rem; }
.cta-text  { color: var(--teal-200); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2.25rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }

/* ---------- CONTACT ---------- */
.contact {
    padding: 6rem 0;
    background: #fff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-intro {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.contact-details {
    font-style: normal;
    margin-bottom: 2.5rem;
}

.contact-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
}

.contact-row strong {
    display: block;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--slate-400);
    margin-bottom: .2rem;
}
.contact-row p,
.contact-row a {
    font-size: .95rem;
    color: var(--slate-700);
    line-height: 1.6;
    margin: 0;
}
.contact-row a:hover { color: var(--teal-700); }

.hours {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
}
.hours strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: .75rem;
}
.hours ul {
    list-style: none;
}
.hours li {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    font-size: .9rem;
    color: var(--slate-600);
    padding: .4rem 0;
    border-bottom: 1px solid var(--slate-200);
}
.hours li:last-child { border-bottom: none; }

/* ---------- FORM ---------- */
.contact-form-wrapper {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 1.75rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    font-family: var(--font-sans);
    font-size: .95rem;
    color: var(--slate-800);
    background: #fff;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-600);
    box-shadow: 0 0 0 3px rgba(13,148,136,.15);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: .5rem;
    margin-top: 1rem;
    padding: 1rem;
    background: var(--teal-50);
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-sm);
    color: var(--teal-800);
    font-size: .9rem;
    font-weight: 600;
}
.form-success.visible {
    display: flex;
}
.form-success svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--slate-950);
    color: var(--slate-400);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
}

.footer-brand .logo-text { color: #fff; }
.footer-brand p {
    margin-top: 1rem;
    font-size: .9rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-nav strong,
.footer-contact strong {
    display: block;
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--slate-300);
    margin-bottom: 1rem;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
}
.footer-nav li,
.footer-contact li {
    margin-bottom: .5rem;
}
.footer-nav a,
.footer-contact a {
    font-size: .9rem;
    color: var(--slate-400);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--gold-400); }

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 1.5rem 0;
}
.footer-bottom .container {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    text-align: center;
}
.footer-bottom p {
    font-size: .82rem;
    color: var(--slate-500);
    margin: 0;
}
.footer-bottom a { color: var(--slate-400); }
.footer-bottom a:hover { color: var(--gold-400); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-700);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s, visibility .3s, transform .3s, background .2s;
    z-index: 90;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover { background: var(--teal-800); }

/* ---------- MOBILE NAV OVERLAY ---------- */
@media (max-width: 900px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(12px);
        padding: 2rem 1.5rem;
        transform: translateX(100%);
        transition: transform .35s ease;
        z-index: 99;
    }
    .main-nav.open { transform: translateX(0); }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .main-nav a {
        font-size: 1.1rem;
        color: var(--slate-700);
    }
    .main-nav .btn {
        margin-top: .5rem;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding: 3rem 0 5rem;
    }
    .hero-content { padding-right: 0; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-badges { justify-content: center; }
    .hero-image { max-width: 480px; margin: 0 auto; }
    .hero-image img { height: 560px; }
    .hero-image-accent { display: none; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .about-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-group { max-width: 500px; }

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

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

    .header-inner { height: 64px; }
    .logo-text { font-size: 1.2rem; }

    .hero { padding-top: 2rem; }
    .hero-container { padding: 2rem 0 3rem; }
    .hero-image img { height: 400px; }

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

    .about-image-secondary { display: none; }
    .about-experience { right: 0; }
    .about-values { grid-template-columns: 1fr; }

    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom .container { text-align: left; }

    .form-row { grid-template-columns: 1fr; }

    .cta-actions { flex-direction: column; align-items: center; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .gallery-item,
    .back-to-top {
        transition: transform .3s, box-shadow .3s, opacity .3s;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
