
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;600&family=Quicksand:wght@400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quicksand', sans-serif; /* main font */
}

body {
  background: linear-gradient(to right, #0f0f0f, #1a1a1a);
  background-attachment: fixed;
  color: #fff;
  padding-bottom: 100px;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}


/* Heading styles override */
h1, h2, h3 {
  font-family: 'Fredoka', sans-serif;
}
/*
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

#splash-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
*/

/* Navbar */
.navbar {
  background-color: #191919;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar h1 {
  font-size: 1.8rem;
}

.navbar-center {
  display: flex;
  gap: 1.5rem;
  margin-right: 100px;
}

.navbar-center a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  margin-right: 40px;
}

.navbar-center a:hover {
  color: #f0c040;
}

.navbar-right {
  position: relative;
}

.navbar-right i {
  font-size: 1.6rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.navbar-right i:hover {
  color: #f0c040;
}


/* Hero Section */
.hero {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.6)
    ),
    url('bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  padding: 5rem 2rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}



.hero-text h1 {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.gradient-text {
  background: linear-gradient(
    270deg,
    #ff6ec4,
    #7873f5,
    #4ade80,
    #facc15,
    #f43f5e
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
  font-weight: bold;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.typing-text {
  display: inline-block;
  font-weight: bold;
  overflow: hidden;
  border-right: 2px solid #fff;
  white-space: nowrap;
  animation: typing 3s steps(30, end) forwards, blink 0.5s step-end infinite;
  max-width: 100%;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}


@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 22ch;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.shimmer-text {
  background: linear-gradient(
    to right,
    #ffffff 20%,
    #f43f5e 40%,
    #facc15 60%,
    #ffffff 80%
  );
  background-size: 200% auto;
  color: #fff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}


.hero-btn {
  position: relative; /* REQUIRED for absolute positioning of .ping */
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: #fff;
  color: #2d87f0;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow: visible; /* Make sure the ! isn't clipped */
  z-index: 1;
}

.hero-btn .ping {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #f43f5e;
  color: white;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 50%;
  animation: popPing 1s ease-in-out infinite;
  z-index: 999;
  box-shadow:
    0 0 6px rgba(244, 63, 94, 0.6),
    0 0 10px rgba(255, 255, 255, 0.4);
}

@keyframes popPing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Snack Menu Section */
.snack-menu {
  padding: 2rem;
  position: relative;
}

.snack-menu h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Snack Grid - horizontal scroll */
.snack-grid {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  scroll-behavior: smooth;
}

.snack-grid::-webkit-scrollbar {
  display: none; /* Hide scrollbar for WebKit browsers */
}

/* Snack Cards */
.snack-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1),
              0 0 20px rgba(0, 255, 255, 0.1),
              0 0 30px rgba(255, 0, 255, 0.05);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  min-width: 220px;
  flex-shrink: 0;
  color: #fff;
}

.snack-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2),
              0 0 25px rgba(0, 255, 255, 0.2),
              0 0 35px rgba(255, 0, 255, 0.2);
}


.snack-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.snack-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.snack-card button {
  padding: 0.5rem 1rem;
  background-color: #ff7e5f;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.snack-card button:hover {
  background-color: #ff5e3a;
}

/* Scroll Arrow */
.scroll-arrow {
  position: absolute;
  top: 50%;
  right: -20px;
  bottom: 1rem;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgb(100,20,36);
  transition: transform 0.2s ease, background-color 0.3s ease;
  margin-right: 50px;
}

.scroll-arrow:hover {
  transform: scale(1.1);
  background-color: #641424;
}

/* Tooltip on hover */
.scroll-arrow .tooltip {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 6px;
  position: absolute;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.scroll-arrow:hover .tooltip {
  visibility: visible;
  opacity: 1;
}

.left-arrow {
  left: -20px;
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  margin-left: 50px;
}

/* Cart Button */
.cart {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.cart button {
  background-color: #2d87f0;
  color: #fff;
  padding: 0.8rem 1.4rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart button:hover {
  background-color: #1f6ed4;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #ff5e3a;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
}

.quantity-control {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.6rem;
  gap: 0.5rem;
}

.qty-btn {
  background-color: #2d87f0;
  border: none;
  padding: 0.4rem 0.8rem;
  color: white;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
}

.qty-display {
  font-size: 1rem;
  min-width: 1.5rem;
  text-align: center;
}


.combo-builder {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
  text-align: center;
  border-radius: 10px;
  margin: 2rem auto;
}

.combo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.combo-item {
  background-color: #2d2d2d;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.2s;
}

.combo-item.selected {
  border-color: #28a745;
  background-color: #3a3a3a;
}

#create-combo-btn {
  padding: 0.8rem 1.5rem;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
#create-combo-btn:disabled {
  background-color: #555;
  cursor: not-allowed;
}


/* Order Form Modal */
.order-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.order-form form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-form input,
.order-form textarea {
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.order-form button[type="submit"] {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
}

.order-form button[type="submit"]:hover {
  background-color: #218838;
}

.order-form button[type="button"] {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

.order-form button[type="button"]:hover {
  background-color: #c82333;
}

/* Utility */
.hidden {
  display: none;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .navbar-center {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
  }

  .navbar-center a {
    margin: 0;
    white-space: nowrap;
  }

  .navbar-right {
    margin-top: 0.5rem;
  }

  .hero {
    padding: 3rem 1rem;
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1,
  .typing-text {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .snack-grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding-left: 0;
  }

  .snack-card {
    width: 80%;
    min-width: unset;
  }

  .scroll-arrow,
  .left-arrow {
    display: none;
  }

  .cart {
    right: 10px;
    bottom: 10px;
  }

  .order-form form {
    width: 95%;
    padding: 1rem;
  }
}




/* Hides mobile menu + icon by default */
.mobile-menu,
.mobile-menu-icon {
  display: none;
}

/* Wraps logo + bars + cart */
.navbar-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }

  .navbar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .navbar-center {
    display: none !important;
  }

  .navbar-right {
    display: flex;
    justify-content: flex-end;

  }

  .mobile-menu-icon {
    display: block;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
  }

  .mobile-menu.hidden {
    display: none;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    width: 100%;
  }

  .mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.4rem 0;
  }
}


@media (min-width: 769px) {
  @media (min-width: 769px) {
  .navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    background-color: #191919;
    color: #fff;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .navbar-left {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .navbar-center {
    justify-self: center;
    display: flex !important;
    gap: 2rem;
  }

  .navbar-center a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .navbar-center a:hover {
    color: #f0c040;
  }

  .navbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}


  .navbar-right i {
    font-size: 1.6rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
  }

  .navbar-right i:hover {
    color: #f0c040;
  }

  .mobile-menu,
  .mobile-menu-icon {
    display: none !important;
  }
}
