/*
Theme Name: Squalicum Farm
Theme URI: https://squalicumfarm.com
Author: Squalicum Farm, LLC
Author URI: https://squalicumfarm.com
Description: Custom theme for Squalicum Farm — a flower farm in Bellingham, WA.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: squalicum-farm
Tags: custom, full-width, one-page
*/

/* ── RESET & VARIABLES ── */
:root {
  --cream: #f5efe6;
  --sage: #8a9e7a;
  --dusty-rose: #c9897a;
  --terracotta: #b85c45;
  --deep-green: #2d3d2e;
  --warm-brown: #6b4c3b;
  --blush: #e8c4b8;
  --soft-gold: #d4a853;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--deep-green);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 4rem;
  background: rgba(245,239,230,0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

nav.scrolled {
  background: rgba(245,239,230,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 12px rgba(45,61,46,0.1);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--deep-green);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-sublogo {
  font-family: 'Lato', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 400;
}

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

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--deep-green);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 5rem 5rem 6rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--deep-green);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--warm-brown);
  max-width: 38ch;
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.2rem;
  background: var(--terracotta);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 0.3s ease, gap 0.3s ease;
  width: fit-content;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-cta:hover {
  background: var(--warm-brown);
  gap: 1.5rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.2s forwards;
}

.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sage);
}

.scroll-line {
  width: 50px;
  height: 1px;
  background: var(--sage);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--terracotta);
  animation: slideLine 2s ease infinite 1.5s;
}

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--deep-green);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
}

.marquee-item {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--blush);
  font-style: italic;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.marquee-dot {
  color: var(--terracotta);
  font-style: normal;
}

/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 80vh;
  position: relative;
}

.about-art {
  position: relative;
  overflow: hidden;
  background: var(--sage);
}

.about-art canvas { width: 100%; height: 100%; display: block; }

.about-content {
  padding: 6rem 6rem 6rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--deep-green);
  margin-bottom: 2rem;
}

.section-title em { font-style: italic; color: var(--terracotta); }

.about-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--warm-brown);
  font-weight: 300;
  max-width: 52ch;
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 1rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--deep-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 0.4rem;
}

/* ── OFFERINGS ── */
.offerings {
  padding: 7rem 6rem;
  background: var(--deep-green);
  position: relative;
  overflow: hidden;
}

.offerings-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}

.offerings .section-label { color: var(--blush); }
.offerings .section-title { color: var(--cream); }

.offerings-link {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--soft-gold);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.offerings-link:hover { opacity: 0.7; }

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.offering-card {
  background: rgba(255,255,255,0.04);
  padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.3s ease;
  cursor: default;
}

.offering-card:hover { background: rgba(255,255,255,0.09); }

.offering-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.offering-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.offering-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(245,239,230,0.55);
  font-weight: 300;
}

.offering-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--soft-gold);
  margin-top: 1.5rem;
}

/* ── SEASONAL ── */
.seasonal {
  padding: 7rem 6rem;
  background: var(--cream);
}

.seasonal-header {
  text-align: center;
  margin-bottom: 5rem;
}

.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.season-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.season-card canvas {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.season-card:hover canvas { transform: scale(1.04); }

.season-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(transparent, rgba(45,61,46,0.85));
  color: var(--cream);
}

.season-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0.3rem;
}

.season-flowers {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ── VISIT ── */
.visit {
  background: var(--blush);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.visit-content {
  padding: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit .section-title { margin-bottom: 1.5rem; }

.visit-body {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--warm-brown);
  font-weight: 300;
  max-width: 44ch;
  margin-bottom: 1.5rem;
}

.hours-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(107,76,59,0.2);
  font-size: 0.85rem;
  color: var(--warm-brown);
}

.hours-list li span:first-child { font-weight: 500; }

.visit-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 3px;
  width: fit-content;
  transition: gap 0.3s ease;
}

.visit-cta:hover { gap: 1.2rem; }

.visit-map {
  background: var(--sage);
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.visit-map iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

#leafletMap {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--terracotta);
  padding: 5rem 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.newsletter-sub {
  font-size: 0.85rem;
  color: rgba(245,239,230,0.7);
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.newsletter-input {
  padding: 1rem 1.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-right: none;
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  outline: none;
  width: 280px;
  transition: background 0.3s;
}

.newsletter-input::placeholder { color: rgba(245,239,230,0.5); }
.newsletter-input:focus { background: rgba(255,255,255,0.22); }

.newsletter-btn {
  padding: 1rem 1.8rem;
  background: var(--cream);
  color: var(--terracotta);
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.newsletter-btn:hover {
  background: var(--deep-green);
  color: var(--cream);
}

/* ── FOOTER ── */
footer {
  background: var(--deep-green);
  padding: 4rem 6rem 2.5rem;
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(245,239,230,0.45);
  font-weight: 300;
  line-height: 1.7;
  max-width: 28ch;
}

.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 0.6rem; }

.footer-links a {
  font-size: 0.85rem;
  color: rgba(245,239,230,0.5);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--blush); }

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

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245,239,230,0.3);
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--blush); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes slideLine {
  from { left: -100%; }
  to   { left: 100%; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 1.2rem 2rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { height: 50vh; }
  .hero-text { padding: 8rem 2rem 4rem; }
  .about { grid-template-columns: 1fr; }
  .about-art { height: 50vh; }
  .about-content { padding: 4rem 2rem; }
  .offerings { padding: 5rem 2rem; }
  .offerings-grid { grid-template-columns: 1fr; gap: 1rem; }
  .offerings-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .seasonal { padding: 5rem 2rem; }
  .seasonal-grid { grid-template-columns: repeat(2, 1fr); }
  .visit { grid-template-columns: 1fr; }
  .visit-map { height: 40vh; }
  .visit-content { padding: 4rem 2rem; }
  .newsletter { flex-direction: column; padding: 4rem 2rem; }
  .newsletter-form { width: 100%; }
  .newsletter-input { flex: 1; width: auto; }
  footer { padding: 4rem 2rem 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .hero-scroll { left: 2rem; }
}
