/* ============================================
   SEABREEZE — Editorial Bakery & Grocery Site
   Teal + Slate Grey | Playfair Display + Inter
   ============================================ */

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

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate-800);
  background-color: #fefefe;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--teal-700);
  color: #fff;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  z-index: 200;
  font-weight: 500;
  transition: top 0.2s;
}

.skip-link:focus {
  top: var(--space-sm);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 254, 254, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-800);
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  color: var(--teal-600);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-menu a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-cta {
  background: var(--teal-700) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.55rem 1.25rem !important;
  margin-left: 0.5rem;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--teal-800) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO — split: text left, image right
   ============================================ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: #fefefe;
  overflow: hidden;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero-text {
  max-width: 560px;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--teal-400);
  border-radius: 2px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.hero-headline em {
  font-style: italic;
  color: var(--teal-700);
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--slate-600);
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.hero-meta {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: var(--slate-500);
}

.hero-meta-item svg {
  color: var(--teal-500);
  flex-shrink: 0;
}

.hero-image {
  position: relative;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background: var(--teal-200);
  border-radius: 50%;
  opacity: 0.4;
  z-index: -1;
  filter: blur(40px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-700);
  color: #fff;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--teal-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--slate-700);
  border: 1.5px solid var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--teal-500);
  color: var(--teal-700);
  background: var(--teal-50);
}

.btn-map {
  margin-top: var(--space-md);
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust-strip {
  background: var(--slate-900);
  padding: var(--space-lg) var(--space-lg);
}

.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-300);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-icon {
  color: var(--teal-400);
  flex-shrink: 0;
}

/* ============================================
   SECTION LABELS
   ============================================ */
.about-label,
.offerings-header,
.visit-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.label-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--teal-500);
  border-radius: 3px;
  flex-shrink: 0;
}

.label-line-light {
  background: var(--teal-400);
}

.label-text {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--slate-900);
  letter-spacing: -0.025em;
}

.section-heading-light {
  color: #fff;
}

.section-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--slate-500);
  max-width: 560px;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--space-3xl) var(--space-lg);
  background: #fefefe;
}

.about-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  margin-top: var(--space-lg);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-600);
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   OFFERINGS
   ============================================ */
.offerings {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--slate-50);
}

.offerings-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.offerings-header {
  margin-bottom: var(--space-xl);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.offering-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
}

.offering-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.offering-card-img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.offering-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.offering-card:hover .offering-card-img img {
  transform: scale(1.05);
}

.offering-card-body {
  padding: var(--space-md);
}

.offering-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.offering-card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--slate-500);
}

/* ============================================
   STORY (dark)
   ============================================ */
.story {
  padding: var(--space-3xl) var(--space-lg);
  background: var(--slate-900);
}

.story-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.story-content .label-line {
  margin-bottom: var(--space-xs);
}

.story-lead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.65;
  color: var(--slate-300);
  font-style: italic;
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-400);
}

.story-content p em {
  color: var(--teal-300);
  font-style: italic;
}

.story-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   VISIT / CONTACT
   ============================================ */
.visit {
  padding: var(--space-3xl) var(--space-lg);
  background: #fefefe;
}

.visit-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.visit-header {
  margin-bottom: var(--space-xl);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.visit-info {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  border: 1px solid var(--slate-200);
}

.visit-info-block {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--slate-200);
}

.visit-info-block:first-child {
  padding-top: 0;
}

.visit-info-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.visit-info-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}

.visit-info-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate-600);
}

.visit-info-block a {
  color: var(--teal-700);
  font-weight: 600;
  transition: color 0.2s;
}

.visit-info-block a:hover {
  color: var(--teal-500);
  text-decoration: underline;
}

.visit-hours-note {
  font-size: 0.85rem;
  color: var(--slate-400);
  font-style: italic;
}

.visit-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 400px;
  box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-900);
  padding: var(--space-2xl) var(--space-lg);
  color: var(--slate-400);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--slate-500);
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--slate-400);
  transition: color 0.2s;
}

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

.footer-contact {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--slate-500);
}

.footer-contact a {
  color: var(--teal-400);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--teal-300);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--slate-800);
  font-size: 0.8rem;
  color: var(--slate-600);
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
    gap: var(--space-lg);
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-image {
    max-width: 560px;
  }

  .about-grid,
  .story-inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .story-image {
    max-width: 560px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 254, 254, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-lg);
    gap: 0.25rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: var(--space-sm);
    text-align: center;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-xl);
  }

  .hero-headline {
    font-size: clamp(1.85rem, 7vw, 2.75rem);
  }

  .hero-meta {
    flex-direction: column;
    gap: var(--space-xs);
  }

  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .trust-inner {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .trust-item {
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--slate-800);
  }

  .trust-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .section-heading {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }

  .footer-inner {
    gap: var(--space-md);
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-xs);
  }
}

@media (max-width: 480px) {
  .nav-inner {
    padding: 0 var(--space-md);
  }

  .hero-inner,
  .about-inner,
  .offerings-inner,
  .story-inner,
  .visit-inner {
    padding-left: var(--space-md);
    padding-right: var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
