/* ============================================
   cole — Beauty & Hair Salon
   Classic & Elegant | Teal + Slate Grey
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2D3748;
    background-color: #F0F4F4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

ul, ol {
    list-style: none;
}

/* ---- Custom Properties ---- */
:root {
    --teal-900: #042f2e;
    --teal-800: #134e4a;
    --teal-700: #115e59;
    --teal-600: #0f766e;
    --teal-500: #14b8a6;
    --teal-100: #ccfbf1;
    --teal-50:  #f0fdfa;
    
    --slate-950: #0c1922;
    --slate-900: #1a2e3d;
    --slate-800: #2D3748;
    --slate-700: #374351;
    --slate-600: #4a5568;
    --slate-500: #64748b;
    --slate-400: #94a3b8;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --slate-50:  #f8fafc;
    
    --cream: #F0F4F4;
    --warm-white: #f5f7f6;
    
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(12, 25, 34, 0.06), 0 1px 2px rgba(12, 25, 34, 0.04);
    --shadow-md: 0 4px 16px rgba(12, 25, 34, 0.08), 0 2px 6px rgba(12, 25, 34, 0.04);
    --shadow-lg: 0 12px 40px rgba(12, 25, 34, 0.12), 0 4px 12px rgba(12, 25, 34, 0.06);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

/* ---- Typography ---- */
.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--slate-900);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate-600);
    max-width: 560px;
    line-height: 1.7;
}

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

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--teal-700);
    color: #f0f4f4;
    border: 1.5px solid var(--teal-700);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background-color: transparent;
    color: #f0f4f4;
    border: 1.5px solid rgba(240, 244, 244, 0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background-color: rgba(240, 244, 244, 0.1);
    border-color: #f0f4f4;
    transform: translateY(-1px);
}

.btn-dark {
    background-color: var(--slate-900);
    color: #f0f4f4;
    border: 1.5px solid var(--slate-900);
}

.btn-dark:hover,
.btn-dark:focus-visible {
    background-color: var(--slate-800);
    border-color: var(--slate-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(240, 244, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 55, 72, 0.06);
    transition: box-shadow var(--transition);
}

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

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

/* ---- Logo ---- */
.logo {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.logo-mark {
    font-style: italic;
    color: var(--teal-700);
}

/* ---- Navigation ---- */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition);
}

.nav-toggle:hover {
    background-color: var(--slate-100);
}

.hamburger {
    position: relative;
    width: 20px;
    height: 14px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background-color: var(--slate-800);
    border-radius: 1px;
    position: absolute;
    transition: all var(--transition);
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 32px;
}

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

.nav-link {
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--teal-600);
    transition: width var(--transition);
}

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

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

.nav-cta {
    padding: 10px 20px;
    background-color: var(--teal-700);
    color: #f0f4f4 !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background-color: var(--teal-800);
    color: #f0f4f4 !important;
    transform: translateY(-1px);
}

/* Mobile nav */
@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(240, 244, 244, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding: 40px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }

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

    .nav-link {
        font-size: 1.125rem;
    }

    .nav-cta {
        font-size: 1rem;
        padding: 14px 32px;
    }
}

/* ---- Hero ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--slate-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 46, 0.85) 0%,
        rgba(19, 78, 74, 0.75) 50%,
        rgba(12, 25, 34, 0.88) 100%
    );
}

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

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

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    line-height: 1.15;
    color: #f0f4f4;
    margin-bottom: 24px;
}

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(240, 244, 244, 0.75);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(240, 244, 244, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
    transition: color var(--transition);
}

.scroll-indicator:hover {
    color: rgba(240, 244, 244, 0.9);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

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

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--teal-100) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--teal-700);
}

.service-name {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 10px;
}

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

/* ---- About ---- */
.about {
    padding: 100px 0;
    background-color: #fff;
}

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

@media (min-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }
}

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.about-eyebrow {
    margin-bottom: 16px;
}

.about-title {
    margin-bottom: 24px;
}

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

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
}

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

.stat-number {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--teal-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    letter-spacing: 0.02em;
}

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

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

/* ---- Gallery ---- */
.gallery {
    padding: 100px 0 80px;
    background-color: var(--cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(2, 280px);
    }
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@media (min-width: 1024px) {
    .gallery-item--wide {
        grid-column: span 6;
    }
    
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 6;
    }
    
    .gallery-item:nth-child(2) {
        grid-column: span 6;
        grid-row: span 2;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: span 6;
    }
    
    .gallery-item:nth-child(4) {
        grid-column: span 6;
    }
}

/* ---- Testimonial ---- */
.testimonial {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.testimonial-bg {
    position: absolute;
    inset: 0;
}

.testimonial-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.testimonial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(12, 25, 34, 0.92) 0%,
        rgba(19, 78, 74, 0.88) 100%
    );
}

.testimonial-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quote-mark {
    color: var(--teal-500);
    margin-bottom: 24px;
    opacity: 0.6;
}

.testimonial-content blockquote {
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;
    color: #f0f4f4;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--sans);
    font-style: normal;
}

.author-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--teal-100);
}

.author-location {
    font-size: 0.8125rem;
    color: rgba(240, 244, 244, 0.5);
}

/* ---- Contact ---- */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.contact-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 40px;
}

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

.contact-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
    min-width: 72px;
}

.contact-label svg {
    flex-shrink: 0;
    color: var(--teal-600);
}

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

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

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

.contact-hours {
    background-color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}

.hours-title {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--slate-900);
    margin-bottom: 16px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.9375rem;
}

.hours-list .day {
    color: var(--slate-700);
}

.hours-list .time {
    color: var(--slate-500);
    font-weight: 400;
}

.hours-list li:last-child .time {
    color: var(--teal-600);
}

/* ---- Contact Form ---- */
.contact-form-wrap {
    background-color: var(--cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
}

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

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

.form-label {
    display: block;
    font-family: var(--sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--sans);
    font-size: 0.9375rem;
    color: var(--slate-900);
    background-color: #fff;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-input:hover {
    border-color: var(--slate-300);
}

.form-input:focus {
    border-color: var(--teal-500);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.form-input::placeholder {
    color: var(--slate-400);
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    color: var(--teal-700);
}

.form-success svg {
    color: var(--teal-600);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--slate-700);
    line-height: 1.6;
}

/* ---- Footer ---- */
.site-footer {
    background-color: var(--slate-950);
    color: rgba(240, 244, 244, 0.6);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand .logo {
    color: #f0f4f4;
    font-size: 1.75rem;
    margin-bottom: 12px;
    display: inline-block;
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
    color: rgba(240, 244, 244, 0.5);
}

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(240, 244, 244, 0.6);
    transition: color var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9375rem;
}

.footer-contact a {
    color: rgba(240, 244, 244, 0.6);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(240, 244, 244, 0.08);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(240, 244, 244, 0.35);
}

/* ---- Scroll Reveal (progressive enhancement) ---- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ---- Focus visible ---- */
:focus-visible {
    outline: 2px solid var(--teal-500);
    outline-offset: 2px;
}

/* ---- Selection ---- */
::selection {
    background-color: var(--teal-700);
    color: #f0f4f4;
}
