/* ============================================
   SILKA NAIL SALON — Custom Styles
   Burgundy + Blush | Editorial Serif
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6E0;
    --blush-light: #FBF5F3;
    --blush-mid: #E8D0C8;
    --cream: #FDF8F6;
    --text-dark: #1A0A0E;
    --text-mid: #4A2028;
    --text-light: #7A5058;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(123, 45, 59, 0.08);
    --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.1);
    --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

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

.section-sub {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 540px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-sub {
    margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border-color: var(--burgundy);
}

.btn-outline:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ---------- HEADER ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--burgundy);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--burgundy);
    border-radius: 50%;
}

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

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--burgundy);
}

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

.nav-cta {
    background: var(--burgundy);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 500;
}

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

.nav-cta:hover {
    background: var(--burgundy-deep);
    color: var(--white) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    position: relative;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }

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

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

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

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

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(123, 45, 59, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--burgundy);
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--burgundy);
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 460px;
}

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

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-mid);
    background: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid var(--blush-mid);
}

.badge svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/750;
}

.hero-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--blush);
    border-radius: var(--radius-lg);
    z-index: -1;
}

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

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

.service-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--blush-mid);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--burgundy);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

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

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 500/600;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 300/350;
}

.about-experience {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--burgundy);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-experience .exp-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-experience .exp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.85;
    margin-top: 4px;
}

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

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

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-mid);
}

.feature-item svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

.about-content .btn {
    margin-top: 8px;
}

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

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    padding: 100px 0;
    background: var(--burgundy);
}

.testimonials .section-eyebrow {
    color: var(--blush-mid);
}

.testimonials .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

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

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    color: #F5C518;
}

.testimonial-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blush);
    letter-spacing: 0.03em;
}

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

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

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

.contact-desc {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius);
    color: var(--burgundy);
    border: 1px solid var(--blush-mid);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-item strong {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--burgundy);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-mid);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--burgundy);
}

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--blush-mid);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--text-dark);
}

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

.form-group label {
    display: block;
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--text-mid);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--blush-light);
    border: 1.5px solid var(--blush-mid);
    border-radius: var(--radius);
    transition: var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

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

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

.form-success svg {
    color: var(--burgundy);
    margin-bottom: 16px;
}

.form-success h4 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-success p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

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

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

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-contact a {
    transition: var(--transition);
}

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

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

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 10, 14, 0.5);
        z-index: 999;
    }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

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

    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .hero-accent {
        display: none;
    }

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

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

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

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

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

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

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

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

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

    .hero-headline {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        padding: 14px 24px;
    }

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

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

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

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
