/* ==========================================================================
   home.css — Home page styles
   ========================================================================== */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  color: var(--color-white);
}

.hero-section__bg {
  position: absolute;
  inset: 0;
  background-color: var(--color-home-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.015);
  animation: hero-subtle-zoom 18s ease-in-out infinite alternate;
}

.hero-section__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: var(--color-home-hero-bg);
}

.hero-section__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0) scale(1.04);
  filter: blur(10px);
  will-change: transform;
  backface-visibility: hidden;
}

.hero-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-home-hero-overlay-strong) 0%,
    var(--color-home-hero-overlay-medium) 30%,
    var(--color-home-hero-overlay-light) 58%,
    rgb(10 8 6 / 0) 75%
  );
}

.hero-section__overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--color-home-hero-overlay-bottom) 0%,
    transparent 40%
  );
}

.hero-section .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: var(--container-max-hero);
}

.hero-section__content {
  padding-inline: 7vw;
}

.hero-section__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 24px;
  font-family: var(--font-base);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--letter-spacing-hero);
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0;
  animation: hero-fade-up 0.8s ease forwards 0.2s;
}

.hero-section .btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  min-width: 1.1rem;
  font-size: 1.1rem;
  line-height: 1;
}
.hero-section__eyebrow-separator {
  margin-inline: 10px;
  opacity: 0.85;
}

.hero-section__title {
  font-family: var(--font-heading);
  font-size: clamp(2.625rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: var(--letter-spacing-xs);
  margin-bottom: 10px;
  opacity: 0;
  animation: hero-fade-up 0.8s ease forwards 0.3s;
}

.hero-section__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.2vw, 1.625rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-primary);
  letter-spacing: var(--letter-spacing-sm);
  margin-bottom: 20px;
  opacity: 0;
  animation: hero-fade-up 0.8s ease forwards 0.45s;
}

.hero-section__description {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-home-hero-body);
  letter-spacing: var(--letter-spacing-md);
  line-height: 1.7;
  margin-bottom: 44px;
  max-width: var(--hero-description-max);
  opacity: 0;
  animation: hero-fade-up 0.8s ease forwards 0.6s;
}

.hero-section__cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-fade-up 0.8s ease forwards 0.75s;
}

.hero-section .btn--primary,
.hero-section .btn--secondary {
  color: var(--color-white);
  border-color: var(--color-white);
}

.hero-section .btn--primary {
  background-color: var(--color-button);
}

.hero-section .btn--secondary {
  background-color: transparent;
}

.hero-section .btn--primary:hover {
  background-color: var(--color-button-dark);
  color: var(--color-white);
}

.hero-section .btn--secondary:hover {
  background-color: rgb(255 255 255 / 0.1);
  color: var(--color-white);
}

@keyframes hero-subtle-zoom {
  from {
    transform: scale(1.015);
  }
  to {
    transform: scale(1.04);
  }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── "About Us" section on home ───────────────────────────────────────────── */
.about-section {
  background-color: var(--color-bg);
}

.about-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.about-section__text {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about-section__text h2 {
  flex-shrink: 0;
}

.about-section__image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.about-description {
  color: var(--color-text-muted);
  font-size: var(--font-size-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-description p {
  margin-bottom: var(--space-4);
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-description img {
  display: inline;
  vertical-align: middle;
  margin: 0 2px;
  height: 1em;
  width: auto;
  max-height: 1.2em;
}

/* ── Google Reviews section on home ─────────────────────────────────────── */
.home-reviews-section__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.home-reviews-widget {
  width: 100%;
  overflow-x: auto;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

/* ── Latest news on home ──────────────────────────────────────────────────── */
/* ── Featured Products ────────────────────────────────────────────────────── */
.featured-products-section {
  background-color: var(--color-bg);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-section {
    min-height: 72vh;
    height: auto;
  }

  .hero-section .container {
    min-height: 72vh;
  }

  .hero-section__content {
    padding-inline: 0;
    max-width: 100%;
  }

  .hero-section__eyebrow {
    letter-spacing: 0.16em;
    line-height: 1.7;
  }

  .hero-section__title {
    font-size: clamp(2.25rem, 9vw, 3.25rem);
  }

  .hero-section__description {
    max-width: 92%;
    margin-bottom: 32px;
  }

  .about-section__layout {
    grid-template-columns: 1fr;
  }

  .about-section__image {
    order: -1;
  }
}
