/* ============================================
   FRANKIE V NAILS — Editorial Brand Site
   Charcoal + Coral palette
   ============================================ */

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

:root {
    --charcoal-900: #1a1a1a;
    --charcoal-800: #2a2a2a;
    --charcoal-700: #3a3a3a;
    --charcoal-600: #4a4a4a;
    --charcoal-500: #6b6b6b;
    --charcoal-100: #f0eeeb;
    --charcoal-50:  #f7f6f4;

    --coral-600: #c4554a;
    --coral-500: #E86A5B;
    --coral-400: #f08578;
    --coral-300: #f5a99e;
    --coral-100: #fdf0ee;

    --white: #ffffff;
    --cream: #faf8f6;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal-800);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--coral-500);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    z-index: 1000;
    font-weight: 500;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 26, 26, 0.0);
    transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-logo-accent {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--coral-500);
    letter-spacing: 0.02em;
    width: 36px;
    height: 36px;
    border: 2px solid var(--coral-500);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--coral-500);
    transition: width 0.3s var(--ease-out);
}

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

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

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.hamburger {
    position: relative;
    width: 22px;
    height: 14px;
    display: block;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), top 0.2s var(--ease-out);
}

.hamburger::before { top: 0; }
.hamburger::after { bottom: 0; }

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

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 6px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn-coral {
    background: var(--coral-500);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(232, 106, 91, 0.3);
}

.btn-coral:hover {
    background: var(--coral-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232, 106, 91, 0.4);
}

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

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

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

.btn-large {
    padding: 1.1rem 2.25rem;
    font-size: 0.9rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.88) 0%,
        rgba(26, 26, 26, 0.72) 50%,
        rgba(26, 26, 26, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    width: 100%;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral-400);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 1.75rem;
    max-width: 800px;
}

.hero-headline .text-coral {
    color: var(--coral-400);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral-500);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--charcoal-900);
}

.section-title .text-coral {
    color: var(--coral-500);
    font-style: italic;
}

.text-coral {
    color: var(--coral-500);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 7rem 0;
    background: var(--cream);
}

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

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2.25rem;
    transition: all 0.4s var(--ease-out);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--coral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--coral-500);
}

.service-icon svg {
    width: 26px;
    height: 26px;
}

.service-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 0.75rem;
}

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

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 7rem 0;
    background: var(--charcoal-900);
    color: var(--white);
}

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

.about-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.about-image-wrap:hover img {
    transform: scale(1.03);
}

.about-content .section-title {
    color: var(--white);
    margin-bottom: 1.75rem;
}

.about-text {
    font-size: 1.025rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral-400);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 7rem 0;
    background: var(--cream);
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0);
    transition: background 0.3s;
    border-radius: 12px;
}

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

.gallery-item:hover::after {
    background: rgba(26, 26, 26, 0.15);
}

/* ============================================
   HOURS & CONTACT
   ============================================ */
.hours {
    padding: 7rem 0;
    background: var(--white);
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.hours-card {
    background: var(--charcoal-900);
    border-radius: 16px;
    padding: 3rem;
    color: var(--white);
}

.hours-title {
    margin-bottom: 2rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.hours-time {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.hours-closed .hours-day,
.hours-closed .hours-time {
    color: var(--coral-400);
}

.hours-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
}

.contact-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-card-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal-900);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: background 0.2s;
}

.contact-item:hover {
    background: var(--white);
}

.contact-icon {
    width: 22px;
    height: 22px;
    color: var(--coral-500);
    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(--charcoal-500);
    margin-bottom: 0.2rem;
}

.contact-value {
    display: block;
    font-size: 0.95rem;
    color: var(--charcoal-800);
    line-height: 1.5;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    position: relative;
    padding: 7rem 0;
    overflow: hidden;
}

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

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

.cta .hero-scrim {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(26, 26, 26, 0.75) 100%
    );
}

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

.cta-title {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal-900);
    color: var(--white);
    padding: 4rem 0 0;
}

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

.footer-logo-text {
    color: var(--white);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--coral-400);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--coral-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1.5rem 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-overlay.active {
    display: flex;
}

.nav-overlay a {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    transition: color 0.2s;
}

.nav-overlay a:hover {
    color: var(--coral-400);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

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

    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-headline {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .services {
        padding: 5rem 0;
    }

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

    .service-card {
        padding: 1.75rem;
    }

    .about {
        padding: 5rem 0;
    }

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

    .about-image-wrap {
        aspect-ratio: 16/10;
    }

    .about-stats {
        gap: 1.5rem;
    }

    .gallery {
        padding: 5rem 0;
    }

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

    .hours {
        padding: 5rem 0;
    }

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

    .hours-card,
    .contact-card {
        padding: 2rem;
    }

    .cta {
        padding: 5rem 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

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

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

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }
}
