/* ══════════════════════════════════════════
   Outlaw Aquatics — style.css
   Theme: Grunge / Traditional Tattoo
   Colors: Near-black, deep crimson, warm tan
══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=UnifrakturMaguntia&family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --black:        #0a0907;
  --dark:         #13110e;
  --card:         #1c1915;
  --card-hover:   #232018;
  --red:          #8b1a08;
  --red-bright:   #b82410;
  --red-glow:     rgba(180, 30, 10, 0.28);
  --tan:          #c4a060;
  --tan-light:    #d8bc90;
  --tan-dark:     #8a6b3a;
  --cream:        #e8dcc0;
  --text:         #d4c8b0;
  --text-muted:   #887860;
  --border:       #2a2018;
  --border-tan:   #5a4420;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--black);
  background-image: url('../images/texture-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--text);
  font-family: 'Crimson Text', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  min-height: 100vh;
}

/* Dark overlay so text is always readable over texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 5, 0.87);
  z-index: 0;
  pointer-events: none;
}

header, main, footer, .site-nav { position: relative; z-index: 1; }

/* ── Typography ── */
h1, h2, h3, .blackletter {
  font-family: 'UnifrakturMaguntia', serif;
  color: var(--tan-light);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

.eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--tan-dark);
  display: block;
  margin-bottom: 0.4rem;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a { color: var(--tan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--tan-light); }

/* ── Ornamental divider ── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem auto;
  max-width: 500px;
  padding: 0 2rem;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
}
.divider::before { background: linear-gradient(to right, transparent, var(--border-tan)); }
.divider::after  { background: linear-gradient(to left,  transparent, var(--border-tan)); }
.divider span { color: var(--tan); font-size: 1rem; flex-shrink: 0; }

/* ── Navigation ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 9, 7, 0.97);
  border-bottom: 1px solid var(--border-tan);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-brand img { height: 50px; width: auto; }
.nav-brand-text {
  font-family: 'UnifrakturMaguntia', serif;
  font-size: 1.5rem;
  color: var(--tan-light);
  line-height: 1;
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--tan);
  border-bottom-color: var(--red);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--tan);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.8rem 2.2rem;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-primary {
  background: var(--red);
  border-color: var(--red-bright);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--red-bright);
  color: var(--cream);
  box-shadow: 0 0 24px var(--red-glow);
}
.btn-outline {
  background: transparent;
  border-color: var(--border-tan);
  color: var(--tan);
}
.btn-outline:hover {
  background: rgba(196, 160, 96, 0.1);
  border-color: var(--tan);
  color: var(--tan-light);
}
.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.68rem;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}
.hero-logo {
  width: min(480px, 88vw);
  height: auto;
  filter: drop-shadow(0 0 50px rgba(160, 25, 8, 0.5));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}
.hero-tagline {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.65rem, 1.8vw, 0.9rem);
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1.75rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.scroll-hint::after {
  content: '↓';
  font-size: 1.2rem;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── Guarantee bar ── */
.guarantee-bar {
  background: var(--red);
  padding: 0.9rem 2rem;
  text-align: center;
}
.guarantee-bar p {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0;
}

/* ── Sections ── */
.section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 2rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-top: 0.4rem; }

/* ── Category grid ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.cat-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.cat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.cat-card:hover {
  background: var(--card-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 20px var(--red-glow);
}
.cat-card:hover::after { transform: scaleX(1); }
.cat-icon { font-size: 2.8rem; display: block; margin-bottom: 1rem; }
.cat-svg {
  width: 72px;
  height: 72px;
  display: block;
  margin: 0 auto 1rem;
}
.cat-img {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto 1rem;
  object-fit: contain;
}
.cat-card h3 {
  font-size: 1.4rem;
  color: var(--tan-light);
  margin-bottom: 0.4rem;
}
.cat-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Product cards ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.65), 0 0 18px var(--red-glow);
  border-color: var(--border-tan);
}
.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.product-body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-badge {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.18rem 0.6rem;
  border: 1px solid;
  margin-bottom: 0.6rem;
  width: fit-content;
}
.badge-available { border-color: var(--tan-dark); color: var(--tan); }
.badge-sold      { border-color: #444; color: #666; }
.badge-featured  { border-color: var(--red); color: var(--red-bright); }
.product-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.product-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}
.product-price {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--tan);
  margin-bottom: 1rem;
}
.product-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ── About strip ── */
.about-strip {
  background: var(--card);
  border-top: 1px solid var(--border-tan);
  border-bottom: 1px solid var(--border-tan);
}
.about-strip-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: center;
}
.about-fish-img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(180, 30, 10, 0.35));
}
.about-text h2 { margin-bottom: 1rem; }

/* ── Page header (inner pages) ── */
.page-header {
  padding: 5rem 2rem 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  max-width: 1300px;
  margin: 0 auto;
}
.page-header h1 { margin-top: 0.4rem; margin-bottom: 0.5rem; }
.page-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── Shop filter bar ── */
.shop-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-tab {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active {
  border-color: var(--tan-dark);
  color: var(--tan);
  background: rgba(196, 160, 96, 0.08);
}
.result-count {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ── Contact form ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.contact-detail {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.contact-detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.contact-detail-text { color: var(--text-muted); }
.contact-detail-text strong { color: var(--text); display: block; }
.form-group { margin-bottom: 1.25rem; }
label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan-dark);
  margin-bottom: 0.45rem;
}
input, textarea, select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border-tan);
  color: var(--text);
  padding: 0.8rem 1rem;
  font-family: 'Crimson Text', serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--tan);
}
textarea { min-height: 140px; resize: vertical; }
select option { background: var(--dark); }

/* ── Policies ── */
.policy-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
}
.policy-block h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.policy-block ul {
  padding-left: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.policy-block ul li { margin-bottom: 0.4rem; }

/* ── Footer ── */
.site-footer {
  background: rgba(13, 11, 8, 0.98);
  border-top: 1px solid var(--border-tan);
  padding: 4rem 2rem 1.5rem;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h3 { font-size: 2rem; margin-bottom: 0.5rem; }
.footer-brand p { font-size: 0.88rem; color: var(--text-muted); }
.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan-dark);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.9rem; color: var(--text-muted); }
.footer-col ul li a:hover { color: var(--tan); }
.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-strip-inner { grid-template-columns: 1fr; text-align: center; }
  .about-fish-img { margin: 0 auto; width: 160px; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10, 9, 7, 0.99);
    padding: 1rem 2rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-tan);
    z-index: 300;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
