/* ==============================
   Base & Resets
   ============================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --blue: #0a3d62;        /* deep blue */
  --blue-800: #07304c;    /* darker on hover/footers */
  --gold: #d4af37;        /* classic gold */
  --gold-800: #b8922f;    /* gold hover */
  --bg: #ffffff;          /* white background */
  --text: #0f172a;        /* near-navy text */
  --muted: #6b7280;

  --header-h: 68px;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 2px dashed var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ==============================
   Header (fixed, slide-away)
   ============================== */
header {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  padding: 0 3rem;
  background: rgba(10, 61, 98, 0.92);  /* blue */
  color: #fff;
  transform: translateY(0);
  transition: transform 0.25s ease;
  will-change: transform;
}
.header--hidden { transform: translateY(-110%); }

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  line-height: var(--header-h);
  letter-spacing: .2px;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  transition: color 0.25s, text-decoration-color 0.25s;
}
header nav a:hover { color: var(--gold); }
header nav a.nav--active {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

main { padding-top: var(--header-h); }

/* ==============================
   Hero
   ============================== */
.hero {
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  min-height: 100svh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 2rem;
  background:
    url('../images/lond.jpeg?v=13') no-repeat center center / cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(10,61,98,.55), rgba(10,61,98,.55)); /* blue overlay */
}
.hero-content { position: relative; z-index: 1; max-width: 640px; }
.hero h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 1rem;
}
.hero p { font-size: 1.2rem; margin-bottom: 2rem; }

/* ==============================
   Buttons
   ============================== */
.btn {
  background: var(--gold);
  color: #0a0a0a;
  border: 2px solid var(--gold);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s, border-color 0.25s;
  text-decoration: none;
}
.btn:hover {
  background: var(--gold-800);
  border-color: var(--gold-800);
  color: #fff;
  transform: translateY(-2px);
}

/* ==============================
   Articles (cards / section indexes)
   ============================== */
.articles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 5rem 3rem;
  background: var(--blue);                 /* was black */
  border-top: 3px solid var(--gold);
}
.articles article {
  position: relative;
  background: #ffffff;                      /* white cards */
  color: var(--text);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.25s, box-shadow 0.25s, color 0.25s, background 0.25s;
}
.card-link { display: block; text-decoration: none; color: inherit; }

.articles article:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  background: var(--gold);
  color: #0b1220; /* readable on gold */
}
.articles h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: inherit;
}
.articles p { font-size: 1rem; line-height: 1.6; color: inherit; }

@media (max-width: 768px) {
  .articles { grid-template-columns: 1fr; padding: 4rem 1.5rem; }
}

/* ==============================
   About (hero + sections)
   ============================== */
.about {
  min-height: 100svh; width: 100%;
  display: flex; justify-content: center; align-items: center;
  text-align: center; padding: 2rem; color: #fff;
  background:
    url('../images/moreflowers.jpg?v=13') no-repeat center center / cover;
}
.about .content-container {
  max-width: 700px;
  background: rgba(10, 61, 98, 0.55); /* blue glass */
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(212,175,55,.35);
}
.about h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
}
.about p {
  font-size: 1.12rem;
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

/* About anchor sections */
.about-sections {
  padding: 3rem;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
  background: #f8fafc; /* gentle white band */
  border-top: 1px solid #e5e7eb;
}
.about-section {
  background: #ffffff;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  transition: transform 0.25s, box-shadow 0.25s, color 0.25s, background 0.25s;
  color: var(--text);
}
.about-section h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: .5rem;
  color: inherit;
}
.about-section p { color: inherit; }

.about-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
  background: var(--gold);
  color: #0b1220;
}

@media (max-width: 768px) {
  .about-sections { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
}

/* ==============================
   Magazine hero (flowers background)
   ============================== */
.magazine-hero {
  min-height: 100svh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
  background:
    url('../images/flowers.jpg?v=13') no-repeat center center / cover;
}
.magazine-hero .content-container {
  max-width: 700px;
  background: rgba(10, 61, 98, 0.55);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid rgba(212,175,55,.35);
}

/* ==============================
   Contact
   ============================== */
.contact {
  min-height: 100svh;
  padding: 6rem 2rem 4rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue);
}
.contact .content-container {
  width: 100%; max-width: 600px;
  background: #fff; color: var(--text);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.contact h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}
.contact label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.contact input,
.contact textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contact input:focus,
.contact textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 6px rgba(212,175,55,0.35);
  outline: none;
}
.contact .btn { width: 100%; }
.contact small.help { display:block; margin: -0.25rem 0 1rem; color: var(--muted); }

/* Honeypot */
.hp { position: absolute; left: -9999px; }

/* ==============================
   Staff Grid
   ============================== */
.staff-grid {
  padding: 3rem;
  padding-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}
.staff-card a {
  display: block;
  background: #fff; color: var(--text);
  text-decoration: none;
  border: 2px solid var(--gold);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
}
.staff-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.staff-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  padding: .75rem 1rem 0;
}
.staff-card p { padding: 0 1rem 1rem; color: var(--muted); }

.staff-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
  border-color: var(--gold-800);
  background: #fffceb;
}

@media (max-width: 992px) { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .staff-grid { grid-template-columns: 1fr; } }

/* ==============================
   Footer
   ============================== */
footer {
  text-align: center;
  padding: 2rem;
  background: #0a3d62; /* same deep blue as header */
  color: #fff;
  font-size: 0.9rem;
}

/* ==============================
   Reduced Motion
   ============================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  header { transition: none; }
}

/* ==============================
   Skip link
   ============================== */
.skip {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
  text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 0; }
