html {
  scroll-behavior: smooth;
}

/* Color Scheme */
:root {
    --base-color: #dcd8cc;
    --accent-color: #bcb4b4;
    --text-color: #000000;
    --background-color: #dcd8cc;
    --button-color: #8a7f7f;
    --required-color: #d4af37; 
  }
  
  /* Apply colors to the body */
  body {
    background-color: var(--background-color);
    color: var(--base-color);
    padding-top: 105px; /* Adjust for fixed navbar */
    font-family: 'Arial', sans-serif; /* Default body font */
  }


  
/* Navigation Bar */
.navbar {
  background-color: var(--base-color) !important;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

/* Logo and Address */
.navbar-brand {
  font-family: 'QuorthonDarkIV', serif;
  font-weight: 700;
  font-size: 3rem; /* Slightly smaller for better balance */
  color: var(--text-color) !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align logo and address to the left */
}

.navbar-address {
  color: var(--text-color);
  font-family: 'Arial', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  margin-top: 0.25rem;
  letter-spacing: 0.5px;
}

/* General Nav Links */
.nav-link {
  color: var(--text-color) !important;
  font-family: 'Arial', sans-serif;
  font-weight: 500; /* Slightly bolder for better readability */
  padding: 10px 15px;
  transition: all 0.3s ease;
  position: relative; /* For hover effect */
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%; /* Underline effect on hover */
}

/* Special Styling for 'Wait List' and 'Email List' Links */
.nav-item.waitlist-item,
.nav-item.email-list-item {
  margin-left: 10px;
}

.nav-link.waitlist-link,
.nav-link.email-list-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 25px; /* More rounded corners */
  font-weight: 600; /* Bolder text */
}

/* Wait List Link */
.nav-link.waitlist-link {
  background-color: var(--accent-color);
  color: var(--text-color) !important;
  border: 1px solid transparent; /* Add a border for distinction */
}

.nav-link.waitlist-link:hover {
  background-color: darken(var(--accent-color), 10%);
  border-color: var(--text-color); /* Add a border on hover */
}

/* Email List Link */
.nav-link.email-list-link {
  background-color: transparent;
  color: var(--text-color) !important;
  border: 2px solid var(--accent-color);
}

.nav-link.email-list-link:hover {
  background-color: var(--accent-color);
  color: var(--text-color) !important;
}

.nav-link.waitlist-link::after,
.nav-link.apply-link::after,
.nav-link.email-list-link::after {
  display: none !important;
}

/* Apply Button - Styled like Wait List */
.nav-item.apply-item {
  margin-left: 10px;
}

.nav-link.apply-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 25px;
  font-weight: 600;
  background-color: transparent;
  color: var(--text-color) !important;
  border: 2px solid var(--accent-color);
  text-decoration: none;
}

.nav-link.apply-link:hover {
  background-color: var(--accent-color);
  color: var(--text-color) !important;
}


/* Responsive Design */
@media (max-width: 992px) {
  .navbar-brand {
    font-size: 1.8rem; /* Smaller logo for mobile */
  }

  .navbar-address {
    font-size: 0.8rem; /* Smaller address for mobile */
  }

  .nav-item.waitlist-item,
  .nav-item.email-list-item,
  .nav-item.apply-item {
    margin-left: 0;
    margin-top: 10px;
  }

  .nav-link.waitlist-link,
  .nav-link.email-list-link,
  .nav-link.apply-link {
    width: 100%;
    text-align: center;
  }

  .nav-link {
    padding: 8px 12px; /* Smaller padding for mobile */
  }
}





/* Hero Section with Two Columns */
.hero-section {
  height: 100vh; /* Full viewport height */
  min-height: 100vh; /* Ensure it covers at least the viewport height */
  overflow: hidden; /* Ensure no overflow */
  color: var(--text-color);
  background-color: var(--background-color);
  display: flex; /* Add flexbox to the hero section */
  align-items: stretch; /* Ensure columns stretch to the same height */
}

