/* ============================================
   Sparkle Nails Salon II — Stylesheet
   Charcoal + Coral palette
   ============================================ */

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

:root {
    --charcoal-950: #0d0d0f;
    --charcoal-900: #141417;
    --charcoal-800: #1c1c20;
    --charcoal-700: #2a2a30;
    --charcoal-600: #3a3a42;
    --charcoal-500: #55555f;
    --charcoal-400: #7a7a86;
    --charcoal-300: #a0a0aa;
    --charcoal-200: #c8c8d0;
    --charcoal-100: #e8e8ec;
    --charcoal-50:  #f4f4f6;

    --coral-600: #c0392b;
    --coral-500: #e55039;
    --coral-400: #eb6c4b;
    --coral-300: #f08e72;
    --coral-200: #f5b49a;
    --coral-100: #fad4c0;
    --coral-50:  #fdf0ea;

    --white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--coral-500);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--coral-600); }

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--charcoal-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: 16px;
    color: var(--white);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }

.btn-primary {
    background: var(--coral-500);
    color: var(--white);
    border-color: var(--coral-500);
}
.btn-primary:hover {
    background: var(--coral-600);
    border-color: var(--coral-600);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal-800);
    border-color: var(--charcoal-300);
}
.btn-outline:hover {
    border-color: var(--coral-500);
    color: var(--coral-500);
}

.btn-white {
    background: var(--white);
    color: var(--charcoal-900);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--charcoal-100);
    color: var(--charcoal-900);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-nav {
    background: var(--coral-500);
    color: var(--white);
    border-color: var(--coral-500);
    padding: 9px 20px;
    font-size: 0.875rem;
}
.btn-nav:hover { background: var(--coral-600); border-color: var(--coral-600); color: var(--white); }

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

/* ========== SECTION HELPERS ========== */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--charcoal-900);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    max-width: 520px;
    line-height: 1.6;
}

.section-header {
    margin-bottom: 56px;
}
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--charcoal-100);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal-900);
}
.logo:hover { color: var(--charcoal-900); }
.logo-icon { color: var(--coral-500); }

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-list a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal-600);
    position: relative;
}
.nav-list a:not(.btn):hover { color: var(--coral-500); }
.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--coral-500);
    transition: width var(--transition);
}
.nav-list a:not(.btn):hover::after { width: 100%; }

/* Nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--charcoal-50);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, var(--coral-100) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, var(--coral-50) 0%, transparent 40%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 64px 0;
}

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

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 16px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal-900);
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.0625rem;
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.stat-divider {
    width: 1px;
    height: 32px;
    background: var(--charcoal-200);
}
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-number {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal-900);
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--charcoal-400);
}

/* Hero images */
.hero-image {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 560px;
}
.hero-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-accent {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    align-self: end;
    margin-top: 48px;
}
.hero-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
    position: absolute;
    bottom: 40px;
    left: -24px;
    background: var(--charcoal-900);
    color: var(--white);
    padding: 12px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
}
.hero-badge svg { color: var(--coral-400); flex-shrink: 0; }

/* ========== SERVICES ========== */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--charcoal-50);
    border: 1px solid var(--charcoal-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--coral-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--coral-50);
    color: var(--coral-500);
    margin-bottom: 16px;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 8px;
}

.service-desc {
    font-size: 0.875rem;
    color: var(--charcoal-500);
    line-height: 1.6;
}

/* ========== ABOUT ========== */
.about {
    padding: 100px 0;
    background: var(--charcoal-900);
    color: var(--white);
    overflow: hidden;
}

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

.about-images {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.about-img-side {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    align-self: end;
}
.about-img-side img { width: 100%; height: 100%; object-fit: cover; }

.about-accent-box {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--coral-500);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-accent-box svg { opacity: 0.4; margin-bottom: 6px; }
.about-accent-box .accent-label {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.about-content .section-title { color: var(--white); }
.about-content .section-eyebrow { color: var(--coral-300); }
.about-content .section-sub { color: var(--charcoal-300); }

.about-text {
    font-size: 1rem;
    color: var(--charcoal-300);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 28px 0 32px;
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--charcoal-200);
}
.feature-item svg { color: var(--coral-400); flex-shrink: 0; }

/* ========== CTA BANNER ========== */
.cta-banner {
    padding: 80px 0;
    background: var(--coral-500);
}

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

.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.cta-text p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.85);
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ========== GALLERY ========== */
.gallery {
    padding: 100px 0;
    background: var(--charcoal-50);
}

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--charcoal-200);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ========== CONTACT ========== */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-intro {
    font-size: 1rem;
    color: var(--charcoal-500);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--coral-50);
    color: var(--coral-500);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--charcoal-900);
    margin-bottom: 4px;
}
.contact-item p {
    font-size: 0.9375rem;
    color: var(--charcoal-500);
    line-height: 1.6;
}
.contact-item a { color: var(--coral-500); }
.contact-item a:hover { color: var(--coral-600); }

/* Form */
.contact-form-wrap {
    background: var(--charcoal-50);
    border: 1px solid var(--charcoal-100);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--charcoal-700);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    padding: 10px 14px;
    border: 1.5px solid var(--charcoal-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--charcoal-900);
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral-500);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 16px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius-sm);
    color: #2e7d32;
    font-size: 0.9375rem;
    font-weight: 500;
}
.form-success svg { color: #4caf50; flex-shrink: 0; }

/* ========== MAP ========== */
.map-section {
    padding: 0 0 80px;
    background: var(--white);
}
.map-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--charcoal-900);
    color: var(--charcoal-300);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--charcoal-400);
    max-width: 280px;
}

.footer-links h4,
.footer-hours h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links ul,
.footer-hours ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a,
.footer-hours a,
.footer-contact a {
    font-size: 0.9375rem;
    color: var(--charcoal-400);
}
.footer-links a:hover,
.footer-hours a:hover,
.footer-contact a:hover { color: var(--coral-300); }

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.875rem;
}
.footer-hours .day { color: var(--charcoal-300); }
.footer-hours .time { color: var(--charcoal-400); }

.footer-bottom {
    border-top: 1px solid var(--charcoal-800);
    padding: 20px 0;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--charcoal-500);
    text-align: center;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s 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); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid var(--charcoal-100);
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: none;
    }
    .nav-list.open {
        max-height: 400px;
        box-shadow: var(--shadow-md);
    }
    .nav-list li { width: 100%; }
    .nav-list a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
    }
    .nav-list a:not(.btn)::after { display: none; }
    .nav-list .btn-nav {
        margin: 12px 24px 16px;
        text-align: center;
        display: block;
    }
    .nav-toggle { display: flex; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px 0;
    }
    .hero-content { max-width: 100%; order: 1; }
    .hero-image { order: 2; max-width: 400px; margin: 0 auto; }
    .hero-badge { left: 0; bottom: 24px; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-images { max-width: 480px; }

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

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
    .stat-divider { display: none; }
    .gallery-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .gallery-item img { transition: none; }
}
