/* ============================================
   Star Shoe Shop — Editorial Beauty Salon
   Color Palette: Forest Green + Off-White
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest: #064e3b;
    --forest-deep: #043a2b;
    --forest-light: #065f46;
    --forest-50: #ecfdf5;
    --forest-100: #d1fae5;
    --cream: #faf9f6;
    --cream-dark: #f5f3ee;
    --warm: #f0ebe3;
    --text-dark: #1a1a1a;
    --text-mid: #3a3a3a;
    --text-light: #6b6b6b;
    --text-on-dark: #f5f3ee;
    --white: #ffffff;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.15;
    color: var(--forest);
}

em {
    font-style: italic;
}

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

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

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

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--forest {
    background: var(--forest);
    color: var(--white);
    padding: 14px 32px;
}

.btn--forest:hover,
.btn--forest:focus-visible {
    background: var(--forest-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline-light {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
    padding: 13px 30px;
}

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

.btn--medium {
    padding: 14px 32px;
    font-size: 0.9375rem;
}

.btn--large {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn--small {
    padding: 10px 22px;
    font-size: 0.8125rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
    font-size: 1rem;
}

/* ============================================
   Section Headers
   ============================================ */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 20px;
}

.section-sub {
    font-size: 1.125rem;
    color: var(--text-mid);
    max-width: 520px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-sub {
    margin: 0 auto;
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
    transition: var(--transition);
}

.site-header.scrolled .nav__logo {
    color: var(--forest);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__links a:not(.btn) {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.03em;
    transition: var(--transition);
    position: relative;
}

.nav__links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: var(--transition);
}

.nav__links a:not(.btn):hover::after {
    width: 100%;
}

.nav__links a:not(.btn):hover {
    color: var(--white);
}

.site-header.scrolled .nav__links a:not(.btn) {
    color: var(--text-mid);
}

.site-header.scrolled .nav__links a:not(.btn):hover {
    color: var(--forest);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.site-header.scrolled .nav__toggle-line {
    background: var(--forest);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 58, 43, 0.92) 0%,
        rgba(6, 78, 59, 0.85) 50%,
        rgba(10, 100, 70, 0.78) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero__eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 24px;
}

.hero__headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

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

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

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--forest-100);
}

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--forest-50);
    color: var(--forest);
    margin-bottom: 24px;
}

.service-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--forest);
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 120px 0;
    background: var(--cream-dark);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__content .section-title {
    margin-bottom: 28px;
}

.about__text {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(6,78,59,0.1);
    border-bottom: 1px solid rgba(6,78,59,0.1);
}

.stat__number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.8125rem;
    color: var(--text-light);
    letter-spacing: 0.03em;
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 120px 0;
    background: var(--cream);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
}

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

.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6,78,59,0);
    transition: var(--transition);
}

.gallery__item:hover::after {
    background: rgba(6,78,59,0.1);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery__item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 2; }
.gallery__item:nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 2; }
.gallery__item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.gallery__item:nth-child(4) { grid-column: 1 / 5; grid-row: 2 / 3; }
.gallery__item:nth-child(5) { grid-column: 5 / 9; grid-row: 2 / 3; }
.gallery__item:nth-child(6) { grid-column: 9 / 13; grid-row: 2 / 3; }

/* ============================================
   Testimonial
   ============================================ */
.testimonial {
    padding: 120px 0;
    background: var(--forest);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.testimonial__inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.testimonial__quote {
    color: rgba(255,255,255,0.2);
    margin-bottom: 32px;
}

.testimonial__text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    color: var(--text-on-dark);
    line-height: 1.65;
    margin-bottom: 32px;
}

.testimonial__author {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--cream-dark);
}

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

.contact__desc {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-decoration: none;
}

.contact__item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact__item svg {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact__value {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact__form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.contact__form-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--forest);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-mid);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input:focus {
    border-color: var(--forest);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(6,78,59,0.1);
}

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

.form-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--forest);
    margin-bottom: 20px;
}

.form-success h4 {
    font-size: 1.5rem;
    color: var(--forest);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-mid);
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--forest-deep);
    color: var(--text-on-dark);
    padding: 80px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer__brand p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 280px;
}

.footer__heading {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer__contact p,
.footer__hours p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer__contact a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__inner {
        gap: 48px;
    }

    .contact__inner {
        gap: 48px;
    }

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

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

    .nav__links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--forest-deep);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    }

    .nav__links.open {
        right: 0;
    }

    .nav__links a:not(.btn) {
        color: rgba(255,255,255,0.8);
        font-size: 1rem;
    }

    .nav__links a:not(.btn):hover {
        color: var(--white);
    }

    .nav__links .btn--forest {
        margin-top: 12px;
    }

    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

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

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

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image {
        max-height: 400px;
    }

    .about__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .gallery__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery__item:nth-child(1),
    .gallery__item:nth-child(2),
    .gallery__item:nth-child(3),
    .gallery__item:nth-child(4),
    .gallery__item:nth-child(5),
    .gallery__item:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery__item {
        height: 240px;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact__form-wrap {
        padding: 32px 24px;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .services,
    .about,
    .gallery,
    .contact {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

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

/* Mobile menu overlay */
.nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}

.nav__overlay.active {
    display: block;
}
