:root {
  /* LIGHT LUXURY PALETTE */
  --gold: #BFA05A;          /* Elegant muted gold */
  --gold-dark: #9E8345;     /* Darker gold for borders/hover */
  --dark: #1A1A1D;          /* Deep Charcoal (Text) */
  --grey: #555555;          /* Secondary Text */
  --light-bg: #F8F9FB;      /* Soft Grey Background for sections */
  --white: #FFFFFF;         /* Pure White */
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft Premium Shadow */
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--white);
  color: var(--dark);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: 90%; max-width: 1200px; margin: auto; }

/* --- HEADER (Light Glass) --- */
.header {
  position: fixed; 
  top: 0; 
  width: 100%; 
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000; 
  display: flex; 
  align-items: center;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}
.header .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* This creates the necessary space on left and right */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-flex { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  width: 100%;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px; /* Space between logo and text */
}

/* .logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
} */
.logo-text {
  color: var(--gold); /* Matches the gold text in your hero h1 */
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 32px;
}
.logo-img { 
  height: 50px; 
  width: auto;
} 

.header-actions { 
  display: flex; 
  align-items: center; 
  gap: 20px; 
}

/* Fixes the oversized icon issue from screenshots */
.phone-link-header {

  display: flex; 
  align-items: center; 
  gap: 10px;
  text-decoration: none; 
  color: var(--dark); 
  font-weight: 700;
}

.phone-link-header img { 
  width: 35px; /* Increased size */
  height: 35px;
  object-fit: contain;
}

.menu-btn { 
  background: none; 
  border: none; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
}

.menu-btn img { 
  width: 62px; 
  height: auto;
}

/* --- HERO --- */
.hero { height: 60vh; position: relative; overflow: hidden; }
.hero-img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; opacity: 0; transition: opacity 1.5s ease-in-out;
}
.hero-img.active { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0.3) 100%);
  display: flex; align-items: center;
}