/* Container for the row */
.container-fluid.h-100 {
  height: 100%; /* Ensure the container takes full height */
}

/* Row inside the container */
.row.h-100 {
  display: flex; /* Use flexbox to stretch columns */
  align-items: stretch; /* Ensure columns stretch to the same height */
  height: 100%; /* Ensure the row takes full height */
}

/* Left Column: Video and Hero Content */
.col-lg-8 {
  position: relative; /* Constrain the absolutely positioned video container */
  height: 100%; /* Take full height */
  flex: 2; /* Take up 2/3 of the available space */
  display: flex; /* Add flexbox to the left column */
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
}

.video-container {
  width: 100%;
  height: 100%;
  z-index: 0; /* Place behind the content */
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensure the video fills the container */
}

/* Right Column: Three Panels */
.col-lg-4 {
  height: 100%; /* Take full height */
  padding: 10px; /* Reduced padding for better spacing */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute space evenly between panels */
  flex: 1; /* Take up 1/3 of the available space */
}

.panel {
  flex: 1;
  margin-top: 10px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.panel:hover {
  transform: translateY(-5px); /* Lift the panel slightly */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a shadow for depth */
}

.panel:hover img {
  transform: scale(1.1);
  filter: brightness(0.8); /* Darken the image on hover */
}

.panel-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(188, 180, 180, 0.9); /* Lower opacity (0.8) */
  color: #ffffff;
  padding: 10px 15px; /* Reduce padding to bring text closer */
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px; /* Reduce gap between h3 and p */
  padding-bottom: 20px;
}

.panel-text h3 {
  font-size: 1.25rem;
  margin: 0; /* Remove bottom margin */
  letter-spacing: 1px;
  color: #ffffff;
  white-space: nowrap;
}

.panel-text p {
  font-size: 1rem;
  line-height: 1; /* Reduce line height for tighter spacing */
  margin: 0;
  font-style: italic;
  opacity: 0.8;
  white-space: nowrap;
}

.panel-text .icon {
  font-size: 1.2rem;
  margin-left: 3px; /* Slightly reduce spacing before the arrow */
  transition: transform 0.3s ease;
}

.panel:hover .panel-text .icon {
  opacity: 1;
  transform: translateX(5px);
}



/* Responsive Design */
@media (max-width: 992px) {
  .hero-section {
    height: auto; /* Allow height to adjust on smaller screens */
    min-height: auto; 
  }

  .row.h-100 {
    flex-direction: column; /* Stack columns vertically on smaller screens */
  }

  .col-lg-8,
  .col-lg-4 {
    flex: 1; /* Reset flex to take full width on smaller screens */
    height: auto; /* Allow height to adjust based on content */
  }

  .col-lg-8,
  .col-lg-4 {
    flex: 1; /* Equal height for both columns on mobile */
    height: auto; /* Allow height to adjust based on content */
  }


  .video-container {
    height: 800px; /* Fixed height for video on mobile */
  }

  .col-lg-4 {
    padding: 0 10px;
  }

  .panel {
    height: 250px; /* Fixed height instead of stretching to full height */
    margin-bottom: 20px;
  }

  .panel img {
    height: 100%;
    object-fit: cover;
  }

  .panel-text {
    padding: 12px;
    bottom: 0;
    text-align: left;
    background: rgba(0, 0, 0, 0.5); /* Darker overlay for contrast on small screens */
  }
  
  .panel-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  
  .panel-text p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 1;
  }
  
  .panel-text .icon {
    font-size: 1rem;
  }
}



