/* ======================================================
   GLOBAL RESET & BASE
====================================================== */

html, body {
  overflow-x: hidden;
  overflow-y: visible;
}

/* ===== GLOBAL LAYOUT FIX ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #f6f1dc;
  color: #444;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #6b4a1f;
  margin-top: 0;
}

section {
  padding: 50px 20px;
}

/* ======================================================
   HEADER & NAVIGATION  (ðŸ”¥ SINGLE SOURCE OF TRUTH)
====================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #f6f1dc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #e2d6b8;
}

.logo img {
  height: 48px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #5b4a2f;
}

/* Desktop nav */
.mnav {
  display: flex;
  gap: 26px;
}

.mnav a {
  text-decoration: none;
  color: #5b4a2f;
  font-weight: 500;
  font-size: 16px;
}

/* ======================================================
   MOBILE NAVIGATION (REAL DEVICE FIX)
====================================================== */

@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .mnav {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: #efe4c8;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 9999;
  }

  .mnav.active {
    display: flex;
  }

  .mnav a {
    font-size: 18px;
    font-weight: 600;
  }
}

/* ======================================================
   HERO SECTION
====================================================== */

.hero-realestate {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  overflow-y: visible;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-realestate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-overlay h1 {
  font-size: 48px;
  color: #d2b48c;
}

.hero-overlay p {
  font-size: 18px;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: #8a6b3f;
  color: #fff;
  padding: 14px 36px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid #d2b48c;
  color: #fff;
  padding: 13px 34px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

/* ======================================================
   ABOUT (HOME)
====================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-home p {
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.about-image1 img {
  display: block;
  width: 100%;
  max-width: 280px;        /* ðŸ”¥ reduced size (ideal for logos) */
  height: auto;
  margin: 0 auto;
  border-radius: 12px;

  background: #fff;
  padding: 12px;

  box-shadow: 0 8px 20px rgba(0,0,0,0.12); /* softer shadow */
}

.about-text {
  text-align: justify;
  line-height: 1.9;
  letter-spacing: 0.2px;
}

.about-text {
  line-height: 1.8;
}

@media (min-width: 769px) {
  .about-text {
    text-align: justify;
  }
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-image1 img {
    max-width: 280px;   /* smaller on mobile */
  }
}


/* ======================================================
   HIGHLIGHTS
====================================================== */

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.highlight-card {
  background: #fff;
  padding: 32px 26px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.highlight-card:hover {
  transform: translateY(-6px);
}

/* ======================================================
   GALLERY GRID (FIXED HEIGHT)
====================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: 16px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.gallery-item:hover img {
  transform: scale(1.12);
}

/* ======================================================
   SLIDERS (ABOUT PAGE)
====================================================== */

/* ======================================================
   ABOUT PAGE â€“ PREMIUM AUTO SLIDER (NO ARROWS)
====================================================== */

.gallery-section {
  padding: 80px 20px;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  overflow-y: visible;
}

.slider {
  display: flex;
  gap: 20px;                 /* ðŸ”¥ replace margin-right */
  will-change: transform;
}

.slide {
  flex: 0 0 260px;           /* fixed card width */
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  gap: 20px
}

.slide img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.slide p {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #5b4a1f;
}

/* Section header spacing */
.section-header {
  margin-bottom: 40px;
  text-align: left;
}

.section-header h2 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: #6b4a1f;
}

/* Mobile refinement */
@media (max-width: 768px) {
  .gallery-section {
    padding: 60px 16px;
  }

  .section-header {
    margin-bottom: 30px;
  }
}
/* ======================================================
   FOOTER & WHATSAPP
====================================================== */

footer {
  background: #efe4c8;
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
  color: #6b4a1f;
  overflow: visible;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
}

/* ===== BROCHURE MODAL ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #f6f1dc;
  padding: 30px;
  border-radius: 14px;
  width: 90%;
  max-width: 420px;
  text-align: center;
  animation: zoomIn 0.3s ease;
}

.modal-content h3 {
  margin-bottom: 10px;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #d6c7ad;
}

.modal-content button {
  background: #8a6b3f;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ======================================================
   PREMIUM FLOOR PLANS â€“ RGC EUPHORIA
====================================================== */

.rgc-floorplans-premium {
  padding: 80px 20px;
  text-align: center;
  background: #f6f1dc;
}

.rgc-floorplans-sub {
  color: #6b4a1f;
  font-size: 16px;
  margin-bottom: 10px;
}

.rgc-floorplans-row {
  max-width: 1200px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.rgc-floor-card {
  background: linear-gradient(180deg, #fffdf8, #f4ead6);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.rgc-floor-card:hover {
  transform: translateY(-8px);
}

.rgc-floor-header h3 {
  font-size: 26px;
  margin-bottom: 6px;
  color: #6b4a1f;
}

.rgc-floor-header span {
  font-size: 14px;
  color: #9a7b44;
}

.rgc-floor-images {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.rgc-floor-images img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rgc-floor-images img:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

/* Mobile */
@media (max-width: 900px) {
  .rgc-floorplans-row {
    grid-template-columns: 1fr;
  }

  .rgc-floor-images img {
    height: 200px;
  }
}

/* ======================================================
   RGC IMAGE VIEWER (SAFE LIGHTBOX)
====================================================== */

.rgc-image-viewer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 10050;
  justify-content: center;
  align-items: center;
}

.rgc-image-viewer img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  animation: zoomIn 0.3s ease;
}

.rgc-image-close {
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10051;
}

/* ======================================================
   RGC PREMIUM GALLERY
====================================================== */

.rgc-gallery {
  padding: 100px 20px;
  background: #f6f1dc;
}

/* Header */
.rgc-gallery-header {
  text-align: center;
  margin-bottom: 60px;   /* more separation */
}

.rgc-gallery-header h1 {
  font-size: 38px;
  margin-bottom: 8px;
}

.rgc-gallery-header p {
  font-size: 16px;
  color: #6b4a1f;
  max-width: 520px;
  margin: 0 auto;
}

/* Intro */
.rgc-gallery-intro {
  text-align: center;
  margin-bottom: 50px;
}

.rgc-gallery-intro h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #6b4a1f;
}

.rgc-gallery-intro p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;   /* ðŸ”¥ key fix */
  margin: 0 auto;
  color: #444;
}

