/* ========================================
   Le Chic Hair Design - Custom Styles
   Classic & Elegant Color Palette
   Teal + Slate Grey
======================================== */

/* --- CSS Variables --- */
:root {
    --teal-900: #0a3d40;
    --teal-800: #0f5c61;
    --teal-700: #147a7f;
    --teal-600: #1a989e;
    --teal-500: #20b6bc;
    --teal-100: #d1ede f;
    --teal-50: #e8f6f7;
    
    --slate-950: #0c1522;
    --slate-900: #1a2744;
    --slate-800: #2a3f5f;
    --slate-700: #3d5a80;
    --slate-600: #506d8c;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    
    --cream: #faf9f6;
    --white: #ffffff;
    --black: #0a0a0a;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(10, 61, 64, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 61, 64, 0.1), 0 2px 4px -1px rgba(10, 61, 64, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(10, 61, 64, 0.1), 0 4px 6px -2px rgba(10, 61, 64, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(10, 61, 64, 0.1), 0 10px 10px -5px rgba(10, 61, 64, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

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

.section-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: 0.75rem;
}

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

.section-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    max-width: 600px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 0;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

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

.btn-outline:hover {
    background-color: var(--teal-700);
    color: var(--white);
}

.btn-text {
    background: none;
    border: none;
    color: var(--slate-700);
    padding: 0.875rem 0;
    font-size: 0.875rem;
}

.btn-text:hover {
    color: var(--teal-700);
}

.btn-full {
    width: 100%;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
    letter-spacing: 0.02em;
}

.logo:hover {
    color: var(--teal-700);
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--slate-700);
    letter-spacing: 0.02em;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--slate-800);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--cream);
    border-bottom: 1px solid var(--slate-200);
    padding: 2rem;
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-size: 1.125rem;
    color: var(--slate-800);
}

.mobile-menu .btn {
    margin-top: 1rem;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--teal-50) 0%, transparent 100%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.hero-title em {
    font-style: italic;
    color: var(--teal-700);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--slate-900);
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--slate-300);
}

.hero-image {
    position: relative;
}

.image-frame {
    position: relative;
    overflow: hidden;
}

.image-frame img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-accent {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 200px;
    height: 200px;
    background-color: var(--teal-100);
    z-index: -1;
}

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

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

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--teal-700);
    color: var(--white);
    padding: 1.5rem 2rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
}

.about-content {
    max-width: 480px;
}

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

.about-features {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
    color: var(--teal-700);
}

.feature span {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-800);
    letter-spacing: 0.02em;
}

/* --- Services Section --- */
.services {
    padding: 120px 0;
    background-color: var(--cream);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--teal-700);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* --- Gallery Section --- */
.gallery {
    padding: 120px 0;
    background-color: var(--white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-item:nth-child(1),
.gallery-item:nth-child(3),
.gallery-item:nth-child(5) {
    height: 400px;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(4),
.gallery-item:nth-child(6) {
    height: 300px;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 61, 64, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.1em;
}

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

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

/* --- Testimonial Section --- */
.testimonial {
    padding: 100px 0;
    background-color: var(--teal-900);
    text-align: center;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--teal-500);
    margin: 0 auto 2rem;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 2rem;
}

.testimonial cite {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-300);
}

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

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-description {
    font-size: 1.0625rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--teal-700);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
}

.contact-item span,
.contact-item a {
    font-size: 1rem;
    color: var(--slate-800);
}

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

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--white);
    padding: 3rem;
    border: 1px solid var(--slate-200);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background-color: var(--white);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--teal-50);
    border: 1px solid var(--teal-200);
    margin-top: 1rem;
}

.form-success svg {
    width: 24px;
    height: 24px;
    color: var(--teal-700);
}

.form-success span {
    font-size: 0.9375rem;
    color: var(--teal-800);
}

/* --- Map Section --- */
.map-section {
    background-color: var(--slate-200);
}

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

/* --- Footer --- */
.footer {
    background-color: var(--slate-900);
    color: var(--slate-300);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding: 80px 0 60px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-400);
}

.footer-links h4,
.footer-hours h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    font-size: 0.9375rem;
}

.footer-hours span:first-child {
    color: var(--slate-400);
}

.footer-hours span:last-child {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 2rem 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate-500);
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        max-width: 400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5) {
        height: 300px;
    }
    
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        height: 250px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .about-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(6) {
        height: 350px;
    }
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
