/* =========================================================
   Olympus London — Real Estate Investment
   Stylesheet
   ========================================================= */

:root {
  --navy: #0f1c2e;
  --navy-light: #1b2d45;
  --gold: #c9a24b;
  --gold-soft: #e0c179;
  --cream: #f7f5f0;
  --grey: #6b7280;
  --light-grey: #eceae4;
  --white: #ffffff;
  --max-width: 1200px;
  --radius: 4px;
  --transition: 0.25s ease;
  --shadow: 0 12px 40px rgba(15, 28, 46, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--navy);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { color: var(--grey); }

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255, 255, 255, 0.7); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-head {
  max-width: 680px;
  margin-bottom: 3rem;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lead {
  font-size: 1.15rem;
  margin-top: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-grey);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand__sub {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(rgba(15, 28, 46, 0.72), rgba(15, 28, 46, 0.82)),
    url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1920&q=80") center/cover;
}
.hero h1 { color: var(--white); max-width: 880px; }
.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.2rem;
  max-width: 620px;
  margin: 1.5rem 0 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  background:
    linear-gradient(rgba(15, 28, 46, 0.82), rgba(15, 28, 46, 0.88)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80") center/cover;
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.page-banner h1 { color: var(--white); }
.page-banner p { color: rgba(255, 255, 255, 0.8); margin-top: 0.75rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
}
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat__num {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 700;
}
.stat__label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 2rem;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1.3rem;
}
.card h3 { margin-bottom: 0.6rem; }

/* ---------- Property / portfolio cards ---------- */
.property {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.property:hover { transform: translateY(-6px); }
.property__img {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.property__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius);
}
.property__body { padding: 1.6rem; }
.property__loc {
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.property__body h3 { margin: 0.4rem 0 0.8rem; }
.property__meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--light-grey);
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.property__meta span { color: var(--navy); font-weight: 600; }
.property__meta small { display: block; color: var(--grey); font-weight: 400; }

/* ---------- Split / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split__img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tick-list { list-style: none; margin-top: 1.5rem; }
.tick-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: var(--navy);
}
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  padding-left: 4.5rem;
  margin-bottom: 2.5rem;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
}
.team-card h3 { margin-bottom: 0.2rem; }
.team-card .role { color: var(--gold); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(rgba(15, 28, 46, 0.9), rgba(15, 28, 46, 0.9)),
    url("https://images.unsplash.com/photo-1460472178825-e5240623afd5?auto=format&fit=crop&w=1920&q=80") center/cover;
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin: 1rem auto 2rem; max-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}
.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.info-item .ico {
  color: var(--gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.info-item h4 { margin-bottom: 0.2rem; }
.info-item p { font-size: 0.95rem; }

.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.15);
}
textarea.form-control { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.85rem;
  margin-top: 1rem;
}
.form-note.success { color: #2e7d32; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.site-footer h4 {
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.92rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.site-footer .brand__name { color: var(--white); }
.site-footer p { font-size: 0.92rem; margin-top: 1rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--2, .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { gap: 2rem; }
}

@media (max-width: 640px) {
  .nav__links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--light-grey);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__links.open { max-height: 420px; }
  .nav__links li { width: 100%; border-top: 1px solid var(--light-grey); }
  .nav__links a { display: block; padding: 1rem 1.5rem; }
  .nav__toggle { display: flex; }
  .grid--3, .grid--2, .stats { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
}
