/* ===========================
   BULKUP NEPAL — style.css
   =========================== */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #e8112d;
  --red-dark: #b30d22;
  --red-glow: rgba(232,17,45,0.22);
  --wa: #25D366;
  --fb: #0084FF;
  --bg: #0a0a0a;
  --bg2: #111111;
  --surface: #1a1a1a;
  --border: #272727;
  --text: #f0f0f0;
  --muted: #888;
  --white: #ffffff;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 8px 40px rgba(0,0,0,0.6);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; }
em { color: var(--red); font-style: normal; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.full-width { width: 100%; }

/* --- LOADER --- */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-brand { display: block; font-family: var(--font-display); font-size: 80px; font-weight: 900; color: var(--red); animation: lpulse 0.8s ease infinite alternate; }
.loader-bar { width: 200px; height: 3px; background: var(--border); border-radius: 2px; margin: 16px auto 0; overflow: hidden; }
.loader-fill { height: 100%; width: 0; background: var(--red); border-radius: 2px; animation: lload 1.2s ease forwards; }
@keyframes lload { to { width: 100%; } }
@keyframes lpulse { from { opacity: 0.4; } to { opacity: 1; } }

/* --- TOAST --- */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 8000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--red); color: var(--text); padding: 12px 20px; border-radius: var(--radius); font-size: 14px; box-shadow: var(--shadow); max-width: 300px; animation: tIn 0.3s ease; }
.toast.out { animation: tOut 0.3s ease forwards; }
@keyframes tIn { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes tOut { to { transform: translateX(110%); opacity: 0; } }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 32px; border-radius: var(--radius); font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: 0.5px; transition: all var(--transition); white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; border: 2px solid var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 24px var(--red-glow); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.icon-btn { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text); border: 1px solid transparent; transition: all var(--transition); }
.icon-btn:hover { background: var(--surface); border-color: var(--border); }

/* --- NAVBAR --- */
#navbar { position: sticky; top: 0; z-index: 1000; background: rgba(10,10,10,0.93); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
#navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; padding: 0 24px; max-width: 1200px; margin: 0 auto; }
.nav-logo { font-family: var(--font-display); font-size: 22px; font-weight: 900; letter-spacing: 1px; color: var(--white); }
.nav-logo span { color: var(--red); }
.nav-logo em { font-style: normal; color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 4px; }
.nav-links { display: flex; gap: 4px; }
.nav-link { padding: 8px 14px; border-radius: 7px; font-size: 15px; font-weight: 500; color: var(--muted); transition: all var(--transition); }
.nav-link:hover { color: var(--white); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border-radius: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.search-bar { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; border-top: 1px solid transparent; }
.search-bar.open { max-height: 80px; border-top-color: var(--border); }
.search-inner { display: flex; align-items: center; gap: 12px; max-width: 1200px; margin: 0 auto; padding: 12px 24px; }
.search-inner input { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 16px; color: var(--text); font-size: 15px; outline: none; transition: border-color var(--transition); }
.search-inner input:focus { border-color: var(--red); }
.search-inner input::placeholder { color: var(--muted); }
#search-close { background: none; border: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 6px; transition: color var(--transition); }
#search-close:hover { color: var(--text); }

/* --- HERO --- */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; position: relative; overflow: hidden; padding: 100px 24px 80px; max-width: 1200px; margin: 0 auto; gap: 48px; }
.hero-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.hero-grain { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); opacity: 0.4; }
.hero-lines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.011) 80px, rgba(255,255,255,0.011) 81px); }
.hero-content { position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 24px; animation: fadeUp 0.6s ease 0.2s both; }
.hero-title { font-size: clamp(56px,8vw,96px); font-weight: 900; line-height: 0.95; letter-spacing: -1px; margin-bottom: 24px; }
.hero-title .line1 { display: block; animation: fadeUp 0.6s ease 0.3s both; }
.hero-title .line2 { display: block; color: var(--red); animation: fadeUp 0.6s ease 0.4s both; }
.hero-title .line3 { display: block; animation: fadeUp 0.6s ease 0.5s both; }
.hero-title em { color: var(--muted); }
.hero-sub { font-size: 17px; color: var(--muted); max-width: 460px; margin-bottom: 32px; animation: fadeUp 0.6s ease 0.6s both; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; animation: fadeUp 0.6s ease 0.7s both; }
.hero-stats { display: flex; align-items: center; gap: 24px; animation: fadeUp 0.6s ease 0.8s both; }
.stat strong { display: block; font-size: 22px; font-weight: 700; color: var(--white); font-family: var(--font-display); }
.stat span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.stat-div { width: 1px; height: 36px; background: var(--border); }
.hero-visual { position: relative; animation: fadeUp 0.7s ease 0.4s both; }
.hero-img-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/5; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-glow { position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top, rgba(232,17,45,0.35), transparent); pointer-events: none; }
.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; animation: bounce 2s ease infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* --- TRUST --- */
.trust-strip { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 24px; }
.trust-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 0 16px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 28px; flex-shrink: 0; }
.trust-item strong { display: block; font-size: 15px; font-weight: 600; color: var(--white); }
.trust-item p { font-size: 12px; color: var(--muted); margin: 0; }

/* --- SECTION COMMON --- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { display: inline-block; background: rgba(232,17,45,0.1); color: var(--red); border: 1px solid rgba(232,17,45,0.22); border-radius: 100px; padding: 4px 14px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.section-title { font-size: clamp(34px,5vw,54px); font-weight: 800; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 500px; margin: 0 auto; }

/* --- PRODUCTS --- */
.products-section { padding: 100px 0; }
.filter-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-tab { padding: 9px 24px; border: 1px solid var(--border); border-radius: 100px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--surface); transition: all var(--transition); }
.filter-tab.active, .filter-tab:hover { border-color: var(--red); color: var(--white); background: var(--red); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }

