/* [Claude Code] Barber John's — Main Stylesheet (light theme) */

/* ===================== CSS Variables ===================== */
:root {
    --black:      #0d0d0d;
    --charcoal:   #ffffff;   /* [Claude Code] light theme: cards are white */
    --dark:       #f0f1f4;   /* [Claude Code] light theme: input/subtle bg */
    --gold:       #c41230;   /* logo red — primary accent */
    --gold-light: #e8172e;
    --gold-dark:  #9e0e26;
    --navy:       #1a2570;   /* logo navy blue */
    --cream:      #0d0d0d;   /* [Claude Code] light theme: primary text is dark */
    --white:      #ffffff;
    --gray-100:   #f5f6f8;   /* page background */
    --gray-300:   #52525e;   /* secondary text */
    --gray-500:   #88889a;   /* muted text */
    --gray-700:   #c0c0cc;   /* very muted / dividers */
    --red:        #d64545;
    --green:      #2e8b57;

    --font-serif:  'Playfair Display', Georgia, serif;
    --font-sans:   'Inter', system-ui, sans-serif;

    --radius:     6px;
    --radius-lg:  12px;
    --shadow:     0 4px 20px rgba(0,0,0,0.10);
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
    --transition: 0.25s ease;
}

/* ===================== Reset ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--gray-100);
    color: var(--black);
    line-height: 1.6;
    font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* ===================== Typography ===================== */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.4rem; }
p  { color: var(--gray-300); }

.section-title {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--black);
}
.section-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 3rem;
    font-size: 1rem;
}
.gold-text { color: var(--gold); }

/* ===================== Buttons ===================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-align: center;
}
.btn-primary {
    background: var(--gold);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--gold-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196,18,48,0.25);
}
.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}
.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}
.btn-dark {
    background: var(--navy);
    color: var(--white);
    border: 1px solid var(--navy);
}
.btn-dark:hover { background: #243090; color: var(--white); }
.btn-danger {
    background: var(--red);
    color: var(--white);
}
.btn-danger:hover { background: #b83535; color: var(--white); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.85rem; }
.btn-full { width: 100%; display: block; }

/* ===================== Navbar ===================== */
/* [Claude Code] navbar keeps navy — logo colors */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(26,37,112,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(196,18,48,0.25);
    transition: background var(--transition);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-logo:hover { color: rgba(255,255,255,0.85); }
.logo-icon { font-size: 1.2rem; }
/* [Claude Code] actual logo image in navbar */
.nav-logo-img { height: 48px; width: auto; display: block; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--white); }
.btn-nav {
    background: var(--gold);
    color: var(--white) !important;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius);
    font-weight: 600;
}
.btn-nav:hover { background: var(--gold-light) !important; color: var(--white) !important; }
.nav-logout { color: rgba(255,255,255,0.55) !important; font-size: 0.85rem !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}

/* [Claude Code] Dashboard dropdown submenu */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
    background: none;
    border: none;
    color: rgba(255,255,255,0.82);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    font-family: var(--font-sans);
    transition: color var(--transition);
}
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.open { color: var(--white); }
.dropdown-arrow { font-size: 0.65rem; transition: transform var(--transition); display: inline-block; }
.nav-dropdown-toggle.open .dropdown-arrow { transform: rotate(180deg); }

/* [Claude Code] submenu uses position:fixed so it always clears the fixed navbar */
.nav-submenu {
    position: fixed;
    top: 68px;
    left: 0; /* overridden by JS on open */
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: var(--radius-lg);
    padding: 0.4rem 0;
    min-width: 210px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 2000;
}
.nav-submenu::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top: none;
    border-bottom-color: rgba(0,0,0,0.10);
}
.nav-submenu.open {
    opacity: 1;
    pointer-events: auto; /* [Claude Code] 'all' is SVG-only; 'auto' is correct for HTML */
}
.nav-submenu li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.25rem;
    color: var(--gray-300);
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all var(--transition);
}
.nav-submenu li a:hover {
    color: var(--gold);
    background: rgba(196,18,48,0.05);
}

