/* ===================================================================
   Bedi Garments — modern fashion storefront styles
   =================================================================== */

/* ----- Fonts ----- */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap");

/* ----- Reset & tokens ----- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #b01fa8;          /* logo purple/magenta */
  --brand-dark: #7c1676;
  --accent: #f0a500;         /* gold accent */
  --ink: #1c1c28;
  --muted: #6b6b7b;
  --line: #ececf1;
  --bg: #ffffff;
  --bg-soft: #faf7f5;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 28, 40, .08);
  --shadow-lg: 0 18px 50px rgba(28, 28, 40, .16);
  --font: "Poppins", "Segoe UI", Arial, sans-serif;
  --display: "Playfair Display", Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 13px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 20px rgba(184, 55, 90, .35);
}
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(184, 55, 90, .45); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: none;
}
.btn-ghost:hover { background: #fff; color: var(--ink); }

.btn-dark { background: var(--ink); box-shadow: 0 8px 20px rgba(28,28,40,.3); }
.btn-dark:hover { background: #000; }

/* ----- Announcement bar ----- */
.topbar {
  background: linear-gradient(90deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
  font-size: .82rem;
  letter-spacing: .5px;
  padding: 9px 0;
  font-weight: 500;
}
.topbar span { margin: 0 18px; opacity: .95; }

/* ----- Header ----- */
.site-header {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}
.logo { display: flex; align-items: center; }
.logo img { height: 56px; width: auto; display: block; }
.footer-logo img { height: 92px; border-radius: 50%; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  position: relative;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--brand); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-icons { display: flex; align-items: center; gap: 18px; }
.header-icons a { color: var(--ink); display: flex; transition: color .2s, transform .2s; }
.header-icons a:hover { color: var(--brand); transform: translateY(-2px); }
.icon-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -8px; right: -10px;
  background: var(--brand);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

/* ===================================================================
   Hero: single clear storefront photo
   =================================================================== */
.hero-single { width: 100%; background: #16121a; }
.hero-single img {
  display: block;
  width: 100%;
  max-height: 74vh;
  object-fit: cover;
  object-position: center;
}
.hero-intro { text-align: center; padding: 46px 0 6px; }
.hero-intro .kicker {
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .82rem;
}
.hero-intro h1 { font-family: var(--display); font-size: 2.6rem; margin: 10px 0 12px; }
.hero-intro p { color: var(--muted); max-width: 620px; margin: 0 auto 22px; }

@media (max-width: 768px) {
  .hero-single img { max-height: 56vh; }
  .hero-intro h1 { font-size: 2rem; }
  .hero-intro { padding: 34px 0 4px; }
}

/* ===================================================================
   Hero carousel (legacy — kept for reference)
   =================================================================== */
.hero { position: relative; overflow: hidden; }
.slides { position: relative; height: 78vh; min-height: 460px; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}
.slide.active { opacity: 1; }
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,15,25,.62) 0%, rgba(20,15,25,.15) 60%, transparent 100%);
}
.slide-1 {
  background-image: url("../images/shop.jpeg");
  background-position: center center;
  background-size: contain;        /* show the WHOLE photo, no cropping/zoom */
  background-repeat: no-repeat;
  background-color: #16121a;        /* dark backdrop fills the sides */
}
/* very light overlay on the shop slide so the storefront stays clearly visible */
.slide-1::before { background: linear-gradient(90deg, rgba(20,15,25,.55) 0%, rgba(20,15,25,.15) 45%, transparent 100%); }
.slide-2 { background-image: url("https://images.unsplash.com/photo-1441984904996-e0b6ba687e04?auto=format&fit=crop&w=1600&q=80"); }
.slide-3 { background-image: url("https://images.unsplash.com/photo-1445205170230-053b83016050?auto=format&fit=crop&w=1600&q=80"); }

.slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 560px;
}
.slide-content .eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.slide-content h1 {
  font-family: var(--display);
  font-size: 3.4rem;
  line-height: 1.1;
  margin-bottom: 16px;
}
.slide-content p { font-size: 1.15rem; margin-bottom: 28px; opacity: .95; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,.85);
  border: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.3rem;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s, transform .2s;
}
.hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

.hero-dots {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 5;
}
.hero-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: background .2s, width .2s;
}
.hero-dots button.active { background: #fff; width: 28px; border-radius: 6px; }

/* ----- Marquee / trust strip ----- */
.trust {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  padding: 22px 0;
  text-align: center;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; }
.trust-item svg { color: var(--brand); flex: none; }

/* ===================================================================
   Sections
   =================================================================== */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker {
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .8rem;
}
.section-head h2 {
  font-family: var(--display);
  font-size: 2.4rem;
  margin: 8px 0 6px;
}
.section-head p { color: var(--muted); max-width: 540px; margin: 0 auto; }

/* ----- Category tiles ----- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-tile {
  position: relative;
  height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,15,25,.78) 0%, rgba(20,15,25,.1) 55%, transparent 100%);
}
.cat-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 24px;
  color: #fff;
}
.cat-caption h3 { font-family: var(--display); font-size: 1.55rem; }
.cat-caption span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 500;
  opacity: .9;
  margin-top: 4px;
  transition: gap .2s;
}
.cat-tile:hover .cat-caption span { gap: 12px; }

/* ----- Product cards ----- */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product:hover .product-media img { transform: scale(1.07); }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 5px 11px;
  border-radius: 50px;
  z-index: 3;
}
.badge.new { background: var(--ink); }

