/* Global Reset, Base Styles & Utilities */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400;1,700&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-purple);
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.align-center {
  display: flex;
  align-items: center;
}

.space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Helper Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-purple { color: var(--primary-purple); }
.text-blue { color: var(--secondary-blue); }
.text-teal { color: var(--accent-teal); }
.text-muted { color: var(--text-muted); }

.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: rgba(94, 18, 94, 0.2);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(94, 18, 94, 0.4);
}

/* Scroll Reveal Animation Utilities */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Reveal Grid Items */
.stagger-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger Grid Container items */
.stagger-grid > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-grid.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger-grid.in-view > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-grid.in-view > *:nth-child(2) { transition-delay: 0.22s; }
.stagger-grid.in-view > *:nth-child(3) { transition-delay: 0.34s; }
.stagger-grid.in-view > *:nth-child(4) { transition-delay: 0.46s; }
.stagger-grid.in-view > *:nth-child(5) { transition-delay: 0.58s; }
.stagger-grid.in-view > *:nth-child(6) { transition-delay: 0.7s; }

/* Global Booking Modal Popup Styles */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(94, 18, 94, 0.6); /* Dark purple transparent overlay */
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  visibility: hidden;
}

.booking-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.booking-modal-content {
  background-color: var(--bg-white);
  width: 90%;
  max-width: 600px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  padding: 2.5rem;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.booking-modal-overlay.active .booking-modal-content {
  transform: translateY(0);
}

.booking-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.booking-modal-close:hover {
  color: #ef4444;
}

.booking-modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.booking-modal-header h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
}

.booking-modal-header p {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.booking-modal-form .form-group-item {
  width: 100%;
}

.booking-modal-form input,
.booking-modal-form select,
.booking-modal-form textarea {
  width: 100%;
  padding: 0.8rem 1.25rem;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--text-main);
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition-fast);
}

.booking-modal-form input:focus,
.booking-modal-form select:focus,
.booking-modal-form textarea:focus {
  background-color: var(--bg-white);
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(94, 18, 94, 0.08);
}

.booking-modal-submit {
  width: 100%;
  background-color: #15803d;
  color: var(--bg-white);
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-top: 1.5rem;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.15);
}

.booking-modal-submit:hover {
  background-color: #166534;
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .booking-form-grid {
    grid-template-columns: 1fr;
  }
  .booking-modal-content {
    padding: 1.5rem;
  }
}