/* Grid */
.rgc-gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 20px;
}

/* Image Card */
.rgc-gallery-grid a {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: #fffaf2;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rgc-gallery-grid a:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.18);
}

.rgc-gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #fff;
  transition: transform 0.6s ease;
}

.rgc-gallery-grid a:hover img {
  transform: scale(1.08);
}

/* Overlay */
/* Overlay */
.rgc-gallery-grid a::after {
  content: "ï¼‹";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}

.rgc-gallery-grid a:hover::after {
  opacity: 1;
}

/* Mobile */
@media (max-width: 768px) {
  .rgc-gallery-header h1 {
    font-size: 30px;
  }

  .rgc-gallery-grid img {
    height: 220px;
  }
}


/* ===== AMENITIES PAGE PREMIUM STYLE (BEIGE THEME) ===== */


    .amenities-section {
      max-width: 1200px;
      margin: 70px auto 40px;
      padding: 0 20px;
      text-align: center;
    }

    .amenities-section h2 {
      font-size: 34px;
      color: #6b4a1f;
      margin-bottom: 8px;
    }

    .underline {
      width: 80px;
      height: 3px;
      background: #c8a96a;
      margin: 0 auto 40px auto;
      border-radius: 2px;
    }

    .amenities-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 30px;
      margin-top: 20px;
    }

    .amenity-box {
      background: #ffffff;
      padding: 25px 20px;
      border-radius: 14px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.07);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .amenity-box:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }

    .amenity-box img {
  width: 100%;
  height: 120px;
  object-fit: cover;      /* ðŸ”¥ KEY */
  border-radius: 10px;
  margin-bottom: 15px;
}

    .amenity-box p {
      font-size: 17px;
      color: #5b4a1f;
      font-weight: 600;
      margin: 0;
    }

    /* ===== POPUP MODAL STYLE ===== */

    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      justify-content: center;
      align-items: center;
    }

    .modal-content {
      background: #f6f1dc;
      padding: 30px 35px;
      border-radius: 14px;
      max-width: 420px;
      width: 90%;
      text-align: center;
      box-shadow: 0 6px 20px rgba(0,0,0,0.2);
      position: relative;
      animation: zoomIn 0.3s ease;
    }

    @keyframes zoomIn {
      from { transform: scale(0.7); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    .modal-content img {
  width: 100%;
  max-width: 260px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 18px;
}

    .modal-content h3 {
      color: #6b4a1f;
      margin-bottom: 10px;
    }

    .modal-content p {
      color: #444;
      line-height: 1.6;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 14px;
      font-size: 22px;
      cursor: pointer;
      color: #6b4a1f;
    }

    /* Mobile */
    @media (max-width: 768px) {
      .amenities-section h2 {
        font-size: 26px;
      }
    }


/* ================= WHATSAPP FLOAT ================= */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
  /* 🔥 CRITICAL */
  /*color: #ffffff;        */
  /* controls SVG fill */
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.28);
}

/*.whatsapp-float:hover {*/
/*  transform: scale(1.08);*/
/*}*/

/*.whatsapp-float img {*/
/*  width: 30px;*/
/*  height: 30px;*/
/*  object-fit: contain;*/
/*  background: transparent;*/
/*  border-radius: 50%;*/
/*  display: block;*/
/*}*/

/*.whatsapp-float svg {*/
/*  display: block;*/
  /* width: 32px;   slightly bigger */
/*  height: 32px;*/
/*}*/
