/* ==========================================================================
   Luxora Blinds - Home Page Styles
   ========================================================================== */

/* -------------------------------------------------------------------------
   Hero Section
   ------------------------------------------------------------------------- */

.hero {
  padding-top: var(--space-5xl);
  padding-bottom: var(--space-4xl);
  background-color: var(--color-ivory);
  overflow: hidden;
}

.hero__content {
  max-width: 540px;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  color: var(--color-charcoal);
  margin-bottom: var(--space-lg);
}

.hero__text {
  font-size: var(--fs-body-lg);
  color: var(--color-grey);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__image {
  position: relative;
}

.hero__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
}

/* Decorative element */
.hero__image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  z-index: -1;
}

/* -------------------------------------------------------------------------
   Categories Section
   ------------------------------------------------------------------------- */

.categories .card--category {
  display: block;
  text-decoration: none;
  color: inherit;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.categories .card--category .card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.categories .card--category .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.categories .card--category .badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  z-index: 2;
}

.categories .card--category .card__body {
  position: relative;
  padding: var(--space-lg);
  background-color: var(--color-white);
}

.categories .card--category .card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  color: var(--color-charcoal);
  margin-bottom: var(--space-xs);
}

.categories .card--category .card__text {
  font-size: var(--fs-small);
  color: var(--color-grey);
  margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   Why Us Section
   ------------------------------------------------------------------------- */

.why-us {
  background-color: var(--color-ivory);
}

.why-us .icon-box {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  height: 100%;
  transition: all var(--transition-normal);
}

.why-us .icon-box:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.why-us .icon-box__icon {
  width: 80px;
  height: 80px;
  background-color: rgba(200, 162, 77, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.why-us .icon-box__icon i {
  font-size: 36px;
  color: var(--color-gold);
}

/* -------------------------------------------------------------------------
   Testimonials Section
   ------------------------------------------------------------------------- */

.testimonials .testimonial {
  height: 100%;
}

/* -------------------------------------------------------------------------
   CTA Section
   ------------------------------------------------------------------------- */

.cta {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-teal) 0%, #163b38 100%);
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.cta__text {
  font-size: var(--fs-body-lg);
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

/* -------------------------------------------------------------------------
   Responsive Styles
   ------------------------------------------------------------------------- */

@media (max-width: 991px) {
  .hero {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
  }

  .hero__content {
    max-width: none;
    text-align: center;
    margin-bottom: var(--space-3xl);
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 36px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cta__title {
    font-size: var(--fs-h3);
  }
}
