/* 
  8 Elleven - Global Styles 
  Modern Corporate Theme
*/

:root {
  /* Brand Colors */
  --color-primary-red: #E60000;
  --color-primary-green: #008060;
  --color-accent-orange: #ff9900;
  /* For alerts or highlights */
  --color-dark: #1a1a1a;
  --color-light: #f9f9f9;
  --color-white: #ffffff;
  --color-text-main: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-main: 'Work Sans', sans-serif;
  --font-heading: 'Poppins', sans-serif;
  --font-serif: 'Libre Baskerville', serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
  --section-padding: 80px 0;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  background-color: var(--color-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary-red);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-primary-green);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: #00664d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

/* Header */
.top-bar {
  background-color: #008060;
  /* Brand Green */
  color: white;
  padding: 8px 0;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: right;
}

.top-bar a {
  color: white;
  text-decoration: underline;
  margin-left: 5px;
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
  display: flex;
  align-items: center;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 60px;
  /* Reduced by 30% */
  display: block;
}

.logo {
  display: flex;
  align-items: center;
}

/* --- Navigation & Mega Menu --- */
.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
  height: 100%;
}

.nav-item {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  color: #000;
  position: relative;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 10px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 0;
  background-color: var(--color-primary-red);
  transition: width 0.3s ease;
}

.nav-item:hover .nav-link::after,
.nav-link.active::after {
  width: 100%;
}

/* Mega Menu Container */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  border-top: 2px solid var(--color-primary-green);
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.mega-menu-column h4 {
  color: var(--color-primary-red);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.mega-menu-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mega-menu-column a {
  color: #555;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: block;
}

.mega-menu-column a:hover {
  color: var(--color-primary-green);
  transform: translateX(5px);
  font-weight: 500;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  /* Nearly full screen */
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://placehold.co/1920x1080/1a1a1a/e60000?text=8+Elleven+Retail');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-white);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* --- About Preview Section --- */
.about-preview {
  padding: 100px 0;
  background-color: var(--color-white);
  text-align: center;
}

.about-preview .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.about-preview h6 {
  color: var(--color-primary-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.about-preview h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #000;
}

.about-preview p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* --- Our Presence Section --- */
.presence {
  background-color: #1a1a1a;
  color: var(--color-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.presence .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.presence h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.presence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.map-container {
  background: #333;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.map-container:hover img {
  opacity: 1;
}

/* --- Services Section --- */
.services-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--color-white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 128, 96, 0.2);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-dark);
}

.service-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- Feature Sections --- */
.feature-section {
  overflow: hidden;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-grid.reverse .feature-text {
  order: -1;
}

.feature-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease;
}

.feature-image:hover img {
  transform: scale(1.02);
}

.feature-text h6 {
  color: var(--color-primary-green);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.feature-text h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  line-height: 1.1;
}

.feature-text h3 {
  font-size: 1.5rem;
  color: #555;
  font-weight: 500;
  margin-bottom: 25px;
}

.feature-text p {
  color: #666;
  margin-bottom: 35px;
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-grid.reverse .feature-text {
    order: 0;
  }

  .feature-text h2 {
    font-size: 2.5rem;
  }
}

/* --- Footer --- */
.footer {
  background-color: #050505;
  background-image: linear-gradient(0deg, #000000 0%, #111111 100%);
  color: #fff;
  padding: 80px 0 30px;
  font-size: 0.95rem;
  border-top: 3px solid var(--color-primary-green);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary-red), var(--color-primary-green), var(--color-primary-red));
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-logo img:hover {
  opacity: 1;
}

.footer h4 {
  color: #fff;
  margin-bottom: 25px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary-green);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-form input {
  padding: 12px 15px;
  border-radius: 4px 0 0 4px;
  border: 1px solid #333;
  background: #222;
  color: #fff;
  width: 100%;
  outline: none;
}

.newsletter-form button {
  padding: 12px 20px;
  background-color: var(--color-primary-green);
  border: none;
  border-radius: 0 4px 4px 0;
  color: white;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #00664d;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: #666;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: #fff;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--color-primary-red);
}

/* Responsive */
@media (max-width: 992px) {
  .presence-grid {
    grid-template-columns: 1fr;
  }

  .map-container {
    height: 300px;
    order: -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-white);
    flex-direction: column;
    padding: 40px;
    align-items: center;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

/* Update Sticky Header */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  height: 70px;
  /* Shrink slightly */
  backdrop-filter: blur(10px);
}

/* Animations */
.animate-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Menu Improvements */
@media (max-width: 768px) {
  .nav-menu {
    z-index: 999;
  }
}

/* Form Styles */

/* --- Cyberpunk / Neon Hero Overrides --- */

:root {
  --neon-red: #ff003c;
  --neon-green: #00f0ff;
  /* Cyberpunk cyan/green mix */
  --neon-dark: #050505;
}


/* --- CSS-Only Neon Storefront (Replacing Image) --- */

.hero.crazy-store-mode {
  background-color: #050505;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 0.8), #000 90%),
    url('https://www.transparenttextures.com/patterns/brick-wall-dark.png');
  /* Fallback pattern */
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Fog Effect */
.neon-fog {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(to bottom, transparent 40%, rgba(255, 0, 60, 0.1) 80%, rgba(0, 240, 255, 0.1) 100%);
  filter: blur(20px);
  z-index: 1;
  animation: fog-pulse 10s infinite alternate;
}

@keyframes fog-pulse {
  0% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.7;
  }
}

/* Store Front Container */
.store-front-container {
  background: #111;
  border: 1px solid #333;
  width: 90%;
  max-width: 1200px;
  height: 500px;
  /* Adjust as needed */
  position: absolute;
  bottom: 0;
  z-index: 5;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
}

/* Roof / Stripes */
.store-roof {
  background: #000;
  height: 60px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 5px solid #222;
  overflow: hidden;
}

.neon-stripes {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  animation: stripe-glow 2s infinite alternate;
}

.stripe {
  flex-grow: 1;
  height: 10px;
  margin: 0 2px;
}

.stripe.red {
  background: var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red);
}

.stripe.green {
  background: var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green);
}

