@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

body {
  font-family: "Inter", "Universal Sans Display", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

/* Navbar Styles */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 70px;
}

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

.nav-brand-main {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
}

.nav-menu li {
  margin: 0 15px;
}

.nav-menu a {
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #667eea;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  width: auto;
  min-width: 40px;
  flex-shrink: 0;
}

.hamburger-menu:hover {
  background-color: #f8f9fa;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Mobile Menu Styles */
@media (max-width: 600px) {
  .hamburger-menu {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    padding: 0;
    margin: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin: 0;
    padding: 0;
  }

  .nav-menu a {
    display: block;
    padding: 15px 20px;
    width: 100%;
    margin: 0;
    text-align: center;
    box-sizing: border-box;
  }

  .nav-menu li:hover {
    background-color: #f8f9fa;
  }

  .nav-menu a:hover {
    background-color: transparent;
  }
}

/* Language selector styles */
.language-selector {
  display: flex;
  gap: 5px;
  margin-left: auto;
}

.lang-btn {
  background: none;
  border: 2px solid #fff;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: #fff;
  color: #333;
}

.lang-btn.active {
  background: #fff;
  color: #333;
}

/* Mobile responsive for language selector */
@media (max-width: 768px) {
  .nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .language-selector {
    margin-left: 0;
    order: 2;
  }

  .hamburger-menu {
    order: 3;
    margin-left: 10px;
  }
}

/* Banner Styles */
.banner-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  color: white;
  max-width: 600px;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  font-size: 1.3rem;
  margin: 0;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.reserve-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.reserve-btn:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.5);
}

/* Main content container */
#reservation-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Footer Styles */
.page-footer {
  background-color: #343a40;
  color: white;
  padding: 40px 0 20px 0;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.footer-section h3 {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 2px solid #6c757d;
  padding-bottom: 8px;
}

.footer-section p {
  color: #e9ecef;
  margin: 8px 0;
  line-height: 1.6;
}

#reservation-form {
  display: block;
}

#reservation-container.hidden {
  display: none;
}

#reservation-form input {
  display: block;
  margin-bottom: 10px;
  padding: 8px;
  width: 300px;
}

.item-section {
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 20px;
}

/* Calendar Styles */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  gap: 15px;
}

.calendar-nav {
  background: #f8f9fa;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 2px 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.calendar-nav:hover {
  background-color: #f0f0f0;
}

.calendar-nav:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Bulk Selection Buttons */
.bulk-selection-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 5px;
  clear: both;
}

.bulk-btn {
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.2s;
}

.bulk-btn:hover {
  background-color: #0056b3;
}

/* Multi-Day Booking Controls */
.booking-controls {
  margin-bottom: 20px;
}

.booking-mode-toggle {
  margin-bottom: 15px;
  padding: 10px;
  background-color: #e9ecef;
  border-radius: 5px;
}

.booking-mode-toggle label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  cursor: pointer;
}

.date-range-picker {
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 5px;
  margin-bottom: 15px;
}

.date-time-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.date-time-input label {
  min-width: 50px;
  font-weight: bold;
}

.date-time-input input,
.date-time-input select {
  padding: 5px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.apply-range-btn {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.apply-range-btn:hover {
  background-color: #218838;
}

.range-info {
  padding: 10px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  margin-bottom: 10px;
  color: #155724;
}

/* Item Selector Styles */
.item-selector {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 2px solid #dee2e6;
}

.item-selector label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
}

.item-selector select {
  width: 100%;
  padding: 12px 15px;
  font-size: 14px;
  border: 2px solid #ced4da;
  border-radius: 6px;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.2s;
}

.item-selector select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.booking-section {
  margin-top: 20px;
}

.booking-section.hidden {
  display: none;
}

.selected-item-info {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #e7f3ff;
  border-left: 4px solid #007bff;
  border-radius: 4px;
}

.selected-item-info h3 {
  margin: 0;
  color: #0056b3;
}

/* Multi-item summary styles */
.multi-item-summary {
  margin: 20px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 8px;
}

.multi-item-summary.hidden {
  display: none !important;
}

.multi-item-summary h3 {
  margin-top: 0;
  color: #333;
}

.selected-item {
  margin-bottom: 15px;
  padding: 10px;
  background-color: white;
  border-radius: 4px;
  border-left: 4px solid #007bff;
}

.selected-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  gap: 8px;
}

