:root {
  /* Light theme (default) */
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --accent: #d52b2f;
  --accent-dark: #b91c1c;
  --accent-soft: rgba(213, 43, 47, 0.05);
  --accent-soft-strong: rgba(213, 43, 47, 0.12);
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

body[data-theme="dark"] {
  --bg: #020617;
  --bg-alt: #020617;
  --card: #020617;
  --accent: #f97373;
  --accent-dark: #b91c1c;
  --accent-soft: rgba(248, 113, 113, 0.2);
  --accent-soft-strong: rgba(248, 113, 113, 0.35);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border: #1f2937;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #d52b2f;
  border-bottom: 1px solid #b91c1c;
  color: #ffffff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}

.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1rem;
}

.logo span {
  color: var(--accent);
}

.logo-img {
  display: flex;
  align-items: center;
}

.logo-img img {
  height: 52px;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-toggle span {
  width: 1.5rem;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 6rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--accent);
}

.subtitle {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(213, 43, 47, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(213, 43, 47, 0.4);
}

.btn-outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

/* Theme toggle in navbar */
#themeToggle {
  border-color: #ffffff;
  background: #ffffff;
  color: #d52b2f;
  font-size: 0.75rem;
  padding: 0.45rem 0.95rem;
}

#themeToggle:hover {
  background: transparent;
  color: #ffffff;
}

.btn.full {
  width: 100%;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hero-stats h3 {
  font-size: 1.3rem;
}

.hero-stats p {
  font-size: 0.85rem;
  color: #9ca3af;
}

.hero-card {
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 55%), var(--card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
}

.hero-card .tag {
  display: inline-block;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: #ffffff;
  margin-bottom: 0.7rem;
}

.hero-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card li + li {
  margin-top: 0.25rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.section-grid > div p {
  color: var(--muted);
}

.section-grid > div p + p {
  margin-top: 0.75rem;
}

.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
  border-color: rgba(248, 113, 113, 0.5);
}

.image-card:hover img {
  transform: scale(1.03);
}

.gallery-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.75rem 0 0.25rem;
  margin-top: 1.25rem;
}

.gallery-strip img {
  height: 90px;
  border-radius: 12px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
  padding: 1.5rem 1.5rem 1.1rem;
  background: #020617;
  border-radius: 18px;
  border: 1px solid rgba(248, 113, 113, 0.4);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

.lightbox-content img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 14px;
  background: #020617;
}

.lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  border: none;
  background: transparent;
  color: #e5e7eb;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(15, 23, 42, 0.8);
  color: #f9fafb;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-prev {
  left: 0.5rem;
}

.lightbox-next {
  right: 0.5rem;
}

.lightbox-thumbs {
  margin-top: 0.85rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
}

.lightbox-thumbs img {
  height: 60px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  cursor: pointer;
  opacity: 0.7;
}

.lightbox-thumbs img.lightbox-thumb-active {
  border-color: var(--accent);
  opacity: 1;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  border: 1px solid var(--border);
}

.highlight-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

.section-header {
  text-align: left;
  margin-bottom: 1.8rem;
}

.section-header p {
  color: var(--muted);
}

.tabs {
  display: inline-flex;
  padding: 0.25rem;
  background: var(--accent-soft);
  border-radius: 999px;
  border: 1px solid var(--accent);
  margin-bottom: 2rem;
}

.tab {
  border: none;
  background: transparent;
  color: var(--accent);
  padding: 0.4rem 1.3rem;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.tab.active {
  background: var(--accent);
  color: #ffffff;
}

.tab-panels {
  margin-top: 0.25rem;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
}

.project-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--accent-soft-strong);
  color: var(--accent);
  margin-bottom: 0.5rem;
  margin-left: 0.3rem;
}

.project-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.project-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.project-card ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
}

.project-card li + li {
  margin-top: 0.2rem;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  border-color: rgba(248, 113, 113, 0.5);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  background: #e5e7eb;
  color: #374151;
}

.badge.upcoming {
  background: #f3f4f6;
  color: #374151;
}

.badge.redevelopment {
  background: #f3f4f6;
  color: #374151;
}

.checklist {
  list-style: none;
  margin-top: 1rem;
  color: var(--muted);
}

.checklist li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #111827;
}

.info-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.info-card h3 {
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.info-card .small {
  margin-top: 0.4rem;
  font-size: 0.8rem;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
  border-color: rgba(248, 113, 113, 0.5);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-details p {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-details p + p {
  margin-top: 0.4rem;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-icon--phone {
  background: #111827;
}

.contact-icon--whatsapp {
  background: #22c55e;
}

.contact-icon--facebook {
  background: #1d4ed8;
}

.contact-icon--instagram {
  background: radial-gradient(circle at 30% 30%, #facc15, #ec4899 40%, #8b5cf6 75%);
}

.contact-form {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

input,
select,
textarea {
  background: #f9fafb;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

textarea {
  border-radius: 18px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(229, 29, 47, 0.4);
}

.footer {
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid rgba(254, 202, 202, 0.9);
  background: linear-gradient(180deg, #111827 0%, #0b1120 100%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner .small {
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: 1.5rem;
    top: 4.25rem;
    background: var(--accent-dark);
    border-radius: 18px;
    border: 1px solid rgba(254, 202, 202, 0.9);
    padding: 0.75rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    min-width: 11rem;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    padding-top: 5rem;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
}
