/* Base Styles */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #d4aa70;
  --accent-color: #e64e4e;
  --background-color: #ffffff;
  --text-color: #333333;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #888888;
  --white: #ffffff;
  --black: #000000;
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --toast-success: #4CAF50;
  --toast-error: #f44336;
  --toast-info: #2196F3;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #c0934f;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-block {
  display: block;
  width: 100%;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-title.centered {
  text-align: center;
}

.section-divider {
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.section-divider.centered {
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--dark-gray);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: var(--secondary-color);
}

.nav-list {
  display: flex;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  position: relative;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 5px 0;
  transition: 0.4s;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1621605815971-fbc98d665033?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 0 20px;
  margin-top: 80px; /* Header height offset */
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Booking Section */
.booking {
  padding: 100px 0;
  background-color: var(--light-gray);
}

.booking-content {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.half {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 16px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--secondary-color);
  outline: none;
}

textarea.form-control {
  resize: vertical;
}
/* Phone number input styling */
input[type="tel"] {
  direction: ltr; /* Makes numbers display LTR even in RTL layout */
  text-align: left;
}

.form-text {
  display: block;
  margin-top: 5px;
  font-size: 0.8rem;
  color: var(--medium-gray);
}

/* Error styling for invalid phone */
input:invalid {
  border-color: #ff4444;
}

/* Date input customization */
input[type="date"] {
  /* Prevent manual input */
  position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
  display: none;
}

/* Toast notification */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 350px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  font-size: 14px;
  line-height: 1.4;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.success {
  background-color: var(--toast-success);
  border-left: 5px solid #2E7D32;
}

.toast.error {
  background-color: var(--toast-error);
  border-left: 5px solid #C62828;
}

.toast.info {
  background-color: var(--toast-info);
  border-left: 5px solid #1565C0;
}

.toast-icon {
  margin-right: 12px;
  font-size: 20px;
}

.toast-close {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  margin-left: 15px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.toast-close:hover {
  opacity: 1;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--secondary-color);
}

.footer-logo p {
  opacity: 0.8;
  margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .nav-list {
    margin-top: 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .section-title {
    font-size: 2rem;
  }
}




.booking-details-section {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.booking-entry {
  margin-bottom: 15px;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.confirmation-section {
  text-align: center;
  margin: 20px 0;
}

#timer {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
}

.btn {
  padding: 10px 20px;
  margin: 5px;
}