.stripe.white {
  background: #fff;
  box-shadow: 0 0 10px #fff;
}

.logo-box {
  background: white;
  padding: 5px 15px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
  z-index: 10;
}

.logo-number {
  font-weight: 900;
  color: var(--color-primary-red);
  /* Orange-red */
  font-size: 1.5rem;
  line-height: 1;
}

.logo-text {
  font-weight: 800;
  color: var(--color-primary-green);
  font-size: 0.6rem;
  letter-spacing: 1px;
}

/* Windows */
.store-windows {
  flex-grow: 1;
  display: flex;
  background: rgba(20, 20, 20, 0.9);
  border-top: 1px solid #444;
  position: relative;
}

.window-pane {
  flex: 1;
  border-right: 1px solid #444;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
}

.window-pane:last-child {
  border-right: none;
}

.window-pane.door {
  border: 4px solid #333;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
}

.door-frame {
  width: 100%;
  height: 100%;
  border: 1px solid #555;
  position: relative;
}

.handle {
  width: 10px;
  height: 40px;
  background: silver;
  position: absolute;
  top: 50%;
  right: 10px;
  border-radius: 2px;
}

.open-sign {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--neon-red);
  border: 2px solid var(--neon-red);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  box-shadow: 0 0 5px var(--neon-red);
  animation: neon-flicker 3s infinite;
}

/* Shelves inside windows */
.shelf {
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  width: 80%;
  margin: 40px auto;
}

