/* ============================================================
   AUB Property Ltd — Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@300;400;500&display=swap');

:root {
  --green-light: #a8ca37;
  --green-dark:  #4a7c3f;
  --gradient:    linear-gradient(135deg, #b5d334 0%, #4a7c3f 100%);
  --charcoal:    #3d3d3d;
  --mid-grey:    #6b6b6b;
  --light-grey:  #f5f5f3;
  --border:      #e0e0dc;
  --white:       #ffffff;
  --max-width:   1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.7;
}

/* ── HEADER ─────────────────────────────────────────────── */

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.logo img {
  height: 72px;
  width: auto;
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--mid-grey);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width 0.25s ease;
}

nav a:hover { color: var(--charcoal); }
nav a:hover::after,
nav a.active::after { width: 100%; }
nav a.active { color: var(--charcoal); }

/* ── FOOTER ─────────────────────────────────────────────── */

footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col p, .footer-col address {
  font-style: normal;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: #b5d334; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ── SHARED SECTION STYLES ──────────────────────────────── */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem 2rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4a7c3f;
  margin-bottom: 0.75rem;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.5rem; }

p { color: var(--mid-grey); max-width: 60ch; }

/* ── PLACEHOLDER IMAGE ──────────────────────────────────── */
.img-placeholder {
  background: var(--light-grey);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 4px;
}

/* ── HERO ────────────────────────────────────────────────── */

.hero {
  background: var(--light-grey);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text .eyebrow {
  display: inline-block;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-image {
  height: 420px;
  border-radius: 4px;
  overflow: hidden;
}

.hero-image .img-placeholder {
  width: 100%;
  height: 100%;
}

/* ── DIVIDER ─────────────────────────────────────────────── */

.accent-bar {
  height: 3px;
  width: 48px;
  background: var(--gradient);
  margin: 1rem 0 1.5rem;
  border-radius: 2px;
}

/* ── SERVICES PAGE ──────────────────────────────────────── */

.services-header {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.services-header h1 { color: var(--white); }
.services-header p  { color: rgba(255,255,255,0.65); margin: 1rem auto 0; text-align: center; }

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child { border-bottom: none; }

.service-block h3 { margin-bottom: 0.5rem; }
.service-block .accent-bar { margin: 0.5rem 0 1rem; }
.service-block p { font-size: 0.95rem; }

.service-image {
  height: 320px;
  border-radius: 4px;
  overflow: hidden;
}

.service-image .img-placeholder {
  width: 100%;
  height: 100%;
}

/* ── CONTACT PAGE ────────────────────────────────────────── */

.contact-header {
  background: var(--charcoal);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.contact-header h1 { color: var(--white); }
.contact-header p  { color: rgba(255,255,255,0.65); margin: 1rem auto 0; text-align: center; }

.contact-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4a7c3f;
  margin-bottom: 0.4rem;
}

.contact-item p, .contact-item a {
  color: var(--mid-grey);
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-item a:hover { color: #4a7c3f; }

.contact-map {
  background: var(--light-grey);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  color: var(--border);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .hero-inner,
  .service-block,
  .contact-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image { height: 260px; }

  /* Header: stack logo above nav on mobile */
  .header-inner {
    flex-direction: column;
    height: auto;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    align-items: center;
  }
  .logo img {
    height: 52px;
  }
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 1.2rem;
    padding-bottom: 0.5rem;
  }
  nav a {
    font-size: 0.82rem;
  }
}
