/* === Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
  color: #2d2d2d;
  line-height: 1.75;
  background: #fff;
}
img { max-width: 100%; display: block; }
a { transition: color 0.2s; }
a:focus-visible, button:focus-visible {
  outline: 3px solid #e8a020;
  outline-offset: 2px;
  border-radius: 4px;
}

/* === Design Tokens === */
:root {
  --navy:       #1c3a5f;
  --dark:       #111111;
  --gold:       #e8a020;
  --gold-dark:  #c98010;
  --white:      #ffffff;
  --off-white:  #f4f7fa;
  --text:       #2d2d2d;
  --text-muted: #555;
  --border:     #dde3ea;
  --nav-h:      70px;
}

/* === Layout === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-white { background: var(--white); }
.section-alt   { background: var(--off-white); }

/* === Typography === */
h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem);   font-weight: 700; margin-bottom: 1rem; color: #111; }
h3 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.08em; color: #444; }
p  { margin-bottom: 1rem; }
.lead { font-size: 1.1rem; }

/* === CTA Button — gold outline (used on light section backgrounds) === */
.cta-btn {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--gold);
  margin: 1rem 0;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cta-btn:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}
.cta-btn:active { transform: translateY(0); }

/* White outline variant — used on dark/hero background */
.cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2.5rem;
  border-radius: 4px;
  border: 2px solid #fff;
  margin: 1rem 0;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cta-btn-outline:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
  transform: translateY(-1px);
}
.cta-btn-outline:active { transform: translateY(0); }

/* === Sticky Nav === */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.55);
  transition: background 0.3s;
}
#header.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.nav {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo { height: 38px; width: auto; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 0.1rem;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.88);
  padding: 0.45rem 0.8rem;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(255,255,255,0.14); color: #fff; }
.nav-links a.active { color: var(--gold); }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero Section === */
.hero-section {
  position: relative;
  height: 65vh;
  min-height: 440px;
  max-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../img/hero.jpg') center 35% / cover no-repeat;
  padding-top: var(--nav-h);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.48);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 2rem 1.5rem;
  max-width: 820px;
}
.hero-content h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  margin-bottom: 0.6rem;
}
.hero-subhead {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 400;
  opacity: 0.92;
  margin-bottom: 2rem;
  font-style: italic;
}

/* === Section Two-Col Layout (text + image side by side) === */
.section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.section-inner.reverse { direction: rtl; }
.section-inner.reverse > * { direction: ltr; }

.section-img {
  width: 100%;
  border-radius: 8px;
  max-height: 480px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* === Taxi two-column layout === */
.taxi-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}
.taxi-servicing h3 { margin-bottom: 0.5rem; }

/* === Areas List === */
.areas-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.25rem 1.5rem;
  margin-top: 0.75rem;
}
.areas-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  font-size: 0.95rem;
}

/* === Carousel === */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  margin-top: 2rem;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 20px)); /* offset for dots height */
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.3rem 0.7rem 0.5rem;
  z-index: 10;
  transition: background 0.2s;
  user-select: none;
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-prev:hover,
.carousel-next:hover { background: rgba(0, 0, 0, 0.65); }

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0.6rem 0 0.5rem;
  background: #fff;
}
.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.2);
}
.carousel-dot:hover { background: #aaa; }

/* === Vineyard List === */
.vineyard-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  margin: 1.5rem 0;
}
.vineyard-col { list-style: none; }
.vineyard-col li a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s, padding-left 0.2s;
}
.vineyard-col li a::before { content: '→'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.vineyard-col li a:hover { color: var(--gold-dark); padding-left: 4px; }

/* === Wedding / Events photos === */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.photo-pair img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.single-photo {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* === Contact === */
/* contact-grid: used when optional form is enabled (see comment in index.html) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-block { max-width: 500px; }
.contact-item { margin-bottom: 2rem; }
.contact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.contact-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.contact-link:hover { color: var(--gold-dark); }
.tagline {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 1rem;
  font-style: italic;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.back-to-top:hover { color: var(--navy); }

/* === Optional form styles (for when form is enabled) === */
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label {
  display: block; font-weight: 600; font-size: 0.9rem;
  margin-bottom: 0.3rem; color: var(--navy);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%; padding: 0.7rem 1rem;
  border: 1.5px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); outline: none; }
.contact-form textarea { resize: vertical; min-height: 120px; }

/* === Footer === */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.footer-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 0.82rem; opacity: 0.55; margin-top: 0.75rem; }

/* === Responsive === */
@media (max-width: 900px) {
  .section-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-inner.reverse { direction: ltr; }
  .vineyard-cols { grid-template-columns: 1fr; gap: 0; }
  .taxi-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 0.5rem 0 1rem;
    gap: 0;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .cta-btn, .cta-btn-outline { display: block; text-align: center; }

  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair img { height: 240px; }

  .carousel-slide img { height: 260px; }

  .section { padding: 3.5rem 0; }

  .contact-link { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  .areas-list { grid-template-columns: 1fr 1fr; }
  .footer-links { gap: 1.2rem; }
  .carousel-slide img { height: 220px; }
}