/* Brick Base */
.store-base {
  height: 100px;
  background:
    repeating-linear-gradient(45deg,
      #222,
      #222 10px,
      #1a1a1a 10px,
      #1a1a1a 20px);
  border-top: 5px solid #333;
}

@keyframes stripe-glow {
  0% {
    filter: brightness(1);
  }

  100% {
    filter: brightness(1.3);
  }
}

.glitch-text-sm {
  font-size: 1.5rem;
  letter-spacing: 5px;
  color: #fff;
  margin-bottom: 10px;
  opacity: 0.8;
}

/* Animated Grid Background */
.hero.crazy-mode::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(transparent 0%, rgba(0, 240, 255, 0.1) 2%, transparent 3%),
    linear-gradient(90deg, transparent 0%, rgba(255, 0, 60, 0.1) 2%, transparent 3%);
  background-size: 100px 100px;
  animation: gridMove 20s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100px);
  }
}

.hero.crazy-mode .hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Glitch Text Effect */
.glitch-text {
  font-size: 5rem !important;
  font-weight: 800;
  color: #fff;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 4px;
  animation: glitch-skew 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  left: 2px;
  text-shadow: -2px 0 var(--neon-red);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  text-shadow: -2px 0 var(--neon-green);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

/* Neon Buttons */
.btn-neon-red {
  background: transparent;
  color: white;
  border: 2px solid var(--neon-red);
  box-shadow: 0 0 10px var(--neon-red), inset 0 0 10px var(--neon-red);
  text-shadow: 0 0 5px var(--neon-red);
  position: relative;
  overflow: hidden;
}

.btn-neon-red:hover {
  background: var(--neon-red);
  color: #fff;
  box-shadow: 0 0 20px var(--neon-red), inset 0 0 20px var(--neon-red);
}

.btn-neon-green {
  background: transparent;
  color: white;
  border: 2px solid var(--neon-green);
  box-shadow: 0 0 10px var(--neon-green), inset 0 0 10px var(--neon-green);
  text-shadow: 0 0 5px var(--neon-green);
}

.btn-neon-green:hover {
  background: var(--neon-green);
  color: #000;
  box-shadow: 0 0 20px var(--neon-green), inset 0 0 20px var(--neon-green);
}

/* Keyframes */
@keyframes glitch-anim {
  0% {
    clip: rect(20px, 9999px, 80px, 0);
  }

  20% {
    clip: rect(60px, 9999px, 10px, 0);
  }

  40% {
    clip: rect(10px, 9999px, 90px, 0);
  }

  60% {
    clip: rect(80px, 9999px, 5px, 0);
  }

  80% {
    clip: rect(30px, 9999px, 60px, 0);
  }

  100% {
    clip: rect(70px, 9999px, 20px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(10px, 9999px, 90px, 0);
  }

  20% {
    clip: rect(80px, 9999px, 10px, 0);
  }

  40% {
    clip: rect(30px, 9999px, 50px, 0);
  }

  60% {
    clip: rect(60px, 9999px, 20px, 0);
  }

  80% {
    clip: rect(90px, 9999px, 90px, 0);
  }

  100% {
    clip: rect(20px, 9999px, 40px, 0);
  }
}

@keyframes glitch-skew {
  0% {
    transform: skew(0deg);
  }

  20% {
    transform: skew(-2deg);
  }

  40% {
    transform: skew(2deg);
  }

  60% {
    transform: skew(0deg);
  }

  80% {
    transform: skew(1deg);
  }

  100% {
    transform: skew(0deg);
  }
}

/* Logo Flicker */
.logo-neon {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 4rem;
  color: #fff;
  text-transform: uppercase;
  animation: neon-flicker 2s infinite alternate;
}

@keyframes neon-flicker {

  0%,
  19%,
  21%,
  23%,
  25%,
  54%,
  56%,
  100% {
    text-shadow:
      0 0 4px #fff,
      0 0 11px #fff,
      0 0 19px #fff,
      0 0 40px var(--neon-green),
      0 0 80px var(--neon-green),
      0 0 90px var(--neon-green),
      0 0 100px var(--neon-green),
      0 0 150px var(--neon-green);
  }

  20%,
  24%,
  55% {
    text-shadow: none;
  }
}

/* --- Cyberpunk Preloader --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

body.loaded #preloader {
  opacity: 0;
  pointer-events: none;
}

.loader-container {
  text-align: center;
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--neon-green);
  animation: spin 1.5s linear infinite;
  box-shadow: 0 0 10px var(--neon-green);
}

.loader-ring:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--neon-red);
  animation: spin 2s linear infinite reverse;
}

.loader-ring:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

.loader-text {
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 2px;
  animation: pulse-text 1s infinite alternate;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse-text {
  0% {
    opacity: 0.5;
    text-shadow: 0 0 5px var(--neon-red);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 20px var(--neon-red), 0 0 10px var(--neon-green);
  }
}

/* --- Professional Polish Features --- */

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-primary-green);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 990;
  border: 2px solid white;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary-red);
  transform: translateY(-5px);
}

