/* ===================================================
   HOME PAGE — index.css
   =================================================== */

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero_handloom.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 12s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 20, 10, 0.85) 0%,
    rgba(44, 44, 44, 0.75) 50%,
    rgba(79, 79, 82, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  width: 100%;
}

.hero-inner {
  max-width: 750px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 140, 66, 0.2);
  border: 1px solid rgba(255, 140, 66, 0.4);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInDown 0.8s ease 0.2s both;
}

.hero-badge::before {
  content: '✦';
  color: var(--primary);
}

.hero-brand-name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  background: linear-gradient(135deg, #ffffff 30%, #FFB366 70%, #FF8C42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(255, 140, 66, 0.4));
  animation: fadeInUp 0.9s ease 0.3s both;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.9s ease 0.4s both;
}

.hero h1 .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.9s ease 0.6s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeInUp 0.9s ease 0.8s both;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeInUp 0.9s ease 1s both;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1.5s ease 1.5s both;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* Floating decorative shapes */
.hero-decoration {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: none;
}

/* ─── INTRO SECTION ──────────────────────────────── */
.intro-section {
  background: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-image-wrap {
  position: relative;
}

.intro-image-main {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 500px;
  box-shadow: var(--shadow-lg);
}

.intro-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.intro-image-badge .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.intro-image-badge .label {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
}

.intro-content { padding-right: 1rem; }

.intro-content p {
  margin-bottom: 1.2rem;
}

.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.intro-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.intro-feature-item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── WHY CHOOSE US ──────────────────────────────── */
.why-section { background: var(--bg-light); }

/* ─── PROCESS PREVIEW ────────────────────────────── */
.process-preview {
  background: var(--white);
}

.process-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-steps-row::before {
  content: '';
  position: absolute;
  top: 35px;
  left: calc(12.5% + 35px);
  right: calc(12.5% + 35px);
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  z-index: 0;
}

.process-step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 1.2rem;
  box-shadow: 0 4px 20px rgba(255,140,66,0.35);
  position: relative;
}

.process-step-card h4 {
  margin-bottom: 0.5rem;
}

.process-step-card p {
  font-size: 0.88rem;
}

/* ─── FEATURED CATEGORIES ────────────────────────── */
.categories-section { background: var(--bg-light); }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.category-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.category-card:hover img { transform: scale(1.08); }

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,44,44,0.9) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: var(--transition);
}

.category-overlay h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.category-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.82rem;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

.category-card:hover .category-link {
  opacity: 1;
  transform: translateX(0);
}

/* ─── FOUNDER SECTION ────────────────────────────── */
.founder-section {
  background: linear-gradient(135deg, #fdf3ec, #fff8f2);
  position: relative;
  overflow: hidden;
}

.founder-section::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,140,66,0.08), transparent 70%);
  border-radius: 50%;
}

.founder-home-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}

.founder-home-image {
  position: relative;
}

.founder-home-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  height: auto;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.founder-home-quote {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--white);
  padding: 1.2rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  max-width: 230px;
  border-left: 4px solid var(--primary);
}

.founder-home-quote p {
  font-style: italic;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
}

.founder-home-quote cite {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-top: 0.5rem;
}

/* ─── TESTIMONIALS SECTION ───────────────────────── */
.testimonials-section { background: var(--bg-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-dots {
  display: none;
}

/* ─── CTA SECTION ────────────────────────────────── */
.cta-section {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,140,66,0.12), transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,179,102,0.08), transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 { color: var(--white); margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; }

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── RESPONSIVE HOME ────────────────────────────── */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .hero-content { padding: 6rem 0 4rem; }
  .hero-inner { max-width: 100%; }

  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .intro-image-main { height: 380px; }
  .intro-image-badge { bottom: 1rem; right: 1rem; }
  .intro-content { padding-right: 0; }

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

  .founder-home-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .founder-home-quote {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-grid .testimonial-card:nth-child(3) { display: none; }

  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Hero */
  .hero-content { padding: 6.5rem 0 3rem; }
  .hero-brand-name { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }
  .hero-desc { font-size: 0.97rem; margin-bottom: 1.8rem; }
  .hero-ctas { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  .hero-stat-number { font-size: 1.6rem; }
  .scroll-indicator { display: none; }

  /* Intro */
  .intro-grid { grid-template-columns: 1fr; gap: 2rem; }
  .intro-image-main { height: 280px; }
  .intro-image-badge { position: static; margin-top: 1rem; display: inline-block; }
  .intro-features { grid-template-columns: 1fr; gap: 0.6rem; }
  .intro-content { text-align: center; }
  .intro-content .section-header { text-align: center !important; }
  .intro-content .divider { margin: 1rem auto 0 !important; }

  /* Process */
  .process-steps-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .process-steps-row::before { display: none; }

  /* Categories */
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .category-card { height: 200px; }

  /* Founder */
  .founder-home-grid { grid-template-columns: 1fr; gap: 2rem; }

  .founder-home-quote {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .founder-section .fade-right .section-header { text-align: center; }
  .founder-section .fade-right .divider { margin: 1rem auto 0 !important; }

  /* Testimonials */
  .testimonials-grid { 
    display: flex; 
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    gap: 1.5rem; 
    padding-bottom: 1rem; 
    -ms-overflow-style: none; 
    scrollbar-width: none; 
  }
  .testimonials-grid::-webkit-scrollbar { 
    display: none; 
  }
  .testimonials-grid .testimonial-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    white-space: normal;
  }
  .testimonials-grid .testimonial-card:nth-child(3) { display: block; }

  .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  .testimonial-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
  }
  .testimonial-dots .dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
  }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ── Small Mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .hero-content { padding: 6rem 0 2.5rem; }
  .hero-badge { font-size: 0.7rem; padding: 0.4rem 0.9rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero-stat-number { font-size: 1.4rem; }
  .hero-stat-label { font-size: 0.7rem; }

  .categories-grid { grid-template-columns: 1fr; }
  .category-card { height: 220px; }

  .intro-image-main { height: 220px; }

  .process-step-number { width: 55px; height: 55px; font-size: 1.2rem; }


  .founder-home-quote { padding: 1rem; }
  .founder-home-quote p { font-size: 0.82rem; }
}
