/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --bg-primary: #FAF7F2;
  --bg-secondary: #F3EFE9;
  --text-primary: #3A2E2A;
  --text-secondary: #70635C;
  --text-tertiary: #9B918B;
  --accent-terracotta: #B95938;
  --accent-terracotta-hover: #A04A2C;
  --accent-sage: #D2DBC9;
  --border-color: #E6E0D6;
  --white: #FFFFFF;
  --error: #D93B3B;

  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --container-padding: 2rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

.bb-booking-wrapper * {
  box-sizing: border-box;
}

.bb-booking-wrapper {
  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.bb-booking-wrapper h1, 
.bb-booking-wrapper h2, 
.bb-booking-wrapper h3, 
.bb-booking-wrapper h4, 
.bb-booking-wrapper h5, 
.bb-booking-wrapper h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

.bb-booking-wrapper a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Utilities */
.bb-booking-wrapper .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.bb-booking-wrapper .text-terracotta { color: var(--accent-terracotta); }
.bb-booking-wrapper .text-sage { color: var(--accent-sage); }
.bb-booking-wrapper .text-center { text-align: center; }

/* Buttons */
.bb-booking-wrapper .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.bb-booking-wrapper .btn:not(.btn-disabled):hover {
  transform: translateY(-3px);
}

.badge-gray {
  background-color: #E5E7EB;
  color: #4B5563;
}

.bb-booking-wrapper .btn-primary {
  background-color: var(--accent-terracotta);
  color: var(--white);
}

.bb-booking-wrapper .btn-primary:hover {
  background-color: var(--accent-terracotta-hover);
}

.bb-booking-wrapper .btn-outline {
  background-color: transparent;
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
}

.bb-booking-wrapper .btn-outline:hover {
  background-color: rgba(185, 89, 56, 0.05);
}

.bb-booking-wrapper .btn-block {
  display: flex;
  width: 100%;
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.navbar .logo-icon {
  background-color: var(--accent-terracotta);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-family: var(--font-sans);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 450px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--accent-terracotta);
  font-family: var(--font-sans);
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image-wrapper {
  position: relative;
  padding-bottom: 120%; /* Aspect ratio */
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-bg {
  position: absolute;
  top: 2rem;
  right: -2rem;
  width: 100%;
  height: 100%;
  background-color: var(--accent-sage);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-terracotta);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.card-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-terracotta);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.card-price {
  font-weight: 600;
  font-size: 1.1rem;
}

.tag-badge {
  background-color: var(--bg-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.tag-full {
  background-color: #F8EAEA;
  color: var(--accent-terracotta);
}

.tag-available {
  background-color: #EBF0E6;
  color: #4A633F;
}

/* Event List View */
.event-list-item {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.event-list-item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.event-list-details {
  flex-grow: 1;
}

.event-list-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.event-list-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Forms */
.booking-layout .form-group {
  margin-bottom: 1.5rem;
}

.booking-layout .form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.booking-layout .form-control,
.booking-layout input[type="text"],
.booking-layout input[type="number"],
.booking-layout input[type="email"],
.booking-layout input[type="tel"],
.booking-layout input[type="date"],
.booking-layout select,
.booking-layout textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #E6E0D6 !important;
  border-radius: var(--radius-sm, 8px) !important;
  font-family: var(--font-sans);
  background: var(--white) !important;
  transition: border-color 0.2s ease;
  color: var(--text-primary);
  box-shadow: none !important;
}

.booking-layout .form-control:focus,
.booking-layout input:focus,
.booking-layout select:focus,
.booking-layout textarea:focus {
  outline: none !important;
  border-color: var(--accent-terracotta) !important;
  box-shadow: none !important;
}

#submit-btn {
  background-color: var(--accent-terracotta) !important;
  color: var(--white) !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 1.2rem !important;
  font-size: 1.1rem !important;
  font-family: var(--font-sans);
  font-weight: 600 !important;
  transition: all 0.2s ease;
  cursor: pointer;
}
#submit-btn:hover {
  background-color: var(--accent-terracotta-hover);
}

.booking-layout .form-row {
  display: flex;
  gap: 1rem;
}

.booking-layout .form-row .form-group {
  flex: 1;
}

/* Booking Layout */
.booking-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.booking-form-section {
  margin-bottom: 3rem;
}

.booking-form-section h3 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  color: var(--text-primary);
}

.booking-form-section h3 span {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}

.category-selector {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 600px) {
  .category-selector {
    grid-template-columns: 1fr 1fr;
  }
}

.category-option {
  border: 1px solid var(--border-color, #E6E0D6);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-option:hover {
  border-color: var(--accent-terracotta);
  background-color: rgba(185, 89, 56, 0.02);
}

.category-option.selected {
  border-color: var(--accent-terracotta) !important;
  background-color: #FDF9F8 !important;
  box-shadow: inset 0 0 0 1px var(--accent-terracotta) !important;
}

.category-option h4 {
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.category-option p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.order-summary {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: sticky;
  top: 2rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.summary-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 1.5rem 0;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--accent-terracotta);
  font-weight: 600;
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  padding: 4rem 0;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-links h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-terracotta);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero, .booking-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .nav-links {
    display: none;
  }
}

/* New Event Card Styles */
.event-card-container {
  height: 100%;
}
.event-card {
  padding: 0;
  border: 1px solid var(--border-color);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-header-block {
  background-color: #F8F5EF;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.card-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-terracotta);
  font-weight: 600;
  margin-bottom: 0 !important;
}
.availability-badge {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 500;
}
.badge-green {
  background-color: #EBF0E6;
  color: #4A633F;
}
.badge-orange {
  background-color: #F8EAEA;
  color: var(--accent-terracotta);
}
.badge-red {
  background-color: #F2E3E3;
  color: #D93B3B;
}
.card-date-time {
  font-family: var(--font-sans);
  color: var(--text-secondary);
}
.event-date {
  font-weight: 500;
  margin-bottom: 0.25rem;
}
.event-time {
  font-size: 0.9rem;
}
.card-content {
  padding: 2rem;
  border: none;
}
.btn-disabled {
  background-color: #E6E0D6;
  color: var(--text-tertiary);
  cursor: not-allowed;
  pointer-events: none;
}
.btn-disabled:hover {
  background-color: #E6E0D6;
}

/* Calendar Grid Styles */
.bb-calendar-grid-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px; /* Space for scrollbar */
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background-color: var(--border-color);
  gap: 1px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  min-width: 700px; /* Forces horizontal scroll on mobile */
}

.calendar-header-day {
  background-color: #FAF7F2;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.calendar-day {
  background-color: var(--white);
  min-height: 120px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background-color 0.2s ease;
}

.calendar-day:hover {
  background-color: #FAFAFA;
}

.calendar-date {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
  align-self: flex-end;
  margin-bottom: 0.25rem;
}

.cal-event {
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--surface-bg);
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cal-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Event List View Styles */
.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.list-item:last-child {
  border-bottom: none;
}
/* Filter Bar Styles */
.bb-filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.bb-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid #D9D2C5;
  color: #6B5C55;
  background-color: transparent;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.bb-filter-btn:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
}
.bb-filter-btn.active {
  background-color: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: white;
}