.hero-content { padding-left: 5%; max-width: 750px; }
.badge {
  display: inline-block; padding: 6px 16px; background: rgba(255, 255, 255, 0.2);
  color: #fff; border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(5px);
  border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.hero-content h1 {
  font-family: 'Poppins', sans-serif; font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1; font-weight: 700; margin-bottom: 15px; color: #fff;
}
.gold-text { color: var(--gold); }
.hero-content h2 { font-size: 18px; color: #f0f0f0; margin-bottom: 30px; font-weight: 300; }

.cta-main {
  background: var(--gold); color: #fff; padding: 15px 40px;
  border: none; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; cursor: pointer; transition: var(--transition);
  font-size: 14px; border-radius: 4px; box-shadow: 0 10px 20px rgba(191, 160, 90, 0.4);
}
.cta-main:hover { transform: translateY(-3px); background: var(--gold-dark); }

/* --- COMMON SECTIONS --- */
section { padding: 50px 0; } 

.section-title { text-align: center; margin-bottom: 30px; } 
.section-title h2 { 
  font-family: 'Poppins', sans-serif; font-size: 36px; margin-bottom: 10px; color: var(--dark); 
}
.title-line { width: 70px; height: 3px; background: var(--gold); margin: auto; }

.section-desc { 
  text-align: center; max-width: 800px; margin: -10px auto 40px; 
  color: var(--grey); font-size: 17px; 
}

/* --- OVERVIEW STATS --- */
.overview { background: var(--white); }
.overview-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px;
}
.stat-card {
  background: var(--white); padding: 30px 15px; text-align: center;
  border: 1px solid #eee; transition: var(--transition);
  border-bottom: 3px solid transparent;
  box-shadow: var(--card-shadow); border-radius: 8px;
}
.stat-card:hover { border-bottom: 3px solid var(--gold); transform: translateY(-5px); }
.stat-card h3 { color: var(--gold); font-size: 32px; margin-bottom: 5px; font-family: 'Poppins', sans-serif; }
.stat-card p { color: var(--dark); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

/* --- FLOOR PLANS --- */
.floor-plans { background: var(--light-bg); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.plan-card { 
  background: var(--white); border-radius: 10px; overflow: hidden; 
  transition: var(--transition); box-shadow: var(--card-shadow); border: 1px solid #fff;
}
.plan-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.plan-img-container { height: 240px; overflow: hidden; }
.plan-img-container img { width: 100%; height: 100%; object-fit: cover; }
.plan-info { padding: 25px; }
.plan-info h3 { font-size: 20px; margin-bottom: 6px; font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--dark); }
.plan-info p { color: var(--grey); font-size: 15px; }
.btn-outline {
  width: 100%; margin-top: 15px; padding: 12px; background: transparent;
  border: 1px solid var(--gold); color: var(--gold-dark); font-weight: 700; 
  cursor: pointer; transition: 0.3s; text-transform: uppercase; font-size: 13px; border-radius: 4px;
}
.btn-outline:hover { background: var(--gold); color: #fff; }



/* --- GALLERY STYLES --- */
.gallery-section { background: var(--white); padding: 20px 0; }

.gallery-container {
  position: relative;
  max-width: 800px; /* Fitting your 768px images nicely */
  margin: auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
}

.gallery-wrapper {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-wrapper img {
  width: 100%;
  flex-shrink: 0;
  height: auto;
  max-height: 600px;
  object-fit: cover;
}

/* Navigation Buttons */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 20px;
  z-index: 5;
  transition: 0.3s;
}

.gallery-nav:hover { background: var(--gold); }
.prev { left: 0; border-radius: 0 4px 4px 0; }
.next { right: 0; border-radius: 4px 0 0 4px; }

@media (max-width: 768px) {
  .gallery-container { width: 100%; border-radius: 0; }
  .gallery-nav { padding: 10px 15px; font-size: 16px; }
}


/* --- AMENITIES --- */
.amenities { background: var(--white); }
.amenity-items { list-style: none; margin-top: 0px; }
.amenity-items li { 
  font-size: 17px; margin-bottom: 10px; color: var(--dark); 
  display: flex; align-items: center; gap: 8px; 
}
.gold-icon { color: var(--gold); font-size: 22px; }

/* --- LOCATION --- */
.location { background: var(--white); }
.location-subgroup {
  text-align: left; font-family: 'Poppins', sans-serif; color: var(--gold);
  font-size: 18px; margin: 20px 0 15px; text-transform: uppercase;
  letter-spacing: 1px; width: 100%; border-bottom: 1px solid #eee; padding-bottom: 5px;
}
.location-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px 25px; margin-bottom: 20px;
}
.location-item { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.loc-icon { color: var(--gold); font-size: 22px; min-width: 24px; }
.loc-details { display: flex; align-items: center; gap: 5px; font-size: 16px; color: var(--dark); white-space: nowrap; }
.loc-name { font-weight: 500; }
.loc-time { color: var(--grey); font-weight: 400; }
.highlight-card .loc-name { color: var(--gold-dark); font-weight: 700; }

/* --- CONTACT (FIXED FOR INLINE PHONE) --- */
/* --- CONTACT SECTION FIX --- */
.contact { 
  background: url('./images/bg/hero3.jpg') no-repeat center/cover; 
  position: relative; 
  padding: 30px 0; 
}
.contact .section-title h2 {
  margin-bottom: 0; /* Removes space specifically between H2 and Phone wrap */
}
.contact::before { 
  content: ''; 
  position: absolute; 
  inset: 0; 
  background: rgba(255,255,255,0.9); 
}

.contact .container { 
  position: relative; 
  z-index: 2; 
}

/* This fixes the line break problem */
.contact-phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center; /* Centers the whole line */
  gap: 8px;               /* Space between "Phone:" and the number */
  margin-top: 0px;
  flex-wrap: nowrap;      /* Prevents wrapping to next line */
}

.contact-label {
  color: var(--dark);
  font-weight: 600;
  font-size: 16px;
}

.contact-phone-link {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;    /* Double protection against breaking */
}

.contact-box { 
  max-width: 600px; 
  margin: auto; 
  background: var(--white); 
  padding: 20px; 
  border-radius: 12px; 
  box-shadow: 0 20px 60px rgba(0,0,0,0.1); 
}

/* Form Styles */
.contact-form input {
  width: 100%; 
  padding: 15px; 
  margin-bottom: 13px; 
  background: #f9f9f9;
  border: 1px solid #ddd; 
  color: var(--dark); 
  font-size: 15px; 
  border-radius: 4px;
}

.cta-submit {
  width: 100%; 
  padding: 15px; 
  background: var(--dark); 
  color: #fff; 
  border: none;
  font-weight: 700; 
  cursor: pointer; 
  text-transform: uppercase; 
  font-size: 15px;
  border-radius: 4px; 
  transition: 0.3s;
}
.cta-submit:hover { background: var(--gold); }

/* --- FOOTER & TRUST --- */
.footer { background: #111; color: #888; margin-top: 0; }
.trust-bar { background: #000; border-top: 4px solid var(--gold); padding: 35px 0; }
.trust-flex { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .material-icons { font-size: 32px; color: var(--gold); }
.trust-item span { font-size: 13px; color: #ccc; line-height: 1.4; }
.trust-item strong { color: #fff; display: block; font-size: 14px; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; border-top: 1px solid #222; }

/* --- UI ELEMENTS --- */
.thank-you-popup { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: none; justify-content: center; align-items: center; z-index: 10000; }
.popup-box { background: var(--white); color: var(--dark); padding: 40px; border-radius: 10px; text-align: center; max-width: 350px; }
.popup-box button { background: var(--gold); color: white; border: none; padding: 10px 30px; margin-top: 20px; cursor: pointer; font-weight: bold; border-radius: 4px; }

.whatsapp-chat { position: fixed; bottom: 30px; right: 20px; z-index: 999; display: flex; align-items: center; gap: 10px; }
.chat-bubble { background: var(--white); color: var(--dark); padding: 10px 20px; border-radius: 50px; font-weight: 600; box-shadow: 0 8px 15px rgba(0,0,0,0.1); font-size: 13px; }
.whatsapp-btn { width: 50px; height: 50px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; box-shadow: 0 8px 15px rgba(37, 211, 102, 0.4); }
.whatsapp-btn img { width: 50px; }

.dropdown-menu { position: fixed; top: 70px; right: 0; width: 100%; background: var(--white); display: none; flex-direction: column; z-index: 2000; border-bottom: 3px solid var(--gold); }
.dropdown-menu a { padding: 15px; text-align: center; text-decoration: none; color: var(--dark); border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.dropdown-menu.show { display: flex; animation: slideDown 0.3s ease; }


@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* --- RESPONSIVE OVERRIDES --- */
@media (max-width: 768px) {
  section { padding: 14px 0; }
  .section-title { margin-bottom: 15px; }
  
  /* Standard icon sizes for mobile header */
  .header { height: 45px; }
  .logo-wrap {
    gap: 8px;
  }
  .logo-text {
    font-size: 20px; /* Smaller text for mobile screens */
  }
  
  .logo-img { height: 40px; }
  .phone-link-header img { width: 31px; height: 31px; }
  .phone-text-header { display: none !important; } /* Hide number in header for space */
  .menu-btn img { width: 62px; }
  .dropdown-menu { position: fixed; top: 45px; }
  /* Ensure contact section phone link doesn't wrap */
  .contact .section-title .contact-phone-link {
    flex-wrap: nowrap;
    font-size: 16px;
  }
  .plan-img-container img {
    width: 90%;          /* Your requested 0.9 size */
    height: 90%;
    object-fit: contain; /* Ensures the full image is visible, no cropping */
    margin: auto;        /* Centers the image if it's smaller than the box */
    display: block;
  }
  .hero-content { padding: 0 20px; }
  .location-grid { grid-template-columns: 1fr; gap: 5px; }
  .trust-flex { flex-direction: column; align-items: flex-start; padding-left: 20px; }
  .section-title h2 { font-size: 26px; }
  .plan-card .btn-outline {
    background-color: var(--gold); /* Solid Gold background */
    color: #ffffff;               /* Clean white text */
    border: none;                 /* Remove border for solid look */
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(191, 160, 90, 0.3); /* Subtle depth */
    opacity: 1;                   /* Ensure it is fully visible */
  }

  /* Active feedback when touched */
  .plan-card .btn-outline:active {
    background-color: var(--gold-dark); /* Darkens slightly when pressed */
    transform: scale(0.97);            /* Pressed effect */
  }
}

@media (max-width: 480px) {
  /* Forced 2-column grid for mobile overview */
  .overview-stats { 
    grid-template-columns: 1fr 1fr !important; 
    gap: 10px; 
  }
  .stat-card { padding: 15px 10px; }
  .stat-card h3 { font-size: 24px; }
  .stat-card p { font-size: 11px; }
}
.seo-content {
  background: #0e0e10;
  padding: 60px 20px;
  color: #ddd;
}