/* ============================================
   LILY BEAUTIE LASH & BROW — STYLESHEET
   Burgundy + Blush | Confident Corporate
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --burgundy-900: #4a0404;
    --burgundy-800: #5c0a0a;
    --burgundy-700: #7a1515;
    --burgundy-600: #9b1b1b;
    --burgundy-500: #b82424;
    --burgundy-400: #c94040;
    --burgundy-300: #d96060;
    --burgundy-200: #e89090;
    --burgundy-100: #f2b8b8;
    --burgundy-50:  #f9d6d6;

    --blush-900:  #5c3a3a;
    --blush-800:  #7a5050;
    --blush-700:  #966868;
    --blush-600:  #b08080;
    --blush-500:  #c89e9e;
    --blush-400:  #d8b8b8;
    --blush-300:  #e8d0d0;
    --blush-200:  #f2e0e0;
    --blush-100:  #f8eeee;
    --blush-50:   #fcf6f6;

    --neutral-950: #0f0f0f;
    --neutral-900: #1a1a1a;
    --neutral-800: #2d2d2d;
    --neutral-700: #404040;
    --neutral-600: #555555;
    --neutral-500: #6e6e6e;
    --neutral-400: #8e8e8e;
    --neutral-300: #b0b0b0;
    --neutral-200: #d1d1d1;
    --neutral-100: #ebebeb;
    --neutral-50:  #f7f7f7;
    --neutral-25:  #fafafa;
    --white:       #ffffff;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Lato', 'Segoe UI', sans-serif;

    --shadow-sm:  0 1px 3px rgba(74, 4, 4, 0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(74, 4, 4, 0.10), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:  0 12px 40px rgba(74, 4, 4, 0.12), 0 4px 12px rgba(0,0,0,0.08);
    --shadow-xl:  0 24px 60px rgba(74, 4, 4, 0.15), 0 8px 20px rgba(0,0,0,0.10);

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

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

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

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

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--neutral-900);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.6);
}

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

.btn-full {
    width: 100%;
}

/* ---------- Section Tags ---------- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy-600);
    margin-bottom: 12px;
    position: relative;
    padding-left: 32px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 2px;
    background: var(--burgundy-500);
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--neutral-600);
    max-width: 560px;
    line-height: 1.7;
}

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

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

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-100);
    transition: all var(--transition);
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0;
    padding-bottom: 0;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--burgundy-700);
}

.logo-icon {
    font-size: 1.5rem;
    line-height: 1;
}

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

.nav-links a {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--burgundy-700);
    background: var(--burgundy-50);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-800);
    border-radius: 2px;
    transition: all var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(74, 4, 4, 0.88) 0%, rgba(122, 21, 21, 0.82) 50%, rgba(92, 10, 10, 0.90) 100%),
        url('https://images.pexels.com/photos/7195808/pexels-photo-7195808.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(184, 36, 36, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 158, 158, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-tagline {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy-200);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

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

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.80);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ---------- Services ---------- */
.services {
    padding: 120px 0;
    background: var(--neutral-25);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--burgundy-600), var(--burgundy-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--burgundy-100);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy-50);
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    transition: all var(--transition);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--burgundy-700);
}

.service-card:hover .service-icon {
    background: var(--burgundy-700);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--neutral-900);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--neutral-700);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--burgundy-500);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background: var(--white);
}

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

.about-image {
    position: relative;
}

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

.about-badge {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--burgundy-700);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--burgundy-200);
}

.about-content .section-tag {
    padding-left: 0;
}

.about-content .section-tag::before {
    display: none;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--neutral-800);
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--neutral-100);
}

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

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

.stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---------- Gallery ---------- */
.gallery {
    padding: 120px 0;
    background: var(--neutral-25);
}

.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: 4/5;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(74, 4, 4, 0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}

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

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

/* ---------- Contact ---------- */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-text {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--burgundy-50);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: all var(--transition);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--burgundy-700);
}

.contact-item:hover .contact-icon {
    background: var(--burgundy-700);
}

.contact-item:hover .contact-icon svg {
    color: var(--white);
}

.contact-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--neutral-400);
}

.contact-value {
    font-size: 1rem;
    color: var(--neutral-800);
    line-height: 1.6;
}

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

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
    background: var(--neutral-25);
    border: 1px solid var(--neutral-100);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
    color: var(--neutral-900);
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--neutral-600);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: var(--white);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy-500);
    box-shadow: 0 0 0 3px rgba(184, 36, 36, 0.1);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    color: #166534;
    font-size: 0.9375rem;
}

.form-success svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #22c55e;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--neutral-800);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--neutral-400);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--burgundy-300);
}

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

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

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

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

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

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    .about-grid {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
    }

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

    .nav-links a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

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

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

    .about-image img {
        height: 400px;
    }

    .about-badge {
        bottom: -16px;
        right: 16px;
        padding: 16px 24px;
    }

    .about-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

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

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

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

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

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

    .services,
    .about,
    .gallery,
    .contact {
        padding: 80px 0;
    }

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

    .gallery-item {
        aspect-ratio: 16/10;
    }
}
