@import url('https://fonts.googleapis.com/css2?family=Parisienne&family=Tenor+Sans&family=Poppins:wght@300;400;600&display=swap');

:root {
    --gold: #d4af37;
    --purple: #7c3aed;
    --purple-light: #a78bfa;
    --background-dark: #000000;
    --background-mid: #111111;
    --text-light: #ffffff;
    --border-color: rgba(212, 175, 55, 0.3);
    --success: #28a745;
    --error: #F44336;
    --wipay-blue: #00AEEF;
    --font-fancy: 'Parisienne', cursive;
    --font-sleek: 'Tenor Sans', sans-serif;
    --font-readable: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sleek);
    background: var(--background-dark);
    color: var(--text-light);
    line-height: 1.5;
    overflow-x: hidden;
    font-size: 13px;
}

h1, h2, .modal h2 { font-family: var(--font-fancy); font-weight: 400; color: var(--gold); }
h3, h4, .service-header h3, .wizard-step h3 { font-family: var(--font-sleek); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.tiny-text, .service-desc, .deposit-alert, p { font-family: var(--font-readable); }

.btn-primary, .modal button.btn-next {
    display: inline-block;
    font-family: var(--font-sleek);
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--gold);
    color: var(--background-dark);
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.8rem;
    pointer-events: auto;
}
.btn-primary:hover { background: #fff; box-shadow: 0 0 10px var(--gold); transform: translateY(-2px); }
.btn-primary:disabled { background: #333; color: #666; cursor: not-allowed; opacity: 0.5; }

.btn-back { background: transparent; color: #bbb; border: 1px solid #444; padding: 6px 15px; border-radius: 20px; font-size: 0.7rem; cursor: pointer; margin-bottom: 10px; font-family: var(--font-readable); }

.navbar { position: relative; width: 100%; height: 70px; background: #000; display: flex; justify-content: flex-end; align-items: center; padding: 0 5%; border-bottom: 1px solid var(--border-color); z-index: 1000; }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 600; transition: color 0.3s; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; font-family: var(--font-sleek); }
.nav-links a:hover { color: var(--purple-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: 20px; }
.hamburger span { width: 20px; height: 2px; background: var(--gold); }

.floating-logo { position: absolute; top: 10px; left: 0; width: 240px; z-index: 1002; pointer-events: none; transition: width 0.3s ease; }
.floating-logo img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }

.hero-slider { position: relative; width: 100%; height: 50vh; min-height: 350px; overflow: hidden; cursor: grab; }
.hero-slider:active { cursor: grabbing; }
.slides-wrapper { display: flex; width: 400%; height: 100%; transition: transform 0.5s ease-out; }
.slide { width: 25%; height: 100%; background-size: cover; background-position: center 30%; position: relative; }
.slide::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.slide:nth-child(1) { background-image: url('/static/lacefront.jpg'); }
.slide:nth-child(2) { background-image: url('/static/ponytail.jpg'); }
.slide:nth-child(3) { background-image: url('/static/fordeepclean.jpg'); }
.slide:nth-child(4) { background-image: url('/static/relaxer.jpg'); }

.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 10; width: 90%; }
.hero-content h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 5px; text-shadow: 2px 2px 10px rgba(0,0,0,0.8); }
.hero-content p { font-size: clamp(0.8rem, 1.5vw, 0.9rem); text-transform: uppercase; letter-spacing: 2px; font-weight: 400; color: #eee; margin-bottom: 20px; }
.hero-content button { pointer-events: auto; }

section { padding: 40px 5%; max-width: 1100px; margin: 0 auto; text-align: center; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 25px; }

.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; max-width: 900px; margin: 0 auto; }
.service-item { display: flex; flex-direction: column; background: var(--background-mid); border: 1px solid #333; padding: 15px; text-align: left; cursor: pointer; transition: all 0.2s ease; position: relative; user-select: none; }
.service-main { display: flex; align-items: center; }
.service-item:hover { background: #181818; border-color: #555; }
.service-item.selected { border: 2px solid var(--success); background: #0f1f12; }
.service-item.selected::after { content: "✔"; position: absolute; top: 10px; right: 10px; color: var(--success); font-size: 1.2rem; font-weight: bold; }
.service-item img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); margin-right: 12px; flex-shrink: 0; }
.service-info { flex-grow: 1; }
.service-header h3 { font-family: var(--font-sleek); font-size: 0.9rem; color: #fff; font-weight: 600; }
.service-price { color: var(--gold); font-family: var(--font-fancy); font-size: 1.1rem; }

.btn-next-confirm { display: none; margin-top: 15px; width: 100%; background: #007bff; color: white; padding: 10px; border: none; border-radius: 4px; text-align: center; font-weight: bold; text-transform: uppercase; font-family: var(--font-readable); font-size: 0.8rem; cursor: pointer; animation: fadeIn 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }
.btn-next-confirm:hover { background: #0056b3; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.fixed-sidebar { position: fixed; top: 90px; right: 15px; bottom: 15px; width: 260px; background: rgba(17, 17, 17, 0.95); border: 1px solid var(--border-color); padding: 15px; display: none; flex-direction: column; gap: 10px; }
.fixed-sidebar h3 { font-family: var(--font-fancy); font-size: 1.8rem; margin-bottom: 10px; color: var(--gold); text-align: center; text-transform: none; }
.sidebar-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; font-family: var(--font-readable); margin-bottom: 4px; }
.map-container { width: 100%; flex-grow: 1; border-radius: 2px; overflow: hidden; border: 1px solid #333; min-height: 160px; }

#contact-card-inline { display: none; background: var(--background-mid); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 30px 20px; margin-bottom: 25px; text-align: center; }
#contact-card-inline h3 { font-family: var(--font-fancy); font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; text-transform: none; }
#contact { min-height: 50vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px; background: linear-gradient(to bottom, var(--background-dark), #111); }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 2000; display: none; justify-content: center; align-items: flex-start; overflow-y: auto; padding-top: 30px; padding-bottom: 30px; }
.modal { background: #050505; width: 95%; max-width: 550px; padding: 20px; border-radius: 4px; border: 1px solid var(--gold); position: relative; margin: auto; }
.modal-close { position: absolute; top: 10px; right: 15px; color: var(--gold); font-size: 1.8rem; cursor: pointer; background: none; border: none; }

.scheduler-notice {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #ddd;
    text-align: left;
    max-height: 120px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.scheduler-notice .scheduler-notice-title { color: var(--purple-light); font-weight: 600; margin-bottom: 6px; font-size: 0.85rem; }
.scheduler-notice p { margin: 0 0 6px; }
.scheduler-notice p:last-child { margin-bottom: 0; }

.wizard-container { width: 100%; overflow: hidden; position: relative; }
.wizard-track { display: flex; width: 700%; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.wizard-step { width: 14.2857%; flex-shrink: 0; padding: 5px; text-align: center; }

.form-group input, .seamless-input { width: 100%; padding: 10px; background: #050505; border: 1px solid #333; color: #fff; margin-bottom: 15px; }
.seamless-input { border: none; border-bottom: 2px solid var(--gold); text-align: center; border-radius: 2px; }
.seamless-input:focus { border-bottom-color: var(--purple-light); outline: none; }
.pref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.pref-btn { background: #1a1a1a; border: 1px solid #333; color: #fff; padding: 10px; cursor: pointer; border-radius: 4px; font-size: 0.8rem; }
.pref-btn.selected { background: var(--gold); color: #000; border-color: var(--gold); }
.deposit-alert { background: rgba(0, 174, 239, 0.05); border: 1px solid var(--wipay-blue); padding: 10px; text-align: center; margin-bottom: 20px; font-size: 0.8rem; }

.calendar-wrapper { background: #050505; border-radius: 4px; border: 1px solid #333; padding: 10px; }
.calendar-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.calendar-header button { background: transparent; border: 1px solid #444; color: #ccc; padding: 3px 8px; cursor: pointer; border-radius: 3px; }
.calendar-header h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.weekdays, .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 0.7rem; }
.weekdays div { text-align: center; color: #aaa; text-transform: uppercase; }
.days .day { text-align: center; padding: 6px 0; cursor: pointer; border-radius: 4px; border: 1px solid transparent; font-size: 0.8rem; }
.days .day:hover { border-color: var(--gold); }
.days .day.selected { background: var(--gold); color: #000; border-color: var(--gold); }
.days .day.disabled { opacity: 0.3; cursor: not-allowed; }

.time-slots-wrapper { max-height: 300px; overflow-y: auto; margin-top: 10px; }
.slots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-top: 10px; }
.time-slot { padding: 6px 8px; border-radius: 4px; border: 1px solid #333; text-align: center; font-size: 0.8rem; cursor: pointer; background: #111; }
.time-slot.selected { background: var(--gold); color: #000; border-color: var(--gold); }
.time-slot.disabled { background: #333; color: #777; border-color: #444; cursor: not-allowed; }

#loader { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 3000; display: none; justify-content: center; align-items: center; flex-direction: column; }
.loader-spinner { border: 3px solid #333; border-top: 3px solid var(--gold); border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin-bottom: 20px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@media (min-width: 768px) {
    .fixed-sidebar { display: flex; }
    section { margin-right: 300px; text-align: left; }
    .hero-slider, .navbar, footer { margin-right: 0; text-align: center; }
    #contact-card-inline { display: none !important; }
}
@media (max-width: 767px) {
    .fixed-sidebar { display: none !important; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; width: 100%; background: rgba(0,0,0,0.95); padding: 30px; border-bottom: 1px solid var(--gold); }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .floating-logo { width: 100px !important; top: 5px; left: 5px; }
    #contact-card-inline { display: block; }
    .service-item img { width: 56px; height: 56px; margin-right: 10px; }
}
