/* 
 * The Clutch Barber & Beauty - Stylesheet
 * Palette: Midnight Blue (#0f172a) + Mint (#2dd4bf)
 */

:root {
    --color-midnight: #0f172a;
    --color-midnight-light: #1e293b;
    --color-mint: #2dd4bf;
    --color-mint-dark: #0f766e;
    --color-white: #ffffff;
    --color-off-white: #f8fafc;
    --color-gray: #64748b;
    --color-light-gray: #e2e8f0;
    
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-off-white);
    color: var(--color-midnight);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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: 600;
    line-height: 1.2;
    color: var(--color-midnight);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-mint-dark);
    margin-bottom: 0.5rem;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-mint);
    color: var(--color-midnight);
}

.btn-primary:hover {
    background-color: var(--color-mint-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-midnight);
    letter-spacing: -0.02em;
}

.logo-icon {
    color: var(--color-mint-dark);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--color-midnight);
}

.nav-links a:hover {
    color: var(--color-mint-dark);
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-midnight);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-midnight);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.5rem;
    color: var(--color-white);
    font-family: var(--font-serif);
}

.mobile-cta {
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    padding-bottom: 4rem;
    background-color: var(--color-off-white);
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(45, 212, 191, 0.1);
    color: var(--color-mint-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-mint);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.text-accent {
    color: var(--color-mint-dark);
    font-style: italic;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--color-gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-midnight);
    line-height: 1;
}

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

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

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

.hero-image-main {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.3), transparent);
}

.hero-float-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.float-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-mint);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-midnight);
}

.float-text {
    display: flex;
    flex-direction: column;
}

.float-text strong {
    font-size: 1rem;
    color: var(--color-midnight);
}

.float-text span {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Services Section */
.section {
    padding: 5rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header.light .section-title {
    color: var(--color-white);
}

.section-header.light .section-tag {
    color: var(--color-mint);
}

.services {
    background-color: var(--color-white);
}

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

.service-card {
    background-color: var(--color-off-white);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-light-gray);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-mint);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-midnight);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-midnight);
}

.service-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: var(--color-mint);
    border-radius: 50%;
}

/* About Section */
.about {
    background-color: var(--color-midnight);
    color: var(--color-white);
}

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

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

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

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

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    border: 4px solid var(--color-midnight);
    box-shadow: var(--shadow-lg);
}

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

.experience-badge {
    position: absolute;
    top: -20px;
    right: 50px;
    background-color: var(--color-mint);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.exp-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-midnight);
    line-height: 1;
}

.exp-text {
    font-size: 0.75rem;
    color: var(--color-midnight);
    text-transform: uppercase;
    font-weight: 600;
}

.about-content .section-tag {
    color: var(--color-mint);
}

.about-content .section-title {
    color: var(--color-white);
}

.about-text {
    color: var(--color-light-gray);
    margin-bottom: 1rem;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
}

.feature-item svg {
    color: var(--color-mint);
}

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

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.gallery-item.large {
    grid-column: span 6;
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 6;
    grid-row: span 1;
}

.gallery-item:not(.large):not(.wide) {
    grid-column: span 3;
    grid-row: span 1;
}

/* Location Section */
.location {
    background-color: var(--color-white);
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background-color: var(--color-off-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-desc {
    color: var(--color-gray);
    margin-bottom: 2rem;
}

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

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

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

.contact-item strong {
    display: block;
    color: var(--color-midnight);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--color-mint-dark);
    text-decoration: underline;
}

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

.map-container {
    min-height: 400px;
}

.map-container iframe {
    border-radius: 0 16px 16px 0;
}

/* Footer */
.footer {
    background-color: var(--color-midnight);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand p {
    color: var(--color-light-gray);
    max-width: 300px;
}

.footer-links h4,
.footer-hours h4 {
    color: var(--color-white);
    font-family: var(--font-sans);
    font-size: 1rem;
    margin-bottom: 1rem;
}

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

.footer-links a {
    color: var(--color-light-gray);
}

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

.footer-hours li {
    display: flex;
    justify-content: space-between;
    color: var(--color-light-gray);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-midnight-light);
    padding-top: 2rem;
    text-align: center;
}

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

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .hero-image-main img {
        height: 400px;
    }
    
    .hero-float-card {
        left: 20px;
        bottom: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-img-secondary {
        right: 20px;
        bottom: -20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item:not(.large):not(.wide) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
    
    .location-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 300px;
    }
    
    .map-container iframe {
        border-radius: 0 0 16px 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-secondary {
        width: 150px;
        height: 150px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
}
