/* =============================================
   DEER PARK SUSHI — Main Stylesheet
   Brand Colors: #D50000, #8B0000, #F2F2F2, #3C3C3C, #111111
   Fonts: Osake (display), Impact (bold), BebasKai (labels)
   ============================================= */

/* ---- CUSTOM FONTS ---- */
@font-face {
  font-family: 'Osake';
  src: url('../fonts/Osake.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'BebasKai';
  src: url('../fonts/BebasKai.otf') format('opentype'),
       url('../fonts/BebasKai.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Impact';
  src: url('../fonts/Impact.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---- BRAND TOKENS ---- */
:root {
  --red:       #D50000;
  --red-dark:  #8B0000;
  --red-glow:  rgba(213, 0, 0, 0.2);
  --off-white: #F2F2F2;
  --gray:      #3C3C3C;
  --dark:      #111111;
  --dark-2:    #1A1A1A;
  --dark-3:    #222222;
  --white:     #FFFFFF;
  --text-muted: #888888;
  --border:    rgba(255,255,255,0.08);
  --border-red: rgba(213,0,0,0.25);

  --font-display: 'Osake', Impact, 'Arial Black', sans-serif;
  --font-impact:  'Impact', 'Arial Narrow', sans-serif;
  --font-bebas:   'BebasKai', 'Impact', 'Arial Narrow', sans-serif;
  --font-body:    -apple-system, 'Segoe UI', Arial, sans-serif;

  --transition: 0.3s ease;
  --radius: 6px;
}

/* ---- RESET ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 { line-height: 1.1; }

.section-label {
  font-family: var(--font-bebas);
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-family: var(--font-impact);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
}

/* ---- LAYOUT ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-bebas);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-transform: uppercase;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: #ff0000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(213,0,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

.btn-red-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-red-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- NAV LOGO IMAGE ---- */
@keyframes logoEntrance {
  0%   { opacity: 0; transform: translateY(-10px) scale(0.96); filter: drop-shadow(0 0 0 rgba(213,0,0,0)); }
  70%  { opacity: 1; transform: translateY(1px) scale(1.02); filter: drop-shadow(0 0 12px rgba(213,0,0,0.6)); }
  100% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 5px rgba(213,0,0,0.25)); }
}

@keyframes logoGlitch {
  0%   { transform: translate(0); filter: drop-shadow(0 0 6px rgba(213,0,0,0.3)); }
  15%  { transform: translate(-4px, 1px); filter: drop-shadow(4px 0 0 rgba(213,0,0,0.9)) drop-shadow(-2px 0 0 rgba(0,200,255,0.4)); }
  30%  { transform: translate(4px, -1px); filter: drop-shadow(-4px 0 0 rgba(213,0,0,0.9)) drop-shadow(2px 0 0 rgba(0,200,255,0.4)); }
  45%  { transform: translate(-2px, 0); filter: drop-shadow(2px 0 0 rgba(213,0,0,0.6)); }
  60%  { transform: translate(0); filter: drop-shadow(0 0 6px rgba(213,0,0,0.3)); }
  100% { transform: translate(0); filter: drop-shadow(0 0 6px rgba(213,0,0,0.3)); }
}

@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 5px rgba(213,0,0,0.25)); }
  50%       { filter: drop-shadow(0 0 16px rgba(213,0,0,0.65)); }
}

.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  mix-blend-mode: screen;
  animation:
    logoEntrance 0.8s cubic-bezier(0.16,1,0.3,1) both,
    logoGlitch 0.5s steps(2) 1s both,
    logoPulse 3s ease-in-out 1.8s infinite;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.nav-logo-img:hover {
  animation: none;
  filter: drop-shadow(0 0 18px rgba(213,0,0,1)) drop-shadow(0 0 36px rgba(213,0,0,0.5));
  transform: scale(1.06);
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition);
}

nav.scrolled {
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-red);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}

.nav-logo .logo-main {
  font-family: var(--font-impact);
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}

.nav-logo .logo-sushi {
  color: var(--red);
}

.nav-logo .logo-sub {
  font-family: var(--font-bebas);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-bebas);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.5rem 1.4rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 9rem 0 4rem;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border-red);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(213,0,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  font-family: var(--font-impact);
  font-size: clamp(3rem, 8vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.page-hero .section-label { justify-content: center; }

/* ---- DIVIDER ---- */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-red);
}
.divider span { color: var(--red); font-size: 0.9rem; }

/* ---- FOOTER ---- */
footer {
  background: #0A0A0A;
  border-top: 2px solid var(--red-dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-main {
  font-family: var(--font-impact);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  display: block;
  margin-bottom: 0.15rem;
}

.footer-brand .logo-sushi { color: var(--red); }

.footer-brand .logo-sub {
  font-family: var(--font-bebas);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 260px;
}

.footer-col h4 {
  font-family: var(--font-bebas);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.footer-col ul a:hover { color: var(--white); }

.footer-col address {
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 2;
}

.footer-col address strong {
  font-family: var(--font-bebas);
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 1.5rem; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
