/* Variables */
:root {
  --brand: #0a74da;
  --muted: #6b7280;
  --card: #fff;
  --bg: #fafafa;
  --maxw: 1200px;
}

/* Global */
* { box-sizing: border-box; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  margin: 0;
  color: #111;
  line-height: 1.5;
}
a { color: var(--brand); text-decoration: none; }
.container { max-width: var(--maxw); margin: 2rem auto; padding: 0 1rem; }

/* HERO */
.hero-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: stretch;
  margin-bottom: 2rem;
}
.hero-left, .hero-right {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.hero-left {
  flex: 1 1 60%;
  min-height: 420px;
}
.hero-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.hero-left:hover img { transform: scale(1.03); }
.hero-right {
  flex: 1 1 35%;
  background: var(--card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-right .project-title {
  font-size: 1.9rem;
  margin: 0 0 8px;
  color: #042a2e;
}
.hero-right .project-address {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 1rem;
}

/* Quick Facts Grid */
.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0;
  padding: 0 10px;
}
.quick-facts .fact {
  background: #f7fbff;
  padding: 14px 16px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quick-facts .fact:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.quick-facts .fact strong {
  display: block;
  font-size: 1.1rem;
  color: #042a2e;
  margin-bottom: 4px;
}
.quick-facts .fact span {
  font-size: 0.85rem;
  color: var(--muted);
  display: block;
}

/* Buttons / CTA */
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
}
.btn-primary:hover { opacity: 0.95; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--brand);
  color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* Gallery / Slider */
.gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}
.gallery-slide, .gallery img {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 250px;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery img:hover, .gallery-slide img:hover { transform: scale(1.05); }
.gallery::-webkit-scrollbar { display: none; }
.gallery { -ms-overflow-style: none; scrollbar-width: none; }

/* Card blocks (Overview, Configurations, Amenities, etc.) */
.card-block {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  margin-top: 1.5rem;
  box-shadow: 0 8px 20px rgba(8,15,30,0.04);
}
.card-block h2 { margin:0 0 12px; color:#063447; }
.muted { color: var(--muted); font-size: 0.95rem; }

/* Config Table */
.config-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.config-table th, .config-table td {
  padding: 12px;
  border-bottom: 1px solid #f0f3f7;
  text-align: left;
}
.config-table th {
  background: #f5f8fb;
  color: #022f3b;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.config-disclaimer { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

/* Amenities / Tags */
.amenities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.amenity {
  background: #eef6ff;
  color: #06475a;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Map */
.map-wrap iframe {
  width: 100%;
  height: 280px;
  border-radius: 10px;
  border: 0;
}

/* Enquiry Form */
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.enquiry-form input,
.enquiry-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6eef8;
  font-size: 1rem;
}
.enquiry-form button {
  padding: 10px 14px;
  border-radius: 8px;
  border: 0;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* FAQ */
.faq-item {
  margin-bottom: 10px;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #f0f3f7;
  background: #fff;
}
.faq-q {
  font-weight: 700;
  color: #063447;
  margin-bottom: 6px;
  cursor: pointer;
}
.faq-a { display: none; color: #333; }
.faq-item.active .faq-a { display: block; }

/* Responsive */
@media(max-width: 940px) {
  .hero-wrapper { flex-direction: column; }
  .hero-left, .hero-right { flex: 1 1 100%; }
  .quick-facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media(max-width: 768px) {
  .gallery-slide, .gallery img { width: 180px; height: 120px; }
}
@media(max-width: 600px) {
  .quick-facts { grid-template-columns: 1fr; gap: 10px; padding: 0 5px; }
}
@media(max-width: 480px) {
  .gallery-slide, .gallery img { width: 140px; height: 100px; }
}
