:root {
  --primary: #ffffff; /* Swapped to white */
  --primary-dark: #faf9f6;
  --secondary: #dfb743; /* Soft Gold for beautiful contrast against Teal */
  --secondary-hover: #c89e35;
  --background: #00615E; /* Swapped to deep Teal */
  --surface: #004846; /* Darker elegant Teal card surface */
  --text-dark: #ffffff;
  --text-light: #a9cdcc;
  --transition: all 0.4s ease;
  --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.25);
}

body {
  font-family: 'Lora', serif;
  color: var(--text-dark);
  background-color: var(--background);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  color: var(--primary);
}

/* Navbar */
.navbar {
  background: rgba(0, 97, 94, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-link {
  font-family: 'Lora', serif;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: var(--text-dark) !important;
  position: relative;
  transition: var(--transition);
  margin: 0 10px;
}

.nav-link:hover {
  color: var(--secondary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 50%;
  background-color: var(--secondary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

/* Primary Button */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--background) !important;
  border-radius: 0;
  padding: 0.85rem 2rem;
  font-family: 'Lora', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: white !important;
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  border-radius: 0;
  padding: 0.85rem 2rem;
  font-family: 'Lora', serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--background) !important;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeInUp 1s ease backwards;
}

/* Hero Section Placeholder */
.hero-section {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Applying a slightly softer overlay */
  background: linear-gradient(rgba(26, 44, 58, 0.4), rgba(26, 44, 58, 0.4)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: white;
  text-align: center;
}

.hero-section h1 {
  color: white;
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  font-style: italic;
  font-weight: 500;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Booking Widget */
.booking-widget-container {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  z-index: 10;
}

.booking-widget {
  background: var(--surface);
  padding: 1.5rem 2rem;
  border: 1px solid var(--secondary);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.booking-widget .form-group {
  flex: 1;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: 1rem;
}

.booking-widget .form-group:last-of-type {
  border-right: none;
}

.booking-widget label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.booking-widget input,
.booking-widget select {
  border: none;
  border-radius: 0;
  padding: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary);
  box-shadow: none;
  background: transparent;
  width: 100%;
}

.booking-widget input:focus,
.booking-widget select:focus {
  outline: none;
  box-shadow: none;
}

/* Featured Rooms */
.section-padding {
  padding: 100px 0;
}

.room-card {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 97, 94, 0.4);
}

.room-card img {
  height: 300px;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.room-card:hover img {
  transform: scale(1.03);
}

.room-card .card-body {
  padding: 2.5rem;
  text-align: center;
}

.room-title-heading {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
}

.room-price {
  font-size: 1.2rem;
  font-weight: 500;
  font-family: 'Lora', serif;
  color: var(--text-dark);
  border-bottom: 1px solid var(--secondary);
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 1.5rem;
}

.room-price span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

.amenities-list {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  color: var(--text-light);
  font-family: 'Lora', serif;
  font-size: 0.9rem;
}

.amenities-list i {
  color: var(--secondary);
  margin-right: 5px;
}

/* Footer */
footer {
  background-color: var(--primary) !important;
  color: #595959 !important;
  padding: 80px 0 30px;
  border-top: 4px solid var(--secondary);
}

footer h5 {
  color: #1a2c3a !important;
  margin-bottom: 1.5rem;
  font-style: italic;
  letter-spacing: 1px;
}

footer a {
  color: #595959 !important;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--secondary) !important;
}

/* =====================================================
   Flatpickr Date Range Picker – Hotel Skyboat Theme
   ===================================================== */
.flatpickr-calendar {
  font-family: 'Lora', serif;
  border-radius: 0;
  border: 1px solid var(--secondary);
  box-shadow: 0 8px 32px rgba(26, 44, 58, 0.15);
  background: var(--surface) !important;
}

.flatpickr-months .flatpickr-month,
.flatpickr-weekdays,
span.flatpickr-weekday {
  background: var(--surface) !important;
  color: var(--text-dark) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  fill: var(--secondary) !important;
  color: var(--secondary) !important;
}

.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--primary) !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: var(--text-dark) !important;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1rem;
}

.flatpickr-day {
  color: #ffffff !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--secondary) !important;
  border-color: var(--secondary) !important;
  color: #ffffff !important;
  border-radius: 0;
}

.flatpickr-day.inRange {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: transparent !important;
  border-radius: 0;
  box-shadow: -5px 0 0 rgba(255, 255, 255, 0.12), 5px 0 0 rgba(255, 255, 255, 0.12) !important;
}

.flatpickr-day.startRange,
.flatpickr-day.endRange {
  border-radius: 0 !important;
}

.flatpickr-day.today {
  border-color: var(--secondary) !important;
  color: var(--secondary) !important;
  font-weight: 700;
}

.flatpickr-day.today:hover {
  background: var(--secondary) !important;
  color: #ffffff !important;
  border-color: var(--secondary) !important;
}

.flatpickr-day:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-radius: 0;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: rgba(255, 255, 255, 0.25) !important;
}

/* Booking widget range input icon styling */
#date_range_picker {
  cursor: pointer;
}

#date_range_picker.is-invalid {
  border-bottom: 1px solid #dc3545 !important;
}

/* =====================================================
   Dark Theme Global Class Overrides
   ===================================================== */
.bg-white {
  background-color: var(--surface) !important;
}

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

.text-dark {
  color: var(--text-dark) !important;
}

.text-muted {
  color: var(--text-light) !important;
}

.card {
  background-color: var(--surface) !important;
  color: var(--text-dark) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
}

.card-header, .card-footer {
  background-color: var(--surface) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-dark) !important;
}

.form-control, .form-select {
  background-color: var(--surface) !important;
  color: var(--text-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.form-control:focus, .form-select:focus {
  background-color: var(--surface) !important;
  color: var(--text-dark) !important;
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 97, 94, 0.25) !important;
}

.form-control[readonly] {
  background-color: var(--surface) !important;
  color: var(--text-dark) !important;
}

.border-top, .border-bottom, .border-start, .border-end, .border {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.table {
  color: var(--text-dark) !important;
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-dark) !important;
}

.table td, .table th {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
  color: var(--background) !important;
}

.bg-primary.text-white, .bg-primary .text-white {
  color: var(--background) !important;
}

.breadcrumb-item a {
  color: var(--secondary) !important;
}

.breadcrumb-item.active {
  color: var(--text-light) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-light) !important;
}

.step-indicator::before {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.step-circle {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-light) !important;
}

.step.active .step-circle {
  background-color: var(--primary) !important;
  color: var(--background) !important;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.2) !important;
}

.step.active small {
  color: var(--primary) !important;
}

.step.completed .step-circle {
  background-color: var(--primary) !important;
  color: var(--background) !important;
}

footer h4.font-outfit {
  color: #1a2c3a !important;
}

