/* ===================================
   Downtown Hair Salon - Custom Styles
   Vibrant Modern | Charcoal + Coral
================================== */

/* --- CSS Variables --- */
:root {
    --color-charcoal: #1A1A2E;
    --color-charcoal-light: #2D2D44;
    --color-coral: #FF6B6B;
    --color-coral-dark: #E85555;
    --color-coral-light: #FF8E8E;
    --color-white: #FFFFFF;
    --color-off-white: #F8F9FA;
    --color-gray-100: #F1F3F5;
    --color-gray-200: #E9ECEF;
    --color-gray-300: #DEE2E6;
    --color-gray-600: #6C757D;
    --color-gray-800: #343A40;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 26, 46, 0.12);
    --shadow-lg: 0 8px 40px rgba(26, 26, 46, 0.16);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --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-body);
    color: var(--color-gray-800);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* --- Geometric Background Shapes --- */
.geo-shape {
    position: fixed;
    z-index: -1;
    opacity: 0.06;
    pointer-events: none;
}

.geo-1 {
    width: 400px;
    height: 400px;
    background: var(--color-coral);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.geo-2 {
    width: 300px;
    height: 300px;
    background: var(--color-charcoal);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    bottom: 20%;
    left: -80px;
}

.geo-3 {
    width: 200px;
    height: 200px;
    background: var(--color-coral);
    transform: rotate(45deg);
    top: 50%;
    right: 5%;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p {
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-coral);
    margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-coral);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background: var(--color-coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-charcoal);
    border: 2px solid var(--color-charcoal);
}

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

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

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

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

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.logo-accent {
    color: var(--color-coral);
}

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

.nav-links a:not(.btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-600);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--color-coral);
}

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

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    padding: 8px;
    color: var(--color-charcoal);
}

/* --- Mobile Menu --- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 2px solid var(--color-coral);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

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

.mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-charcoal);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

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

/* --- Hero Section --- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-off-white) 0%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
}

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

.hero-badge {
    display: inline-block;
    background: var(--color-coral);
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero h1 {
    margin-bottom: 24px;
    color: var(--color-charcoal);
}

.hero h1 em {
    color: var(--color-coral);
    font-style: italic;
}

.hero > .container > .hero-content > p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: var(--color-gray-600);
}

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

.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(--color-charcoal);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 4px solid var(--color-coral);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.floating-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 4px;
}

.floating-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-coral);
}

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

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
}

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

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

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-coral);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--color-off-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-coral);
    margin-bottom: 20px;
    transition: var(--transition);
}

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

.service-card h3 {
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-weight: 600;
}

.service-card p {
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-coral);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-link:hover {
    gap: 8px;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--color-charcoal);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--color-coral);
    border-radius: 50%;
    opacity: 0.08;
}

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

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

.about-image-main {
    position: relative;
    z-index: 2;
}

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

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    z-index: 3;
    border: 6px solid var(--color-charcoal);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: 200px;
}

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

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-coral);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray-300);
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-content h2 {
    color: var(--color-white);
    margin-bottom: 24px;
}

.about-content > p {
    color: var(--color-gray-300);
    margin-bottom: 16px;
    font-size: 1.0625rem;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-size: 0.9375rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: var(--color-coral);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    color: var(--color-white);
}

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

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

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

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

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

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

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

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

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

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-info {
    padding: 48px;
    background: var(--color-charcoal);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.contact-info h2 {
    color: var(--color-white);
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--color-gray-300);
    margin-bottom: 36px;
}

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

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

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

.contact-item strong {
    display: block;
    color: var(--color-white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
    color: var(--color-gray-300);
    font-size: 0.9375rem;
    margin: 0;
}

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

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

/* Contact Form */
.contact-form-wrapper {
    padding: 48px;
    background: var(--color-off-white);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.contact-form-wrapper h3 {
    margin-bottom: 24px;
    font-family: var(--font-body);
    font-weight: 600;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-charcoal);
    background: var(--color-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}

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

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

.success-icon {
    margin-bottom: 16px;
}

.form-success h4 {
    color: var(--color-charcoal);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--color-gray-600);
}

/* --- Footer --- */
.footer {
    background: var(--color-charcoal);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-charcoal-light);
}

.footer-brand .logo {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    color: var(--color-gray-300);
    font-size: 0.9375rem;
}

.footer-links h4,
.footer-hours h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

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

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

.footer-hours p {
    color: var(--color-gray-300);
    font-size: 0.9375rem;
    margin-bottom: 8px;
}

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

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

.footer-bottom a {
    color: var(--color-coral);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .hero-image {
        height: 500px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 72px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        order: 2;
    }
    
    .hero-image-wrapper {
        order: 1;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-floating-card {
        left: 50%;
        transform: translateX(-50%);
        bottom: -20px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-image-section {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .about-content .btn {
        margin: 8px auto 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    }
    
    .contact-form-wrapper {
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-image {
        height: 320px;
    }
    
    .hero-floating-card {
        padding: 16px 20px;
    }
    
    .floating-value {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .about-image-secondary {
        right: -10px;
        bottom: -20px;
        width: 150px;
    }
    
    .about-img-secondary {
        height: 200px;
    }
}

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