/* Booking Page Styles - Matching index.html */

/* ===== IMPORTED FROM INDEX.CSS ===== */
:root{
  --maroon: #6b0d2b;
  --beige: #eadfcf;
  --muted: #6d6d6d;
  --card-dark: #363636;
  --card-round: 12px;
  --max-width: 1180px;
}

/* ---------- Reset ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%;font-family:'Montserrat',sans-serif;color:#222;background:#fff}
a{text-decoration:none;color:inherit}
.container{max-width:var(--max-width);margin:0 auto;padding:0 24px}

/* ---------- TOPBAR (Matching index.html) ---------- */
/* Top third - colored section */
.topbar-top {
  background: var(--maroon);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.topbar-top-inner {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
}

/* Bottom two-thirds - white section with navigation */
.topbar-main {
  background: #fff;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.topbar-main-inner {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

/* Logo size matching index */
.logo img {
  height: 70px;
}

.main-nav ul {
  display: flex;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav a {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--maroon);
}

.top-icons {
  display: flex;
  gap: 25px;
  align-items: center;
}

.top-icons .icon {
  color: #333;
  font-size: 20px;
  transition: color 0.3s;
}

.top-icons .icon:hover {
  color: var(--maroon);
}

/* Cart badge styling */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #6b0d2b;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== BOOKING SECTION STYLES ===== */

/* Booking Section */
.booking-section {
  padding: 40px 0;
  background: #f8f8f8;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  text-align: center;
  margin: 10px 0 28px;
  color: #1b1b1b;
  font-weight: 700;
}

.muted {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
}

/* AWB Banner - Matching banner styling from index */
.awb-banner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto 30px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #6b0d2b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.awb-banner:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.awb-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile Wine Bar Banner */
.mobile-winebar-banner {
  background: linear-gradient(135deg, #6b0d2bcc, #6b0d2b);
  border-radius: 12px;
  padding: 20px;
  margin: 0 auto 30px;
  max-width: 980px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(216, 192, 157, 0.3);
}

.banner-icon {
  width: 50px;
  height: 50px;
  background: rgba(216, 192, 157, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.banner-icon i {
  font-size: 24px;
  color: #d8c09d;
}

.banner-content h3 {
  color: #d8c09d;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.banner-content p {
  color: rgba(216, 192, 157, 0.9);
  font-size: 14px;
}

/* Booking Form Container */
.booking-form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Form Groups */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1b1b1b;
  font-size: 16px;
}

/* Input with Button */
.input-with-button {
  display: flex;
  gap: 12px;
  align-items: center;
}

.date-input,
.time-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  background: white;
  cursor: pointer;
}

.date-input:focus,
.time-input:focus {
  outline: none;
  border-color: #6b0d2b;
}

.date-picker-btn,
.time-picker-btn {
  background: #6b0d2b;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.date-picker-btn:hover,
.time-picker-btn:hover {
  background: #5a0b23;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: #333;
  border-radius: 8px;
  border: 1px solid rgba(216, 192, 157, 0.5);
  overflow: hidden;
}

.quantity-btn {
  background: none;
  border: none;
  color: #d8c09d;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.quantity-btn:hover {
  background: rgba(216, 192, 157, 0.1);
}

.quantity-btn i {
  font-size: 16px;
}

.quantity-selector input[type="number"] {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  color: #d8c09d;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}

.price-display {
  font-size: 16px;
  font-weight: bold;
  color: #6b0d2b;
}

.price-note {
  font-size: 12px;
  color: rgba(107, 13, 43, 0.7);
  margin-top: 4px;
}

/* Text Inputs */
.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6b0d2b;
}

.form-group textarea {
  resize: vertical;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f8f8;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: #1b1b1b;
  font-size: 16px;
}

.price-tag {
  background: rgba(107, 13, 43, 0.1);
  color: #6b0d2b;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
}

.checkbox-container {
  position: relative;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #6b0d2b;
  border-radius: 4px;
  display: block;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}

.custom-checkbox::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #6b0d2b;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s;
}

.checkbox-container input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
}

/* Custom Dropdown Styles */
.dropdown-container {
  position: relative;
}

.addon-dropdown {
  width: 100%;
  padding: 12px 16px;
  padding-right: 40px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  background: white;
  appearance: none;
  cursor: pointer;
}

.addon-dropdown:focus {
  outline: none;
  border-color: #6b0d2b;
}

.dropdown-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}

/* Add-on Quantity Group */
.addon-quantity-group {
  padding: 16px;
  background: #f8f8f8;
  border-radius: 8px;
  border: 1px solid #eee;
}

.addon-quantity-group .quantity-selector {
  margin-top: 8px;
}

.done-btn {
  background: #6b0d2b;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.done-btn:hover {
  background: #5a0b23;
}

/* Selected Items */
.selected-items {
  padding: 16px;
  background: #f8f8f8;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 24px;
}

.selected-items h4 {
  margin-bottom: 12px;
  color: #1b1b1b;
  font-size: 16px;
}

.selected-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.selected-item:last-child {
  border-bottom: none;
}

.selected-item i {
  color: #6b0d2b;
  margin-right: 8px;
  font-size: 14px;
}

.selected-item span:not(.item-price) {
  flex: 1;
  color: #333;
  font-size: 14px;
}

.item-price {
  color: #6b0d2b;
  font-weight: 600;
  font-size: 14px;
}

/* Location Section */
.location-section {
  padding: 20px;
  background: rgba(107, 13, 43, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(107, 13, 43, 0.1);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.section-header i {
  color: #6b0d2b;
  font-size: 20px;
}

.section-header h3 {
  font-size: 18px;
  color: #1b1b1b;
  margin: 0;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(107, 13, 43, 0.1);
  border-radius: 6px;
  margin-bottom: 16px;
  border: 1px solid rgba(107, 13, 43, 0.3);
}

.info-card i {
  color: #6b0d2b;
  opacity: 0.7;
  font-size: 16px;
}

.info-card p {
  color: rgba(107, 13, 43, 0.9);
  font-size: 12px;
  margin: 0;
  flex: 1;
}

.location-input {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.location-input i {
  color: #6b0d2b;
  font-size: 20px;
  margin-top: 12px;
}

.location-input textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid rgba(107, 13, 43, 0.5);
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  min-height: 80px;
  background: white;
}

/* Price Summary */
.price-summary {
  padding: 24px;
  background: #333;
  border-radius: 12px;
  border: 1px solid rgba(216, 192, 157, 0.3);
  margin-bottom: 24px;
}

.price-summary h4 {
  color: #d8c09d;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 16px;
}

.price-details {
  color: #d8c09d;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.addon-row {
  padding-left: 12px;
  font-size: 12px;
  margin-bottom: 4px;
}

.price-divider {
  height: 1px;
  background: rgba(216, 192, 157, 0.3);
  margin: 12px 0;
}

.price-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: bold;
}

/* Booking Info */
.booking-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(107, 13, 43, 0.1);
  border-radius: 8px;
  margin-bottom: 24px;
}

.booking-info i {
  color: #6b0d2b;
  font-size: 20px;
}

.booking-info p {
  color: rgba(107, 13, 43, 0.9);
  font-size: 14px;
  margin: 0;
  flex: 1;
}

/* Book Button */
.book-btn {
  width: 100%;
  background: #6b0d2b;
  color: white;
  border: none;
  padding: 20px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background-color 0.3s;
  min-height: 60px;
}

.book-btn:hover {
  background: #5a0b23;
}

.book-btn:disabled {
  background: #999;
  cursor: not-allowed;
}

/* Add-on option styles */
.addon-option {
  display: flex;
  align-items: center;
  padding: 4px 0;
}

.addon-option-image {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: rgba(107, 13, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.addon-option-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.addon-option-details {
  flex: 1;
  min-width: 0;
}

.addon-option-name {
  font-weight: 500;
  font-size: 14px;
  color: #1b1b1b;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.addon-option-price {
  font-size: 12px;
  color: rgba(107, 13, 43, 0.7);
}

/* ===== FOOTER (Matching index.html) ===== */
.footer {
  background: var(--maroon);
  color: #fff;
  padding: 50px 0;
  margin-top: 20px;
}

.footer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-logo {
  height: 65px;
  margin-bottom: 15px;
}

.brand-tagline {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.brand-description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.3s;
  color: #fff;
}

.social-icon:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.social-icon i {
  font-size: 18px;
}

.footer-links-grid {
  display: flex;
  gap: 60px;
}

.footer-links-column {
  flex: 1;
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1100px) {
  .booking-form-container {
    max-width: 95%;
  }
  
  .awb-banner,
  .mobile-winebar-banner {
    max-width: 95%;
  }
  
  .footer-links-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 28px;
  }
  
  .booking-form-container {
    padding: 20px;
  }
  
  .input-with-button {
    flex-direction: column;
    align-items: stretch;
  }
  
  .date-picker-btn,
  .time-picker-btn {
    width: 100%;
    justify-content: center;
  }
  
  .quantity-selector {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .quantity-controls {
    align-self: flex-start;
  }
  
  .price-display {
    align-self: flex-end;
  }
  
  .checkbox-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .checkbox-label {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .mobile-winebar-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .location-input {
    flex-direction: column;
  }
  
  .location-input i {
    margin-top: 0;
    align-self: flex-start;
  }
  
  .book-btn {
    padding: 16px;
    font-size: 16px;
  }
  
  .awb-banner {
    height: 150px;
  }
  
  .addon-option-image {
    width: 32px;
    height: 32px;
    margin-right: 8px;
  }
  
  .addon-option-name {
    font-size: 13px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 35px;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-links-grid {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .icon-row {
    flex-wrap: wrap;
    gap: 15px;
    max-width: 100%;
  }
  
  .booking-form-container {
    padding: 16px;
  }
  
  .price-summary {
    padding: 16px;
  }
  
  .book-btn {
    font-size: 14px;
    padding: 14px;
  }
  
  .awb-banner {
    height: 120px;
  }
  
  .footer-links-grid {
    flex-direction: column;
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 24px;
  }
  
  .awb-banner {
    height: 100px;
  }
  
  .booking-form-container {
    padding: 12px;
  }
}

/* Flatpickr Customization */
.flatpickr-calendar {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.flatpickr-day.selected {
  background: #6b0d2b;
  border-color: #6b0d2b;
}

.flatpickr-day:hover {
  background: rgba(107, 13, 43, 0.1);
  border-color: rgba(107, 13, 43, 0.3);
}

.flatpickr-time input {
  color: #6b0d2b;
}

.flatpickr-time .flatpickr-am-pm:hover {
  background: rgba(107, 13, 43, 0.1);
}

/* Custom Dropdown Styles for Add-ons */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-display {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.dropdown-display:hover {
  border-color: #6b0d2b;
}

.dropdown-display .display-content {
  flex: 1;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.dropdown-display .placeholder {
  color: #999;
}

.dropdown-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: 4px;
}

.dropdown-options.show {
  display: block;
}

.dropdown-option {
  padding: 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s;
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background-color: #f8f8f8;
}

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

.option-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 12px;
  flex-shrink: 0;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.option-details {
  flex: 1;
  min-width: 0;
}

.option-name {
  font-weight: 600;
  font-size: 14px;
  color: #1b1b1b;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.option-price {
  font-size: 13px;
  color: #6b0d2b;
  font-weight: 500;
  margin-bottom: 2px;
}

.option-category {
  font-size: 11px;
  color: #666;
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}

/* Selected add-on display in dropdown */
.dropdown-display .option-content {
  padding: 0;
}

.dropdown-display .option-image {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

.dropdown-display .option-name {
  font-size: 14px;
  margin-bottom: 2px;
}

.dropdown-display .option-price {
  font-size: 12px;
}

.dropdown-display .option-category {
  display: none;
}

/* Mobile responsive for custom dropdown */
@media (max-width: 768px) {
  .option-image {
    width: 40px;
    height: 40px;
    margin-right: 8px;
  }
  
  .option-name {
    font-size: 13px;
  }
  
  .option-price {
    font-size: 12px;
  }
  
  .option-category {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .dropdown-display {
    padding: 10px 12px;
    min-height: 44px;
  }
  
  .dropdown-display .option-image {
    width: 32px;
    height: 32px;
    margin-right: 6px;
  }
  
  .dropdown-display .option-name {
    font-size: 12px;
  }
}