/* ===================== Hero ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f6f8 0%, #eef0f8 50%, #f5f6f8 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(26,37,112,0.05) 0%, transparent 70%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(196,18,48,0.02) 40px,
            rgba(196,18,48,0.02) 41px
        );
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}
.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(196,18,48,0.35);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}
.hero h1 { color: var(--black); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--gold); display: block; }
.hero p { font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 480px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-badge {
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26,37,112,0.07) 0%, transparent 70%);
    border: 1px solid rgba(26,37,112,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    position: relative;
}
.hero-badge::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 1px dashed rgba(26,37,112,0.2);
}
.hero-badge-icon { font-size: 4rem; }
.hero-badge-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--navy);
    font-weight: 700;
}
.hero-badge-sub { font-size: 0.8rem; color: var(--gray-500); }

/* ===================== Sections ===================== */
.section { padding: 6rem 1.5rem; }
.section-dark { background: #eef0f6; }
.section-container { max-width: 1200px; margin: 0 auto; }

/* ===================== Services ===================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    border-color: rgba(196,18,48,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-name {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--black);
    margin-bottom: 0.4rem;
}
.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.service-duration { font-size: 0.8rem; color: var(--gray-500); }

/* [Claude Code] Clickable service card — resets anchor styles, reveals Book Now CTA on hover */
a.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}
a.service-card-link:hover { border-color: var(--red); }
.service-book-cta {
    margin-top: 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
    opacity: 0;
    transition: opacity var(--transition);
}
a.service-card-link:hover .service-book-cta { opacity: 1; }

/* ===================== Barbers ===================== */
.barbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.barber-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.barber-card:hover { border-color: rgba(196,18,48,0.25); transform: translateY(-4px); box-shadow: var(--shadow); }
.barber-photo {
    height: 220px;
    background: linear-gradient(135deg, #eef0f6, #e8eaf4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--gray-700);
}
.barber-photo img { width: 100%; height: 100%; object-fit: cover; }
.barber-info { padding: 1.25rem; }
.barber-name { font-family: var(--font-serif); color: var(--black); font-size: 1.2rem; }
.barber-specialty { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.5rem; }
.barber-bio { font-size: 0.875rem; color: var(--gray-500); }

/* ===================== About ===================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text h2 { margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; }
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
.stat {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.stat-number { font-family: var(--font-serif); font-size: 2rem; color: var(--gold); font-weight: 700; }
.stat-label { font-size: 0.8rem; color: var(--gray-500); }
.about-visual {
    background: linear-gradient(135deg, #eef0f6, #e4e6f0);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(26,37,112,0.12);
}

/* ===================== Location ===================== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.location-info h3 { color: var(--black); margin-bottom: 1.5rem; font-family: var(--font-serif); font-size: 1.6rem; }
.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}
.info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 0.2rem; font-weight: 600; }
.info-value { color: var(--black); }
.hours-table { width: 100%; }
.hours-table td { padding: 0.3rem 0; color: var(--gray-300); font-size: 0.9rem; }
.hours-table td:last-child { text-align: right; color: var(--black); }
.map-placeholder {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 3rem;
    box-shadow: var(--shadow-sm);
}
.map-placeholder p { font-size: 0.9rem; }

/* ===================== CTA Banner ===================== */
.cta-banner {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    padding: 4rem 1.5rem;
    text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

/* ===================== Footer ===================== */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 3rem 1.5rem 1.5rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-icon { font-size: 1.5rem; color: var(--white); }
.footer-name { font-family: var(--font-serif); font-size: 1.3rem; color: var(--white); }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; }
.footer-info p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 0.3rem; }
.footer-info a { color: rgba(255,255,255,0.75); }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.875rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { max-width: 1200px; margin: 1.5rem auto 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ===================== Auth Pages ===================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 2rem;
    background: var(--gray-100);
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-logo .logo-icon { font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.auth-logo h2 { color: var(--black); font-size: 1.6rem; }
.auth-logo p { font-size: 0.875rem; color: var(--gray-500); }

/* ===================== Forms ===================== */
.form-group { margin-bottom: 1.25rem; }
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 0.4rem;
}
.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--dark);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: var(--radius);
    color: var(--black);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(196,18,48,0.10);
}
.form-control option { background: var(--white); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: 0.78rem; color: var(--gray-500); margin-top: 0.3rem; }