/* Pop-up Form Styles */
.popup-form-container {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-form-content {
  position: relative;
  background-color: white;
  padding: 35px 25px 25px 25px;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.popup-form-content h2 {
  color: black;
  font-size: 1.8rem;
}

.popup-form-content p {
  color: black;
  font-size: 1rem;
}

.popup-form-content input[type="email"] {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.popup-form-content .btn {
  background-color: var(--button-color);
  color: white;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  width: 100%;
  padding: 12px;
  transition: background-color 0.3s ease;
}

.popup-form-content .btn:hover {
  background-color: #756b6b;
}


#thankYouSection {
  background-color: var(--base-color);
  padding: 30px 25px;
  margin-top: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  color: var(--text-color);
  font-size: 1.05rem;
  text-align: center;
}

#thankYouSection h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--button-color);
  margin-bottom: 10px;
  font-family: 'QuorthonDarkIV', serif;
}

#thankYouSection p {
  margin-bottom: 8px;
  color: var(--text-color);
}

.close-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 20px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: color 0.2s ease;
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  margin-top: 0.25rem;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.spinner-border {
  vertical-align: text-top;
}


.close-btn:hover {
  color: #8a7f7f;
}

.popup-form-content input.error {
  border: 1px solid #ff6b6b;
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

@media (max-width: 480px) {
  .close-btn {
    top: 5px;
    right: 10px;
    font-size: 20px;
  }
}


  
/* About Section Styling */
#about {
  background-color: white; /* White background */
  padding: 80px 0;
}

#about h1 {
  color: var(--text-color); /* Black text for the heading */
  font-family: QuorthonDarkIV, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 20px; /* Added spacing below the heading */
}

#about p {
  color: var(--text-color); 
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

#about .lead {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-color); /* Use accent color for the lead paragraph */
}

#about .btn {
  min-width: 200px;
  text-align: center;
  padding: 10px 20px;
  font-size: 1rem;
}

#about .btn-outline-primary {
  border: 2px solid var(--button-color);
  color: var(--button-color);
  background-color: transparent;
  transition: all 0.3s ease;
}

#about .btn-outline-primary:hover {
  background-color: var(--accent-color);
  color: var(--text-color);
  border-color: var(--accent-color);
}

  

  /* Sections (About, Luxury, Contact) */
  section {
    background-color: var(--background-color);
    padding: 60px 0;
  }
  
  section h2 {
    color: var(--base-color);
    font-family: QuorthonDarkIV;
    font-weight: 700;
  }



/* Contact Section */
.contact-section {
background-color: #FFFFFF; /* White background */
padding: 80px 0;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.contact-section h2 {
font-family: QuorthonDarkIV;
font-weight: 700;
font-size: 2.5rem;
margin-bottom: 30px;
text-align: center;
color: var(--text-color); 
}

.contact-section p {
  color: var(--text-color);
}


/* Contact Form */
.contact-form {
background-color: var(--background-color); /* Light beige */
padding: 30px;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Soft shadow */
}

/* Form Labels */
.contact-form .form-label {
font-weight: 600;
color: var(--text-color);
}

/* Form Inputs */
.contact-form .form-control,
.contact-form .form-select {
border: 1px solid rgba(101, 67, 33, 0.2); /* Light brown border */
border-radius: 5px;
background-color: #FFF;
color: var(--text-color);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
border-color: var(--accent-color); /* Yellow accent */
box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); /* Subtle yellow glow */
}

/* Submit Button */

.contact-form .btn-primary {
  background-color: var(--button-color); /* use the richer muted color from your palette */
  color: #fff; /* white text for contrast */
  border: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  display: block;
  width: 100%; /* Full-width button */
  text-align: center;
}

/* Submit Button - Hover State */
.contact-form .btn-primary:hover {
  background-color: #543c1f; /* Rich brown hover */
  color: var(--accent-color); /* Accent text on hover */
}


.required {
  color: var(--required-color);
  font-weight: bold;
  margin-left: 3px;
  font-size: 1.2rem;
}

/* Wait List Thank You Message Styling */
.waitlist-thankyou {
  display: none;
  background-color: var(--base-color);
  padding: 40px 30px;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  color: var(--text-color);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-family: 'Arial', sans-serif;
}

.waitlist-thankyou h4 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--button-color);
  margin-bottom: 16px;
  font-family: 'QuorthonDarkIV', serif;
}

