/* ==========================================================================
   Little Afton Flowers — site styles
   ========================================================================== */

:root {
  --green: #62bd69;
  --green-dark: #4a9c50;
  --ink: #2b2b26;
  --ink-soft: #5a5a52;
  --cream: #fbf9f4;
  --cream-deep: #f2ede2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 43, 38, 0.10);
  --max-width: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 600; margin: 0 0 0.5em; line-height: 1.2; }
h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 0.3em;
}
p.section-kicker {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--green-dark);
  font-weight: 600;
  margin-bottom: 0.6em;
}

.btn {
  display: inline-block;
  padding: 0.85em 1.8em;
  background: var(--green);
  color: var(--white);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn.btn-outline-dark {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
}
.btn.btn-outline-dark:hover { background: var(--green); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(43,43,38,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 48px; width: 48px; }
.brand .brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
}
nav.main-nav a.active,
nav.main-nav a:hover { color: var(--green-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,35,20,0.35) 0%, rgba(30,35,20,0.55) 100%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 620px; }
.hero-content p.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #d9f2d9;
  margin-bottom: 0.8em;
}
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.4em; }
.hero-content p.lead { font-size: 1.05rem; margin-bottom: 1.6em; color: #f1f1e9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30,35,20,0.5);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.2em; }
.breadcrumb { font-size: 0.9rem; color: #e7f4e7; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Generic sections ---------- */
section { padding: 5.5rem 0; }
section.tight { padding: 3.5rem 0; }
.bg-white { background: var(--white); }
.bg-cream-deep { background: var(--cream-deep); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }
.two-col.reverse .col-img { order: 2; }

.col-text .kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.6em;
  display: block;
}
.col-text p { color: var(--ink-soft); }

/* ---------- Seasons / galleries ---------- */
.seasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  margin-top: 2.8rem;
}
.season-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0;
  -webkit-overflow-scrolling: touch;
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 6px; }
.gallery-scroll img {
  scroll-snap-align: start;
  flex: 0 0 100%;
  height: 230px;
  object-fit: cover;
}
.season-card .season-body { padding: 1.4rem 1.5rem 1.7rem; }
.season-card h3 { font-size: 1.25rem; margin-bottom: 0.5em; }
.season-card p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

.dot-row { display: flex; gap: 6px; justify-content: center; padding: 10px 0 0; }
.dot-row span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(43,43,38,0.18);
}

/* ---------- Icon list ---------- */
.icon-list { list-style: none; margin: 1.4rem 0; padding: 0; }
.icon-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  color: var(--ink-soft);
}
.icon-list li::before {
  content: "✿";
  color: var(--green);
  font-size: 1.05rem;
  line-height: 1.5;
  flex-shrink: 0;
}

/* ---------- Banner / quote ---------- */
.banner-quote {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  color: var(--white);
  text-align: center;
}
.banner-quote::after { content: ""; position: absolute; inset: 0; background: rgba(20,30,15,0.55); }
.banner-quote .container { position: relative; z-index: 2; }
.banner-quote p {
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  max-width: 760px;
  margin: 0 auto;
  font-weight: 500;
}

/* ---------- Simple photo grid (u-pick / events) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.photo-grid img { border-radius: var(--radius); height: 200px; object-fit: cover; box-shadow: var(--shadow); }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--green); color: var(--white); text-align: center; }
.newsletter h2 { color: var(--white); }
.newsletter p { color: #e8f6e8; margin-bottom: 1.6rem; }
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-form input[type=email] {
  flex: 1;
  min-width: 220px;
  padding: 0.9em 1.2em;
  border-radius: 100px;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
}
.newsletter-form .btn { background: var(--ink); }
.newsletter-form .btn:hover { background: #000; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4em;
  margin-top: 1.1em;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8em 1em;
  border-radius: 10px;
  border: 1px solid rgba(43,43,38,0.18);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { margin-top: 1.6rem; }

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.info-card p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.info-card iframe { width: 100%; height: 220px; border: 0; border-radius: 10px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #2c3324;
  color: #d8ddd0;
  padding: 3.5rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-grid p, .footer-grid a { color: #b9c1ac; font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.6rem; }
.footer-grid a:hover { color: var(--white); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-brand img { height: 40px; width: 40px; }
.footer-brand span { color: var(--white); font-weight: 700; }
.footer-bottom {
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: #8d977f;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.reverse .col-img { order: 0; }
  .seasons-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  nav.main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    box-shadow: var(--shadow);
    display: none;
  }
  nav.main-nav.is-open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 24px 1.5rem;
  }
  nav.main-nav li { padding: 0.7rem 0; border-bottom: 1px solid rgba(43,43,38,0.06); }
  .nav-toggle { display: flex; }
  section { padding: 3.6rem 0; }
}