/* ===================== Alerts ===================== */
.alert {
    padding: 0.8rem 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}
.alert-error   { background: rgba(214,69,69,0.08);  border: 1px solid rgba(214,69,69,0.3); color: #b03030; }
.alert-success { background: rgba(46,139,87,0.08);  border: 1px solid rgba(46,139,87,0.3); color: #1e6e3c; }
.alert-info    { background: rgba(196,18,48,0.07);  border: 1px solid rgba(196,18,48,0.25); color: var(--gold-dark); }

/* [Claude Code] Sidebar removed — dashboard is full-width, nav uses dropdown */
/* ===================== Dashboard ===================== */
.dash-layout {
    min-height: 100vh;
    padding-top: 68px;
}
.dash-sidebar { display: none; }

.dash-main { padding: 2rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.dash-header { margin-bottom: 2rem; }
.dash-header h1 { font-size: 1.8rem; color: var(--black); }
.dash-header p { color: var(--gray-500); font-size: 0.9rem; }

.dash-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.dash-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }

.stat-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.stat-card-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-500); margin-bottom: 0.5rem; }
.stat-card-value { font-family: var(--font-serif); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.stat-card-sub { font-size: 0.8rem; color: var(--gray-700); margin-top: 0.25rem; }

.card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.card-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--black);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* ===================== Tables ===================== */
.table-wrap { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.data-table th {
    text-align: left;
    padding: 0.65rem 1rem;
    background: var(--dark);
    color: var(--gray-500);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}
.data-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: var(--black);
    vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(0,0,0,0.02); }

