/* === FRONT PAGE STYLES === */

/* Remove Pico's default vertical padding from main */
body > main {
  padding-block: 0 !important;
}

/* Remove extra margin from sections */
section {
  margin-bottom: 0 !important;
}

/* === HERO SECTION === */
#hero {
  padding-left: 0 !important;
  padding-right: 0 !important;
  height: 90vh;
  background-size: cover;
  background-position: center;
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 70%), rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(1.5px);
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  margin-bottom: 0.5rem;
  color: inherit;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: none;
}

#hero p {
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 2.25rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.45);
}

.hero-content {
  max-width: 720px;
  padding: 0 1rem;
  animation: fadeInUp 0.8s ease-out both;
}

.hero-content .thin {
  font-weight: 300;
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.hero-script {
  font-family: 'Allura', 'Great Vibes', 'Dancing Script', cursive;
  color: #d62329;
  font-size: clamp(4.2rem, 12vw, 7.5rem);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 
    0 3px 6px rgba(0,0,0,0.45), 
    0 6px 12px rgba(0,0,0,0.25),
    0 1px 0 rgba(255,255,255,0.7);
  display: inline-block;
  transform: rotate(-0.8deg);
  margin-bottom: -1.5rem;
  line-height: 0.8;
  filter: drop-shadow(0 3px 8px rgba(214, 35, 41, 0.2));
  position: relative;
  z-index: 2;
}

.hero-green {
  font-family: inherit;
  color: #00a04a;
  font-size: clamp(1.4rem, 4.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 2px;
  display: inline-block;
  margin-top: -1rem;
  text-shadow: 
    0 2px 6px rgba(0,0,0,0.2),
    0 1px 0 rgba(255,255,255,0.4);
  text-transform: uppercase;
  position: relative;
  line-height: 1.2;
}

.hero-ampersand {
  font-family: 'Allura', 'Great Vibes', cursive;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 400;
  color: #d62329;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0.3rem;
  display: inline-block;
  transform: rotate(-5deg) scale(1.1);
  text-shadow: 
    0 2px 4px rgba(0,0,0,0.3),
    0 1px 0 rgba(255,255,255,0.5);
  position: relative;
  top: -0.1em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 1rem;
}

.hero-primary {
  background: #d62329;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #d62329;
}

.hero-primary:hover {
  background: #b71c20;
  border-color: #b71c20;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(214, 35, 41, 0.3);
}

.hero-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Call to order button */
.hero-call {
  background: #00a04a;
  color: #fff;
  border: 2px solid #00a04a;
  padding: 0.75rem 1.8rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.hero-call:hover {
  background: #008a3f;
  border-color: #008a3f;
  transform: translateY(-2px);
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

/* === CATEGORIES SECTION === */
.categories-section {
  padding: 0 1rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.categories-section h2 {
  color: #00a04a;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 2rem;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.category-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.category-card h3 {
  margin: 0;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.category-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.category-link:hover h3 {
  color: #00a04a;
}

/* === BEST SELLERS SECTION === */
.best-sellers {
  padding: 0 1rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.best-sellers h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #d62329;
  margin-bottom: 2rem;
}

/* WooCommerce product grid fix for best sellers */
.best-sellers ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 1.5rem !important;
  justify-items: center !important;
  margin: 0;
  list-style: none;
  float: none !important;
}

.best-sellers ul.products li {
  max-width: 220px !important;
  width: 100% !important;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}

.best-sellers ul.products li:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
}

.best-sellers ul.products li img {
  border-bottom: 1px solid #f3f3f3;
}

.best-sellers ul.products li .woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.75rem 0;
  text-align: center;
}

.best-sellers ul.products li a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.best-sellers ul.products li:hover .woocommerce-loop-product__title {
  color: #00a04a;
}
