/* ==========================================================================
   Shreeji Ink — home.css (index.html only)
   ========================================================================== */

/* Hero banner slider */
.hero {
  aspect-ratio: 12 / 5;
  min-height: 320px;
  max-height: 640px;
}

@media (max-width: 899px) {
  .hero {
    aspect-ratio: 16 / 9;
    min-height: 280px;
    max-height: 480px;
  }
}

@media (max-width: 599px) {
  /* Portrait mobile banner images (mobile_slider_*.png) need a taller box
     than the landscape desktop ones, so they show full-bleed without cropping */
  .hero {
    aspect-ratio: 3 / 5;
    min-height: 480px;
    max-height: 720px;
    padding-block: 0;
  }
}

.hero-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-swiper .swiper-wrapper {
  height: 100%;
}

.hero-swiper .swiper-slide {
  height: 100%;
  overflow: hidden;
}

.hero-swiper .swiper-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* slider_1.png (desktop/tablet) has a lighter, more square composition, so
   contain it instead of cropping to avoid cutting off the logo/product bags.
   mobile_slider_1.png below 600px is already shot portrait for mobile, so it
   uses the default cover behaviour instead. */
.hero-swiper .swiper-slide.hero-slide-contain {
  background: #f4f6f8;
}

@media (min-width: 600px) {
  .hero-swiper .swiper-slide.hero-slide-contain img {
    object-fit: contain;
  }
}

.hero-swiper .swiper-pagination {
  bottom: var(--space-3);
}

.hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--color-gold);
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 44px;
  height: 44px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 24, 57, 0.45);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s ease;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: rgba(11, 24, 57, 0.7);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 18px;
  font-weight: 700;
}

.hero-swiper .swiper-button-prev {
  left: var(--space-2);
}

.hero-swiper .swiper-button-next {
  right: var(--space-2);
}

@media (max-width: 599px) {
  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .hero-swiper .swiper-button-prev::after,
  .hero-swiper .swiper-button-next::after {
    font-size: 14px;
  }

  .hero-swiper .swiper-button-prev {
    left: var(--space-1);
  }

  .hero-swiper .swiper-button-next {
    right: var(--space-1);
  }
}

/* Partners strip */
.partners-strip {
  padding-block: var(--space-8);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  max-width: 760px;
  margin-inline: auto;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-rest);
  padding: var(--space-4);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.partner-logo-frame {
  width: 100%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.partner-logo-frame img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-card h3 {
  margin-bottom: 0.2rem;
}

.partner-card p {
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0;
  font-size: 0.95rem;
}

@media (max-width: 599px) {
  .partners-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
  }
}

/* Teaser cards */
.teaser-card {
  display: flex;
  flex-direction: column;
}

.teaser-card img {
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-2);
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.teaser-card .check-list {
  flex-grow: 1;
}

.teaser-card .btn {
  margin-top: auto;
}

/* About */
.about-grid {
  align-items: center;
}

.about-photo img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-rest);
  margin-inline: auto;
  display: block;
}

@media (max-width: 899px) {
  .about-photo {
    text-align: center;
  }
}

.about-founder-name {
  margin-top: var(--space-3);
  margin-bottom: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-navy);
}

.about-founder-title {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Why-us teaser */
.why-teaser-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-6);
  align-items: center;
}

@media (max-width: 899px) {
  .why-teaser-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: var(--space-2);
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-whatsapp-dark);
  font-weight: 800;
}

.stat-card {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-gold);
}

.stat-label {
  display: block;
  font-weight: 600;
  margin-top: var(--space-1);
}

.stat-sub {
  color: #b7bdd6;
  margin-top: var(--space-1);
  margin-bottom: 0;
}

/* Testimonial highlight */
.testimonial-highlight {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-gold);
  line-height: 1;
  margin: 0;
}

.testimonial-text {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-navy);
}

.stars {
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-bottom: var(--space-1);
}

.testimonial-author {
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Closing CTA */
.cta-banner p {
  /* color: #d6dbef; */
  margin-bottom: var(--space-3);
}