/* ===================== Status Badges ===================== */
.badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}
.badge-pending   { background: rgba(196,18,48,0.10);  color: var(--gold-dark); }
.badge-confirmed { background: rgba(46,139,87,0.12);  color: #1e6e3c; }
.badge-cancelled { background: rgba(214,69,69,0.10);  color: #b03030; }
.badge-completed { background: rgba(0,0,0,0.06);      color: var(--gray-500); }
.badge-admin     { background: rgba(26,37,112,0.10);  color: var(--navy); }
.badge-barber    { background: rgba(196,18,48,0.10);  color: var(--gold-dark); }
.badge-customer  { background: rgba(26,37,112,0.08);  color: var(--navy); }

/* ===================== Schedule ===================== */
.schedule-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.week-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.week-nav button {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.12);
    color: var(--black);
    width: 34px; height: 34px;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.week-nav button:hover { border-color: var(--gold); color: var(--gold); }
.week-label { font-weight: 600; font-size: 0.95rem; color: var(--black); min-width: 200px; text-align: center; }

.schedule-grid {
    display: grid;
    grid-template-columns: 100px repeat(7, 1fr);
    gap: 2px;
    font-size: 0.8rem;
}
.schedule-grid .header-cell {
    background: var(--dark);
    padding: 0.65rem 0.5rem;
    text-align: center;
    border-radius: var(--radius);
}
.header-day { font-weight: 600; color: var(--black); display: block; }
.header-date { color: var(--gray-500); font-size: 0.75rem; }
.header-day.today { color: var(--gold); }

.time-cell {
    background: var(--dark);
    padding: 0.5rem;
    text-align: right;
    color: var(--gray-500);
    border-radius: var(--radius);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.day-cell {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
    min-height: 48px;
    padding: 4px;
    position: relative;
    cursor: pointer;
    transition: background var(--transition);
}
.day-cell:hover { background: var(--gray-100); }
.day-cell.has-appt { background: rgba(196,18,48,0.04); border-color: rgba(196,18,48,0.2); }
.day-cell.off { background: rgba(214,69,69,0.04); cursor: default; }

.appt-chip {
    background: var(--gold);
    color: var(--white);
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 2px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.appt-chip:hover { background: var(--gold-light); }
.appt-chip.cancelled { background: rgba(214,69,69,0.15); color: #b03030; }
.appt-chip.completed { background: rgba(0,0,0,0.08); color: var(--gray-500); }

/* ===================== Booking Calendar ===================== */
/* [Claude Code] calendar + side-panel time slot picker */
.booking-calendar-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 2.5rem;
    align-items: start;
    min-height: 380px;
}
.calendar-panel { }
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.cal-month-label { font-weight: 700; font-size: 1rem; color: var(--black); }
.cal-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--gray-300);
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
    line-height: 1;
    padding: 0;
}
.cal-nav:hover { background: var(--dark); color: var(--black); }
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}
.cal-weekday { font-size: 0.72rem; color: var(--gray-500); padding: 0.25rem 0; font-weight: 500; }
.cal-day {
    padding: 0.4rem 0;
    font-size: 0.875rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition);
    aspect-ratio: 1 / 1;
    display: flex; align-items: center; justify-content: center;
    color: var(--black);
}
.cal-day:hover:not(.disabled):not(.other-month) { background: var(--dark); }
.cal-day.today { color: var(--navy); font-weight: 700; }
.cal-day.selected { background: var(--navy) !important; color: var(--white) !important; font-weight: 700; }
.cal-day.disabled { color: #aaaaaa; cursor: default; text-decoration: line-through; text-decoration-color: #aaaaaa; }
.cal-day.other-month { color: var(--gray-700); cursor: default; }
.cal-timezone { font-size: 0.72rem; color: var(--gray-500); margin-top: 1rem; text-align: center; }

.slots-panel { }
.slots-date-header { font-weight: 700; font-size: 0.975rem; margin-bottom: 1rem; color: var(--black); }
.slots-empty { color: var(--gray-500); font-size: 0.875rem; padding: 1rem 0; }
.slots-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}
.slot-btn {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: var(--radius-lg);
    padding: 0.85rem 0.5rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--black);
    transition: all var(--transition);
    font-family: var(--font-sans);
    line-height: 1.2;
}
.slot-btn:hover { border-color: var(--navy); color: var(--navy); }
.slot-btn.selected { background: var(--navy); color: var(--white); border-color: var(--navy); }

@media (max-width: 640px) {
    .booking-calendar-layout { grid-template-columns: 1fr; }
}

/* ===================== Booking Wizard ===================== */
.booking-page {
    min-height: 100vh;
    padding: 6rem 1.5rem 3rem;
    background: var(--gray-100);
}
.booking-container { max-width: 800px; margin: 0 auto; }
.booking-steps {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    position: relative;
}
.booking-steps::before {
    content: '';
    position: absolute;
    top: 14px; left: 14px; right: 14px;
    height: 2px;
    background: rgba(0,0,0,0.08);
    z-index: 0;
}
.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}
.step-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 700;
}
.step-item.active .step-dot { background: var(--gold); border-color: var(--gold); color: var(--white); }
.step-item.done .step-dot { background: var(--green); border-color: var(--green); color: var(--white); }
.step-label { font-size: 0.72rem; color: var(--gray-500); text-align: center; }
.step-item.active .step-label { color: var(--gold); }

.booking-step-content { display: none; }
.booking-step-content.active { display: block; }