.waitlist-thankyou p {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 0;
}



/* Responsive Design */
@media (max-width: 768px) {
.contact-section {
  padding: 50px 20px;
}

.contact-form {
  padding: 20px;
}

.contact-section h2 {
  font-size: 2rem;
}

.contact-form .btn-primary {
  font-size: 1rem;
}
}



/* Luxury Section */
#luxury {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#luxury .video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#luxury .luxury-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.luxury-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-color);
  text-align: center;
  z-index: 1;
  background-color: rgba(220, 216, 204, 0.8);
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 1200px;
}

.luxury-overlay h2 {
  font-family: QuorthonDarkIV;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.luxury-overlay p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Thumbnail Grid */
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


.thumbnail-item {
  position: relative;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1/1;
  width: 100%; /* Will respect parent grid sizing */
}

.thumbnail-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

/* Smaller label for compact thumbnails */
.thumbnail-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
}


/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: flex-start; /* Changed from center to flex-start */
  padding-top: 120px;
  box-sizing: border-box;
  overflow-y: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: calc(90vh - 80px); /* Account for padding */
  text-align: center;
  margin: 20px auto;
}

.media-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.lightbox-media {
  max-width: 100%;
  max-height: 70vh; /* Reduced slightly for better fit */
  border-radius: 5px;
}

.lightbox-caption {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 15px;
  padding: 0 20px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 1001;
  padding: 0 20px;
  user-select: none;
}

.lightbox-nav.prev {
  left: 0;
}

.lightbox-nav.next {
  right: 0;
}


.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 95%; /* optional: lets it scale nicely on small screens */
  }

  .thumbnail-item {
    aspect-ratio: 1/1; /* Keep square thumbnails */
  }

  .luxury-overlay {
    padding: 20px;
    margin-top: 20px;
  }

  .lightbox {
    padding-top: 60px; /* Smaller header on mobile */
  }
  
  .close-btn {
    top: 70px;
  }
  
  .lightbox-media {
    max-height: 60vh;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  
  .close-btn {
    width: 40px;
    height: 40px;
    font-size: 2rem;
  }
  
  .lightbox-caption {
    font-size: 1rem;
  }

  .thumbnail-label {
    font-size: 0.9rem;
  }
}



/* Availability Section */
#availability {
  background-color: #FFFFFF; /* White background */
  padding: 80px 0; /* Consistent padding */
}

#availability h2 {
  font-family: QuorthonDarkIV;
  font-weight: 700;
  color: var(--text-color); /* Black text for better contrast */
  font-size: 2.5rem; /* Larger font size for emphasis */
  margin-bottom: 20px;
  text-align: center;
}

#availability p {
  font-family: 'Arial', sans-serif;
  color: var(--text-color); /* Black text for better contrast */
  font-size: 1.2rem;
  line-height: 1.8; /* Improved readability */
  text-align: center;
  max-width: 800px; /* Limit width for better readability */
  margin: 0 auto 40px; /* Center the text and add bottom margin */
}

/* Filter Buttons */
.filter-btn {
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color); /* Black text for better contrast */
  background-color: transparent;
  border: 2px solid var(--accent-color); /* Accent color for border */
  border-radius: 25px;
  padding: 10px 20px;
  margin: 5px;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent-color); /* Accent color for background */
  color: #FFFFFF; /* White text for better contrast */
  border-color: var(--accent-color); /* Accent color for border */
}

/* Table Styling */
.table {
  background-color: #FFFFFF; /* White background */
  border-collapse: separate;
  border-spacing: 0 10px; /* Add spacing between rows */
}

.table thead th {
  font-family: QuorthonDarkIV;
  font-weight: 700;
  color: var(--text-color); /* Black text for better contrast */
  border-bottom: 2px solid var(--accent-color); /* Accent color for border */
}

