/* 
   Theme: Neon Morphic / Dark Premium 
   Based on Axies/NFT style aesthetics
*/

:root {
  --bg-dark: #14141F;
  --bg-card: #343444;
  --bg-card-hover: #45455D;
  /* Lighter for hover */
  --text-main: #FFFFFF;
  --text-muted: #AFAFB5;
  /* Light gray for descriptions */
  --primary: #5142FC;
  /* Neon Purple */
  --secondary: #E250E5;
  /* Neon Pink/Purple */
  --accent: #47A432;
  /* Green for "In Stock" or success */
  --gradient-main: linear-gradient(to right, #5142FC, #E250E5);
  --border-radius: 20px;
  --font-main: 'Urbanist', sans-serif;
  /* Using Urbanist or Inter */
  --shadow-card: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  border-radius: var(--border-radius);
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--text-main);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header / Navbar --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(20, 20, 31, 0.9);
  backdrop-filter: blur(10px);
  /* padding: 15px 0; */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {}

.logo img {
  width: 60px;
}

.nav-links {
  display: none;
  top: 0;
  /* Hidden on mobile by default */
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  transform: translateY(0);
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: var(--bg-card);
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flavor-section {

  display: grid;

}

.nav-links li {
  margin: 10px 0;
}

.nav-links a {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--text-main);
}

/* Hamburger */
.hamburger {
  display: block;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 9999;
}

/* Desktop Nav */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    width: auto;
    border: none;
  }

  .nav-links li {
    margin: 0 20px;
  }
}

/* --- Hero Slider --- */
.hero {
  padding: 40px 0;
  text-align: center;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius);
  margin-top: 20px;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 400px;
  /* Adjust as needed */
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  background: rgba(20, 20, 31, 0.7);
  /* backdrop-filter: blur(5px); */
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 80%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-main {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient-main);
  color: white;
  border-radius: 30px;
  font-weight: 700;
  margin-top: 15px;
  box-shadow: 0 5px 15px rgba(81, 66, 252, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(81, 66, 252, 0.6);
}

/* --- Brand Sections --- */
.brand-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  padding-left: 10px;
  border-left: 4px solid var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* Mobile: 1 column */
  gap: 20px;
}

@media (min-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product Card */
.product-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-5px);
  background-color: var(--bg-card-hover);
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.card-img-placeholder {
  width: 100%;
  height: 260px;
  background: linear-gradient(45deg, #2a2a35, #3a3a4a);
  border-radius: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 3rem;
  overflow: hidden;
}

.card-img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.btn-card {
  margin-top: auto;
  padding: 10px 25px;
  border: 2px solid var(--primary);
  color: white;
  border-radius: 20px;
  font-weight: 600;
}

.btn-card:hover {
  background: var(--primary);
  box-shadow: 0 0 15px rgba(81, 66, 252, 0.4);
}

/* --- Reviews Section --- */
.reviews-section {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-dark), #1d1d2b);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--bg-card);
  padding: 25px;
  border-radius: var(--border-radius);
  position: relative;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
}

.user-name {
  font-weight: 700;
}

.stars {
  color: #FFA500;
  margin-bottom: 10px;
}

/* --- Delivery Section --- */
.delivery-section {
  padding: 60px 0;
  text-align: center;
  background-color: var(--bg-card);
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.delivery-content h2 {
  margin-bottom: 20px;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Utilities --- */
.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Flavor Ticker --- */
.flavor-ticker-section {
  padding: 40px 0;
  background-color: var(--bg-dark);
  /* Blend with body or use card bg */
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  /* Match brand-section border */
}

.ticker-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: scroll-ticker 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
  /* Pause on hover for easier viewing */
}

.ticker-item {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 0 15px;
  /* Spacing between images */
  flex-shrink: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}




.flower-title {
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 5px 0;
  position: absolute;
  bottom: 0;
  font-size: 0.9rem;
}

.ticker-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.ticker-item:hover {
  transform: scale(1.05);
}

@keyframes scroll-ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Move by 50% because we duplicated the items */
}