/* ============================================
   It's All About You Nail Salon — Styles
   Palette: Charcoal (#2C2C2C) + Coral (#C4574A)
   Fonts: Playfair Display + Lato
   ============================================ */

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

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

body {
    font-family: 'Lato', sans-serif;
    color: #2C2C2C;
    background-color: #FDFCFA;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

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

/* Section Header */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C4574A;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: #2C2C2C;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: #5A5A5A;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #C4574A;
    color: #FFFFFF;
    border-color: #C4574A;
}

.btn-primary:hover {
    background-color: #A8463B;
    border-color: #A8463B;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 87, 74, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
}

.logo-icon {
    color: #C4574A;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #C4574A;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #FFFFFF;
}

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

.nav-cta {
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    background-color: #C4574A;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background-color: #A8463B;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #FFFFFF;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

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

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

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #2C2C2C;
    padding: 72px 0 0;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(196, 87, 74, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 87, 74, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-content {
    padding: 40px 0 80px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #C4574A;
    margin-bottom: 20px;
}

.hero-headline {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.hero-detail svg {
    color: #C4574A;
    flex-shrink: 0;
}

.hero-image-wrap {
    position: relative;
}

.hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(196, 87, 74, 0.4);
    border-radius: 8px;
    z-index: 0;
}

/* ============================================
   Services
   ============================================ */
.services {
    padding: 100px 0;
    background-color: #FDFCFA;
}

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

.service-card {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 36px 28px;
    border: 1px solid rgba(44, 44, 44, 0.06);
    transition: all 0.35s ease;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background-color: rgba(196, 87, 74, 0.08);
    color: #C4574A;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: #5A5A5A;
    line-height: 1.7;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: 100px 0;
    background-color: #F5F2EF;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(44, 44, 44, 0.12);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(44, 44, 44, 0.15);
    border: 4px solid #F5F2EF;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-pattern {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #C4574A 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.3;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    color: #5A5A5A;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(44, 44, 44, 0.1);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #C4574A;
}

.stat-label {
    font-size: 0.8rem;
    color: #5A5A5A;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(44, 44, 44, 0.15);
}

/* ============================================
   Gallery
   ============================================ */
.gallery {
    padding: 100px 0;
    background-color: #FDFCFA;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 44, 44, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-overlay span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #FFFFFF;
    font-weight: 600;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
.gallery-item:nth-child(2) { grid-column: 5 / 8; grid-row: 1 / 2; }
.gallery-item:nth-child(3) { grid-column: 8 / 11; grid-row: 1 / 2; }
.gallery-item:nth-child(4) { grid-column: 11 / 13; grid-row: 1 / 3; }
.gallery-item:nth-child(5) { grid-column: 5 / 11; grid-row: 2 / 3; }

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
    padding: 100px 0;
    background-color: #2C2C2C;
}

.testimonials .section-eyebrow {
    color: #C4574A;
}

.testimonials .section-title {
    color: #FFFFFF;
}

.testimonials .section-header {
    margin-bottom: 56px;
}

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

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 36px 28px;
    transition: all 0.35s ease;
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
}

.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: #C4574A;
    margin-bottom: 8px;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

/* ============================================
   Contact
   ============================================ */
.contact {
    padding: 100px 0;
    background-color: #F5F2EF;
}

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

.contact-info .section-title {
    text-align: left;
    margin-bottom: 16px;
}

.contact-text {
    font-size: 1rem;
    color: #5A5A5A;
    line-height: 1.8;
    margin-bottom: 36px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(196, 87, 74, 0.08);
    color: #C4574A;
    flex-shrink: 0;
}

.contact-detail div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #2C2C2C;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.95rem;
    color: #5A5A5A;
}

.contact-detail a:hover {
    color: #C4574A;
}

.contact-form-wrap {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 16px 48px rgba(44, 44, 44, 0.08);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: #2C2C2C;
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2C2C2C;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #2C2C2C;
    background-color: #F5F2EF;
    border: 1px solid rgba(44, 44, 44, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
    outline: none;
}

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

.form-input:focus {
    border-color: #C4574A;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(196, 87, 74, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-top: 16px;
    background-color: rgba(196, 87, 74, 0.08);
    border: 1px solid rgba(196, 87, 74, 0.2);
    border-radius: 6px;
    color: #C4574A;
    font-size: 0.9rem;
}

.form-success svg {
    flex-shrink: 0;
}

/* ============================================
   Map
   ============================================ */
.map-section {
    background-color: #E8E4E0;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 380px;
    filter: grayscale(30%);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background-color: #1E1E1E;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: #C4574A;
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', 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-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: #C4574A;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* ============================================
   Scroll Reveal (Progressive Enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .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; }
}

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

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

    .about-grid {
        gap: 48px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(44, 44, 44, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-toggle {
        display: block;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        padding: 40px 0 60px;
    }

    .hero-headline br {
        display: block;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-details {
        align-items: center;
    }

    .hero-image-wrap {
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-accent {
        display: none;
    }

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

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

    .about-images {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-img-secondary {
        right: -20px;
        bottom: -20px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content .section-eyebrow {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

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

    .gallery-item:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
    .gallery-item:nth-child(2) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(3) { grid-column: 2 / 3; grid-row: auto; }
    .gallery-item:nth-child(4) { grid-column: 1 / 2; grid-row: auto; }
    .gallery-item:nth-child(5) { grid-column: 2 / 3; grid-row: auto; }

    .gallery-item:nth-child(1) img,
    .gallery-item:nth-child(4) img {
        min-height: 250px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        max-width: 100%;
    }

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

    .contact-info .section-title {
        text-align: center;
    }

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

    .contact-details {
        align-items: center;
    }

    .contact-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }
}

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

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

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

    .about-img-secondary {
        right: 0;
        bottom: -16px;
    }
}