.wish {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 3;
  background: rgba(255,255,255,.92);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s, transform .25s, color .2s;
}
.product:hover .wish { opacity: 1; transform: translateY(0); }
.wish:hover, .wish.liked { color: var(--brand); }

.add-cart {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 11px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .2s;
}
.product:hover .add-cart { opacity: 1; transform: translateY(0); }
.add-cart:hover { background: var(--brand); }

.product .info { padding: 16px; }
.product .brandline { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.product h3 { font-size: 1rem; font-weight: 500; margin: 3px 0 8px; }
.price-row { display: flex; align-items: center; gap: 10px; }
.price { color: var(--ink); font-weight: 700; font-size: 1.05rem; }
.mrp { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.off { color: #2e9e5b; font-weight: 600; font-size: .82rem; }
.stars { color: var(--accent); font-size: .8rem; margin-top: 8px; }

/* ----- Promo split banners ----- */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.promo {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 40px;
  color: #fff;
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.promo::after { content:""; position:absolute; inset:0; background: rgba(20,15,25,.42); }
.promo .promo-text { position: relative; z-index: 2; max-width: 320px; }
.promo .promo-text h3 { font-family: var(--display); font-size: 1.9rem; margin-bottom: 8px; }
.promo .promo-text p { margin-bottom: 16px; opacity: .95; }
.promo a.link { font-weight: 600; border-bottom: 2px solid #fff; padding-bottom: 2px; }

/* ----- Newsletter ----- */
.newsletter {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.newsletter h2 { font-family: var(--display); font-size: 2.2rem; margin-bottom: 8px; }
.newsletter p { opacity: .92; margin-bottom: 26px; }
.subscribe {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 50px;
  padding: 6px;
  gap: 6px;
}
.subscribe input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-family: inherit;
}
.subscribe .btn { box-shadow: none; }
#subMsg { margin-top: 14px; font-weight: 500; min-height: 20px; }

/* ----- Category page banner ----- */
.page-banner {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.page-banner::after { content:""; position:absolute; inset:0; background: rgba(20,15,25,.5); }
.page-banner .pb-inner { position: relative; z-index: 2; }
.page-banner h1 { font-family: var(--display); font-size: 2.8rem; }
.page-banner .crumbs { font-size: .9rem; opacity: .9; margin-top: 6px; }
.banner-men      { background-image: url("https://images.unsplash.com/photo-1516257984-b1b4d707412e?auto=format&fit=crop&w=1600&q=80"); }
.banner-women    { background-image: url("https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1600&q=80"); }
.banner-children { background-image: url("https://images.unsplash.com/photo-1503919545889-aef636e10ad4?auto=format&fit=crop&w=1600&q=80"); }
.banner-uniforms { background-image: url("https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?auto=format&fit=crop&w=1600&q=80"); }
.banner-contact  { background-image: url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1600&q=80"); }

/* ----- Contact ----- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h3 { font-family: var(--display); font-size: 1.6rem; margin-bottom: 14px; }
.contact-info .ci-item { display: flex; gap: 12px; margin-bottom: 18px; }
.contact-info .ci-item svg { color: var(--brand); flex: none; margin-top: 3px; }
.contact-form { background: #fff; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form label { display: block; margin: 14px 0 5px; font-weight: 500; font-size: .9rem; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand); }
#formMessage { margin-top: 14px; font-weight: 500; }

/* ----- Store showcase (homepage) ----- */
.store-showcase {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 46px;
  align-items: center;
}
.store-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.store-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.store-text .kicker { color: var(--brand); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }
.store-text h2 { font-family: var(--display); font-size: 2.2rem; margin: 8px 0 14px; }
.store-text p { color: var(--muted); margin-bottom: 18px; }
.store-list { list-style: none; margin-bottom: 24px; }
.store-list li { padding: 6px 0; font-weight: 500; }

@media (max-width: 768px) {
  .store-showcase { grid-template-columns: 1fr; gap: 28px; }
  .store-text h2 { font-size: 1.8rem; }
}

/* ----- Store map ----- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
}
.map-wrap iframe { display: block; }

/* ===================================================================
   Footer
   =================================================================== */
.site-footer { background: #16121a; color: #cfc9d4; padding-top: 56px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid .logo { color: #fff; font-size: 1.5rem; }
.footer-grid p { font-size: .88rem; line-height: 1.8; }
.footer-links a { display: block; font-size: .88rem; padding: 5px 0; color: #cfc9d4; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: #fff;
  transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 20px 0;
  font-size: .82rem;
  color: #8f8a97;
}

/* ===================================================================
   Toast
   =================================================================== */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--ink);
  color: #fff;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 500;
  font-size: .9rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: transform .35s ease;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 992px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 8px 6%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .slide-content h1 { font-size: 2.2rem; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 1.9rem; }
  .topbar span:nth-child(n+2) { display: none; }
}

@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .subscribe { flex-direction: column; background: transparent; padding: 0; gap: 10px; }
  .subscribe input { background:#fff; }
}
