/*
Theme Name: Fresh N Wild Seafood
Theme URI: https://freshnwildseafood.com
Author: Fresh N Wild Seafood LLC
Description: Premium wild caught seafood — consumers, restaurants, and wholesalers.
Version: 1.0.0
*/

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

:root {
  --sky: #7BBFDA;
  --sky-dark: #5AA8C8;
  --sky-light: #C2E0EF;
  --navy: #0A3D62;
  --navy-light: #1A5276;
  --emerald: #0D7A5F;
  --emerald-light: #0E9E7A;
  --emerald-dark: #095E48;
  --white: #FFFFFF;
  --cream: #F4F9FC;
  --text-dark: #0A3D62;
  --text-mid: #2C5F7A;
  --text-muted: #6A8FA3;
  --border-light: rgba(10,61,98,0.1);
  --section-pad: 96px 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-mid);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--text-dark); line-height: 1.2; }
h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; }
h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 700; }
h4 { font-size: 18px; font-weight: 600; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--emerald); }
.section-h2 { margin-bottom: 16px; }
.section-divider { width: 48px; height: 3px; background: var(--sky); margin-bottom: 24px; }
.section-lead { font-size: 18px; color: var(--text-muted); max-width: 680px; line-height: 1.7; margin-bottom: 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--emerald);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--emerald-light); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 36px;
  border: 1px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-navy:hover { background: var(--navy-light); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,61,98,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(123,191,218,0.2);
}

.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.nav-logo-text { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; font-style: italic; color: var(--white); line-height: 1.1; }
.nav-logo-sub { font-size: 9px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sky); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); transition: color 0.2s; }
.nav-links a:hover { color: var(--sky); }
.btn-order { background: var(--emerald); color: var(--white) !important; padding: 10px 22px; font-size: 11px !important; letter-spacing: 0.1em !important; transition: background 0.2s !important; }
.btn-order:hover { background: var(--emerald-light) !important; }

.nav-hamburger { display: none; background: none; border: 1px solid rgba(255,255,255,0.3); color: var(--white); cursor: pointer; padding: 8px 10px; font-size: 18px; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--navy); padding: 24px 40px; flex-direction: column; gap: 0; z-index: 999; border-top: 1px solid rgba(123,191,218,0.2); }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.85); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a:last-child { border-bottom: none; }

/* Language switcher */
.lang-switcher-wrap { position: relative; display: inline-flex; align-items: center; margin-left: 4px; }
.lang-switcher-wrap::after { content: ''; position: absolute; right: 9px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid var(--sky); border-bottom: 1.5px solid var(--sky); transform: translateY(-65%) rotate(45deg); pointer-events: none; }
.lang-switcher { background: rgba(123,191,218,0.15); border: 1px solid rgba(123,191,218,0.4); color: var(--sky); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 24px 7px 10px; cursor: pointer; appearance: none; -webkit-appearance: none; -moz-appearance: none; }
.lang-switcher::-ms-expand { display: none; }
.lang-switcher:hover { border-color: var(--sky); }
.lang-switcher option { background: var(--navy); color: var(--white); }
.lang-switcher-mobile { width: 100%; }
.lang-switcher-wrap-mobile { width: 100%; margin: 12px 0 0; }
.lang-switcher-wrap-mobile .lang-switcher { width: 100%; padding: 12px 24px 12px 14px; font-size: 12px; }
.lang-switcher-wrap-mobile::after { right: 16px; }

/* ── HERO ── */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('hero-ocean.jpg') center center / cover no-repeat;
  filter: brightness(0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  width: 100%;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 36px; height: 1px; background: var(--sky); }

.hero-h1 { color: var(--white); max-width: 800px; margin-bottom: 24px; }
.hero-h1 em { font-style: italic; color: var(--sky); }

.hero-desc { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 580px; line-height: 1.8; margin-bottom: 40px; }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 72px; }

