@font-face {
  font-family: 'BN Route 22';
  src: url('./PageAssets/BNRoute22.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('./PageAssets/OpenSans-VariableFont_wdth,wght.woff2') format('woff2-variations');
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('./PageAssets/RobotoSlab-VariableFont_wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Colors */
  --c-red: #DD3B2F;
  --c-yellow: #FDDE44;
  --c-dark: #191919;
  --c-offwhite: #F7F3F1;

  /* Gradients */
  --grad-flame: linear-gradient(135deg, #DD3B2F 0%, #ff6b35 50%, #FDDE44 100%);
  --grad-dark: linear-gradient(135deg, rgba(25, 25, 25, 0.95) 0%, rgba(40, 40, 40, 0.9) 100%);

  /* Typography */
  --font-primary: 'BN Route 22', impact, sans-serif;
  --font-sub: 'Brix Slab', 'Roboto Slab', serif;
  --font-body: 'Open Sans', sans-serif;

  /* Spacing & Layout */
  --container-width: 1200px;
  --spacing-sm: 1rem;
  --spacing-md: 2.5rem;
  --spacing-lg: 5rem;

  /* Effects */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-glow-red: 0 0 30px rgba(221, 59, 47, 0.6);
  --shadow-glow-yellow: 0 0 30px rgba(253, 222, 68, 0.6);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius: 12px;
}

/* Reset & BaseStyles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--c-dark);
  background-color: var(--c-offwhite);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
.h1 {
  font-family: var(--font-primary);
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.02em;
}

h2,
.h2 {
  font-family: var(--font-sub);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--c-dark);
}

p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.bg-offwhite {
  background-color: var(--c-offwhite);
  /* Optionally add the texture */
  background-image: url('./PageAssets/WingShack-BackgroundTexture.png');
  background-blend-mode: multiply;
  background-size: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
  z-index: -1;
  border-radius: 50px;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  background-color: var(--c-red);
  color: white;
  box-shadow: var(--shadow-glow-red);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(221, 59, 47, 0.4);
}

.btn-accent {
  background-color: var(--c-yellow);
  color: var(--c-dark);
  box-shadow: var(--shadow-glow-yellow);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(253, 222, 68, 0.4);
}

.btn-retail {
  background-color: var(--c-red);
  color: white;
  box-shadow: var(--shadow-glow-red);
}

.btn-retail:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(221, 59, 47, 0.4);
}

.btn-commercial {
  background-color: transparent;
  color: var(--c-dark);
  border: 2px solid var(--c-dark);
}

.btn-commercial:hover {
  transform: translateY(-3px);
  background-color: var(--c-dark);
  color: var(--c-offwhite);
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(247, 243, 241, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  height: 60px;
  width: auto;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.site-header.scrolled .nav-logo {
  height: 50px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.main-nav a:not(.btn) {
  font-family: var(--font-sub);
  font-weight: 700;
  color: var(--c-dark);
  font-size: 1.1rem;
  text-transform: uppercase;
  position: relative;
  transition: var(--transition);
}

.main-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--c-red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.main-nav a:not(.btn):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a:not(.btn):hover {
  color: var(--c-red);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* offset header */
  overflow: hidden;
  background-color: var(--c-dark);
}

/* Flaming Background */
.flame-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-flame);
  z-index: 0;
  opacity: 0.9;
}

/* Adding an animated gradient to make it feel alive */
.flame-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  right: -50%;
  bottom: -50%;
  background: radial-gradient(circle at center, rgba(253, 222, 68, 0.4) 0%, transparent 50%);
  animation: pulse-flame 8s infinite alternate;
  mix-blend-mode: overlay;
}

.flame-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('./PageAssets/WingShack-BackgroundTexture.png');
  background-blend-mode: multiply;
  opacity: 0.2;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-content h1 {
  color: white;
  text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 span {
  color: var(--c-yellow);
  display: inline-block;
  transform: rotate(-2deg);
}

.hero-sub {
  color: white;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-family: var(--font-sub);
  margin-bottom: 2.5rem;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 500px;
}

.hero-actions .btn {
  flex: 1;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.bottle-character {
  max-width: 120%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  transform-origin: bottom center;
}

/* Animations */
@keyframes pulse-flame {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.1) translate(2%, 2%);
  }

  100% {
    transform: scale(0.9) translate(-2%, -2%);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(2deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.float-anim {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-heartbeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.05);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.05);
  }

  70% {
    transform: scale(1);
  }
}

.pulse-anim {
  animation: pulse-heartbeat 3s infinite;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.content-section {
  padding: var(--spacing-lg) 0;
  position: relative;
  z-index: 2;
}

.section-header p {
  margin: 0 auto;
}

/* Mobile Responsiveness */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding-top: 2rem;
  }

  .hero-content h1 span {
    transform: rotate(0);
  }

  .hero-sub {
    margin: 0 auto 2rem;
  }

  .hero-actions {
    flex-direction: column;
    margin: 0 auto;
  }

  .bottle-character {
    max-width: 80%;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--c-offwhite);
    padding: 6rem 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }
}