/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: -100px;
  left: 0;
  width: 100%;
  background-color: #1a1a1a;
  color: white;
  padding: 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: bottom 0.5s ease;
  flex-wrap: wrap;
  border-top: 3px solid var(--color-primary-green);
}

.cookie-consent.active {
  bottom: 0;
}

.cookie-consent p {
  font-size: 0.9rem;
  margin: 0;
  max-width: 800px;
}

.cookie-consent .btn {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Event Popup Modal */
.popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.popup-modal.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.popup-modal.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.popup-close:hover {
  color: var(--color-primary-red);
}

.popup-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Mobile Menu Enhancements */
@media (max-width: 768px) {
  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    border-bottom: 1px solid #eee;
  }

  .nav-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Add toggle arrow for mobile */
  .nav-link.has-submenu::after {
    content: '\f078';
    /* FontAwesome Chevron Down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: static;
    font-size: 0.8rem;
    color: #999;
    background: none;
    width: auto;
    height: auto;
    transition: transform 0.3s;
  }

  .nav-item.open .nav-link.has-submenu::after {
    transform: rotate(180deg);
  }

  .mega-menu {
    position: static;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.3s ease;
    border-top: none;
    background: #f9f9f9;
  }

  .nav-item.open .mega-menu {
    max-height: 2000px;
    /* Increase to allow nested content */
    padding: 20px 0;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 0;
    /* Remove gap, use padding in items */
    padding: 0;
  }

  .mega-menu-column {
    padding: 0 20px;
    border-bottom: 1px solid #eee;
  }

  .mega-menu-column:last-child {
    border-bottom: none;
  }

  .mega-menu-column h4 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
    padding: 15px 0;
    width: 100%;
  }

  .mega-menu-column h4::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s;
  }

  .mega-menu-column.active h4::after {
    transform: rotate(180deg);
  }

  .mega-menu-column ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-bottom: 0;
  }

  .mega-menu-column.active ul {
    max-height: 500px;
    /* Arbitrary large enough height */
    padding-bottom: 15px;
  }

  .mega-menu-column img {
    display: none;
    /* Hide images in mobile menu to save space */
  }
}

/* --- Page Header Visuals (Global) --- */
.page-header {
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary-green), var(--color-primary-red));
  box-shadow: 0 0 10px rgba(0, 128, 96, 0.5);
}