.table tbody tr {
  background-color: #FFFFFF; /* White background */
  border: 1px solid rgba(0, 0, 0, 0.1); /* Light border for separation */
  border-radius: 10px;
  transition: all 0.3s ease;
}

.table tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05); /* Light hover effect */
  cursor: pointer;
}

.table tbody td {
  font-family: 'Arial', sans-serif;
  color: var(--text-color); /* Black text for better contrast */
  padding: 15px;
}

/* Modal Styling */
.modal-content {
  background-color: #dcd8cc !important;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1); /* Light border */
  color: #000 !important;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Light border */
  padding: 20px; /* Add padding for better spacing */
  background-color: #dcd8cc;
  color: #000; 
}

.modal-title {
  font-family: QuorthonDarkIV;
  font-weight: 700;
  color: #000000; /* Black text for better contrast */
  font-size: 1.5rem; /* Larger font size for emphasis */
}

.modal-body {
  padding: 20px;
  background-color: #FFFFFF; /* White background */
}

/* Image in Modal */
.modal-body img {
  width: 100%; /* Full width */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Consistent border radius */
  margin-bottom: 20px; /* Add spacing below the image */
}

/* Description Text */
.modal-body h4 {
  text-align: left;
  font-weight: 700;
  color: #000000; /* Black text for better contrast */
  font-size: 1.25rem; /* Larger font size for emphasis */
  margin-bottom: 10px; /* Add spacing below the heading */
}

#unitDescription {
  text-align: left;
  list-style-type: disc;
  padding-left: 20px;
  font-family: 'Arial', sans-serif;
  color: #000000; /* Black text for better contrast */
  font-size: 1rem; /* Consistent font size */
  line-height: 1.6; /* Improved readability */
}

/* Form Styling */

#unitInterestForm {
  background-color: var(--base-color);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}


#unitInterestForm label {
  font-family: 'Arial', sans-serif;
  color: #000000 !important;
  font-weight: 500;
  font-size: 1rem; /* Consistent font size */
}

#unitInterestForm input,
#unitInterestForm select,
#unitInterestForm textarea {
  background-color: #FFFFFF; /* White background */
  border: 1px solid rgba(0, 0, 0, 0.1); /* Light border */
  border-radius: 5px;
  color: #000000 !important;
  font-size: 1rem; /* Consistent font size */
  padding: 10px; /* Add padding for better input field size */
}

#unitInterestForm input:focus,
#unitInterestForm select:focus,
#unitInterestForm textarea:focus {
  border-color: var(--accent-color); /* Accent color for focus */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.btn-primary {
  --bs-btn-bg: #8a7f7f !important;  /* Custom button background */
  --bs-btn-color: #fff !important; /* Force white text */
  --bs-btn-border-color: #8a7f7f !important; /* Border color */
  --bs-btn-hover-bg: #756b6b !important; /* Darker hover color */
  --bs-btn-hover-border-color: #756b6b !important; /* Hover border */
}


#unitInterestForm .btn-primary {
  background-color: #8a7f7f !important; /* Force background */
  color: #FFFFFF !important; /* Force white text */
  border: none !important;
  font-weight: 600 !important;
  padding: 12px 20px !important;
  border-radius: 25px !important;
  transition: all 0.3s ease !important;
  font-size: 1rem !important;
}

#unitInterestForm .btn-primary:hover {
  background-color: #756b6b !important; /* Darker hover effect */
}

/* Custom styles for the "View" button */
.view-floor-plan {
  background-color: var(--button-color);
  color: var(--text-color);
  border: 1px solid var(--accent-color);
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.view-floor-plan:hover {
  background-color: var(--accent-color);
  color: var(--text-color);
}


/* Leased Unit Styling */
.leased-row {
  background-color: rgba(255, 0, 0, 0.1) !important;
  position: relative;
}

.leased-row:hover {
  background-color: rgba(255, 0, 0, 0.15) !important;
}

/* Leased Modal Styling */
.leased-modal-content {
  background-color: #fff8f8 !important;
  border: 2px solid #d9534f;
}

.leased-modal-content .modal-header {
  background-color: #d9534f !important;
  color: white !important;
}

.leased-modal-content .modal-title {
  color: white !important;
}

/* Disabled form styling */
#unitModal form[disabled] {
  position: relative;
}

