*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #0e3b2e;
  --green-darker: #0a2a21;
  --gold: #c9a24a;
  --gold-dark: #b8902f;
  --gold-light: #f0d78c;
  --bg: #fcfbf8;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-300: #d6d3d1;
  --stone-500: #a8a29e;
  --stone-600: #78716c;
  --stone-700: #44403c;
  --stone-800: #292524;
  --stone-900: #1c1917;
  --white: #fff;
  --black: #000;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--stone-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* Utility */
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-7xl { max-width: 1280px; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.grid { display: grid; }
.hidden { display: none; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-7xl { font-size: 4.5rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.uppercase { text-transform: uppercase; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }
.text-center { text-align: center; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.border { border: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-t { border-top: 1px solid; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-3 { left: 0.75rem; }
.top-3 { top: 0.75rem; }
.z-30 { z-index: 30; }
.sticky { position: sticky; }
.bg-backdrop { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Colors */
.bg-\\[\\#fcfbf8\\] { background: var(--bg); }
.bg-\\[\\#0e3b2e\\] { background: var(--green-dark); }
.bg-\\[\\#c9a24a\\] { background: var(--gold); }
.bg-\\[\\#0a2a21\\] { background: var(--green-darker); }
.bg-stone-50 { background: var(--stone-50); }
.bg-white { background: var(--white); }
.bg-black\\/70 { background: rgba(0,0,0,0.7); }
.border-stone-200 { border-color: var(--stone-200); }
.border-stone-300 { border-color: var(--stone-300); }
.border-white\\/10 { border-color: rgba(255,255,255,0.1); }
.border-white\\/40 { border-color: rgba(255,255,255,0.4); }
.text-\\[\\#0e3b2e\\] { color: var(--green-dark); }
.text-\\[\\#c9a24a\\] { color: var(--gold); }
.text-\\[\\#f0d78c\\] { color: var(--gold-light); }
.text-stone-100 { color: var(--stone-100); }
.text-stone-200 { color: var(--stone-200); }
.text-stone-300 { color: var(--stone-300); }
.text-stone-500 { color: var(--stone-500); }
.text-stone-600 { color: var(--stone-600); }
.text-stone-700 { color: var(--stone-700); }
.text-stone-800 { color: var(--stone-800); }
.text-stone-900 { color: var(--stone-900); }
.text-white { color: var(--white); }

/* Top bar */
.top-bar {
  background: var(--green-dark);
  color: var(--stone-100);
  font-size: 0.75rem;
}
.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 0.25rem;
  justify-content: space-between;
}
.top-bar a:hover { text-decoration: underline; }

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(252,251,248,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--stone-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-icon {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--gold);
  color: var(--white);
  font-weight: 700;
}
.logo-text { font-weight: 600; letter-spacing: -0.025em; }
.logo-text span { color: var(--green-dark); }
.nav-links { display: none; }
.nav-links a:hover { color: var(--gold); transition: color 0.2s; }
.nav-cta { display: none; }

.logo-text {
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 50vw;
}

/* Hero slideshow */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 78vh;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-img {
  height: 78vh;
  width: 100%;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero-text { max-width: 42rem; color: var(--white); pointer-events: auto; }
.hero-tagline {
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}
.hero-title {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.25;
}
.hero-desc {
  margin-top: 1.25rem;
  color: var(--stone-200);
  font-size: 1.125rem;
  max-width: 36rem;
}
.hero-ceo {
  margin-top: 0.75rem;
  color: var(--gold-light);
  font-size: 0.875rem;
  max-width: 36rem;
}
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 0.75rem;
}
.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  padding: 0;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-dot:hover {
  border-color: var(--gold);
}

/* Hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.3);
  color: rgba(255,255,255,0.7);
  border: none;
  font-size: 1.5rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  border-radius: 0.25rem;
  line-height: 1;
}
.hero-arrow:hover {
  background: rgba(0,0,0,0.6);
  color: #fff;
}
.hero-arrow-prev { left: 1rem; }
.hero-arrow-next { right: 1rem; }
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  background: var(--gold);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-900);
}
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Section titles */
.section-tag {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--green-dark);
}
@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about-img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.about-text p { color: var(--stone-700); margin-top: 1.25rem; line-height: 1.625; }
.bullet-list { margin-top: 1.5rem; }
.bullet-list li {
  display: flex;
  gap: 0.75rem;
  color: var(--stone-700);
}
.bullet-dot {
  margin-top: 0.25rem;
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Services */
.services-section { background: var(--green-dark); color: var(--stone-100); }
.services-section .section-title { color: var(--white); }
.services-desc { margin-top: 1rem; color: var(--stone-300); }
.services-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
.service-card {
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  transition: background 0.2s;
}
.service-card:hover { background: rgba(255,255,255,0.1); }
.service-card h3 { font-weight: 600; color: var(--gold-light); }
.service-card p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--stone-300); line-height: 1.625; }

/* Properties */
.properties-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.catalogue-link {
  font-size: 0.875rem;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.properties-grid { margin-top: 3rem; display: grid; gap: 2rem; }
.property-card {
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid var(--stone-200);
}
.property-img-wrap { position: relative; overflow: hidden; }
.property-img {
  height: 15rem;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.property-card:hover .property-img { transform: scale(1.05); }
.property-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gold);
  color: var(--stone-900);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}
.property-info { padding: 1.25rem; }
.property-info h3 { font-weight: 600; font-size: 1.125rem; color: var(--green-dark); }
.property-info .location { font-size: 0.875rem; color: var(--stone-600); margin-top: 0.25rem; }
.enquire-link {
  margin-top: 1rem;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green-dark);
}
.enquire-link:hover { color: var(--gold); }

/* Contact */
.contact-section { background: var(--stone-50); border-top: 1px solid var(--stone-200); }
.contact-grid { display: grid; gap: 3rem; }
.contact-desc { margin-top: 1rem; color: var(--stone-700); }
.contact-details { margin-top: 2rem; }
.contact-details dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--stone-500); }
.contact-details dd { margin-top: 0.25rem; font-weight: 500; color: var(--stone-800); }
.contact-details dd a:hover { color: var(--gold); }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  border: 1px solid var(--stone-200);
  padding: 1.5rem;
}
.form-row { display: grid; gap: 1rem; }
.form-group { display: block; font-size: 0.875rem; }
.form-group span { color: var(--stone-700); }
.form-input {
  margin-top: 0.25rem;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid var(--stone-300);
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: 0.875rem;
  outline: none;
}
.form-input:focus { ring: 2px solid var(--gold); border-color: var(--gold); }
textarea.form-input { resize: vertical; }
.btn-submit {
  width: 100%;
  border-radius: 0.375rem;
  background: var(--green-dark);
  color: var(--white);
  padding: 0.75rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.875rem;
}
.btn-submit:hover { background: var(--green-darker); }

/* Footer */
.footer {
  background: var(--green-darker);
  color: var(--stone-300);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

/* 404 */
.page-404 {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}
.page-404-inner { max-width: 28rem; text-align: center; }
.page-404 h1 { font-size: 4.5rem; font-weight: 700; }
.page-404 h2 { margin-top: 1rem; font-size: 1.25rem; font-weight: 600; }
.page-404 p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--stone-500); }
.page-404 .actions { margin-top: 1.5rem; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #1da851;
  color: #fff;
  transform: scale(1.05);
}
.whatsapp-float svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}
.whatsapp-label { display: none; }
@media (min-width: 640px) {
  .whatsapp-label { display: inline; }
}

/* Admin link */
.admin-link {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  z-index: 50;
}
.admin-link a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--stone-700);
  color: var(--white);
  font-size: 1.25rem;
  opacity: 0.5;
  transition: opacity 0.2s;
  text-decoration: none;
}
.admin-link a:hover { opacity: 1; }

/* Admin styles */
.admin-body { background: #f1f5f9; font-family: system-ui, sans-serif; }
.admin-wrap { max-width: 64rem; margin: 0 auto; padding: 2rem 1rem; }
.admin-card {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.admin-card h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; }
.admin-card h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; }
.admin-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .admin-grid { grid-template-columns: repeat(2, 1fr); } }
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}
.admin-btn-primary { background: #0e3b2e; color: #fff; }
.admin-btn-primary:hover { background: #0a2a21; }
.admin-btn-danger { background: #dc2626; color: #fff; }
.admin-btn-danger:hover { background: #b91c1c; }
.admin-btn-ghost { background: transparent; color: #0e3b2e; border: 1px solid #d1d5db; }
.admin-btn-ghost:hover { background: #f3f4f6; }
.admin-label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.25rem; color: #374151; }
.admin-input, .admin-textarea, .admin-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font: inherit;
  font-size: 0.875rem;
  outline: none;
  margin-bottom: 1rem;
}
.admin-input:focus, .admin-textarea:focus { border-color: #0e3b2e; box-shadow: 0 0 0 2px rgba(14,59,46,0.2); }
.admin-textarea { min-height: 6rem; resize: vertical; }
.admin-thumb { width: 6rem; height: 4rem; object-fit: cover; border-radius: 0.25rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th, .admin-table td { text-align: left; padding: 0.75rem 0.5rem; border-bottom: 1px solid #e5e7eb; }
.admin-table th { font-weight: 600; color: #6b7280; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.admin-alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.admin-alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.admin-alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.admin-meta { font-size: 0.75rem; color: #9ca3af; }
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.admin-header h1 { margin-bottom: 0; }

/* Responsive */
@media (min-width: 640px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.875rem; }
  .nav-cta { display: inline-flex; }

  .hero-title { font-size: 3.75rem; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .properties-grid { grid-template-columns: repeat(3, 1fr); }
}
