/* ============================================
   JP Hair Salon — Styles
   Clean minimalist · Burgundy & Blush
   ============================================ */

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fdfbfb;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #722F37;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    z-index: 200;
    font-size: 14px;
}

.skip-link:focus {
    top: 16px;
}

/* ---- Typography ---- */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #722F37;
    margin-bottom: 16px;
}

.section-eyebrow.light {
    color: rgba(255, 255, 255, 0.65);
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 300;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.section-title.light {
    color: #fff;
}

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

.btn-burgundy {
    background: #722F37;
    color: #fff;
    border: 1px solid #722F37;
}

.btn-burgundy:hover,
.btn-burgundy:focus-visible {
    background: #5a252c;
    border-color: #5a252c;
}

.btn-outline {
    background: transparent;
    color: #722F37;
    border: 1px solid #722F37;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: #722F37;
    color: #fff;
}

.btn-light {
    background: #fff;
    color: #722F37;
    border: 1px solid #fff;
}

.btn-light:hover,
.btn-light:focus-visible {
    background: rgba(255, 255, 255, 0.9);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-full {
    width: 100%;
}

/* ---- Link Arrow ---- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #722F37;
    border-bottom: 1px solid rgba(114, 47, 55, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
    margin-top: 8px;
}

.link-arrow:hover {
    border-color: #722F37;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 251, 251, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(114, 47, 55, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 400;
    color: #722F37;
    letter-spacing: 0.02em;
}

.nav-logo-divider {
    width: 1px;
    height: 16px;
    background: rgba(114, 47, 55, 0.3);
}

.nav-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #1a1a1a;
}

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

.nav-menu a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #722F37;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #722F37;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 11px !important;
    padding: 10px 22px;
    background: #722F37;
    color: #fff !important;
    border-radius: 2px;
    letter-spacing: 0.12em;
    transition: background 0.3s ease !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: #5a252c;
    color: #fff !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1px;
    background: #1a1a1a;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: #fdfbfb;
    overflow: hidden;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #722F37;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 28px;
    letter-spacing: -0.015em;
}

.hero-headline em {
    font-style: italic;
    color: #722F37;
}

.hero-sub {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-address {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: #999;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    border-radius: 2px;
}

/* Decorative line */
.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 1px solid rgba(114, 47, 55, 0.2);
    border-right: 1px solid rgba(114, 47, 55, 0.2);
    z-index: -1;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-bottom: 1px solid rgba(114, 47, 55, 0.2);
    border-left: 1px solid rgba(114, 47, 55, 0.2);
    z-index: -1;
}

/* ---- Intro Strip ---- */
.intro {
    padding: 48px 0;
    border-top: 1px solid rgba(114, 47, 55, 0.08);
    border-bottom: 1px solid rgba(114, 47, 55, 0.08);
}

.intro-grid {
    display: flex;
    align-items: center;
    gap: 0;
}

.intro-stat {
    flex: 1;
    text-align: center;
    padding: 0 32px;
}

.intro-stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.intro-stat-label {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
}

.intro-divider {
    width: 1px;
    height: 40px;
    background: rgba(114, 47, 55, 0.15);
    flex-shrink: 0;
}

/* ---- Services ---- */
.services {
    padding: 120px 0;
}

.services-header {
    margin-bottom: 64px;
}

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

.service-card {
    padding: 48px 40px;
    border: 1px solid rgba(114, 47, 55, 0.08);
    margin-bottom: -1px;
    margin-right: -1px;
    transition: all 0.4s ease;
    position: relative;
}

.service-card:hover {
    background: #fdfbfb;
    border-color: rgba(114, 47, 55, 0.2);
}

.service-card-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: rgba(114, 47, 55, 0.12);
    line-height: 1;
    margin-bottom: 24px;
}

.service-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 14px;
    letter-spacing: -0.005em;
}

.service-card-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
}

/* ---- About ---- */
.about {
    padding: 120px 0;
    background: #f9f5f4;
}

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

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 2px;
}

.about-content {
    max-width: 480px;
}

.about-body {
    font-size: 15px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.about-body em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #722F37;
}

/* ---- Gallery ---- */
.gallery {
    padding: 120px 0;
}

.gallery-header {
    margin-bottom: 64px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 2px;
}

.gallery-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

/* ---- Testimonials ---- */
.testimonials {
    padding: 120px 0;
    background: #722F37;
}

.testimonials .section-eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.testimonials .section-title {
    color: #fff;
    margin-bottom: 64px;
}

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

.testimonial {
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.testimonial-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.testimonial-footer {
    margin: 0;
}

.testimonial-name {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- CTA ---- */
.cta {
    padding: 120px 0;
    background: #f9f5f4;
}

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

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 300;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta-body {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* ---- Contact ---- */
.contact {
    padding: 120px 0;
}

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

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(114, 47, 55, 0.08);
}

.contact-item-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #999;
}

.contact-item-value {
    font-size: 15px;
    line-height: 1.7;
    color: #1a1a1a;
}

.contact-item-value a {
    color: #722F37;
    border-bottom: 1px solid rgba(114, 47, 55, 0.2);
    transition: border-color 0.3s ease;
}

.contact-item-value a:hover {
    border-color: #722F37;
}

/* ---- Contact Form ---- */
.contact-form-wrap {
    background: #f9f5f4;
    padding: 48px;
    border-radius: 2px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #999;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #1a1a1a;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(114, 47, 55, 0.15);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-input::placeholder {
    color: #bbb;
}

.form-input:focus {
    border-color: #722F37;
}

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

.form-success {
    text-align: center;
    padding: 16px;
    font-size: 14px;
    color: #722F37;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
}

/* ---- Footer ---- */
.footer {
    padding: 48px 0;
    border-top: 1px solid rgba(114, 47, 55, 0.08);
    background: #fdfbfb;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #722F37;
    letter-spacing: 0.02em;
}

.footer-copy {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: #666;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #722F37;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.footer-contact a {
    font-size: 13px;
    color: #666;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #722F37;
}

/* ---- 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);
    }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }

    .about-grid {
        gap: 48px;
    }

    .contact-grid {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 251, 251, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(114, 47, 55, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

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

    .hero-image {
        order: -1;
    }

    .hero-image img {
        height: 50vh;
    }

    .hero-image::before,
    .hero-image::after {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

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

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

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

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 400px;
    }

    .about-content {
        max-width: 100%;
    }

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

    .gallery-item img {
        height: 280px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

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

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-contact {
        text-align: center;
    }

    .intro-grid {
        flex-direction: column;
        gap: 24px;
    }

    .intro-divider {
        width: 40px;
        height: 1px;
    }

    .intro-stat {
        text-align: center;
    }
}

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

    .hero-headline {
        font-size: clamp(36px, 10vw, 48px);
    }

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

    .gallery-item img {
        height: 320px;
    }

    .service-card {
        padding: 32px 24px;
    }
}
