:root {
  --primary-color:  #bd9400;
  --primary-color-light: #fcf6e3;
  --gold-color: #bd9400;
  --gold-color-light: #0099ff;
  --background-light: #fffff0;
  --bg-dark-blue: #34435d;
  --footer-bg: #333333;
}

/*----------------------------------------
  Hero background
-----------------------------------------*/

/*----------------------------------------
  Forms & Inputs
-----------------------------------------*/
#contactForm {
  max-width: 380px !important;
  border-radius: 5px;
}
form{
  border-radius: 5px;
}
input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px hwb(199 65% 9%) !important; /* blue ring */
  outline: none;
  border: 1px solid var(--gold-color-light) !important;
}
.footer-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: var(--background-light) !important;
}
#contact {
  min-width: 250px !important;
}

/*----------------------------------------

/*----------------------------------------
  Hover & State Effects
-----------------------------------------*/
.primary-color {
  color: var(--primary-color) !important;
}
.bg-primary {
  background-color: var(--primary-color) !important;
}
.primary-color-off {
  background-color: var(--primary-color-light) !important;
}
.hover-off-primary:hover {
  background-color: var(--primary-color-light) !important;
}
#floorplans .center-card{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.left-border-primary-dark{
 border-left: 2px solid var(--primary-color-light) !important; 
 padding-left: 10px;
}

.location-flex-center{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}
.location-icon{
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  padding: 10px;
  border-radius: 50%;
  background-color: var(--primary-color-light);
  margin-bottom: 5px;
 
}
@media (max-width: 768px) {
  .location-flex-center{
 flex-direction: column;
}
}
.disclaimer{
  background-color: var(--footer-bg) !important;

}
.closebtn{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}
#closebtn{
 font-size: 20px;
} 
.bold{
  font-weight: 500 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.1rem !important;
}
.floor-container-btn{
  display: flex;
  align-items: center;
  justify-content: center;
flex-wrap: wrap;
width:100%;
}
/* Footer container enhancements */
footer.footer {
  font-family: 'Georgia', serif;
  background-color: #111; /* dark bg */
  color: #eee;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Gold text color */
.text-gold {
  color: #d4af37; /* classic gold */
}

/* Contact info spacing */
#contact-info p, #contact-info a {
  margin-bottom: 0.75rem;
  color: #bbb;
  font-size: 1rem;
  line-height: 1.5;
}

/* Form inputs styling */
form input[type="text"],
form input[type="email"],
form input[type="tel"] {
  border: 1.5px solid #ccc;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus {
  border-color: #d4af37; /* gold on focus */
  outline: none;
  box-shadow: 0 0 5px #d4af37aa;
}

/* Buttons styling */


/* Button link (resend OTP) */
.btn-link {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #1e40af; /* blue */
  transition: color 0.2s ease;
  padding: 0;
}

.btn-link:disabled {
  color: #999;
  cursor: not-allowed;
}

.btn-link:hover:not(:disabled) {
  color: #3b82f6;
}

/* OTP inputs */
.otp-input {
  border: 1.5px solid #ccc;
  border-radius: 0.375rem;
  font-size: 1.5rem;
  width: 3rem;
  height: 3rem;
  text-align: center;
  font-weight: 700;
  transition: border-color 0.3s ease;
}

.otp-input:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 5px #d4af37aa;
}

/* Message box */
.message-box {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.message-box.success {
  background-color: #d4f4dd;
  color: #27632a;
  border: 1px solid #48b356;
}

.message-box.error {
  background-color: #fddede;
  color: #7a1e1e;
  border: 1px solid #e24848;
}

/* Modal Overlay */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.dialog-overlay.active {
  display: flex;
}

/* Modal Content */
.dialog-content {
  background: white;
  border-radius: 0.5rem;
  max-width: 425px;
  width: 100%;
  padding: 2rem 2.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  position: relative;
}

/* Close button */
#closeModal {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  color: #333;
  transition: color 0.2s ease;
}

#closeModal:hover {
  color: #d4af37;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .luxury-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .dialog-content {
    padding: 1.5rem;
  }
}

/* Smooth transitions for forms */
form,
#otpForm,
#popupOtpForm,
#finalSection,
#popupFinalSection {
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.hidden.visible {
  opacity: 1;
  visibility: visible;
  height: auto;
  pointer-events: auto;
}