.barber-select-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}
.barber-option {
    background: var(--white);
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.barber-option:hover { border-color: rgba(196,18,48,0.4); }
.barber-option.selected { border-color: var(--gold); background: rgba(196,18,48,0.04); }
.barber-option .avatar { font-size: 2.5rem; margin-bottom: 0.5rem; }
.barber-option .name { font-weight: 600; font-size: 0.9rem; color: var(--black); }
.barber-option .specialty { font-size: 0.78rem; color: var(--gray-500); }

.service-option {
    background: var(--white);
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0.75rem;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.service-option:hover { border-color: rgba(196,18,48,0.4); }
.service-option.selected { border-color: var(--gold); background: rgba(196,18,48,0.04); }
.service-option-name { font-weight: 600; color: var(--black); }
.service-option-info { font-size: 0.8rem; color: var(--gray-500); }
.service-option-price { font-size: 1.1rem; font-weight: 700; color: var(--gold); }

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 0.6rem;
    margin-top: 1rem;
}
.time-slot {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: var(--radius);
    padding: 0.6rem;
    text-align: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--black);
    transition: all var(--transition);
}
.time-slot:hover { border-color: var(--gold); color: var(--gold); }
.time-slot.selected { background: var(--gold); color: var(--white); font-weight: 700; border-color: var(--gold); }
.time-slot.taken { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.booking-summary {
    background: var(--white);
    border: 1px solid rgba(196,18,48,0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-label { color: var(--gray-500); }
.summary-value { color: var(--black); font-weight: 500; }

/* ===================== Availability Editor ===================== */
.availability-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
}
.avail-day-card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    padding: 1rem 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.avail-day-name { font-weight: 600; font-size: 0.85rem; color: var(--black); margin-bottom: 0.5rem; }
.avail-toggle {
    appearance: none;
    width: 38px; height: 20px;
    background: var(--gray-700);
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    transition: background var(--transition);
    margin-bottom: 0.75rem;
    display: block;
    margin: 0 auto 0.75rem;
}
.avail-toggle:checked { background: var(--gold); }
.avail-toggle::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 16px; height: 16px;
    background: var(--white);
    border-radius: 50%;
    transition: left var(--transition);
}
.avail-toggle:checked::after { left: 20px; }
.avail-times { display: flex; flex-direction: column; gap: 0.4rem; }
.avail-time-input {
    width: 100%;
    padding: 0.35rem 0.5rem;
    background: var(--dark);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 4px;
    color: var(--black);
    font-size: 0.78rem;
    text-align: center;
}
.avail-time-input:focus { outline: none; border-color: var(--gold); }

/* ===================== Modals ===================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: var(--radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    transform: translateY(20px);
    transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}
.modal-title { font-family: var(--font-serif); color: var(--black); font-size: 1.2rem; }
.modal-close {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover { color: var(--black); }

/* ===================== Utility ===================== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted  { color: var(--gray-500); }
.text-danger { color: var(--error-color, #dc3545); } /* [Claude Code] required field indicator */
.divider { border: none; border-top: 1px solid rgba(0,0,0,0.08); margin: 1.5rem 0; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-gap { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 1rem; }

/* ===================== Responsive ===================== */
@media (max-width: 900px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }

    .about-grid { grid-template-columns: 1fr; }
    .about-visual { display: none; }
    .location-grid { grid-template-columns: 1fr; }

    .dash-grid-2, .dash-grid-3 { grid-template-columns: 1fr; }

    .schedule-grid { grid-template-columns: 60px repeat(7, 1fr); font-size: 0.7rem; }
    .availability-grid { grid-template-columns: repeat(4, 1fr); }

    .footer-container { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column; padding: 1rem 0; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-links.open { display: flex; }
    .nav-links li a { display: block; padding: 0.75rem 1.5rem; }
    .nav-toggle { display: flex; }

    /* [Claude Code] mobile: submenu still fixed but full-width */
    .nav-submenu { left: 0 !important; right: 0; transform: none; min-width: unset; border-radius: 0; border-left: none; border-right: none; }
    .nav-submenu::before { display: none; }
    .nav-dropdown-toggle { padding: 0.75rem 1.5rem; width: 100%; color: rgba(255,255,255,0.82); justify-content: center; } /* [Claude Code] center text to match other nav links on mobile */
    .nav-dropdown { width: 100%; }

    .availability-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .schedule-grid { grid-template-columns: 50px repeat(3, 1fr); }
}
