/* ============================
   HERO SECTION
============================ */

.hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background: url('../images/hero-background-image.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
 /* padding-top: var(--nav-height);  */
  justify-content: center;
  color: var(--color-text-on-image, #ffffff);
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Content on top */
.hero-content {
  position: relative;
  z-index: 2;
  /* max-width: 700px; */
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-top: 1rem;
  color: #f1f1f1;
}

/* Buttons
.btn-brand-hero {
  background-color: var(--color-brand-primary);
  border-color: var(--color-brand-primary);
  color: white;
  padding: 0.7rem 1.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-brand-hero:hover, .btn-brand-hero:focus {
  background-color: var(--color-button-dark);
  border-color: var(--color-button-dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  padding: 0.7rem 1.6rem;
  font-size: 1.1rem;
  border-color: #ffffff;
  color: #ffffff;
  font-weight: 600;
  margin-left: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-outline-dark:hover,.btn-outline-dark:focus {
  background-color: #FFFFFF;
  color: var(--color-brand-primary);
  transform: translateY(-2px);
} */

/* CTA Section Styles */
  .cta-section {
    background-image: url('https://images.unsplash.com/photo-1522199710521-72d69614c702?auto=format&fit=crop&w=1470&q=80'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    height: 60vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Dark overlay for readability */
  .cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1;
  }

  .cta-section .container {
    position: relative;
    z-index: 2;
  }

  .cta-title {
    font-size: 2.8rem;
    font-weight: 700;
  }

  .cta-subtext {
    font-size: 1.2rem;
  }

  .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;  /* keep them centered like text-center */
  gap: 0.75rem;             /* space between buttons on all screens */
}

/* Optional: make them stack nicely on very small screens */
@media (max-width: 576px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

  .cta-buttons .btn-primary {
    background-color: var(--color-brand-primary);
    border-color: var(--color-brand-primary);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .cta-buttons .btn-primary:hover {
    background-color: #5a7010;
    transform: translateY(-2px);
  }

  .cta-buttons .btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  }

  .cta-buttons .btn-outline-light:hover , .cta-buttons .btn-outline-light:focus  {
    background-color: #ffffff;
    color: #749417;
    transform: translateY(-2px);
  }

/* Responsive fixes for mobile */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}


/* PRODUCTS SECTION ON HOME PAGE  */

.product-card{
  cursor: pointer;
}

.products-grid-section .product-card {
  background-color: var(--color-surface);
  border-radius: 1rem;
  border: 1px solid var(--color-border-subtle);
  overflow: hidden; /* prevent image overflow */
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
  box-sizing: border-box;
}

.products-grid-section .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Fixed-height image area */
.products-grid-section .product-card-image-wrapper {
  width: 100%;        
  height: 220px;           /* fixed height for all product images */
  overflow: hidden;
  background: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-grid-section .product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* crops smartly */
  display: block;
}


/* Card content */
.products-grid-section .product-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.products-grid-section .product-card-title {
  color: var(--color-heading);
}

.products-grid-section .product-card-text {
  color: var(--color-text-body);
  font-size: 0.95rem;
}

.products-grid-section .product-card .btn-brand {
  padding: 0.65rem 1.25rem;   /* reduce height */
  font-size: 0.95rem;         /* refined size */
}

.product-card-details-hint {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.product-card-details-hint .bi {
  transition: transform 0.15s ease;
}

/* When card is hovered, make it clear it's clickable */
.product-card:hover .product-card-details-hint {
  color: var(--color-brand-primary);
}

.product-card:hover .product-card-details-hint .bi {
  transform: translateX(2px);
}

.product-card:hover .product-card-title {
  text-decoration: underline;
}



