/* ===========================
   BASE
=========================== */
body {
  background-color: #1D1612;
  color: #F5F5F0;
  -webkit-font-smoothing: antialiased;
}

/* ===========================
   HEADER
=========================== */
.glass-header {
  background: rgba(29, 22, 18, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

/* ===========================
   BUTTONS
=========================== */
.gold-gradient-btn {
  background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gold-gradient-btn:hover {
  background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* ===========================
   CARDS
=========================== */
.espresso-card {
  background-color: rgba(42, 33, 28, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.espresso-card:hover {
  background-color: rgba(42, 33, 28, 0.9);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
}

.ivory-card {
  background-color: #ffffff;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.ivory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border-color: #D4AF37;
}

/* ===========================
   HERO
=========================== */
.hero-overlay {
  background: linear-gradient(
    to right,
    rgba(29, 22, 18, 0.95) 0%,
    rgba(29, 22, 18, 0.7) 50%,
    rgba(29, 22, 18, 0.4) 100%
  );
}

/* ===========================
   NAVIGATION (FIXED)
=========================== */
.nav-link {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 245, 240, 0.8);
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #D4AF37;
}

.nav-active {
  color: #D4AF37;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  padding-bottom: 0.25rem;
}

/* ===========================
   DECOR
=========================== */
.chess-pattern-light {
  background-image: radial-gradient(#D4AF37 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.05;
}

/* ===========================
   WHATSAPP FLOAT
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 100;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}
/* ===========================
   ABOUT PAGE
=========================== */

.expertise-card {
  padding: 2rem; /* p-8 */
  background-color: #ffffff;
  border-radius: 1rem; /* rounded-2xl */
  border: 1px solid rgba(212, 175, 55, 0.1); /* border-primary/10 */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* shadow-sm */
  transition: all 0.2s ease;
}

.expertise-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
}
/* ===========================
   PROGRAMS PAGE
=========================== */

.program-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.program-table th {
  padding: 1rem 1.5rem; /* py-4 px-6 */
  font-size: 0.75rem; /* text-xs */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1); /* border-primary/10 */
  color: inherit;
}

.program-table td {
  padding: 1rem 1.5rem; /* py-4 px-6 */
  font-size: 0.875rem; /* text-sm */
  border-bottom: 1px solid rgba(212, 175, 55, 0.05); /* border-primary/5 */
  font-family: "Manrope", sans-serif;
}

.program-card {
  border-radius: 1rem; /* rounded-2xl */
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.1); /* border-primary/10 */
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15); /* shadow-xl */
  background-color: rgba(42, 33, 28, 0.6); /* matches theme */
}
/* ===========================
   BOOKINGS PAGE
=========================== */

/* Disabled gold button */
.gold-gradient-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Form inputs */
.form-input {
  width: 100%;
  background-color: #F9F7F2; /* soft-ivory */
  border: 1px solid #E5E7EB; /* gray-200 */
  color: #1D1612; /* espresso */
  border-radius: 0.5rem; /* rounded-lg */
  padding: 0.75rem 1rem; /* py-3 px-4 */
  font-family: "Manrope", sans-serif;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* Selection cards */
.selection-card {
  border: 2px solid #F3F4F6; /* gray-100 */
  padding: 1.5rem;
  border-radius: 0.75rem; /* rounded-xl */
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.selection-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.selection-card.active {
  border-color: #D4AF37;
  background-color: rgba(212, 175, 55, 0.05);
}

/* Step indicator */
.step-pill {
  height: 0.375rem; /* h-1.5 */
  flex: 1;
  border-radius: 9999px;
  transition: all 0.5s ease;
}

/* Calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  padding: 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.cal-day:hover {
  border: 1px solid rgba(212, 175, 55, 0.5);
}

.cal-day.disabled {
  color: #D1D5DB; /* gray-300 */
  cursor: not-allowed;
}

.cal-day.selected {
  background-color: #D4AF37;
  color: #1D1612;
  font-weight: 700;
}

/* Time slots */
.timeslot {
  padding: 0.75rem;
  border: 2px solid #F3F4F6;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #6B7280; /* gray-500 */
  transition: all 0.2s ease;
  cursor: pointer;
}

.timeslot:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

.timeslot.selected {
  border-color: #D4AF37;
  background-color: rgba(212, 175, 55, 0.1);
  color: #1D1612;
  font-weight: 700;
}

/* Errors */
.error-text {
  color: #EF4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}
/* ===========================
   SUCCESS PAGE
=========================== */

.empty-state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 3rem; /* p-12 */
  background-color: #ffffff;
  border-radius: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.05); /* border-primary/5 */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25); /* shadow-2xl */
}

/* md:p-24 */
@media (min-width: 768px) {
  .empty-state-card {
    padding: 6rem;
  }
}

.watermark-icon {
  margin-bottom: 2rem; /* mb-8 */
  color: rgba(212, 175, 55, 0.2);
  transform: scale(2.5);
  user-select: none;
}
/* ===========================
   LOGIN PAGE
=========================== */

/* Page-scoped body */
.login-body {
  background-color: #F5F5F0; /* ivory */
  color: #1D1612; /* espresso */
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Login-specific gold button */
.gold-gradient-btn.login-btn:hover {
  background: linear-gradient(135deg, #E5C158 0%, #D4AF37 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Chess background pattern */
.chess-pattern {
  background-color: #F5F5F0;
  background-image: radial-gradient(
    circle at 2px 2px,
    #1D1612 1px,
    transparent 0
  );
  background-size: 40px 40px;
  opacity: 0.03;
}

/* Input fields */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem; /* py-3 px-4 */
  background-color: #ffffff;
  border: 1px solid rgba(29, 22, 18, 0.1); /* espresso/10 */
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: "Manrope", sans-serif;
  color: #1D1612;
  outline: none;
  transition: all 0.2s ease;
}

.input-field:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.4);
}
/* ===========================
   ADMIN PAGE
=========================== */

/* Page-scoped body */
.admin-body {
  background-color: #F5F5F0; /* ivory */
  color: #1D1612; /* espresso */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Admin navigation tabs */
.nav-tab {
  padding: 1rem 1.5rem; /* px-6 py-4 */
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-tab.active {
  border-color: #D4AF37;
  color: #D4AF37;
}

.nav-tab:not(.active) {
  color: rgba(29, 22, 18, 0.4);
}

.nav-tab:not(.active):hover {
  color: rgba(29, 22, 18, 0.7);
}

/* Admin form input */
.form-input-admin {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #E5E7EB; /* gray-200 */
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: "Manrope", sans-serif;
  transition: all 0.2s ease;
}

.form-input-admin:focus {
  outline: none;
  border-color: #D4AF37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}

/* File dropzone */
.dropzone {
  border: 2px dashed rgba(212, 175, 55, 0.3);
  border-radius: 1rem;
  background-color: #F9F7F2; /* soft-ivory */
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dropzone:hover {
  background-color: rgba(212, 175, 55, 0.05);
  border-color: rgba(212, 175, 55, 0.5);
}
/* ===========================
   GLOBAL MOBILE BOTTOM NAV
=========================== */

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  height: 64px;
  background-color: #ffffff;
  border-top: 1px solid rgba(29, 22, 18, 0.1);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(29, 22, 18, 0.45);
  transition: all 0.2s ease;
}

.mobile-nav-item span.material-symbols-outlined {
  font-size: 22px;
}

.mobile-nav-item:hover {
  color: #1D1612;
}

.mobile-nav-item.active {
  color: #D4AF37;
}

/* Prevent content hiding behind nav */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
  }
}
/* ===========================
   GLOBAL MOBILE OPTIMIZATION
=========================== */

@media (max-width: 768px) {

  /* Reduce default text slightly */
  body {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Headings scale down */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.15rem;
  }

  /* Reduce excessive padding on sections */
  main {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
  }
}
/* ===========================
   WHATSAPP FLOAT – MOBILE FIX
=========================== */

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 96px; /* moves above mobile bottom nav */
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 55px; /* space for sticky mobile summary */
  }
}
