/* ============================================
   NAZMUL HASAN LLC – Global Stylesheet
   Theme: Green & Natural
============================================ */

:root {
  --green-dark:   #2d5016;
  --green-main:   #4a7c2f;
  --green-mid:    #6b9e44;
  --green-light:  #a8c97a;
  --cream:        #f5f0e8;
  --cream-dark:   #ede5d8;
  --brown:        #8b6914;
  --text-dark:    #1a1a1a;
  --text-mid:     #4a4a4a;
  --text-light:   #7a7a7a;
  --white:        #ffffff;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
  --radius:       12px;
  --radius-sm:    8px;
  --transition:   all 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

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

/* ── TOPBAR ── */
.topbar {
  background: var(--green-dark);
  color: #c8dfa0;
  font-size: 0.78rem;
  padding: 7px 5%;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.topbar span { display: flex; align-items: center; gap: 6px; }
.topbar i { opacity: 0.8; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 86px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.nav-logo {
  display: flex; align-items: center;
}
.nav-logo a { display: flex; align-items: center; }
.nav-logo img { height: 72px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--green-main);
  border-bottom-color: var(--green-main);
}
.nav-icons { display: flex; align-items: center; gap: 1.2rem; }
.nav-icons a {
  position: relative;
  font-size: 1.1rem;
  color: var(--text-mid);
  transition: var(--transition);
}
.nav-icons a:hover { color: var(--green-main); }
.cart-badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--green-main); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger {
  display: none;
  background: none; border: none;
  font-size: 1.2rem; color: var(--text-mid);
  cursor: pointer;
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1rem 5%;
  border-bottom: 1px solid var(--cream-dark);
}
.mobile-menu a {
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--text-mid);
  border-bottom: 1px solid var(--cream-dark);
}
.mobile-menu.open { display: flex; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--green-main);
  color: var(--white);
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 2px solid var(--green-main);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,124,47,0.35);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.7);
  transition: var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-mid) 100%);
  min-height: 560px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Ccircle cx='500' cy='100' r='250' fill='rgba(255,255,255,0.04)'/%3E%3Ccircle cx='100' cy='500' r='200' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E") no-repeat center/cover;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 560px; }
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #d4edaa;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 1.2rem;
}
.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-content h1 span {
  color: var(--green-light);
  font-style: italic;
}
.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero-badge {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 24px 40px;
  text-align: center;
  color: white;
}
.badge-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-light);
}
.badge-text { font-size: 0.9rem; opacity: 0.85; }

/* ── FEATURES STRIP ── */
.features-strip {
  background: var(--cream);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--cream-dark);
}
.feature {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 5%;
  border-right: 1px solid var(--cream-dark);
}
.feature:last-child { border-right: none; }
.feature i {
  font-size: 1.8rem;
  color: var(--green-main);
  min-width: 36px;
}
.feature strong { display: block; font-size: 0.9rem; font-weight: 600; }
.feature p { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

/* ── SECTION PADDING & HEADERS ── */
.section-pad { padding: 70px 5%; }
.bg-light { background: var(--cream); }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--green-dark);
}
.section-header p {
  color: var(--text-light);
  font-size: 0.9rem;
}
.view-all {
  color: var(--green-main);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.view-all:hover { color: var(--green-dark); }

/* ── CATEGORIES ── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.cat-card {
  background: var(--white);
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 0;
  text-align: center;
  transition: var(--transition);
  display: block;
  overflow: hidden;
}
.cat-card:hover, .cat-card.featured {
  border-color: var(--green-main);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.cat-card:hover .cat-label,
.cat-card.featured .cat-label {
  background: var(--green-main);
  color: var(--white);
}
.cat-card:hover .cat-label span,
.cat-card.featured .cat-label span { color: rgba(255,255,255,0.8); }
.cat-card:hover .cat-label i,
.cat-card.featured .cat-label i { color: var(--white); }
.cat-img {
  width: 100%;
  height: 170px;
  overflow: hidden;
  position: relative;
}
.cat-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-label {
  padding: 16px 20px;
  background: var(--cream);
  transition: var(--transition);
}
.cat-label i {
  font-size: 1.4rem;
  color: var(--green-main);
  margin-bottom: 6px;
  display: block;
  transition: var(--transition);
}
.cat-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.cat-card span { font-size: 0.82rem; color: var(--text-light); }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.product-img {
  width: 100%; aspect-ratio: 1/1;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.05);
}
.product-img i {
  font-size: 4rem;
  color: var(--green-light);
}
.product-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--green-main); color: white;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}
.product-info { padding: 16px; }
.product-cat {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.product-name {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}
.product-price {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 12px;
}
.price-now { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); }
.price-old { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }
.btn-cart {
  width: 100%;
  padding: 10px;
  background: var(--cream);
  border: 1.5px solid var(--green-main);
  color: var(--green-main);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cart:hover {
  background: var(--green-main);
  color: var(--white);
}

/* ── PROMO BANNER ── */
.promo-banner {
  background: linear-gradient(135deg, var(--brown) 0%, #c49a2a 100%);
  padding: 60px 5%;
  text-align: center;
}
.promo-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.promo-content p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.8rem;
}
.promo-form {
  display: flex; gap: 0; justify-content: center;
  max-width: 480px; margin: 0 auto;
}
.promo-form input {
  flex: 1;
  padding: 13px 18px;
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
}
.promo-form .btn-primary {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--green-dark);
  border-color: var(--green-dark);
}

