/* ============================================
   iColor Nails Bar — Stylesheet
   Palette: Terracotta + Sand + Warm Neutrals
   ============================================ */

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

:root {
    --terra-50:  #fdf0eb;
    --terra-100: #fce4d6;
    --terra-200: #f9cbb8;
    --terra-300: #f4a98a;
    --terra-400: #ed7b56;
    --terra-500: #e05530;
    --terra-600: #cc3d1f;
    --terra-700: #a82f1a;
    --terra-800: #872718;
    --terra-900: #6e2015;

    --sand-50:   #fdfbf7;
    --sand-100:  #faf5ec;
    --sand-200:  #f3e8d0;
    --sand-300:  #e8d4aa;
    --sand-400:  #d4b87e;
    --sand-500:  #c4a25a;
    --sand-600:  #a88542;
    --sand-700:  #866834;
    --sand-800:  #6c542c;
    --sand-900:  #5a4626;

    --warm-50:   #faf8f6;
    --warm-100:  #f5f0ea;
    --warm-200:  #ebe0d2;
    --warm-300:  #dbcaa9;
    --warm-400:  #c4aa7e;
    --warm-500:  #a68956;
    --warm-600:  #856b3f;
    --warm-700:  #685330;
    --warm-800:  #534328;
    --warm-900:  #453722;

    --neutral-50:  #faf9f8;
    --neutral-100: #f5f4f2;
    --neutral-200: #eae7e3;
    --neutral-300: #d4cfc8;
    --neutral-400: #b0a89a;
    --neutral-500: #8a8074;
    --neutral-600: #6b6358;
    --neutral-700: #554e46;
    --neutral-800: #443e37;
    --neutral-900: #37322c;
    --neutral-950: #1e1c1a;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --shadow-sm: 0 1px 3px rgba(30,28,26,0.08), 0 1px 2px rgba(30,28,26,0.06);
    --shadow-md: 0 4px 12px rgba(30,28,26,0.1), 0 2px 4px rgba(30,28,26,0.06);
    --shadow-lg: 0 12px 40px rgba(30,28,26,0.14), 0 4px 12px rgba(30,28,26,0.08);
    --shadow-xl: 0 20px 60px rgba(30,28,26,0.16), 0 8px 20px rgba(30,28,26,0.1);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--sand-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253,251,247,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--warm-200);
    transition: box-shadow var(--transition);
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-950);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--terra-500);
    color: white;
    border-radius: 8px;
}

.logo-light {
    color: var(--sand-100);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terra-500);
    transition: width var(--transition);
}

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

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

.btn-nav {
    background: var(--terra-500) !important;
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: background var(--transition), transform var(--transition) !important;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    background: var(--terra-600) !important;
    transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--sand-50);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(224,85,48,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196,162,90,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    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-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    color: var(--terra-700);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-badge svg {
    color: var(--terra-500);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--neutral-950);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline .accent-italic {
    font-style: italic;
    color: var(--terra-600);
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--terra-500);
    color: white;
    box-shadow: 0 4px 16px rgba(224,85,48,0.3);
}

.btn-primary:hover {
    background: var(--terra-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(224,85,48,0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--neutral-800);
    border: 2px solid var(--warm-300);
}

.btn-secondary:hover {
    border-color: var(--terra-400);
    color: var(--terra-600);
    transform: translateY(-2px);
}

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

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--neutral-600);
}

.trust-item svg {
    color: var(--terra-500);
    flex-shrink: 0;
}

/* Hero Images */
.hero-image {
    position: relative;
    height: 680px;
}

.hero-img-main {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.hero-img-float {
    position: absolute;
    bottom: -20px;
    left: -40px;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-50);
}

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

.hero-img-accent {
    position: absolute;
    top: 40px;
    right: -30px;
    width: 130px;
    height: 130px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--sand-50);
}

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

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

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terra-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--neutral-950);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--neutral-500);
    line-height: 1.7;
}

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

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

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.06);
}

.service-body {
    padding: 24px;
}

.service-body h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.service-body p {
    font-size: 0.9rem;
    color: var(--neutral-500);
    line-height: 1.65;
}

/* --- ABOUT --- */
.about {
    padding: 100px 0;
    background: var(--sand-50);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-large {
    width: 75%;
    height: 420px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--sand-50);
}

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

.about-stat {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    background: var(--terra-500);
    color: white;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-stat .stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-stat .stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
    margin-top: 4px;
    display: block;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

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

.about-text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra-600);
}

.feature-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--neutral-900);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.875rem;
    color: var(--neutral-500);
    line-height: 1.55;
}

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

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: auto;
}

.gallery-item:nth-child(1) { aspect-ratio: 4/5; }
.gallery-item:nth-child(2) { aspect-ratio: 1; }
.gallery-item:nth-child(3) { aspect-ratio: 4/5; }
.gallery-item:nth-child(4) { aspect-ratio: 1; }
.gallery-item:nth-child(5) { aspect-ratio: 4/5; }
.gallery-item:nth-child(6) { aspect-ratio: 1; }

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

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

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

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

.gallery-overlay span {
    color: white;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- VISIT --- */
.visit {
    padding: 100px 0;
    background: var(--sand-50);
}

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

.visit-info .section-tag {
    margin-bottom: 12px;
}

.visit-info .section-title {
    margin-bottom: 16px;
}

.visit-desc {
    font-size: 1rem;
    color: var(--neutral-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: white;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra-600);
}

.info-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

.info-card a {
    color: var(--terra-600);
    transition: color var(--transition);
}

.info-card a:hover {
    color: var(--terra-700);
    text-decoration: underline;
}

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

/* Contact Form */
.visit-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.visit-form h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-950);
    margin-bottom: 8px;
}

.form-desc {
    font-size: 0.9rem;
    color: var(--neutral-500);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--warm-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--neutral-900);
    background: var(--sand-50);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--neutral-400);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--terra-400);
    box-shadow: 0 0 0 3px rgba(224,85,48,0.1);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--terra-50);
    border: 2px solid var(--terra-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--terra-600);
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--neutral-500);
    line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
    background: var(--neutral-950);
    color: var(--neutral-400);
    padding: 64px 0 0;
}

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    color: var(--neutral-500);
    max-width: 300px;
}

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

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--neutral-500);
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--terra-300);
}

.footer-contact li {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-800);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.825rem;
    color: var(--neutral-600);
}

/* --- 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.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile-only: always show reveals */
@media screen and (max-width: 768px) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

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

    .hero-image {
        height: 560px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--sand-50);
        flex-direction: column;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .hero-image {
        height: 420px;
        order: -1;
    }

    .hero-img-float {
        left: -10px;
        width: 140px;
        height: 140px;
    }

    .hero-img-accent {
        right: -10px;
        width: 100px;
        height: 100px;
    }

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

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

    .about-images {
        height: 400px;
        order: -1;
    }

    .about-stat {
        right: 10px;
    }

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

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

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

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

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

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

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

    .visit-form {
        padding: 24px;
    }
}
