/* =========================
   ROOT & RESET
   ========================= */
:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
   --dark: #0f172a;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Playfair Display';
  letter-spacing: 0.05em;
  color: var(--dark);
}

/* =========================
   TOP NAV
   ========================= */
.nav {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
            font-weight: 300;
            color: rgb(52, 52, 52);
            margin-bottom: 0.5rem;
            letter-spacing: -1px;
            text-shadow: 2px 2px 0 var(--accent-light);
        }

@keyframes starPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}


  .star-icon {
            color: gold;
            display: inline-block;
            animation: starPulse 2s ease-in-out infinite;
        }

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

/* =========================
   BOOKING APP CONTAINER
   ========================= */
.app {
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  padding-top: 2rem; /* space for sticky total */
  position: relative;
}

/* =========================
   PROGRESS BAR
   ========================= */
.progress {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.3s ease;
}

/* =========================
   STEP CONTENT
   ========================= */
#stepContainer {
  background: var(--card);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#stepContainer h1 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* =========================
   INPUTS
   ========================= */
input,
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  background: white;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

/* =========================
   SERVICE & OPTION BUTTONS
   ========================= */
#stepContainer button {
  width: 100%;
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

#stepContainer button:hover {
  border-color: var(--primary);
  background: #f8fafc;
}

#stepContainer button.selected {
  border-color: var(--primary);
  background: #eef2ff;
}

/* =========================
   SUMMARY
   ========================= */
#stepContainer p {
  margin: 0.8rem 0;
  color: var(--muted);
}

#stepContainer strong {
  color: var(--text);
  font-size: 1.1rem;
}

/* =========================
   NAV CONTROLS
   ========================= */
.nav-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 10;
}

.nav-controls button {
  flex: 1;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

/* BACK */
#backBtn {
  background: #e5e7eb;
  color: #111827;
}

#backBtn:hover {
  background: #d1d5db;
}

/* NEXT */
#nextBtn {
  background: var(--primary);
  color: white;
}

#nextBtn:hover {
  background: var(--primary-dark);
}



/* =========================
   MOBILE TWEAKS
   ========================= */
@media (max-width: 480px) {
  .app {
    padding: 2rem 1.2rem 3rem;
  }

  #stepContainer {
    padding: 1.5rem;
  }

  #stepContainer h1 {
    font-size: 1.25rem;
  }
}


/* FOOTER */
.footer {
  background: #020617;
  color: white;
  padding: 3rem 1.5rem;
}

.footer-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer-bottom {
  max-width: none;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.social-links a:hover {
  opacity: 1;
}

.footer .contact {
  font-size: 0.9rem;
  color: #cbd5f5;
}
html {
  scroll-behavior: smooth;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
}
section {
  scroll-margin-top: 90px;
}

/* =========================
   VALIDATION
   ========================= */
.error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

input.error-field,
select.error-field,
textarea.error-field {
  border-color: #dc2626;
  background: #fef2f2;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

input[type="email"],
input[type="tel"] {
  font-size: 1rem;
}
.summary-block {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 14px;
  margin-bottom: 1.5rem;
}

.summary-block p {
  margin: 0.4rem 0;
  color: #334155;
}

/* =========================
   CART SUMMARY
   ========================= */
.cart {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.qty {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #cbd5f5;
  background: #eef2ff;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
}

.qty span {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.pay-btn {
  margin-top: 2rem;
  width: 100%;
  padding: 0.9rem;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: rgb(12, 12, 12);
  font-weight: 700;
  cursor: pointer;
}

.cart h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  color: #334155;
}

.cart-item small {
  margin-left: 0.6rem;
  color: #64748b;
  font-weight: 500;
}
button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;           /* controls spacing */
  padding: 1rem;
}

button .subtitle {
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 0;              /* just in case */
  line-height: 1.2;
}


