/* --- Global Reset & Luxury Nude Theme --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  background-color: #fdfbf7;
  color: #3a2e2b;
  line-height: 1.6;
  direction: rtl;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  border-bottom: 1px solid #eae2d6;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 42px;
  height: 42px;
  background-color: #f5efe6;
  border: 1px solid #d7c6b5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.logo-text h1 {
  font-size: 16px;
  color: #6e5a4a;
  font-weight: 900;
  line-height: 1;
}

.logo-text span {
  font-size: 10px;
  color: #b58a63;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #6e5a4a;
  font-weight: 700;
  font-size: 14px;
  transition: color 0.3s;
}

.nav-btn {
  background: linear-gradient(135deg, #d4af37 0%, #8c6f56 100%);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
  transition: transform 0.2s;
}

.nav-btn:hover {
  transform: scale(1.05);
}

/* Hero Section */
.hero-modern {
  background: linear-gradient(135deg, #fdfbf7 0%, #f5efe6 100%);
  padding: 60px 5%;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background-color: #efe4d6;
  color: #8c6f56;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 15px;
  border: 1px solid #e2d2c0;
}

.hero-main-title {
  font-size: 38px;
  line-height: 1.3;
  color: #3a2e2b;
  font-weight: 900;
  margin-bottom: 15px;
}

.gold-highlight {
  color: #b58a63;
}

.hero-description {
  font-size: 15px;
  color: #6e5a4a;
  margin-bottom: 25px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #8c6f56 0%, #6e5a4a 100%);
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(140, 111, 86, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: #6e5a4a;
  padding: 12px 22px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid #d7c6b5;
  cursor: pointer;
}

.hero-visual .image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(74, 62, 61, 0.1);
  border: 3px solid #ffffff;
}

.hero-main-img {
  width: 100%;
  height: 400px;
  object-fit: fill;
  display: flex;
}

.floating-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #3a2e2b;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Promo Banner */
.promo-banner {
  background: linear-gradient(135deg, #8c6f56, #5a4738);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin: 30px 5%;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(140, 111, 86, 0.2);
}

.promo-content h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.promo-content p {
  font-size: 14px;
  color: #f5efe6;
  margin-bottom: 15px;
}

.promo-btn {
  background-color: #fdfbf7;
  color: #5a4738;
  padding: 10px 22px;
  border-radius: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: transform 0.3s;
}

.promo-btn:hover {
  transform: scale(1.05);
}

/* Pricing & Services Section */
.pricing-section {
  padding: 50px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}
.section-title h2 {
  font-size: 28px;
  color: #3a2e2b;
}
.section-title p {
  font-size: 13px;
  color: #8c7361;
}

/* Interactive Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: #f5efe6;
  border: 1px solid #d7c6b5;
  color: #6e5a4a;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
  background-color: #8c6f56;
  color: #ffffff;
  border-color: #8c6f56;
  box-shadow: 0 4px 12px rgba(140, 111, 86, 0.25);
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid #eae2d6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  position: relative;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(140, 111, 86, 0.15);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.service-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.card-info {
  padding: 18px;
  text-align: center;
}

.card-info h3 {
  font-size: 17px;
  color: #3a2e2b;
  margin-bottom: 6px;
}

.price-tag {
  font-size: 20px;
  font-weight: 900;
  color: #8c6f56;
  margin-bottom: 4px;
}

.discount-text {
  font-size: 11px;
  color: #27ae60;
  font-weight: 700;
  margin-bottom: 12px;
}

.book-btn {
  width: 100%;
  background: linear-gradient(135deg, #f5efe6 0%, #e2d2c0 100%);
  color: #5a4738;
  border: 1px solid #d7c6b5;
  padding: 10px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.book-btn:hover {
  background: #8c6f56;
  color: #fff;
  border-color: #8c6f56;
}

/* AI Workspace Placeholder Section */
.ai-container {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 40px auto;
}

.ai-box {
  background: linear-gradient(135deg, #2d2523 0%, #1a1514 100%);
  color: #fff;
  border-radius: 24px;
  padding: 50px 20px;
  text-align: center;
  border: 2px dashed #d4af37;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.ai-icon {
  font-size: 40px;
  margin-bottom: 10px;
}
.ai-box h2 {
  font-size: 26px;
  color: #d4af37;
  margin-bottom: 10px;
}
.ai-box p {
  font-size: 14px;
  color: #d7c6b5;
  margin-bottom: 20px;
}

.ai-placeholder-pulse {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid #d4af37;
  border-radius: 20px;
  color: #d4af37;
  font-size: 12px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

/* Modals (Pop-ups) */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  padding: 30px 25px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #8c7361;
  cursor: pointer;
}

.selected-service-card {
  background-color: #f5efe6;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 10px;
  border: 1px solid #d7c6b5;
}

.discount-applied-msg {
  font-size: 12px;
  color: #27ae60;
  font-weight: bold;
  margin-bottom: 20px;
}

.whatsapp-send-btn,
.activate-discount-btn {
  width: 100%;
  background-color: #25d366;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

.activate-discount-btn {
  background: linear-gradient(135deg, #8c6f56, #6e5a4a);
}

/* Footer */
.footer-bar {
  background-color: #3a2e2b;
  color: #fff;
  text-align: center;
  padding: 30px 5%;
}

.footer-content p {
  font-size: 13px;
  color: #c4b3a0;
  margin-bottom: 4px;
}
.copyright {
  font-size: 11px;
  color: #887563;
  margin-top: 10px;
}

/* Responsive Media Queries for Mobile & iPads */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-main-title {
    font-size: 30px;
  }
  .hero-main-img {
    height: 260px;
  }
}

/* --- Checkbox Styling --- */
.select-service-checkbox,
.new-client-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  margin-top: 10px;
}

.select-service-checkbox input,
.new-client-checkbox input {
  display: none;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #8c6f56;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
}

.select-service-checkbox input:checked + .checkbox-custom,
.new-client-checkbox input:checked + .checkbox-custom {
  background-color: #8c6f56;
  border-color: #8c6f56;
}

.select-service-checkbox input:checked + .checkbox-custom::after,
.new-client-checkbox input:checked + .checkbox-custom::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 13px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-label {
  font-size: 13px;
  font-weight: bold;
  color: #6e5a4a;
}

/* Active card highlight when checked */
.service-card.selected-card {
  border: 2px solid #8c6f56;
  background-color: #fffdf9;
  box-shadow: 0 6px 20px rgba(140, 111, 86, 0.15);
}

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #8c6f56, #5a4738);
  color: #fff;
  border: none;
  padding: 14px 22px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s;
}

.floating-cart-btn:hover {
  transform: scale(1.05);
}

/* --- Slide-Over Cart Sidebar --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1500;
  display: none;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  left: -400px; /* Hidden offscreen by default */
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: #fdfbf7;
  z-index: 1600;
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.open {
  left: 0; /* Slide-in effect */
}

.cart-overlay.open {
  display: block;
}

.sidebar-header {
  background-color: #8c6f56;
  color: #fff;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h3 {
  font-size: 16px;
}

.close-sidebar-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.sidebar-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.cart-items-list {
  margin-bottom: 20px;
}

.empty-cart-msg {
  text-align: center;
  color: #8c7361;
  font-size: 13px;
  padding: 20px 0;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #eae2d6;
  margin-bottom: 8px;
  font-size: 13px;
}

.remove-item-btn {
  color: #e74c3c;
  cursor: pointer;
  font-size: 14px;
  border: none;
  background: none;
}

/* Appointment Inputs */
.new-client-box,
.appointment-picker-box {
  background-color: #f5efe6;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 1px solid #d7c6b5;
}

.appointment-picker-box h4 {
  font-size: 13px;
  color: #5a4738;
  margin-bottom: 10px;
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.input-group label {
  font-size: 11px;
  color: #6e5a4a;
  margin-bottom: 3px;
  font-weight: bold;
}

.input-group input,
.input-group select {
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #d7c6b5;
  font-size: 13px;
  background-color: #fff;
}

.cart-summary-box {
  border-top: 2px dashed #d7c6b5;
  padding-top: 12px;
  margin-top: 10px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 900;
  color: #3a2e2b;
}

.sidebar-footer {
  padding: 15px 20px;
  background-color: #fff;
  border-top: 1px solid #eae2d6;
}

.whatsapp-confirm-btn {
  width: 100%;
  background-color: #25d366;
  color: white;
  border: none;
  padding: 13px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
