/* ===============================================
   Astravon Mercura — Homepage Styles
   Author: House Astravon
   =============================================== */

/* ----------------------
   Hero Section
------------------------- */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #ffffff;
  text-align: center;
  padding: 6rem 1rem 4rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero .cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero .cta .btn {
  font-size: 1.1rem;
}

/* ----------------------
   Featured Products Section
------------------------- */
.featured {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

#posSection {
  padding: 4rem 1rem;
}

#trackingSection {
  padding: 4rem 1rem;
}

#profileSection {
  padding: 4rem;
}

#loginSection {
  padding: 4rem 1rem;
}

#signupSection {
  padding: 4rem 1rem;
}


.live-feed-header { 
  display: flex; 
  flex-direction: column;
  justify-content: space-between; 
  align-items: center; 
}

.live-feed-tabs { 
  display: flex; 
  gap: 0.5rem; 
}

.featured h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* ----------------------
   Product Cards
   (basic placeholders; can extend with ProductCard.html)
------------------------- */
.product-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  display: block;
}

.product-card .card-body {
  padding: 1rem;
}

.product-card .product-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card .product-price {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1rem;
}

/* ----------------------
   Buttons Overrides
------------------------- */
.hero .btn-primary {
  background-color: #ffffff;
  color: var(--primary-color);
}

.hero .btn-primary:hover {
  background-color: var(--light-gray);
}

.hero .btn-outline {
  color: #ffffff;
  border-color: #ffffff;
}

.hero .btn-outline:hover {
  background-color: #ffffff;
  color: var(--primary-color);
}

.section.hidden {
  display: none;
}

.section.active {
  display: block;
}


/* ----------------------
   Footer Overrides
------------------------- */
footer {
  padding: 2rem 1rem;
  font-size: 0.9rem;
  background-color: var(--primary-color);
  color: #ffffff;
}

/* ----------------------
   Responsive Adjustments
------------------------- */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .cta {
    flex-direction: column;
    gap: 1rem;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}