/* ── SOCIAL SECTION ── */
.social-section { text-align: center; }
.social-links {
  display: flex; justify-content: center; gap: 1.5rem;
  margin: 2rem 0 1rem;
}
.social-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}
.social-btn.facebook {
  background: #1877f2; color: white;
}
.social-btn.facebook:hover {
  background: #1456c0;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(24,119,242,0.35);
}
.social-btn.instagram {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: white;
}
.social-btn.instagram:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(220,39,67,0.3);
}
.social-btn i { font-size: 1.2rem; }
.social-note {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* ── FOOTER ── */
.footer {
  background: var(--green-dark);
  color: #c8dfa0;
  padding: 60px 5% 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 64px;
  width: auto;
  display: block;
}
.footer-brand p {
  font-size: 0.87rem;
  color: rgba(200,223,160,0.75);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--green-mid); }
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.2rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.87rem;
  color: rgba(200,223,160,0.75);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--green-light); }
.contact-list li {
  display: flex; gap: 10px;
  font-size: 0.87rem;
  color: rgba(200,223,160,0.75);
  margin-bottom: 0.8rem;
  align-items: flex-start;
}
.contact-list i { color: var(--green-light); margin-top: 3px; min-width: 14px; }
.contact-list a { color: rgba(200,223,160,0.75); }
.contact-list a:hover { color: var(--green-light); }
.footer-payments {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0 10px;
  text-align: center;
}
.footer-payments p {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(200,223,160,0.55);
  margin-bottom: 10px;
  font-weight: 600;
}
.payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.payment-icons img {
  height: 30px;
  width: auto;
  border-radius: 5px;
  background: #fff;
  padding: 3px 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  transition: transform 0.15s;
}
.payment-icons img:hover { transform: translateY(-2px); }
.footer-bottom {
  text-align: center;
  padding: 14px 0;
  font-size: 0.82rem;
  color: rgba(200,223,160,0.5);
}

/* ── SHOP PAGE ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  padding: 50px 5%;
  text-align: center;
  color: white;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.page-hero p { opacity: 0.85; font-size: 1rem; }
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding: 50px 5%;
}
.shop-sidebar {}
.filter-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 1.4rem;
}
.filter-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.filter-item {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 0.6rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: var(--transition);
}
.filter-item input[type="checkbox"] { accent-color: var(--green-main); }
.filter-item:hover { color: var(--green-main); }
.shop-main {}
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.shop-toolbar span { font-size: 0.9rem; color: var(--text-light); }
.sort-select {
  padding: 8px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-mid);
  background: var(--white);
  cursor: pointer;
  outline: none;
}
.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

/* ── CONTACT PAGE ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  padding: 60px 5%;
}
.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.contact-info p { color: var(--text-mid); margin-bottom: 2rem; line-height: 1.7; }
.info-card {
  display: flex; gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--green-main);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  flex-shrink: 0;
}
.info-text strong { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 3px; color: var(--text-dark); }
.info-text span, .info-text a { font-size: 0.9rem; color: var(--text-mid); }
.info-text a:hover { color: var(--green-main); }
.contact-form-card {
  background: var(--white);
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--green-dark);
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(74,124,47,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.map-section {
  padding: 0 5% 60px;
}
.map-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}
.map-placeholder {
  width: 100%; height: 300px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 2px dashed var(--cream-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-light);
  gap: 10px;
}
.map-placeholder i { font-size: 2.5rem; color: var(--green-light); }
.map-placeholder p { font-size: 0.9rem; }
.map-placeholder strong { color: var(--text-mid); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: var(--green-dark); color: white;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .features-strip { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { padding: 60px 5%; }
  .hero-visual { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { order: 2; }
  .shop-product-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .social-links { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .topbar { gap: 0.8rem; font-size: 0.72rem; justify-content: center; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .shop-product-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .promo-form { flex-direction: column; }
  .promo-form input { border-radius: var(--radius-sm); }
  .promo-form .btn-primary { border-radius: var(--radius-sm); }
  .features-strip { grid-template-columns: 1fr; }
  .feature { border-right: none; border-bottom: 1px solid var(--cream-dark); }
  .contact-form-card { padding: 24px 16px; }
}