#unitModal form[disabled]::before {
  content: "LEASED";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d9534f;
  font-size: 3rem;
  font-weight: bold;
  z-index: 1000;
}

#unitModal form[disabled] * {
  pointer-events: none;
}

/* Floor Plan Modal Leased Overlay */
.leased-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.leased-overlay .leased-text {
  color: #d9534f;
  font-size: 3rem;
  font-weight: bold;
  transform: rotate(-15deg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Badge styles for modal titles */
.badge.bg-danger {
  font-size: 0.8rem;
  vertical-align: middle;
  margin-left: 10px;
}

/* More prominent leased row styling */
.leased-row td {
  position: relative;
  color: #721c24 !important;
  background-color: rgba(220, 53, 69, 0.1) !important;
}

.leased-row td:first-child {
  font-weight: bold;
}

.leased-row:hover td {
  background-color: rgba(220, 53, 69, 0.15) !important;
}

tr.leased-row[data-leased="true"] {
  background-color: rgba(255, 0, 0, 0.1) !important;
  position: relative;
}



tr.leased-row[data-leased="true"] td {
  position: relative;
  color: #721c24 !important;
  background-color: rgba(220, 53, 69, 0.1) !important;
}





/* Amenities Section */
#amenities {
  background-color: var(--background-color);
  padding: 80px 0;
}

#amenities h2 {
  font-family: QuorthonDarkIV;
  font-weight: 700;
  color: var(--text-color);
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

.amenity-panel {
  background-color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.amenity-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.amenity-video-container {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.amenity-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenity-content {
  padding: 20px;
}

.amenity-content h3 {
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  color: var(--text-color);
  font-size: 1.75rem;
  margin-bottom: 15px;
}

.amenity-summary {
  font-family: 'Arial', sans-serif;
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 20px;
}

.amenity-details {
  display: none; /* Hidden by default */
  margin-top: 20px;
}

.amenity-details p {
  font-family: 'Arial', sans-serif;
  color: var(--text-color);
  font-size: 1rem;
  margin-bottom: 10px;
}

.amenity-details ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 0;
}

.amenity-details li {
  font-family: 'Arial', sans-serif;
  color: var(--text-color);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.toggle-details {
  background-color: var(--accent-color);
  color: var(--text-color);
  border: none;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.toggle-details:hover {
  background-color: var(--button-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .amenity-video-container {
    height: 200px;
  }

  .amenity-content h3 {
    font-size: 1.5rem;
  }

  .amenity-summary {
    font-size: 0.95rem;
  }

  .amenity-details li {
    font-size: 0.9rem;
  }
}



/* Map Section - Enhanced Styling */
/* === Neighborhood Section === */
.neighborhood-section {
  background-color: #fff;
  padding: 4rem 0;
}

/* Headings & Intro */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

.section-description {
  font-size: 1.05rem;
  color: #555;
}

/* Carousel */
.carousel-inner img {
  object-fit: cover;
  height: 350px;
  border-radius: 0.5rem;
}

/* Map */
.map-wrapper iframe {
  min-height: 350px;
  border-radius: 0.5rem;
}

/* Tabs */
.btn-outline-tab {
  border: 2px solid var(--button-color);
  color: var(--button-color);
  background-color: transparent;
  margin: 0 6px 10px;
  padding: 8px 18px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-outline-tab:hover {
  background-color: var(--button-color);
  color: #fff;
}

.btn-outline-tab.active {
  background-color: var(--button-color);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


/* Tab Content */
.tab-content {
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Info List */
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 0.75rem 1rem;
  border-left: 4px solid #333;
  background: #fff;
  margin-bottom: 0.5rem;
  border-radius: 0.25rem;
  color: #333;
}

.subway-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  font-size: 13px;
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 1;
}

/* IND (blue, orange, etc.) */
.subway-icon.A,
.subway-icon.C,
.subway-icon.E {
  background-color: #0039A6;
}

.subway-icon.B,
.subway-icon.D,
.subway-icon.F,
.subway-icon.M {
  background-color: #FF6319;
}

.subway-icon.G {
  background-color: #6CBE45;
}

.subway-icon.L {
  background-color: #A7A9AC;
  color: #000;
}

.subway-icon.N,
.subway-icon.Q,
.subway-icon.R,
.subway-icon.W {
  background-color: #FCCC0A;
  color: #000;
}

/* IRT (1-7 lines) */
.subway-icon._1,
.subway-icon._2,
.subway-icon._3 {
  background-color: #EE352E;
}

.subway-icon._4,
.subway-icon._5,
.subway-icon._6 {
  background-color: #00933C;
}

.subway-icon._7 {
  background-color: #B933AD;
}

.info-list i {
  color: var(--button-color);
  min-width: 20px;
}


.info-list li i.fa-landmark {
  color: #7c4dff; /* deep violet or anything culturally rich */
}


.info-list li i.fa-tree {
  color: #4CAF50; /* soft park green */
}



/* Optional link style inside tabs */
.tab-pane a {
  display: inline-block;
  margin-top: 1rem;
  color: #0066cc;
  text-decoration: underline;
}

.tab-pane a:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-inner img,
  .map-wrapper iframe {
    height: 250px;
  }
}




/* Footer Styles */
.footer {
background-color: var(--base-color);
color: var(--text-color);
padding: 40px 0;
}

.footer-logo {
max-width: 200px; /* Large logo */
height: auto;
margin-bottom: 15px;
}

.footer-address {
font-size: 1rem;
color: var(--text-color);
margin-bottom: 0;
}

/* Center Navigation Links */
.footer-links {
list-style: none;
padding: 0;
margin: 0;
}

.footer-links li {
display: inline;
margin: 0 10px;
}

.footer-links a {
color: var(--accent-color);
font-weight: 500;
text-decoration: none;
}

/* Updated Footer Styles */
.footer-links a:hover {
  color: var(--button-color); /* Replace #e6b800 with your button color */
}

.doorway-logo {
  max-height: 60px;
  width: auto;
}



/* Bottom Footer */
.footer-bottom {
text-align: center;
margin-top: 20px;
font-size: 0.9rem;
opacity: 0.8;
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem; /* Smaller font size for mobile */
  }

  .hero-content .lead {
    font-size: 1.2rem; /* Smaller font size for mobile */
  }

  .panel-text {
    padding: 10px; /* Less padding for mobile */
  }

  .feature-overlay h2 {
      font-size: 2rem; /* Smaller font size for mobile */
    }
  
    .feature-overlay p {
      font-size: 1.2rem; /* Smaller font size for mobile */
    }
}




.gallery-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.gallery-container img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.gallery-container img:hover {
  transform: scale(1.1);
}



#pagination {
  display: flex;
  justify-content: center;
  gap: 10px; /* Space between buttons */
  margin-top: 20px;
}

#pagination button {
  background-color: var(--button-color); /* Use your custom button color */
  color: #ffffff; /* White text */
  border: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px; /* Rounded corners */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#pagination button:hover {
  background-color: #756b6b; /* Slightly darker on hover */
  transform: scale(1.05); /* Slight pop effect */
}

#pagination button:disabled {
  background-color: #ccc; /* Disabled button color */
  cursor: not-allowed;
  transform: none;
}


input.is-invalid {
  border-color: red;
}



#unitThankYou {
  background-color: var(--base-color);
  padding: 40px 20px;
  margin-top: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#unitThankYou h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--button-color);
  margin-bottom: 10px;
  text-align: center;
}

#unitThankYou p {
  margin: 0;
  color: var(--text-color);
}




