/* ============================================================
   MODELINE — Home Page Styles (home.css)
   Only styles that appear exclusively on the home page.
   Shared styles live in main.css.
   ============================================================ */

/* === HERO ================================================= */
.hero {
  min-height: 88vh;
  background-color: var(--espresso);
  background-image:
    linear-gradient(to bottom, rgba(28, 14, 4, 0.55) 0%, rgba(28, 14, 4, 0.30) 60%, rgba(28, 14, 4, 0.70) 100%),
    url('https://images.unsplash.com/photo-1597466599360-3b596c3d7cb7?w=1600&q=80');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(245, 230, 192, 0.08), transparent 45%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8860B' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.hero-mark {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 20px;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.25));
}

.hero-eyebrow {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: white;
  opacity: 0.7;
}

.hero h1 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  color: #fdf8ee;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 10px;
}

.hero h1 span#hero-title-em {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: italic;
  color: var(--gold-pale);
  font-weight: 600;
}

.hero-sub {
  font-size: 18px;
  color: rgba(253, 248, 238, 0.8);
  margin: 22px 0 42px;
  font-style: italic;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253, 248, 238, 0.5);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.scroll-hint::after {
  content: '';
  display: block;
  width: 1px;
  height: 32px;
  background: rgba(184, 134, 11, 0.5);
  animation: scrollpulse 1.8s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* === PRODUCTS SECTION ===================================== */
.products-section {
  padding: 0 60px 90px;
}

.section-empty-msg {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--warm-gray);
  font-style: italic;
  padding: 40px 0;
}

/* === TRUST STRIP ========================================== */
.trust-strip {
  background: var(--parchment);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-icon {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 30px;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

.trust-label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--espresso);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.trust-desc {
  font-size: 14px;
  color: var(--warm-gray);
  font-style: italic;
  line-height: 1.5;
}

/* === TESTIMONIALS ========================================= */
.testimonials {
  padding: 80px 60px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.test-card {
  background: var(--parchment);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
}

.test-card::before {
  content: '\201C';
  position: absolute;
  top: 18px;
  inset-inline-end: 22px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 72px;
  color: var(--gold-pale);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.test-stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.test-text {
  font-size: 15px;
  color: var(--espresso);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 22px;
}

.test-author {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--bark);
  text-transform: uppercase;
  font-weight: 600;
}

.test-place {
  font-size: 13px;
  color: var(--warm-gray);
  font-style: italic;
}

/* === NEWSLETTER / CONTACT CTA ============================ */
.newsletter {
  background-color: var(--espresso);
  background-image:
    linear-gradient(rgba(28, 14, 4, 0.88), rgba(28, 14, 4, 0.88)),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1200&q=80');
  background-position: center;
  background-size: cover;
  padding: 90px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-mark {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 18px;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.3));
}

.newsletter-title {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: clamp(34px, 5vw, 46px);
  color: #fdf8ee;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 16px;
}

.newsletter-title span {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: italic;
  color: var(--gold-pale);
  font-weight: 600;
}

.newsletter-sub {
  font-size: 16px;
  color: rgba(253, 248, 238, 0.68);
  font-style: italic;
  margin-bottom: 38px;
  font-weight: 500;
}

.newsletter-contact-btn {
  display: inline-block;
  padding: 14px 48px;
  background: var(--gold);
  color: var(--espresso);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: background 0.25s, border-color 0.25s;
}

.newsletter-contact-btn:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* === RESPONSIVE =========================================== */

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
  .products-section,
  .testimonials,
  .newsletter {
    padding-left: 30px;
    padding-right: 30px;
  }

  .trust-strip {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* 640px — large phones */
@media (max-width: 640px) {
  .products-section,
  .testimonials,
  .newsletter {
    padding-left: 20px;
    padding-right: 20px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 32px 20px;
  }

  .test-grid {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    width: 88px;
    height: 88px;
  }

  .newsletter-mark {
    width: 72px;
    height: 72px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}

/* 480px — small phones */
@media (max-width: 480px) {
  .products-section,
  .testimonials,
  .newsletter,
  .trust-strip {
    padding-left: 16px;
    padding-right: 16px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}
