/* BarberShop SaaS by cumaxx.de — Dark Luxury Theme */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --gold: #c8a04a;
  --gold-light: #e0c878;
  --gold-dark: #9a7030;
  --text-primary: #f0eee8;
  --text-secondary: #a09888;
  --text-muted: #706858;
  --accent: #c8a04a;
  --danger: #c0392b;
  --success: #27ae60;
  --border: #2a2824;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: 3.2rem; letter-spacing: 2px; }
h2 { font-size: 2.4rem; }
h3 { font-size: 1.5rem; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 32px; border-radius: var(--radius); font-weight: 600;
  font-size: 0.95rem; cursor: pointer; transition: all 0.3s; border: 2px solid transparent;
  text-transform: uppercase; letter-spacing: 1px; text-align: center; }
.btn-gold { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); color: #000; }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }

/* Section spacing */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .subtitle { color: var(--gold); text-transform: uppercase; letter-spacing: 3px;
  font-size: 0.85rem; margin-bottom: 10px; }
.section-header h2 { margin-bottom: 15px; }
.section-header .line { width: 60px; height: 2px; background: var(--gold); margin: 0 auto; }

/* ─── TOP BAR ─────────────────────────────── */
.top-bar { background: #000; border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 0.82rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar .brand-tag { color: var(--gold); font-weight: 600; letter-spacing: 1px; }
.top-bar .info span { margin-right: 20px; color: var(--text-secondary); }
.top-bar .info i, .top-bar .info svg { margin-right: 4px; }
.top-bar .social a { margin-left: 12px; }

/* ─── NAV ──────────────────────────────────── */
.navbar { background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000; padding: 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; height: 70px; }
.navbar .logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700;
  color: var(--text-primary); letter-spacing: 2px; }
.navbar .logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 1.5px; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.lang-switch { display: flex; gap: 5px; margin-left: 20px; }
.lang-switch button { background: none; border: 1px solid var(--border); color: var(--text-secondary);
  padding: 4px 10px; cursor: pointer; border-radius: 3px; font-size: 0.8rem; transition: all 0.2s; }
.lang-switch button.active { background: var(--gold); color: #000; border-color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 25px; height: 2px; background: var(--text-primary); transition: 0.3s; }

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg-secondary); flex-direction: column; padding: 20px; gap: 15px;
    border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  section { padding: 50px 0; }
}

