/* ==============================================
   HOMEPAGE-SECTIONS.CSS
   Homepage-specific layouts and sections
   ============================================== */

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: clamp(500px, 80vh, 800px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(60px, 10vh, 120px) 20px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* Dark overlay for text readability */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 20px;
  color: var(--theme-palette-color-4); /* Baby blue */
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: #fff;
  line-height: 1.2;
}

.hero-cta {
  margin-top: 30px;
}

/* ===== KAS TAI SECTION ===== */
.kas-tai-section {
  padding: clamp(60px, 10vh, 100px) 20px;
  background: var(--theme-palette-color-8); /* White */
}

.kas-tai-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 5vw, 50px);
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

@media (min-width: 768px) {
  .kas-tai-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kas-tai-text h2 {
  margin-bottom: 20px;
}

.kas-tai-text p {
  line-height: 1.6;
}

.kas-tai-preview img,
.kas-tai-result img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ===== SERVICE HIGHLIGHTS ===== */
.service-highlights {
  padding: clamp(60px, 10vh, 100px) 20px;
  background: var(--theme-palette-color-6); /* Optional gray */
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.service-item {
  text-align: center;
  padding: 30px 20px;
}

.service-item h3 {
  margin: 20px 0 12px;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
}

.service-item p {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: #666;
  line-height: 1.5;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: clamp(60px, 10vh, 100px) 20px;
  background: var(--theme-palette-color-8); /* White */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== PRICE & DELIVERY SECTION ===== */
.price-delivery-section {
  padding: clamp(60px, 10vh, 100px) 20px;
  background: var(--theme-palette-color-6); /* Optional gray */
}

.price-delivery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(30px, 5vw, 50px);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.price-box,
.delivery-box {
  padding: 40px 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--theme-palette-color-5);
}

.price-amount {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--theme-palette-color-1); /* Sky blue */
  margin: 10px 0;
}

.shipping-logos {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  flex-wrap: wrap;
}

.shipping-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: clamp(60px, 10vh, 100px) 20px;
  background: var(--theme-palette-color-8); /* White */
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 4vw, 40px);
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--theme-palette-color-5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.review-stars {
  color: #FFD700; /* Gold */
  font-size: 1.25rem;
  margin-bottom: 15px;
}

.review-text {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  font-weight: 600;
  color: var(--theme-palette-color-3); /* Black */
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 60px);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #666;
}