/* ========================================
   Hair Design by Dee Sizemore
   Bold Editorial Style - Teal & Slate
   ======================================== */

/* CSS Custom Properties */
:root {
    --teal-900: #0f4c5c;
    --teal-800: #1a6b7c;
    --teal-700: #1f7f8f;
    --teal-600: #239b9e;
    --teal-500: #2bb5b8;
    --teal-400: #4dc4c7;
    --teal-300: #7dd3d6;
    --teal-100: #d1eeef;
    --teal-50: #eaf6f7;
    
    --slate-950: #0c1922;
    --slate-900: #132230;
    --slate-800: #1e3042;
    --slate-700: #2d4a5c;
    --slate-600: #3d5f73;
    --slate-500: #4e7287;
    --slate-400: #6b8fa3;
    --slate-300: #8fb0c0;
    --slate-200: #b8ced8;
    --slate-100: #dce8ee;
    --slate-50: #f0f6f8;
    
    --white: #ffffff;
    --black: #0a0a0a;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 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-sans);
    color: var(--slate-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s var(--ease-out);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.title-underline {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 127, 143, 0.3);
}

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

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

.btn-dark {
    background: var(--slate-900);
    color: var(--white);
    border-color: var(--slate-900);
}

.btn-dark:hover {
    background: var(--slate-800);
    border-color: var(--slate-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(19, 34, 48, 0.3);
}

.btn-light {
    background: var(--white);
    color: var(--teal-800);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

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

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

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--teal-500);
    transition: color 0.3s ease;
}

.navbar.scrolled .logo-icon {
    color: var(--teal-700);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.navbar.scrolled .logo-text {
    color: var(--slate-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-400);
    transition: width 0.3s var(--ease-out);
}

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

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

.navbar.scrolled .nav-link {
    color: var(--slate-600);
}

.navbar.scrolled .nav-link:hover {
    color: var(--teal-700);
}

.navbar.scrolled .nav-link::after {
    background: var(--teal-600);
}

.nav-cta {
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
    background: var(--teal-600);
    border-color: var(--teal-600);
}

.navbar.scrolled .nav-cta {
    color: var(--white);
    border-color: var(--teal-700);
}

.navbar.scrolled .nav-cta:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
}

.navbar.scrolled .hamburger {
    background: var(--slate-800);
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 76, 92, 0.85) 0%,
        rgba(19, 34, 48, 0.75) 50%,
        rgba(30, 48, 66, 0.7) 100%
    );
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    padding-top: 5rem;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-300);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.hero-subheadline {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

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

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

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

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

/* Services Section */
.services {
    padding: 8rem 0;
    background: var(--white);
}

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

.section-header .title-underline {
    margin: 0 auto 2rem;
}

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

.service-card {
    padding: 2.5rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-100);
    transition: all 0.4s var(--ease-out);
}

.service-card:hover {
    background: var(--white);
    border-color: var(--teal-200);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(15, 76, 92, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--teal-700);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--teal-600);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
}

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

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--slate-50);
}

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 200px;
    height: 200px;
    border: 2px solid var(--teal-400);
    z-index: -1;
}

.about-content {
    padding: 1rem 0;
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-800);
}

.feature-icon {
    color: var(--teal-600);
    font-size: 0.875rem;
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background: var(--white);
}

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

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

.gallery-item:nth-child(1) {
    grid-column: 1 / 6;
    grid-row: 1 / 3;
}

.gallery-item:nth-child(2) {
    grid-column: 6 / 9;
    grid-row: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 9 / 13;
    grid-row: 1;
}

.gallery-item:nth-child(4) {
    grid-column: 6 / 8;
    grid-row: 2;
}

.gallery-item:nth-child(5) {
    grid-column: 8 / 13;
    grid-row: 2;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 76, 92, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

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

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

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

/* CTA Section */
.cta-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 76, 92, 0.9) 0%,
        rgba(19, 34, 48, 0.85) 100%
    );
    z-index: -1;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content .section-eyebrow {
    color: var(--teal-300);
}

.cta-content .section-title {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.cta-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: var(--white);
}

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

.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal-700);
}

.contact-item h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.6;
}

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

.contact-item a:hover {
    color: var(--teal-500);
    text-decoration: underline;
}

.map-container {
    margin-top: 2rem;
    border: 1px solid var(--slate-200);
}

.map-container iframe {
    display: block;
    width: 100%;
}

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

.contact-form-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--slate-900);
}

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    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: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(43, 181, 184, 0.1);
}

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

.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-600);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
}

.form-success p {
    color: var(--slate-600);
    font-size: 0.9375rem;
}

/* Footer */
.footer {
    background: var(--slate-900);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    font-size: 1.5rem;
    color: var(--teal-400);
}

.footer-logo span {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--white);
}

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

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

.footer-links 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-contact p {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

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

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

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

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

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

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

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

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-rows: repeat(3, 220px);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: 1 / 7;
        grid-row: 1;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 7 / 13;
        grid-row: 1;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: 1 / 7;
        grid-row: 2;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: 7 / 10;
        grid-row: 2;
    }
    
    .gallery-item:nth-child(5) {
        grid-column: 10 / 13;
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--slate-900);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--white);
        font-size: 1rem;
    }
    
    .nav-cta {
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image img {
        height: 400px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-item:nth-child(1) {
        grid-column: 1 / 3;
        grid-row: 1;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: 1 / 2;
        grid-row: 2;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: 2 / 3;
        grid-row: 2;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 3;
    }
    
    .gallery-item:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 3;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .services,
    .about,
    .gallery,
    .cta-section,
    .contact {
        padding: 5rem 0;
    }
    
    .hero-content {
        padding-top: 4rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}
