 
.body-bg {
  background: linear-gradient(to bottom, rgba(20, 21, 22, 0.2), rgba(41, 31, 18, 0.3)),
  url('{% static "img/wall2.png" %}') fixed;
  background-blend-mode: lighten;
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  background-color: #1a1a1a; /* Background color for uncovered areas */
}
.glass-effect {
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}
.glass-footer {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background-color: rgba(100, 50, 0, 0.5); /* Amber with transparency */
}
.logo {
  height: auto;
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* Form container with more compact height */
.form-container {
  background-image: url('{% static "img/bg-form.jpg" %}' )  ;
  background-repeat: repeat;
  background-position: center;
  background-color: #f2e7c3; /* Papyrus/parchment color */
  position: relative;
  box-shadow: 0 10px 20px rgb(225, 109, 42);
  border-radius: 17px;
  overflow: visible;
  transform: scale(1);
  transform-origin: top center;
}


/* Base container for holding the form content */
.form-content {
  position: relative;
  z-index: 2;
}

/* Top border using bar2.png */
.border-top {
  border-radius: 100px;
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  height: 20px;
  background-image: url('{% static "img/bar3.png" %}');
  background-repeat: repeat-x;
  background-size: auto 100%;
  z-index: 3;
}

/* Bottom border using bar2.png */
.border-bottom {
  border-radius: 100px;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 20px;
  background-image: url('{% static "img/bar2.png" %}');
  background-repeat: repeat-x;
  background-size: auto 100%;
  z-index: 3;
}

/* Left border using left.png */
.border-left {
  border-radius: 100px;
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 20px;
  background-image: url('{% static "img/left.png" %}');
  background-repeat: repeat-y;
  background-size: 100% auto;
  z-index: 3;
}

/* Reduce vertical spacing between fields */
.grid.gap-2 {
  gap: 0.25rem !important;
}

.grid.gap-4 {
  gap: 0.5rem !important;
}
/* Right border using right.png */
.border-right {
  border-radius: 100px;
  position: absolute;
  right: -4px;
  top: 0;
  bottom: 0;
  width: 20px;
  background-image: url('{% static "img/right.png" %}');
  background-repeat: repeat-y;
  background-size: 100% auto;
  z-index: 3;
}

/* Corner decorations if needed */
.corner-decorations {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border: 0px solid transparent;
  border-image: url('{% static "img/" %}') 0 round;
  z-index: 2;
}

.form-header {
  background-color: rgba(200, 152, 26, 0.3); /* Gold color with transparency */
  color: #8b4513; /* Dark brown color for text */
  border-bottom: 2px solid #c8981a; /* Gold border */
  position: relative;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  z-index: 2;
}

/* Form wrapper with responsive widths - MODIFIED to move form to center-right */
/* Form wrapper with modified width - making it wider */
.form-wrapper {
  width: 95%;
  max-width: 550px; /* Increased from 500px to 550px */
  margin: 0 0 0 auto;
  position: relative;
  margin-right: 10%;
}

@media (min-width: 640px) {
  .form-wrapper {
    width: 90%;
    margin-right: 12%;
  }
}

@media (min-width: 768px) {
  .form-wrapper {
    width: 80%;
    margin-right: 15%;
  }
}

@media (min-width: 1024px) {
  .form-wrapper {
    width: 500px; /* Increased from 450px to 500px */
    margin-right: 20%;
  }
}

/* Main content container - ADDED to create asymmetric layout */
.main-content-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

@media (min-width: 1024px) {
  .main-content-container {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

/* Content area for text - ADDED for left side content */
.content-area {
  flex: 1;
  padding-right: 5%;
}

/* Form area - ADDED for right side form */
.form-area {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
textarea {
  height: 40px !important;
  min-height: 40px !important;
}
/* Adjust form input fields to match the Egyptian theme */
.form-select, input, textarea, select {
  background-color: rgba(242, 231, 195, 0.6); /* Light papyrus color */
  border: 1px solid #c8981a; /* Gold border */
  color: #8b4513 !important; /* Dark brown text */
  border-radius: 4px;
  padding-top: 0.375rem !important;
  padding-bottom: 0.375rem !important;
  
  font-size: 0.7rem !important;
}

input::placeholder, textarea::placeholder, select::placeholder {
  color: #a38b6b;
}

input:hover, textarea:hover, select:hover {
  background-color: rgba(242, 231, 195, 0.8);
  border-color: #daa520;
}

input:focus, textarea:focus, select:focus {
  background-color: rgba(242, 231, 195, 1);
  border-color: #c8981a;
  box-shadow: 0 0 0 2px rgba(200, 152, 26, 0.3);
  color: #8b4513 !important;
}

select option {
  background-color: #f2e7c3;
  color: #8b4513;
}

/* Fancy Button Styling */
.Btn {
  width: 100%; /* Make button full width on mobile */
  max-width: 200px; /* Maximum width */
  height: 40px !important; /* Reduced from 50px */
  margin-top: 0.25rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right,#77530a,#ffd277,#77530a,#77530a,#ffd277,#77530a);
  background-size: 300%;
  background-position: left;
  color: #ffd277;
  position: relative;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 1s;
  overflow: hidden;
  font-size: 11px !important;
}

.Btn::before {
  position: absolute;
  content: "CONFIRM BOOKING";
  color: #ffd277;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 99%;
  height: 85% !important;
  border-radius: 8px;
  transition-duration: 1s;
  background-color: rgba(0, 0, 0, 0.842);
  background-size: 200%;
  font-weight: bold;
}

.Btn:hover {
  background-position: right;
  transition-duration: 1s;
}

.Btn:hover::before {
  background-position: right;
  transition-duration: 1s;
}

.Btn:active {
  transform: scale(0.95);
}

/* Adjust form labels to match the Egyptian theme */
.form-label {
  color: #8b4513;
  margin-bottom: 0.25rem !important;
  font-size: 0.65rem !important;
  font-weight: 600;
}

/* Mobile menu button */
.mobile-menu-btn {
  color: #fff;
  display: none;
}
/* Mobile menu with Egyptian theme */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 300px;
  background-image: url('{% static "img/bg-form.jpg" %}');
  background-repeat: repeat;
  background-position: center;
  background-color: #f2e7c3; /* Papyrus color */
  z-index: 49;
  padding: 0.5rem;
  border: 3px solid #c8981a;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Top border decoration */
.mobile-menu:before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  height: 8px;
  background-image: url('{% static "img/bar3.png" %}');
  background-repeat: repeat-x;
  background-size: auto 100%;
  border-radius: 10px 10px 0 0;
  z-index: 50;
}

/* Bottom border decoration */
.mobile-menu:after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 8px;
  background-image: url('{% static "img/bar2.png" %}');
  background-repeat: repeat-x;
  background-size: auto 100%;
  border-radius: 0 0 10px 10px;
  z-index: 50;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #8b4513; /* Dark brown text */
  text-align: center;
  font-weight: 600;
  border-bottom: 2px solid rgba(200, 152, 26, 0.5);
  margin-bottom: 0.25rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.mobile-menu a:hover {
  background-color: rgba(200, 152, 26, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(139, 69, 19, 0.3);
}
/* Adjusting iti phone input for better mobile display */
.iti {
  width: 100%;
}

/* Invalid form field styling */
.is-invalid {
  border-color: #e53e3e !important;
  box-shadow: 0 0 0 1px rgba(229, 62, 62, 0.3) !important;
}

/* Custom styles for intl-tel-input to match theme */
.iti__country-list {
  background-color: #f2e7c3;
  border: 1px solid #c8981a;
}

.iti__country {
  color: #8b4513;
}

.iti__country:hover {
  background-color: #daa520;
  color: #f2e7c3;
}

.iti__flag-box, .iti__country-name {
  color: #8b4513;
}

/* Responsive navbar */
.navbar {
  width: 85%;
  max-width: 90%;
}

@media (min-width: 640px) {
  .navbar {
    width: 90%;
    max-width: 600px;
  }
}

@media (min-width: 768px) {
  .navbar {
    width: 95%;
    max-width: 800px;
  }
}

@media (min-width: 1024px) {
  .navbar {
    width: 95%;
    max-width: 4xl;
  }
}

/* Responsive font sizing */
.form-wrapper .text-display, 
.form-wrapper .booking-detail {
  font-size: 12px;
}

@media (min-width: 640px) {
  .form-wrapper .text-display, 
  .form-wrapper .booking-detail {
    font-size: 13px;
  }
  .form-content form {
    padding: 0.5rem !important;
  }
}
.form-header h2 {
  margin-top: 2px !important;
  padding-top: 2px !important;
  font-size: 17px !important;
  margin-bottom: 0 !important;
}
.form-wrapper  {
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
  margin-top: 6px;
  padding-top: 6px;
}

@media (min-width: 640px) {
  .form-wrapper .form-header h2 {
    font-size: 22px;
  }
}

/* Hamburger menu button */
.hamburger-btn {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  display: none;
}

.hamburger-btn span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger-btn span:nth-child(1) {
  top: 0px;
}

.hamburger-btn span:nth-child(2) {
  top: 10px;
}

.hamburger-btn span:nth-child(3) {
  top: 20px;
}

.hamburger-btn.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger-btn.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Modify title alignment for better balance with form position */
.page-title-container {
  text-align: left;
  margin-left: 180px;
  margin-top: 100px;
  padding: 20px;

}

@media (min-width: 1024px) {
  .page-title-container {
    text-align: center;
    padding-left: 5%;
    max-width: 50%;
  }
}
@media (max-width: 768px) {
  .page-title-container {
    text-align: center;
    margin-left: 0;
    margin-top: 10px;
  }
}
/* Responsive breakpoints */
@media (max-width: 1024px) {
  .navbar-container {
    width: 95%;
  }
  
  /* Reset form position on smaller screens */
  .form-wrapper {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .menu-items {
    display: none;
  }
  
  .hamburger-btn {
    display: block;
  }
  
  .navbar-container {
    padding: 0 15px;
  }
  
  .navbar-logo span {
    font-size: 16px;
    margin-right: 0;
  }
  
  /* Center form on mobile */
  .form-wrapper {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .transfer-switcher {
    top: -12px;
    right: 5px;
    padding: 3px;
  }
  
  .switcher-option {
    padding: 4px 8px;
    font-size: 9px;
  }
  .border-top, .border-bottom {
    height: 15px;
  }
  
  .border-left, .border-right {
    width: 15px;
  }
  
  .form-header h2 {
    font-size: 18px !important;
  }
  
  .form-container {
    border-radius: 12px;
  }
  
  /* Adjust form spacing for small screens */
  .form-content form {
    padding: 0.75rem 1rem !important;
    gap: 0.5rem !important;
  }
  
  .form-content input, 
  .form-content select, 
  .form-content textarea {
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
    font-size: 0.7rem !important;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Optimize footer for mobile */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-contact {
    justify-content: center;
  }
}
    
/* Transfer Type Switcher Styles */
.transfer-switcher {
  position: absolute;
  top: -15px;
  right: 10px;
  z-index: 10;
  background: linear-gradient(135deg, #c8981a, #daa520);
  border-radius: 20px;
  padding: 4px;
  box-shadow: 0 4px 10px rgba(200, 152, 26, 0.3);
}

.switcher-option {
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 10px;
  font-weight: 600;
  color: #8b4513;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.switcher-option.active {
  background: #f2e7c3;
  color: #8b4513;
  box-shadow: 0 2px 5px rgba(139, 69, 19, 0.2);
}

.switcher-option:hover:not(.active) {
  background: rgba(242, 231, 195, 0.5);
}


@media (max-width: 480px) {
  .navbar-logo img {
    height: 16px;
  }
  
  .form-wrapper {
    padding: 0 10px;
  }
  
  .page-title {
    font-size: 20px;
  }
  
  .page-subtitle {
    font-size: 14px;
  }
  
  /* Further reduce form padding */
  .form-content form {
    gap: 8px !important;
    padding: 0.5rem !important;
  }
  
  /* Stack all form fields vertically on smallest screens */
  .form-grid-2 {
    grid-template-columns: 1fr !important;
  }
}
