/* ============================================================
   NOOR ATELIER — home.css
   Styles specific to index.html (homepage only)
   ============================================================ */


/* ── HERO ── */
.hero {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a3530 0%, #0E4B43 40%, #1a6b60 70%, #2d8a7c 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(199,166,106,0.5) 20px, rgba(199,166,106,0.5) 21px),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(199,166,106,0.5) 20px, rgba(199,166,106,0.5) 21px);
}
.hero-ornament {
  position: absolute;
  top: 60px;
  right: 300px;
  opacity: 0.12;
  width: 200px;
  height: 200px;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 700px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(199,166,106,0.15);
  border: 1px solid rgba(199,166,106,0.3);
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 8px 18px;
  margin-bottom: 28px;
  font-weight: 500;
}
.hero-tag::before { content: '✦'; font-size: 0.6rem; }
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 400;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.hero-headline em { font-style: italic; color: var(--gold); }
.hero-sub {
  font-size: 0.92rem;
  color: rgba(248,245,240,0.75);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 440px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  bottom: 48px;
  left: 80px;
  display: flex;
  gap: 48px;
  z-index: 2;
}
.hero-stat-val { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--gold); }
.hero-stat-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(248,245,240,0.55); margin-top: 2px; }
.hero-scroll {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(248,245,240,0.4);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(199,166,106,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50%      { transform: scaleY(0.6); opacity: 0.4; }
}


/* ── FEATURED CATEGORIES ── */
.categories { padding: 96px 80px; background: var(--ivory); }
.categories-header { text-align: center; margin-bottom: 56px; }
.cat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.cat-card { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 3/4; }
.cat-card-bg { position: absolute; inset: 0; transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.cat-card:hover .cat-card-bg { transform: scale(1.06); }
.cat-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,75,67,0.88) 0%, rgba(14,75,67,0.2) 60%, transparent 100%); }
.cat-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 24px; }
.cat-card-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 6px; }
.cat-card-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 500; color: white; margin-bottom: 12px; }
.cat-card-link { font-size: 0.67rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,245,240,0.7); display: flex; align-items: center; gap: 8px; transition: gap 0.2s; }
.cat-card:hover .cat-card-link { gap: 14px; color: var(--gold); }
.cat-bridal .cat-card-bg { background: linear-gradient(135deg,#1a0d1f,#3d1f4a,#5c2d6e); }
.cat-eid    .cat-card-bg { background: linear-gradient(135deg,#0a2e1a,#0e4b2a,#1a6b3c); }
.cat-pret   .cat-card-bg { background: linear-gradient(135deg,#2d1f0a,#4a3515,#6b4e1f); }
.cat-guest  .cat-card-bg { background: linear-gradient(135deg,#0a1f2d,#15344d,#1e4d70); }


/* ── BEST SELLERS ── */
.bestsellers { padding: 96px 80px; background: var(--beige); }
.bestsellers-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }


/* ── WHY CHOOSE US ── */
.why { padding: 96px 80px; background: var(--ivory); }
.why-header { text-align: center; margin-bottom: 64px; }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--border); }
.why-item { background: var(--ivory); padding: 48px 36px; text-align: center; transition: background 0.3s; }
.why-item:hover { background: white; }
.why-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--emerald), var(--emerald-light)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.3rem; }
.why-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 500; margin-bottom: 10px; }
.why-desc { font-size: 0.8rem; color: var(--text-mid); line-height: 1.7; }


/* ── TESTIMONIALS ── */
.testimonials { padding: 96px 80px; background: var(--emerald); position: relative; overflow: hidden; }
.testimonials::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(199,166,106,0.08) 0%, transparent 60%); }
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-header .section-eyebrow { color: var(--gold); }
.testimonials-header .section-title { color: white; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(199,166,106,0.2); padding: 36px 32px; }
.testi-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 3px; margin-bottom: 16px; }
.testi-quote { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-style: italic; color: white; line-height: 1.7; margin-bottom: 20px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--emerald-light)); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 0.9rem; color: white; }
.testi-name { font-size: 0.8rem; font-weight: 600; color: var(--ivory); }
.testi-location { font-size: 0.7rem; color: rgba(248,245,240,0.5); margin-top: 2px; }


/* ── INSTAGRAM GRID ── */
.instagram { padding: 96px 80px; background: var(--beige); }
.instagram-header { text-align: center; margin-bottom: 48px; }
.instagram-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 4px; }
.ig-item { aspect-ratio: 1; overflow: hidden; cursor: pointer; position: relative; }
.ig-item-bg { position: absolute; inset: 0; transition: transform 0.5s; }
.ig-item:hover .ig-item-bg { transform: scale(1.08); }
.ig-item-overlay { position: absolute; inset: 0; background: rgba(14,75,67,0); transition: background 0.3s; display: flex; align-items: center; justify-content: center; }
.ig-item:hover .ig-item-overlay { background: rgba(14,75,67,0.5); }
.ig-item-icon { color: white; font-size: 1.3rem; opacity: 0; transform: scale(0.8); transition: all 0.3s; }
.ig-item:hover .ig-item-icon { opacity: 1; transform: scale(1); }
.ig-1 { background: linear-gradient(135deg,#3d1a3a,#7a3d75); }
.ig-2 { background: linear-gradient(135deg,#0e3830,#1e7a69); }
.ig-3 { background: linear-gradient(135deg,#2d1f05,#6b5020); }
.ig-4 { background: linear-gradient(145deg,#1a0d2d,#3d1f5c); }
.ig-5 { background: linear-gradient(135deg,#0a1f2d,#1e4d70); }
.ig-6 { background: linear-gradient(135deg,#2d0a1a,#6b1f3a); }


/* ── HOME PAGE RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-content { padding: 0 48px; }
  .hero-stats   { left: 48px; }
  .categories, .bestsellers, .why, .testimonials, .instagram { padding: 72px 48px; }
}
@media (max-width: 900px) {
  .cat-grid      { grid-template-columns: 1fr 1fr; }
  .product-grid  { grid-template-columns: 1fr 1fr; }
  .testi-grid    { grid-template-columns: 1fr 1fr; }
  .instagram-grid{ grid-template-columns: repeat(3,1fr); }
  .why-grid      { grid-template-columns: 1fr 1fr; }
  .categories, .bestsellers, .why, .testimonials, .instagram { padding: 56px 28px; }
  .bestsellers-header { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (max-width: 600px) {
  .hero-content  { padding: 0 20px; }
  .hero-stats    { left: 20px; gap: 28px; }
  .hero-ctas     { flex-direction: column; }
  .cat-grid, .product-grid { gap: 12px; }
  .testi-grid    { grid-template-columns: 1fr; }
  .instagram-grid{ grid-template-columns: repeat(2,1fr); }
  .why-grid      { grid-template-columns: 1fr; }
}
