/* ===========================
   GLOBAL COLORS & BASE
=========================== */

:root {
  --primary: #1F2A44;        /* Deep Navy Blue */
  --accent: #E4B94F;         /* Golden Yellow */
  --bg-light: #F6F4F0;       /* Soft Off-White */
  --text-dark: #2B2B2B;      /* Charcoal */
  --white: #FFFFFF;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 20px rgba(0,0,0,0.12);
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  margin: 0 0 10px;
  color: var(--primary);
}

button {
  cursor: pointer;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 15px;
  transition: 0.3s ease;
}

/* ===========================
   HEADER
=========================== */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px; /* Slimmer header */
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 38px; /* Reduced from 52px for a better fit */
  width: auto;
  display: block;
  transition: height 0.3s ease;
}

.main-nav a {
  margin: 0 15px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.header-actions .icon-btn {
  background: none;
  margin-left: 10px;
  color: var(--primary);
  font-weight: 600;
}

/* ===========================
   HERO SECTION
=========================== */

.hero {
  display: flex;
  padding: 60px 40px;
  background: var(--white);
  gap: 40px;
  align-items: center;
}

.hero-text {
  flex: 1.2;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 25px;
}

.hero-search {
  display: flex;
  margin-bottom: 20px;
  max-width: 500px;
}

.hero-search input {
  flex: 1;
  padding: 14px;
  border: 1px solid #ddd;
  border-radius: 6px 0 0 6px;
  font-size: 16px;
  outline: none;
}

.hero-search button {
  background: var(--primary);
  color: var(--white);
  border-radius: 0 6px 6px 0;
  padding: 0 25px;
}

.hero-search button:hover {
  background: var(--accent);
}

.hero-categories button {
  background: var(--bg-light);
  margin: 5px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.hero-categories button:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.hero-image {
  flex: 1;
  min-height: 400px; /* Slightly increased for better visual impact */
  border-radius: 12px;
  background-image: url('images/vi-marketplace-vancouver-islands-very-own-marketplace.webp');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02); /* Subtle zoom effect on hover */
}

/* ===========================
   REGIONS
=========================== */

.regions {
  padding: 60px 40px;
  text-align: center;
}

.region-filters button {
  margin: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 24px;
}

.region-filters button:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* ===========================
   PRODUCT & MAKER GRIDS
=========================== */

.featured-products, .featured-makers {
  padding: 40px;
}

.product-grid, .maker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product-card, .maker-card {
  background: var(--white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover, .maker-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.product-img, .maker-img {
  height: 180px;
  background: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 20px;
}

.product-card .price {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 10px 0;
  color: var(--primary);
}

.add-to-cart {
  background: var(--primary);
  color: var(--white);
  width: 100%;
  margin-top: 10px;
}

.add-to-cart:hover {
  background: var(--accent);
}

/* ===========================
   SEASONAL & ABOUT
=========================== */

.seasonal {
  padding: 60px 40px;
  display: flex;
  gap: 40px;
  background: var(--white);
}

.seasonal-text {
  flex: 1;
}

.seasonal-items {
  flex: 1.5;
  background: var(--bg-light);
  border-radius: 12px;
  min-height: 250px;
}

.about-teaser {
  padding: 80px 40px;
  text-align: center;
}

.about-teaser ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.about-teaser li {
  font-weight: 500;
  color: var(--primary);
}

.primary-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
}

.primary-btn:hover {
  background: var(--accent);
}

/* ===========================
   FOOTER
=========================== */

.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-newsletter input {
  padding: 12px;
  border-radius: 6px;
  border: none;
  width: 100%;
  margin-bottom: 10px;
}

.footer-newsletter button {
  background: var(--accent);
  color: var(--white);
  width: 100%;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-search {
    margin: 0 auto 20px;
  }

  .site-header {
    padding: 10px 20px;
  }

  .logo img {
    height: 32px; /* Smaller for mobile */
  }

  .main-nav {
    display: none; /* Consider a hamburger menu later */
  }

  .seasonal {
    flex-direction: column;
  }

  .about-teaser ul {
    flex-direction: column;
    gap: 10px;
  }
}