@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --ink: #000000;
  --paper: #ffffff;
  --muted: #555555;
  --line: #000000;
  --accent: #7a5230; /* warm brown echoing the "Brown Eyed Girl" wordmark */
  --nav-h: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

.script {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 14px 0;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 400;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--ink);
}

/* ---------- Text animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fade-up {
  animation: fadeUp 0.9s ease both;
}

.anim-fade-in {
  animation: fadeIn 1.2s ease both;
}

.anim-delay-1 { animation-delay: 0.15s; }
.anim-delay-2 { animation-delay: 0.3s; }
.anim-delay-3 { animation-delay: 0.45s; }

/* Reveal-on-scroll targets: start hidden, .in-view triggers the animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .anim-fade-up, .anim-fade-in, .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.logo-band {
  background: var(--paper);
  padding: 48px 24px;
  text-align: center;
}

.logo-band img {
  margin: 0 auto;
  max-width: 560px;
  width: 90%;
}

.hero-spacer {
  height: 220px;
}

@media (max-width: 640px) {
  .hero-spacer { height: 140px; }
}

/* ---------- Tiles ---------- */
.tiles {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 800px) {
  .tiles { grid-template-columns: 1fr; }
}

.tile {
  position: relative;
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.tile-caption {
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

/* ---------- Generic page sections ---------- */
.page-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 24px 100px;
}

.page-title {
  font-size: 52px;
  text-align: center;
  margin: 0 0 48px;
}

.content-card {
  border: 1px solid #ddd;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  padding: 48px;
  background: var(--paper);
}

.content-card p { line-height: 1.75; color: #222; margin: 0 0 20px; }

.content-card h2 {
  font-size: 26px;
  font-weight: 500;
  margin: 40px 0 16px;
}

.content-card h2:first-of-type { margin-top: 48px; }

.content-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 8px;
  letter-spacing: 0.3px;
}

.content-card ul {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #222;
  line-height: 1.8;
}

.michelin-badge {
  display: block;
  margin: 28px auto 8px;
  max-width: 340px;
}

/* ---------- Related companies ---------- */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 20px 0 10px;
}

.brands-grid img {
  max-height: 150px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
}

/* ---------- Contact ---------- */
.contact-card {
  border-left: 4px solid var(--ink);
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  padding: 48px 56px;
  background: var(--paper);
}

.contact-email {
  font-size: 15px;
  margin-bottom: 32px;
}

.contact-email a { text-decoration: underline; }

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: #333;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #bbb;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}

.field textarea { min-height: 110px; resize: vertical; }

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 560px) {
  .row-2 { grid-template-columns: 1fr; }
  .contact-card { padding: 32px 24px; }
}

.submit-btn {
  width: 100%;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit-btn:hover { opacity: 0.85; }

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  text-align: center;
  padding: 32px 24px 48px;
  font-size: 13px;
  color: #333;
}