.selected-item-name {
  font-weight: bold;
  color: #333;
  flex-grow: 1;
}

.delete-item-btn {
  background: none;
  border: none;
  font-size: 12px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
  transition: background-color 0.2s;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-item-btn:hover {
  background-color: #f8d7da;
  color: #721c24;
}

.selected-item-details {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.selected-item-total {
  font-weight: bold;
  color: #007bff;
  text-align: right;
}

.total-summary {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #dee2e6;
  text-align: right;
  font-size: 18px;
}

.booking-controls {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #dee2e6;
}

.date-range-picker {
  display: none;
}

.date-range-picker.show {
  display: block;
}

.calendar-container {
  margin: 15px 0;
}

.calendar-header h4 {
  text-align: center;
  margin: 10px 0;
  color: #333;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  max-width: 400px;
  margin: 0 auto;
}

.calendar-day-header {
  padding: 8px;
  text-align: center;
  font-weight: bold;
  background-color: #f0f0f0;
  color: #666;
  font-size: 12px;
}

.calendar-day {
  padding: 8px;
  text-align: center;
  border: 1px solid #ddd;
  background-color: white;
  cursor: pointer;
  font-size: 14px;
  min-height: 35px;
}

.calendar-day.current-month {
  background-color: #f9f9f9;
  color: black;
}

.calendar-day.current-month:hover {
  background-color: #e9e9e9;
}

.calendar-day.other-month {
  background-color: #f5f5f5;
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.past-date {
  background-color: #f0f0f0;
  color: #999;
  cursor: not-allowed;
}

.calendar-day.today {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

.calendar-day.active {
  background-color: #28a745;
  color: white;
  font-weight: bold;
}

.calendar-day:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Price Summary Styles */
.price-summary {
  background-color: #f8f9fa;
  border: 2px solid #28a745;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.price-summary h3 {
  margin: 0 0 15px 0;
  color: #28a745;
  font-size: 24px;
}

.price-summary.hidden {
  display: none;
}

#selected-items-list {
  text-align: left;
  max-height: 200px;
  overflow-y: auto;
}

.selected-item {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  margin: 5px 0;
  font-size: 14px;
}

.selected-item-name {
  font-weight: bold;
  color: #333;
}

.selected-item-details {
  color: #666;
  margin-top: 5px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.time-slot {
  padding: 10px;
  margin: 5px;
  border: 2px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  background-color: white;
}

.time-slot.next-day {
  background-color: #f0f8ff;
  border-color: #87ceeb;
}

.time-slot.selected {
  background-color: #28a745;
  color: white;
}

.time-slot.booked {
  background-color: #dc3545;
  color: white;
  cursor: not-allowed;
}

button {
  background-color: #4caf50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

button:hover {
  background-color: #45a049;
}

/* Payment styles */
#payment-element {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
}

#payment-message {
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
}

#payment-message.hidden {
  display: none;
}

/* Thank You Page Styles */
.thank-you-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.thank-you-page.hidden {
  display: none;
}

.thank-you-content {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thank-you-content h1 {
  color: #28a745;
  font-size: 2.5em;
  margin-bottom: 20px;
}

.thank-you-message {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 30px;
}

.confirmation-details {
  background: white;
  border-radius: 10px;
  padding: 30px;
  margin: 30px 0;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.confirmation-details h2 {
  color: #333;
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #28a745;
  padding-bottom: 10px;
}

.info-section {
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.info-section h3 {
  color: #495057;
  margin-bottom: 15px;
}

.reservation-item {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
}

.reservation-item-name {
  font-weight: bold;
  color: #333;
  font-size: 1.1em;
}

.reservation-details {
  color: #666;
  margin: 8px 0;
}

.unlock-code {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 5px;
  padding: 8px 12px;
  margin: 8px 0;
  font-family: monospace;
  font-size: 16px;
  font-weight: bold;
  color: #856404;
}

.important-notes {
  background: #e8f5e8;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.important-notes h3 {
  color: #155724;
  margin-bottom: 15px;
}

.important-notes ul {
  color: #155724;
  margin: 0;
  padding-left: 20px;
}

.important-notes li {
  margin: 8px 0;
}

.new-reservation-btn {
  background: #28a745;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s;
}

.new-reservation-btn:hover {
  background: #218838;
}

#submit-button:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}