.page-header h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* --- Mega Menu Refinement (User Request) --- */
.mega-menu-column h4 {
  color: var(--color-primary-red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.1rem;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(224, 0, 0, 0.1);
  padding-bottom: 5px;
  display: inline-block;
}

/* Mobile Interaction Polish */
@media (max-width: 768px) {
  .nav-link.has-submenu {
    cursor: pointer;
  }
}

/* --- Updated Hero Section (Mockup Design) --- */
.hero-updated {
  position: relative;
  min-height: 90vh;
  width: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  color: var(--color-dark);
  animation: fadeIn 1.5s ease-in-out;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-updated::before {
  display: none;
  /* Remove previous top brand line */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-content-updated {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  /* Give more space to the larger image */
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-image-column {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInLeft 1.2s ease-out;
  perspective: 1000px;
  /* Enable 3D depth */
}

.hero-stripes {
  position: absolute;
  top: -300px;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0;
  z-index: 0;
}

.stripe {
  width: 110px;
  /* Increased from 80px (+~30%) */
  height: 1000%;
  /* Deep vertical overflow */
  border-radius: 55px;
}

.stripe-green {
  background-color: var(--color-primary-green);
}

.stripe-orange {
  background-color: var(--color-accent-orange);
}

.stripe-red {
  background-color: var(--color-primary-red);
}

.hero-image {
  width: 100%;
  max-width: 900px;
  /* Increased from 700px (+~30%) */
  z-index: 2;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.hero-image:hover {
  transform: rotateY(-18deg) rotateX(8deg) scale(1.08);
  /* Even crazier 3D tilt */
  filter: drop-shadow(0 50px 80px rgba(0, 0, 0, 0.3));
  animation-play-state: paused;
  /* Pause floating while hovering for better control */
}

.hero-text-column {
  text-align: left;
  animation: slideInRight 1.2s ease-out;
  padding-left: 20px;
  margin-top: -60px;
  /* Move content up */
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-top-text {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-primary-red);
  display: flex;
  align-items: center;
}

.accent-8 {
  position: relative;
  margin-right: 10px;
  font-size: 1.4rem;
}

.accent-8::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary-green);
}

.hero-main-heading {
  font-size: 6.5rem;
  font-weight: 900;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: var(--color-dark);
  line-height: 0.9;
  letter-spacing: -3px;
}

.hero-subtext {
  font-size: 1.4rem;
  margin-bottom: 50px;
  color: #666;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-left: 4px solid var(--color-accent-orange);
  padding-left: 15px;
  max-width: 400px;
}

.hero-buttons-updated {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  /* Keep buttons on the same line */
}

/* Button 1: Locate Store */
.btn-locate {
  padding: 15px 40px;
  border: 2px solid var(--color-primary-green);
  color: var(--color-primary-green);
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.btn-locate i {
  font-size: 1.2rem;
  animation: techPulse 2s infinite alternate;
}

.btn-locate:hover {
  background: #f0fff0;
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 128, 96, 0.2);
}

/* Button 2: Join Revolution */
.btn-join {
  padding: 15px 40px;
  background-color: var(--color-primary-red);
  color: white;
  border-radius: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.btn-join i {
  font-size: 1.2rem;
  animation: techPulse 2s infinite alternate-reverse;
}

.btn-join:hover {
  background-color: #d03030;
  transform: scale(1.02);
  box-shadow: 0 0 20px rgba(230, 0, 0, 0.4);
}

/* Tech Scanning Animation */
.btn-locate::after,
.btn-join::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 20%;
  height: 200%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(30deg);
  transition: none;
  pointer-events: none;
  animation: techScan 3s infinite linear;
}

@keyframes techScan {
  0% {
    left: -60%;
    opacity: 0;
  }

  10% {
    opacity: 0.5;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    left: 160%;
    opacity: 0;
  }
}

@keyframes techPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.2);
    opacity: 1;
    text-shadow: 0 0 8px currentColor;
  }
}

@media (max-width: 1200px) {
  .hero-main-heading {
    font-size: 5rem;
  }
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-content-updated {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text-column {
    text-align: center;
  }

  .hero-buttons-updated {
    justify-content: center;
    flex-wrap: wrap;
    /* Allow wrapping on mobile for better fit */
    gap: 15px;
  }

  .hero-main-heading {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .hero-main-heading {
    font-size: 2.5rem;
  }

  .hero-updated {
    height: auto;
    padding: 150px 0 80px;
  }
}

/* Fix spacing gap between new hero and feature section */
.hero-updated+.section-padding {
  padding-top: 60px !important;
}