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

:root {
  --bg: #0a0f12;
  --bg-2: #10171b;
  --bg-3: #162026;
  --accent: #00d2ff;
  --accent-light: #6ee7ff;
  --accent-dark: #008fb3;
  --text: #f5f5f5;
  --text-muted: #9ca3af;
  --border: rgba(0, 210, 255, 0.25);
  --border-soft: rgba(255, 255, 255, 0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Tajawal', 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* BUTTONS */
.btn-accent {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #0a0f12;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.35);
}
.btn-accent.full { width: 100%; margin-top: 8px; }

.btn-accent-sm {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-accent-sm:hover { background: var(--accent); color: #0a0f12; }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline-sm {
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  margin-top: 16px;
  transition: all 0.3s;
}
.btn-outline-sm:hover { border-color: #d9534f; color: #d9534f; }

/* NAV */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 210, 255, 0.1), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 210, 255, 0.05), transparent 50%),
    var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 210, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6%;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--border-soft);
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: 15px; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* HERO CONTENT */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 6%;
  position: relative;
  z-index: 5;
}
.hero-tag { color: var(--accent); font-size: 13px; letter-spacing: 6px; margin-bottom: 20px; font-weight: 500; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(60px, 12vw, 140px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.hero-title .accent { color: var(--accent); }
.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.5vw, 26px);
  font-style: italic;
  color: var(--accent-light);
  margin-bottom: 6px;
}
.hero-sub-ar { color: var(--text-muted); font-size: 18px; margin-bottom: 40px; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.hero-rating { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 14px; }
.stars { color: var(--accent); letter-spacing: 2px; }

/* TRUST BAR */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 6%;
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.trust-num { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--accent); font-weight: 700; }
.trust-label { color: var(--text-muted); font-size: 13px; margin-top: 4px; }
.trust-divider { width: 1px; height: 40px; background: var(--border-soft); }

/* SECTION HEAD */
.section-head { text-align: center; padding: 80px 6% 40px; }
.section-tag { color: var(--accent); font-size: 12px; letter-spacing: 5px; margin-bottom: 12px; font-weight: 600; }
.section-title {
  font-family: 'Playfair Display', 'Tajawal', serif;
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 12px;
  font-weight: 700;
}
.section-desc { color: var(--text-muted); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* SERVICES */
.services { padding-bottom: 80px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 0 6%;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--border);
  transform: translateY(-6px);
  background: var(--bg-3);
}
.service-icon { font-size: 42px; margin-bottom: 16px; color: var(--accent); }
.service-card h3 { font-family: 'Tajawal', sans-serif; font-size: 20px; margin-bottom: 4px; font-weight: 700; }
.service-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }
.price {
  display: inline-block;
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
  font-family: 'Tajawal', sans-serif;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
  min-width: 80px;
}

/* BOOKING */
.booking { padding-bottom: 100px; }
.booking-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 0 6%;
  max-width: 1200px;
  margin: 0 auto;
}
.calendar-card, .form-card {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 28px;
}
.calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.calendar-head h3 { font-family: 'Tajawal', sans-serif; font-size: 20px; }
.date-nav { display: flex; align-items: center; gap: 10px; }
.date-nav button {
  background: var(--bg-3);
  border: 1px solid var(--border-soft);
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
}
.date-nav button:hover { border-color: var(--accent); color: var(--accent); }
.date-nav span { font-size: 14px; color: var(--text-muted); min-width: 100px; text-align: center; }

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}
.slot {
  padding: 12px 8px;
  background: var(--bg-3);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
  color: var(--text);
  font-family: inherit;
}
.slot:hover:not(.booked) { border-color: var(--accent); color: var(--accent); }
.slot.selected { background: var(--accent); color: #0a0f12; border-color: var(--accent); font-weight: 700; }
.slot.booked { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }
.slots-note { margin-top: 16px; font-size: 12px; color: var(--text-muted); }

/* FORM */
.form-card h3 { font-family: 'Tajawal', sans-serif; font-size: 20px; margin-bottom: 20px; }
.form-card label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; margin-top: 14px; }
.form-card input, .form-card select {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border 0.3s;
}
.form-card input:focus, .form-card select:focus { outline: none; border-color: var(--accent); }
.form-card input::placeholder { color: #555; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; text-align: center; }

/* CONTACT */
.contact {
  text-align: center;
  padding: 80px 6%;
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
}
.contact p { color: var(--text-muted); margin-bottom: 10px; }
.contact .btn-accent { margin-top: 24px; }

/* FOOTER */
.footer {
  padding: 50px 6% 30px;
  background: #050505;
  border-top: 1px solid var(--border-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer .logo { font-size: 24px; margin-bottom: 8px; }
.footer p { color: var(--text-muted); font-size: 14px; }
.footer-jupiter { text-align: left; }
.footer-jupiter a {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 15px;
  transition: color 0.3s;
}
.footer-jupiter a:hover { color: var(--accent-light); }
.copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 12px;
  color: #555;
}

/* OWNER MODE */
.owner-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 20px;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s;
}
.owner-toggle:hover { background: var(--accent); color: #0a0f12; }
.owner-panel {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  max-height: 70vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  z-index: 99;
  display: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
.owner-panel.open { display: block; }
.owner-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.owner-head h3 { font-size: 16px; font-family: 'Tajawal', sans-serif; }
.owner-head button { background: transparent; border: none; color: var(--text-muted); font-size: 18px; cursor: pointer; }
.owner-note { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.owner-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.owner-item { background: var(--bg-3); border: 1px solid var(--border-soft); border-radius: 6px; padding: 12px; font-size: 13px; }
.owner-item strong { color: var(--accent); display: block; margin-bottom: 4px; }
.owner-item .cancel-btn {
  background: transparent;
  border: 1px solid #d9534f;
  color: #d9534f;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  margin-top: 6px;
  font-family: inherit;
}
.owner-item .cancel-btn:hover { background: #d9534f; color: #fff; }
.owner-empty { text-align: center; color: var(--text-muted); font-size: 13px; padding: 20px 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .booking-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .trust-divider { display: none; }
  .trust-bar { gap: 20px; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
  .footer-jupiter { text-align: center; }
}
@media (max-width: 600px) {
  .nav { padding: 18px 5%; }
  .logo { font-size: 22px; }
  .btn-accent-sm { padding: 6px 14px; font-size: 13px; }
  .section-head { padding: 60px 5% 30px; }
  .services-grid, .booking-wrap { padding: 0 5%; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 280px; }
  .hero-actions a { width: 100%; }
  .slots { grid-template-columns: repeat(auto-fill, minmax(85px, 1fr)); }
  .calendar-card, .form-card { padding: 20px; }
}