.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; }
.hero-stat { border-left: 2px solid var(--emerald); padding-left: 20px; }
.hero-stat .num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat .label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin-top: 4px; }
.hero-stat .sub { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::after { content: ''; display: block; width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* ── WILD CAUGHT BANNER ── */
.caught-banner {
  background: var(--navy);
  padding: 18px 40px;
  overflow: hidden;
  border-bottom: 2px solid var(--emerald);
}
.caught-ticker { display: flex; gap: 64px; white-space: nowrap; animation: tickerSlide 30s linear infinite; }
.caught-ticker span { font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.caught-ticker .accent { color: var(--sky); }
@keyframes tickerSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── PRODUCTS ── */
#products { padding: var(--section-pad); background: var(--cream); }

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

.product-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  background: var(--navy);
}
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
  filter: brightness(0.7);
  loading: lazy;
}
.product-card:hover img { transform: scale(1.06); filter: brightness(0.5); }

.product-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(10,61,98,0.95) 0%, transparent 100%);
}
.product-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sky);
  border: 1px solid rgba(123,191,218,0.4);
  padding: 3px 10px;
  margin-bottom: 8px;
}
.product-card h3 { font-size: 22px; color: var(--white); margin-bottom: 6px; }
.product-card p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.product-card-hover {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--emerald);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .product-card-hover { opacity: 1; }

/* ── SOURCING ── */
#sourcing { padding: var(--section-pad); background: var(--white); }

.sourcing-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.origin-list { display: flex; flex-direction: column; gap: 0; margin: 36px 0; }
.origin-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}
.origin-item:first-child { border-top: 1px solid var(--border-light); }
.origin-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
}
.origin-name { font-size: 18px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.origin-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.sourcing-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--navy);
}
.sourcing-visual img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }
.sourcing-badge {
  position: absolute;
  bottom: 32px; left: 32px;
  background: var(--emerald);
  color: var(--white);
  padding: 16px 24px;
}
.sourcing-badge .badge-num { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; line-height: 1; }
.sourcing-badge .badge-label { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ── WHO WE SERVE ── */
#serve { padding: var(--section-pad); background: var(--navy); }
#serve .section-eyebrow { color: var(--sky); }
#serve .section-eyebrow::before { background: var(--sky); }
#serve .section-h2 { color: var(--white); }
#serve .section-divider { background: var(--emerald); }
#serve .section-lead { color: rgba(255,255,255,0.65); }

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

.serve-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(123,191,218,0.12);
  padding: 48px 36px;
  transition: background 0.2s, border-color 0.2s;
}
.serve-card:hover { background: rgba(123,191,218,0.08); border-color: rgba(123,191,218,0.3); }
.serve-icon { font-size: 36px; margin-bottom: 20px; }
.serve-card h3 { color: var(--white); font-size: 24px; margin-bottom: 12px; }
.serve-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 20px; }
.serve-features { display: flex; flex-direction: column; gap: 8px; }
.serve-feature { font-size: 13px; color: var(--sky); display: flex; align-items: center; gap: 8px; }
.serve-feature::before { content: '→'; color: var(--emerald); font-weight: 700; }

/* ── WILD PROMISE ── */
#promise { padding: 72px 0; background: var(--sky-dark); }
.promise-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.promise-text h2 { color: var(--white); font-size: 36px; }
.promise-text h2 em { font-style: italic; color: var(--navy); }
.promise-items { display: flex; gap: 48px; flex-wrap: wrap; }
.promise-item { text-align: center; }
.promise-item .p-icon { font-size: 28px; margin-bottom: 8px; }
.promise-item .p-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); }

/* ── INQUIRY FORM ── */
#order { padding: var(--section-pad); background: var(--cream); }

.order-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }

.order-info h2 { margin-bottom: 16px; }
.order-info p { font-size: 15px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.7; }

.contact-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 20px; }
.contact-icon { font-size: 20px; width: 40px; flex-shrink: 0; }
.contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--emerald); margin-bottom: 2px; }
.contact-value { font-size: 14px; color: var(--text-mid); }

