/* ============================================
   INDIGO FARMS SEAFOOD — Website Styles
   Coastal & Classic Theme
   ============================================ */

/* --- Font Loading --- */
@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&f[]=zodiak@400,500,600,700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Typography */
  --font-display: 'Zodiak', Georgia, serif;
  --font-body: 'General Sans', -apple-system, sans-serif;

  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl:  clamp(2.5rem, 1rem + 4vw, 5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Colors - Coastal Palette */
  --color-navy: #1a3a5c;
  --color-navy-deep: #0f2540;
  --color-blue: #2a6496;
  --color-blue-light: #4a90c4;
  --color-sky: #e8f1f8;
  --color-sand: #f5f0e8;
  --color-sand-light: #faf7f2;
  --color-cream: #fffdf8;
  --color-white: #ffffff;
  --color-warm-gray: #6b6560;
  --color-text: #2a2520;
  --color-text-muted: #7a7570;
  --color-red: #c0392b;
  --color-red-dark: #a5311f;
  --color-teal: #1a6b6a;
  --color-teal-light: #e0f0ef;
  --color-border: #ddd8d0;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-navy);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav__logo img {
  height: 44px;
  width: auto;
  border-radius: 50%;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.1;
}

.nav__logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: var(--space-6);
  list-style: none;
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.nav__links a:hover {
  color: var(--color-blue);
}

.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    padding: var(--space-4) var(--space-6);
    gap: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav__links.active {
    display: flex;
  }

  .nav__hamburger {
    display: block;
  }

  .nav__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 37, 64, 0.55) 0%,
    rgba(15, 37, 64, 0.4) 50%,
    rgba(15, 37, 64, 0.65) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  max-width: 800px;
}

.hero__logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto var(--space-6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero__title {
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.9);
  font-weight: 400;
  margin-bottom: var(--space-8);
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero__cta {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  background: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}

.hero__cta:hover {
  background: var(--color-red-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

/* --- Sections (general) --- */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}

.section__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: var(--space-3);
  text-align: center;
}

.section__title {
  font-size: var(--text-2xl);
  color: var(--color-navy);
  text-align: center;
  margin-bottom: var(--space-4);
}

.section__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-12);
  line-height: 1.7;
}

/* --- About Section --- */
.about {
  background: var(--color-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}



.about__images img {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.about__images img:first-child {
  grid-row: span 2;
}

.about__images {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-3);
  min-height: 420px;
}

.about__text h2 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__highlight {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-navy);
}

.about__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about__images {
    order: -1;
  }
}

/* --- Testimonials Section --- */
.testimonials {
  background: var(--color-sand-light);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.testimonial {
  background: var(--color-white);
  border-radius: 10px;
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-teal);
  position: relative;
}

.testimonial p {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-4);
}

.testimonial cite {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 500;
}

.testimonials__source {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.testimonials__source a {
  color: var(--color-blue);
  font-weight: 600;
}

/* --- Menu Section --- */
.menu {
  background: var(--color-cream);
}

.menu__categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.menu__card {
  background: var(--color-white);
  border-radius: 10px;
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.menu__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.menu__card-icon {
  font-size: 28px;
  margin-bottom: var(--space-3);
}

.menu__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-teal-light);
}

.menu__card-list {
  list-style: none;
}

.menu__card-list li {
  font-size: var(--text-sm);
  color: var(--color-text);
  padding: var(--space-2) 0;
  border-bottom: 1px solid #f0ede8;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.menu__card-list li:last-child {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.badge--wild {
  background: var(--color-teal);
  color: var(--color-white);
}

.badge--farm {
  background: #e6a817;
  color: var(--color-white);
}

.menu__note {
  text-align: center;
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-6);
  background: var(--color-teal-light);
  border-radius: 8px;
  color: var(--color-teal);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* --- Schedule Section --- */
.schedule {
  background: var(--color-white);
}

.schedule__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.schedule__card {
  background: var(--color-cream);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule__card-header {
  background: var(--color-navy);
  padding: var(--space-4) var(--space-6);
  color: var(--color-white);
}

.schedule__card-day {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
}

.schedule__card-region {
  font-size: var(--text-xs);
  opacity: 0.75;
  margin-top: var(--space-1);
}

.schedule__card-body {
  padding: var(--space-4) var(--space-6);
}

.schedule__stop {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
}

.schedule__stop:last-child {
  border-bottom: none;
}

.schedule__stop-time {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-navy);
  white-space: nowrap;
  min-width: 100px;
}

.schedule__stop-location {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.schedule__note {
  text-align: center;
  margin-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.schedule__note strong {
  color: var(--color-red);
}

/* --- Gallery Section --- */
.gallery {
  background: var(--color-sand-light);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.gallery__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__item--wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }
  .gallery__item--tall {
    grid-row: span 1;
    aspect-ratio: 1;
  }
}

/* --- Contact Section --- */
.contact {
  background: var(--color-navy);
  color: var(--color-white);
}

.contact .section__label {
  color: var(--color-blue-light);
}

.contact .section__title {
  color: var(--color-white);
}

.contact .section__desc {
  color: rgba(255,255,255,0.7);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact__item-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact__item-text h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.contact__item-text p,
.contact__item-text a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

.contact__item-text a:hover {
  color: var(--color-white);
}

.contact__social {
  margin-top: var(--space-6);
}

.contact__social a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: background 0.2s;
}

.contact__social a:hover {
  background: rgba(255,255,255,0.2);
  color: var(--color-white);
}

.contact__map {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: var(--space-6);
}

.contact__serving-area {
  text-align: center;
}

.contact__serving-area h4 {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
}

.contact__serving-area p {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
  line-height: 1.7;
}

.contact__serving-locations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-4);
}

.contact__serving-locations span {
  padding: var(--space-1) var(--space-3);
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
}

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

/* --- Footer --- */
.footer {
  background: var(--color-navy-deep);
  padding: var(--space-6);
  text-align: center;
}

.footer p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
  }
}
