/* ========== Variables ========== */
:root {
  --primary: #0F766E;
  --primary-dark: #0b5a54;
  --secondary: #F59E0B;
  --dark: #1F2937;
  --light: #F8FAFC;
  --white: #FFFFFF;
  --available: #16a34a;
  --sold: #dc2626;
  --reserved: #d97706;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 10px 24px rgba(0, 0, 0, 0.12);
  --radius: 15px;
  --transition: 0.3s ease;
}

/* ========== Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--dark);
  position: relative;
}

.section-title.align-left {
  text-align: left;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  margin: 14px auto 0;
  border-radius: 2px;
}

.section-title.align-left::after {
  margin: 14px 0 0;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: 80px;
  box-shadow: var(--shadow);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: color var(--transition);
}

.nav-menu a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
}

/* ========== Hero ========== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light), var(--white));
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 60px 24px;
}

.hero-content {
  flex: 1 1 420px;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--dark);
  margin-bottom: 12px;
}

.hero-content .tagline {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-content .description {
  margin-bottom: 28px;
  color: #475569;
  max-width: 520px;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1 1 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image img {
  transition: transform var(--transition);
}

.hero-image:hover img {
  transform: scale(1.03);
}

/* ========== Highlights ========== */
.highlights {
  padding: 80px 0;
  background: var(--white);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.highlight-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.highlight-card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.highlight-card h3 {
  font-size: 1.05rem;
  color: var(--dark);
}

/* ========== Plots Table ========== */
.plots {
  padding: 80px 0;
  background: var(--light);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.plots-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 480px;
}

.plots-table th,
.plots-table td {
  padding: 16px 20px;
  text-align: left;
}

.plots-table thead {
  background: var(--primary);
  color: var(--white);
}

.plots-table tbody tr:nth-child(even) {
  background: var(--light);
}

.plots-table tbody tr:hover {
  background: #e2e8f0;
}

.available {
  color: var(--available);
  font-weight: bold;
}

.sold {
  color: var(--sold);
  font-weight: bold;
}

.reserved {
  color: var(--reserved);
  font-weight: bold;
}

/* ========== Layout Map ========== */
.layout-map {
  padding: 80px 0;
  background: var(--white);
}

.map-image-wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-legend {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 16px;
  border-radius: 10px;
}

.legend-item {
  font-size: 0.85rem;
  font-weight: 600;
  padding-left: 18px;
  position: relative;
}

.legend-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-item.available { color: var(--available); }
.legend-item.available::before { background: var(--available); }
.legend-item.sold { color: var(--sold); }
.legend-item.sold::before { background: var(--sold); }
.legend-item.reserved { color: var(--reserved); }
.legend-item.reserved::before { background: var(--reserved); }

/* ========== Facilities ========== */
.facilities {
  padding: 80px 0;
  background: var(--light);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.facility-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.facility-card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* ========== Gallery ========== */
.gallery-section {
  padding: 80px 0;
  background: var(--white);
}

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

.gallery img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ========== Location ========== */
.location {
  padding: 80px 0;
  background: var(--light);
}

.location-inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: center;
}

.location-map {
  flex: 1 1 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-info {
  flex: 1 1 380px;
}

.location-list li {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  font-weight: 500;
}

.location-list li span:last-child {
  color: var(--primary);
  font-weight: 700;
}

/* ========== Testimonials ========== */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stars {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.testimonial-card h4 {
  margin-top: 16px;
  color: var(--primary);
}

/* ========== Contact ========== */
.contact {
  padding: 80px 0;
  background: var(--light);
}

.contact-inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-form-wrapper {
  flex: 1 1 420px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.contact-form button {
  align-self: flex-start;
}

.contact-details {
  flex: 1 1 280px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-details h3 {
  margin-bottom: 20px;
  color: var(--dark);
}

.contact-details p {
  margin-bottom: 16px;
  color: #475569;
}

/* ========== Floating WhatsApp ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: var(--white);
  padding: 14px 22px;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-hover);
  z-index: 1000;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.05);
}

/* ========== Footer ========== */
.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #374151;
  font-size: 0.85rem;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: max-height var(--transition);
  }

  .nav-menu.open {
    max-height: 400px;
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid #e2e8f0;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-content .description {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-group {
    justify-content: center;
  }

  .cta-group .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .highlights-grid,
  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .location-inner,
  .contact-inner {
    flex-direction: column;
  }

  .section-title.align-left {
    text-align: center;
  }

  .section-title.align-left::after {
    margin: 14px auto 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col a {
    margin-bottom: 8px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }
}