/* Product card */
.product-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; transition: all var(--transition); position: relative; }
.product-card:hover { border-color: var(--red); transform: translateY(-4px); box-shadow: 0 10px 36px rgba(232,17,45,0.12); }
.product-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--surface); flex-shrink: 0; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product-name { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--white); line-height: 1.2; flex: 1; }
.product-price-tag { background: var(--red); color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 800; padding: 5px 12px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; }
.product-desc { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }
.buy-btn-row { display: flex; gap: 10px; margin-top: 6px; }
.buy-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 0; border-radius: var(--radius); font-family: var(--font-display); font-size: 16px; font-weight: 700; transition: all var(--transition); border: 1.5px solid transparent; }
.buy-wa { background: rgba(37,211,102,0.1); color: var(--wa); border-color: rgba(37,211,102,0.25); }
.buy-wa:hover { background: var(--wa); color: #fff; border-color: var(--wa); }
.buy-fb { background: rgba(0,132,255,0.1); color: var(--fb); border-color: rgba(0,132,255,0.22); }
.buy-fb:hover { background: var(--fb); color: #fff; border-color: var(--fb); }

.no-results { grid-column: 1/-1; text-align: center; padding: 60px 0; color: var(--muted); }

/* --- ABOUT --- */
.about-section { padding: 100px 0; background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); aspect-ratio: 4/5; object-fit: cover; }
.about-img-accent { position: absolute; bottom: -16px; right: -16px; width: 60%; height: 60%; border: 2px solid var(--red); border-radius: var(--radius-lg); z-index: -1; }
.about-content .section-title { text-align: left; margin-top: 10px; }
.about-content p { color: var(--muted); margin-bottom: 14px; font-size: 15px; }
.about-bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.about-bullet { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.about-bullet span { color: var(--red); font-size: 16px; font-weight: 700; }

/* --- CONTACT --- */
.contact-section { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 24px; }
.contact-social h3, .contact-form-wrap h3 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.social-links { display: flex; flex-direction: column; gap: 12px; }
.social-link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; font-weight: 500; transition: all var(--transition); }
.social-link:hover { transform: translateX(6px); }
.s-wa { color: #25D366; } .s-wa:hover { border-color: #25D366; }
.s-fb { color: #0084FF; } .s-fb:hover { border-color: #0084FF; }
.s-ig { color: #E1306C; } .s-ig:hover { border-color: #E1306C; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group input, .form-group textarea { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; color: var(--text); font-size: 15px; font-family: inherit; outline: none; transition: border-color var(--transition); resize: vertical; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--muted); }

/* --- FOOTER --- */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 4px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* --- ORDER MODAL --- */
.modal-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,0.82); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-overlay.open .order-modal { transform: scale(1) translateY(0); }

.order-modal { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); width: 100%; max-width: 440px; padding: 36px 32px 32px; text-align: center; position: relative; transform: scale(0.95) translateY(16px); transition: transform 0.3s ease; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-size: 14px; display: flex; align-items: center; justify-content: center; transition: all var(--transition); }
.modal-x:hover { color: var(--text); border-color: var(--red); }
.order-modal-icon { font-size: 44px; margin-bottom: 12px; }
.order-modal h3 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.order-modal-product { font-size: 15px; color: var(--red); font-weight: 600; margin-bottom: 6px; }
.order-modal-hint { font-size: 14px; color: var(--muted); margin-bottom: 22px; }

.order-choices { display: flex; flex-direction: column; gap: 12px; }
.order-choice { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--surface); text-align: left; transition: all var(--transition); }
.order-choice strong { display: block; font-size: 16px; font-weight: 700; color: var(--white); }
.order-choice span { font-size: 12px; color: var(--muted); }
.order-choice:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,0.4); }
.order-wa { color: var(--wa); } .order-wa:hover { border-color: var(--wa); background: rgba(37,211,102,0.06); }
.order-fb { color: var(--fb); font-family: inherit; font-size: inherit; text-align: left; width: 100%; } .order-fb:hover { border-color: var(--fb); background: rgba(0,132,255,0.06); }

.auto-badge { margin-left: auto; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,0.07); color: var(--muted); white-space: nowrap; flex-shrink: 0; }

.messenger-tip { display: none; margin-top: 16px; background: rgba(0,132,255,0.08); border: 1px solid rgba(0,132,255,0.22); border-radius: var(--radius); padding: 14px 16px; text-align: left; }
.messenger-tip.show { display: block; animation: fadeUp 0.3s ease; }
.tip-icon { font-size: 22px; margin-bottom: 6px; }
.messenger-tip p { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.messenger-tip p strong { color: #0084FF; }
.tip-msg { font-size: 13px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; line-height: 1.5; white-space: pre-line; font-style: italic; }

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 80px; min-height: auto; }
  .hero-visual { display: none; }
  .scroll-hint { display: none; }
  .trust-inner { grid-template-columns: repeat(2,1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); padding: 12px 0; }
  .trust-item:nth-child(3), .trust-item:nth-child(4) { border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 66px; left: 0; right: 0; background: var(--bg2); border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; z-index: 999; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); }
  .trust-item:last-child { border-bottom: none; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stat-div { display: none; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; max-width: 260px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .order-modal { padding: 28px 20px 24px; }
  .buy-btn-row { flex-direction: column; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 50px; }
}
