/* ===============================
   ROOT & GLOBAL
   =============================== */

:root{
  --bg-dark:#020617;
  --navy:#0a1930;
  --blue:#3b82f6;
  --gold:#d4af37;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:'Poppins', sans-serif;
  background:var(--bg-dark);
  color:#fff;
}

a{
  text-decoration:none;
  color:#fff;
}

/* ===============================
   HEADER & NAV
   =============================== */

header{
  background:linear-gradient(to right,#020617,#020617);
  position:sticky;
  top:0;
  z-index:1000;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 24px;
  min-height:80px;
}


.logo{
  height:64px;              /* visible logo height */
  width:220px;              /* makes logo wider */
  overflow:hidden;          /* hides extra space */
  display:flex;
  align-items:center;
}

.logo img{
  width:220px;              /* force width */
  height:auto;
  margin-top:-2px;        /* THIS removes empty top space */
}

.menu{
  display:flex;
  gap:30px;
  list-style:none;
}

.menu a{
  font-weight:500;
  transition:color .3s;
}

.menu a:hover,
.menu .active{
  color:var(--gold);
}

.hamburger{
  display:none;
  font-size:26px;
  cursor:pointer;
}

.mobile-menu{
  display:none;
  background:var(--bg-dark);
  padding:15px 24px;
}

.mobile-menu a{
  display:block;
  padding:12px 0;
}

/* ===============================
   HERO (HOME)
   =============================== */

.hero-slider{
  height:55vh;
  min-height:380px;
  position:relative;
}

.slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition:opacity 1s ease;
}

.slide.active{
  opacity:1;
}

.hero-content{
  position:absolute;
  inset:0;
  background:rgba(10,25,47,.65);
  padding:40px 30px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.hero-content h1{
  font-size:44px;
  line-height:1.2;
  margin-bottom:15px;
}

.hero-content p{
  font-size:16px;
  max-width:520px;
}

.hero-buttons{
  display:flex;
  gap:16px;
  margin-top:25px;
  flex-wrap:wrap;
}

/* ===============================
   BUTTONS
   =============================== */

.btn{
  padding:14px 26px;
  border-radius:12px;
  font-weight:600;
  transition:all .3s ease;
  display:inline-block;
}

.primary{
  background:var(--blue);
}

.primary:hover{
  background:#2563eb;
  box-shadow:0 0 0 2px var(--gold);
}

.secondary{
  border:1px solid #fff;
}

.secondary:hover{
  background:rgba(255,255,255,.1);
}

.full{
  width:100%;
  text-align:center;
}

/* ===============================
   COMMON PAGE LAYOUT
   =============================== */

.page{
  padding:60px 20px;
  max-width:1100px;
  margin:auto;
}

.section-title{
  text-align:center;
  margin-bottom:40px;
  font-size:30px;
}

/* ===============================
   CARDS (PROPERTIES LIST)
   =============================== */

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
}

.card{
  background:#020617;
  border-radius:18px;
  overflow:hidden;
  transition:transform .3s;
}

.card:hover{
  transform:translateY(-6px);
}

.card img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.card h3{
  margin:15px;
}

.card p{
  margin:0 15px 10px;
  font-size:14px;
}

.price{
  color:var(--gold);
  font-weight:600;
  margin-bottom:15px;
}

/* ===============================
   FOOTER
   =============================== */

footer{
  background:#020617;
  padding:50px 24px;
  text-align:center;
}

.footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}

.copy{
  margin-top:24px;
  font-size:14px;
}

/* ===============================
   PROPERTY PAGES (SCOPED)
   =============================== */

/* ===============================
   PROPERTY PAGE STYLES ONLY
   =============================== */

.property-hero {
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
}

.property-hero .overlay {
  padding: 50px 24px;
  background: linear-gradient(
    to top,
    rgba(2,6,23,.9),
    rgba(2,6,23,.35)
  );
}

/* ===============================
   IMAGE SLIDER (DESKTOP + MOBILE)
   =============================== */

.property-gallery {
  padding: 60px 20px;
  background: linear-gradient(180deg,#020617,#0a1930);
}

.property-slider {
  max-width: 1100px;
  margin: auto;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

/* IMPORTANT: must stay RELATIVE */
.property-slides {
  position: relative;
  width: 100%;
  height: 420px;
}

/* IMPORTANT: must stay ABSOLUTE */
.property-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.property-slide.active {
  display: block;
}

/* Slider arrows */
.property-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.property-nav.prev { left: 14px; }
.property-nav.next { right: 14px; }

/* ===============================
   CONTENT
   =============================== */

.property-details h2 {
  margin-bottom: 12px;
}

.property-details p {
  line-height: 1.8;
  max-width: 900px;
}

/* Config cards */
.property-config {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.config-card {
  background: #020617;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.08);
}

.property-cta {
  text-align: center;
  margin-top: 60px;
}

/* ===============================
   MOBILE FIX (CRITICAL)
   =============================== */

@media (max-width: 768px) {

  .property-slides {
    height: 260px;
  }

  /* 🔥 DO NOT CHANGE DISPLAY / POSITION */
  .property-slide {
    position: absolute;
  }

}
/* ===============================
   PREMIUM SECTION CARDS
   =============================== */

.section-card {
  background: linear-gradient(
    180deg,
    rgba(10,25,48,0.9),
    rgba(2,6,23,0.95)
  );
  border-radius: 22px;
  padding: 42px;
  margin-bottom: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 50px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

.section-card h2 {
  font-size: 32px;
  margin-bottom: 18px;
  position: relative;
}

.section-card h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, transparent);
  margin-top: 10px;
}

.section-card p {
  font-size: 16px;
  line-height: 1.9;
  opacity: 0.95;
}

/* Highlights list */
.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  padding-left: 26px;
  margin-bottom: 14px;
  position: relative;
}

.highlight-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #d4af37;
  font-size: 14px;
}

/* RERA badge */
.rera {
  margin-top: 20px;
  display: inline-block;
  background: rgba(212,175,55,0.12);
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  color: #d4af37;
}

/* Config cards refinement */
.config-card {
  background: linear-gradient(180deg,#020617,#0a1930);
  border-radius: 20px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.config-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* Mobile polish */
@media (max-width: 768px) {
  .section-card {
    padding: 26px;
  }

  .section-card h2 {
    font-size: 26px;
  }

  .menu{display:none}
  .hamburger{display:block}

  .logo{
    width:180px;
    height:56px;
  }

  .logo img{
    width:180px;
    margin-top:-2px;
  }
  .hero-content h1{
    font-size:30px;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

}
.btn {
  padding: 10px 20px;
  background-color: #0A2A66; /* blue button */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

.view-btn {
  background-color: #0A2A66; /* green for view button */
}

.btn:hover {
  background-color: #081F52;
}