/* ─── HERO ─────────────────────────────────── */
.hero { height: 90vh; min-height: 600px; position: relative; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1510 50%, #0a0a0a 100%); }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(200,160,74,0.08) 0%, transparent 70%),
              linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero-content h1 { margin-bottom: 20px; text-transform: uppercase; }
.hero-content .hero-sub { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 15px;
  letter-spacing: 1px; }
.hero-content p { color: var(--text-muted); margin-bottom: 35px; font-size: 1.05rem; max-width: 600px;
  margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ─── MARQUEE ──────────────────────────────── */
.marquee { background: var(--bg-secondary); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 15px 0; overflow: hidden;
  white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 25s linear infinite; gap: 40px; }
.marquee span { color: var(--gold); font-family: var(--font-heading); font-size: 1rem;
  letter-spacing: 2px; text-transform: uppercase; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── SERVICES ─────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 35px 25px; text-align: center; transition: transform 0.3s, border-color 0.3s; }
.service-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.service-card .icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 15px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 15px; }
.service-card .price { font-size: 1.3rem; color: var(--gold); font-weight: 700; }
.service-card .duration { font-size: 0.8rem; color: var(--text-muted); margin-top: 5px; }

/* ─── STATS ────────────────────────────────── */
.stats { background: var(--bg-secondary); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item .stat-num { font-family: var(--font-heading); font-size: 2.8rem; color: var(--gold); font-weight: 700; }
.stat-item .stat-label { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase;
  letter-spacing: 2px; margin-top: 5px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── ABOUT ────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--text-secondary); margin-bottom: 25px; line-height: 1.8; }
.about-features { display: flex; gap: 20px; flex-wrap: wrap; }
.about-feature { display: flex; align-items: center; gap: 10px; }
.about-feature .check { color: var(--gold); font-weight: bold; font-size: 1.2rem; }
.about-image { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* ─── GALLERY ──────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-grid .gallery-item { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border); transition: transform 0.3s; }
.gallery-grid .gallery-item:hover { transform: scale(1.03); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── TESTIMONIALS ─────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; }
.testimonial-card .stars { color: var(--gold); margin-bottom: 15px; font-size: 1.1rem; }
.testimonial-card .quote { color: var(--text-secondary); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-card .author { color: var(--gold); font-weight: 600; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ─── CONTACT ──────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: var(--text-secondary); margin-bottom: 30px; }
.contact-info .detail { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.contact-info .detail svg { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.contact-info .detail h4 { font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 3px; }
.contact-info .detail span { color: var(--text-muted); font-size: 0.9rem; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; }
.contact-form h3 { margin-bottom: 20px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 0.9rem; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px;
  background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text-primary); font-size: 0.95rem; font-family: var(--font-body); transition: border-color 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.alert { padding: 15px 20px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(39,174,96,0.15); border: 1px solid var(--success); color: var(--success); }
.alert-danger { background: rgba(192,57,43,0.15); border: 1px solid var(--danger); color: var(--danger); }
.alert-info { background: rgba(200,160,74,0.15); border: 1px solid var(--gold); color: var(--gold); }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ─── CTA ──────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, #1a1510, #0a0a0a); text-align: center; padding: 80px 0; }
.cta-section h2 { margin-bottom: 15px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 30px; }

/* ─── FOOTER ───────────────────────────────── */
.footer { background: #000; border-top: 1px solid var(--border); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-size: 1rem; margin-bottom: 20px; color: var(--gold); text-transform: uppercase;
  letter-spacing: 2px; }
.footer-col p, .footer-col li { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col ul li a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 25px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-bottom .cumaxx-link { color: var(--gold); font-weight: 600; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ─── BOOKING WIZARD ───────────────────────── */
.booking-wizard { max-width: 800px; margin: 0 auto; }
.wizard-steps { display: flex; justify-content: space-between; margin-bottom: 40px; position: relative; }
.wizard-steps::before { content: ''; position: absolute; top: 20px; left: 30px; right: 30px; height: 2px;
  background: var(--border); z-index: 0; }
.wizard-step { position: relative; z-index: 1; text-align: center; flex: 1; }
.wizard-step .step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card);
  border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px; font-weight: 700; font-size: 0.9rem; transition: all 0.3s; color: var(--text-muted); }
.wizard-step.active .step-num { background: var(--gold); border-color: var(--gold); color: #000; }
.wizard-step.done .step-num { background: var(--success); border-color: var(--success); color: #fff; }
.wizard-step .step-label { font-size: 0.8rem; color: var(--text-muted); }
.wizard-step.active .step-label { color: var(--gold); }
.wizard-tab { display: none; }
.wizard-tab.active { display: block; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 40px; padding-top: 25px;
  border-top: 1px solid var(--border); }

/* Service selection cards */
.service-select-list { display: flex; flex-direction: column; gap: 12px; }
.service-select-item { display: flex; align-items: center; justify-content: space-between;
  background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 16px 20px; cursor: pointer; transition: border-color 0.2s; }
.service-select-item:hover { border-color: var(--gold); }
.service-select-item.selected { border-color: var(--gold); background: rgba(200,160,74,0.08); }
.service-select-item .svc-info { flex: 1; }
.service-select-item .svc-name { font-weight: 600; color: var(--text-primary); }
.service-select-item .svc-desc { font-size: 0.82rem; color: var(--text-muted); }
.service-select-item .svc-meta { text-align: right; }
.service-select-item .svc-price { color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.service-select-item .svc-dur { font-size: 0.8rem; color: var(--text-muted); }
.service-select-item .check-circle { width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--border); margin-left: 15px; display: flex; align-items: center;
  justify-content: center; transition: all 0.2s; flex-shrink: 0; }
.service-select-item.selected .check-circle { background: var(--gold); border-color: var(--gold); }
.service-select-item.selected .check-circle::after { content: '✓'; color: #000; font-weight: 700; font-size: 0.8rem; }

/* Employee select */
.employee-select-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.employee-select-card { background: var(--bg-card); border: 2px solid var(--border);
  border-radius: var(--radius); padding: 25px 20px; text-align: center; cursor: pointer;
  transition: border-color 0.2s; }
.employee-select-card:hover { border-color: var(--gold); }
.employee-select-card.selected { border-color: var(--gold); background: rgba(200,160,74,0.08); }
.employee-select-card .emp-avatar { width: 60px; height: 60px; border-radius: 50%;
  background: var(--bg-primary); border: 2px solid var(--border); margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--gold); }
.employee-select-card .emp-name { font-weight: 600; font-size: 1rem; }

/* Slot calendar */
.slot-calendar { overflow-x: auto; }
.slot-calendar-table { min-width: 700px; border-collapse: collapse; width: 100%; }
.slot-calendar-table th { background: var(--bg-card); padding: 12px 8px; text-align: center;
  font-size: 0.8rem; color: var(--text-secondary); border: 1px solid var(--border); }
.slot-calendar-table th .day-name { display: block; font-weight: 600; }
.slot-calendar-table th .day-date { color: var(--text-muted); font-size: 0.75rem; }
.slot-calendar-table td { border: 1px solid var(--border); padding: 8px 4px; vertical-align: top; min-width: 80px; }
.slot-btn { display: block; width: 100%; padding: 8px 4px; background: transparent;
  border: 1px solid var(--border); border-radius: 4px; color: var(--text-secondary);
  font-size: 0.8rem; cursor: pointer; margin-bottom: 4px; transition: all 0.2s; }
.slot-btn:hover { border-color: var(--gold); color: var(--gold); }
.slot-btn.selected { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 700; }

/* Booking summary */
.booking-summary { background: var(--bg-card); border: 1px solid var(--gold);
  border-radius: var(--radius); padding: 30px; text-align: center; }
.booking-summary .check-icon { font-size: 4rem; color: var(--success); margin-bottom: 15px; }
.booking-summary .ref-num { color: var(--gold); font-family: var(--font-heading); font-size: 1.3rem; }
.booking-summary .summary-details { margin: 20px 0; text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
.booking-summary .summary-details dt { color: var(--text-muted); font-size: 0.85rem; margin-top: 10px; }
.booking-summary .summary-details dd { color: var(--text-primary); font-weight: 500; }

/* ─── ADMIN ────────────────────────────────── */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 250px; background: var(--bg-secondary); border-right: 1px solid var(--border);
  padding: 25px 0; flex-shrink: 0; }
.admin-sidebar .admin-logo { padding: 0 25px 25px; border-bottom: 1px solid var(--border);
  margin-bottom: 20px; font-family: var(--font-heading); font-size: 1.2rem; letter-spacing: 1px; }
.admin-sidebar .admin-logo span { color: var(--gold); }
.admin-sidebar nav a { display: block; padding: 12px 25px; color: var(--text-secondary);
  font-size: 0.9rem; transition: all 0.2s; border-left: 3px solid transparent; }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { background: rgba(200,160,74,0.08);
  color: var(--gold); border-left-color: var(--gold); }
.admin-main { flex: 1; padding: 30px; overflow-x: auto; }
.admin-main h2 { margin-bottom: 25px; font-size: 1.6rem; }
@media (max-width: 768px) { .admin-layout { flex-direction: column; }
  .admin-sidebar { width: 100%; } .admin-sidebar nav { display: flex; flex-wrap: wrap; }
  .admin-sidebar nav a { border-left: none; border-bottom: 3px solid transparent; } }

/* Dashboard cards */
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; }
.dash-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 25px; }
.dash-card .dash-label { color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 8px; }
.dash-card .dash-value { font-family: var(--font-heading); font-size: 2rem; color: var(--gold); font-weight: 700; }
.dash-card .dash-icon { float: right; font-size: 2rem; color: var(--text-muted); opacity: 0.2; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.data-table th { background: var(--bg-card); padding: 12px 15px; text-align: left; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 1px; color: var(--text-secondary);
  border-bottom: 2px solid var(--border); }
.data-table td { padding: 12px 15px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.data-table tr:hover td { background: rgba(200,160,74,0.03); }

/* Tab nav */
.tab-nav { display: flex; gap: 5px; margin-bottom: 25px; border-bottom: 2px solid var(--border); }
.tab-nav button { background: none; border: none; padding: 12px 20px; cursor: pointer;
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; transition: all 0.2s;
  border-bottom: 2px solid transparent; margin-bottom: -2px; }
.tab-nav button:hover { color: var(--gold); }
.tab-nav button.active { color: var(--gold); border-bottom-color: var(--gold); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000;
  display: flex; align-items: center; justify-content: center; }
.modal { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; }
.modal h3 { margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 25px; }

/* Utility */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; } .mt-2 { margin-top: 20px; } .mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; } .mb-2 { margin-bottom: 20px; } .mb-3 { margin-bottom: 30px; }
.hidden { display: none !important; }
.loading { text-align: center; padding: 40px; color: var(--text-muted); }
.spinner { display: inline-block; width: 30px; height: 30px; border: 3px solid var(--border);
  border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.badge { display: inline-block; padding: 3px 10px; border-radius: 12px; font-size: 0.75rem;
  font-weight: 600; }
.badge-gold { background: rgba(200,160,74,0.2); color: var(--gold); }
.badge-success { background: rgba(39,174,96,0.2); color: var(--success); }
.badge-danger { background: rgba(192,57,43,0.2); color: var(--danger); }