.order-form { background: var(--white); padding: 48px; border: 1px solid var(--border-light); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--emerald); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; background: #e8f5f0; border: 1px solid #0D7A5F; color: #0D7A5F; padding: 16px 20px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--navy-light); }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 64px 0 0; border-top: 3px solid var(--emerald); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 0 40px 48px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .footer-logo img { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }
.footer-brand .logo-text { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; font-style: italic; color: var(--white); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sky); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 40px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { font-size: 12px; color: rgba(255,255,255,0.3); margin-left: 16px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }
.footer-emerald { width: 100%; height: 3px; background: var(--emerald); }

/* ── AI CHAT WIDGET ── */
.dt-chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 9999; font-family: 'Inter', sans-serif; }
.dt-chat-toggle { display: flex; align-items: center; gap: 8px; background: var(--navy); color: var(--sky); border: 1px solid rgba(123,191,218,0.4); padding: 14px 20px; cursor: pointer; box-shadow: 0 8px 24px rgba(10,61,98,0.35); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; transition: transform 0.15s; }
.dt-chat-toggle:hover { transform: translateY(-2px); }
.dt-chat-window { display: none; flex-direction: column; position: absolute; bottom: 70px; right: 0; width: 360px; height: 520px; background: var(--white); border: 1px solid var(--border-light); box-shadow: 0 16px 48px rgba(10,61,98,0.25); overflow: hidden; }
.dt-chat-widget.open .dt-chat-window { display: flex; }
.dt-chat-widget.open .dt-chat-toggle { display: none; }
.dt-chat-header { background: var(--navy); color: var(--white); padding: 16px 18px; display: flex; align-items: flex-start; justify-content: space-between; }
.dt-chat-header-title { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; font-style: italic; color: var(--sky); }
.dt-chat-header-sub { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.dt-chat-close { background: none; border: none; color: rgba(255,255,255,0.5); font-size: 16px; cursor: pointer; }
.dt-chat-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: var(--cream); }
.dt-chat-bubble { max-width: 85%; padding: 10px 14px; font-size: 13.5px; line-height: 1.5; }
.dt-chat-bubble-bot { align-self: flex-start; background: var(--white); border: 1px solid var(--border-light); color: var(--text-mid); }
.dt-chat-bubble-user { align-self: flex-end; background: var(--navy); color: rgba(255,255,255,0.92); }
.dt-chat-bubble-error { align-self: flex-start; background: #fff0f0; border: 1px solid rgba(180,0,0,0.2); color: #8b0000; }
.dt-chat-typing { padding: 0 18px 10px; display: flex; gap: 4px; background: var(--cream); }
.dt-chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); opacity: 0.4; animation: dtTypingBounce 1.2s infinite; }
.dt-chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.dt-chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dtTypingBounce { 0%,60%,100% { opacity:0.4;transform:translateY(0); } 30% { opacity:1;transform:translateY(-3px); } }
.dt-chat-input-row { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--border-light); background: var(--white); }
.dt-chat-input-row input { flex: 1; border: 1px solid var(--border-light); padding: 10px 12px; font-size: 13px; font-family: 'Inter', sans-serif; outline: none; }
.dt-chat-input-row input:focus { border-color: var(--emerald); }
.dt-chat-input-row button { background: var(--navy); color: var(--sky); border: none; padding: 10px 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; }
.dt-chat-input-row button:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .sourcing-layout { grid-template-columns: 1fr; gap: 48px; }
  .sourcing-visual { aspect-ratio: 16/9; }
  .order-layout { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }
  .section-inner { padding: 0 24px; }
  .hero-content { padding: 100px 24px 64px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  nav { padding: 0 24px; }
  .serve-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .promise-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .dt-chat-widget { right: 12px; bottom: 12px; }
  .dt-chat-window { width: calc(100vw - 24px); height: 70vh; }
}
@media (max-width: 480px) {
  .serve-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .order-form { padding: 28px 20px; }
}
