/* =============================================
   HIGHCLIFFE GARDENERS — Premium CSS
   ============================================= */

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

:root {
  --charcoal: #1a1a18;
  --deep-green: #2c3b2d;
  --stone: #b5a898;
  --earth: #8c7b6b;
  --cream: #f5f1ec;
  --off-white: #faf8f5;
  --light-stone: #e8e2da;
  --text-dark: #1a1a18;
  --text-mid: #4a4a44;
  --text-light: #7a7a72;
  --accent-green: #3d5c3f;
  --border: rgba(26,26,24,0.12);
  --gap: clamp(2rem, 5vw, 5rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; font-weight: 400; }

p { font-size: clamp(0.9rem, 1.2vw, 1rem); color: var(--text-mid); max-width: 60ch; }

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}

/* ── LAYOUT ── */
.container {
  width: min(1400px, 92%);
  margin: 0 auto;
}

section { padding: clamp(4rem, 8vw, 9rem) 0; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

nav.scrolled {
  background: rgba(250,248,245,0.97);
  padding: 0.9rem 0;
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1400px, 92%);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1;
}

.nav-logo .tagline {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--earth);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-mid);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent-green);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav-links a:hover { color: var(--charcoal); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-links .cta-nav {
  background: var(--charcoal);
  color: var(--cream);
  padding: 0.65rem 1.4rem;
  letter-spacing: 0.15em;
  transition: background 0.2s;
}

.nav-links .cta-nav:hover { background: var(--accent-green); }
.nav-links .cta-nav::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 1rem 2rem;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-primary:hover { background: var(--accent-green); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--cream); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,241,236,0.5);
}
.btn-outline-light:hover { background: rgba(245,241,236,0.15); border-color: var(--cream); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  filter: contrast(1.08) saturate(0.88) brightness(0.78);
}

.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,24,0.1) 0%,
    rgba(26,26,24,0.05) 40%,
    rgba(26,26,24,0.55) 80%,
    rgba(26,26,24,0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1400px, 92%);
  margin: 0 auto;
  padding-bottom: clamp(3rem, 7vw, 6rem);
  color: var(--cream);
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--stone);
}

.hero h1 {
  color: var(--cream);
  max-width: 14ch;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero h1 em { font-style: normal; color: var(--stone); }

.hero-sub {
  font-size: 0.9rem;
  color: rgba(245,241,236,0.75);
  max-width: 50ch;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: min(4%, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,241,236,0.5);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(245,241,236,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.15); }
}

/* ── SECTION HEADERS ── */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--earth);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--earth);
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p { font-size: 1rem; }

/* ── DIVIDER ── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--earth);
  margin: 1.5rem 0;
}

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(245,241,236,0.1);
  margin-bottom: 2rem;
}

.footer-brand .wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.footer-brand .tagline {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(245,241,236,0.55);
  line-height: 1.8;
  max-width: 32ch;
}

.footer-col h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: rgba(245,241,236,0.6);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--cream); }

.footer-col address {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(245,241,236,0.6);
  line-height: 2;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(245,241,236,0.3);
  max-width: none;
}

.footer-bottom a { color: rgba(245,241,236,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--cream); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 10rem 0 5rem;
  background: var(--charcoal);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero .eyebrow { color: var(--stone); }
.page-hero .eyebrow::before { background: var(--stone); }
.page-hero h1 { color: var(--cream); }
.page-hero p { color: rgba(245,241,236,0.65); max-width: 55ch; }

/* ── RESPONSIVE NAV ── */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--off-white);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 3rem;
    transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -2px 0 30px rgba(0,0,0,0.1);
    z-index: 200;
  }

  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.85rem; }
  .nav-links .cta-nav { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