/* =========================================
   WooCommerce Thank You Page Custom Styles
   ========================================= */
.woocommerce-order {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
}

.woocommerce-order .woocommerce-notice--success {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--accent-terracotta);
  text-align: center;
  margin-bottom: 2.5rem;
  border: none;
  background: none;
  padding: 0;
}

.woocommerce-order ul.order_details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background-color: var(--white);
  border: 1px solid #E6E0D6;
  border-radius: var(--radius-md, 8px);
  padding: 2rem;
  list-style: none;
  margin-bottom: 3rem;
  justify-content: space-between;
}

.woocommerce-order ul.order_details li {
  border-right: none;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--text-secondary);
  float: none;
  margin: 0;
  padding: 0;
}

.woocommerce-order ul.order_details li strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-top: 0.5rem;
  text-transform: none;
}

.woocommerce-order h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #E6E0D6;
  padding-bottom: 0.8rem;
}

.woocommerce-order table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  border: none;
  border-radius: 0;
}

.woocommerce-order table.shop_table th,
.woocommerce-order table.shop_table td {
  padding: 1.2rem 0;
  border-top: 1px solid #E6E0D6;
  border-bottom: 1px solid #E6E0D6;
  background: transparent;
}

.woocommerce-order table.shop_table thead th {
  border-top: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.woocommerce-order table.shop_table tbody td {
  color: var(--text-primary);
}

.woocommerce-order table.shop_table tfoot th,
.woocommerce-order table.shop_table tfoot td {
  border-top: none;
  border-bottom: 1px solid #E6E0D6;
  font-weight: 600;
  color: var(--text-primary);
}

.woocommerce-order table.shop_table tfoot tr:last-child th,
.woocommerce-order table.shop_table tfoot tr:last-child td {
  border-bottom: none;
  font-size: 1.1rem;
  color: var(--accent-terracotta);
}

.woocommerce-order address {
  background-color: var(--white);
  border: 1px solid #E6E0D6;
  border-radius: var(--radius-md, 8px);
  padding: 2rem;
  font-style: normal;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* =========================================
   Elementor Addons Widget Default Styles
   ========================================= */
.bb-addons-box {
  background: white;
  border-radius: var(--radius-md, 12px);
  border: 1px solid var(--border-color, #E8E2DA);
  padding: 3rem;
}
.bb-addons-title {
  font-family: var(--font-serif, 'Playfair Display');
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.bb-addons-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary, #6B6966);
  margin-bottom: 2.5rem;
  max-width: 700px;
}
.bb-addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color, #E8E2DA);
}
.bb-addon-name {
  font-family: var(--font-serif, 'Playfair Display');
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.bb-addon-desc {
  color: var(--text-secondary, #6B6966);
  font-size: 0.95rem;
  margin-bottom: 0;
}
.bb-addon-price {
  font-family: var(--font-serif, 'Playfair Display');
  font-size: 1.2rem;
  color: var(--accent-terracotta, #B85B43);
}

/* Custom Calendar Day States */
.calendar-day.cal-today {
  border: 2px solid #B95938 !important;
  background-color: #f4efe1 !important;
}


