*{margin:0;padding:0;box-sizing:border-box;font-family:Arial} body{background:#fafafa;color:#222} /* TOP BAR */ .top-bar{ background:#111;color:#fff; text-align:center;padding:8px;font-size:14px; } /* HEADER */ /* HEADER BASE */ .header { position: sticky; top: 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 16px 60px; background: #ffffff; box-shadow: 0 4px 20px rgba(0,0,0,0.06); } /* LOGO */ .logo { display: flex; align-items: center; gap: 10px; cursor: pointer; } .logo-box { width: 38px; height: 38px; background: linear-gradient(135deg, #e63946, #ff7a7a); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; border-radius: 10px; } .logo-text { font-size: 22px; font-weight: 700; letter-spacing: 1px; color: #1f2937; } /* NAV */ .nav a { margin: 0 18px; text-decoration: none; font-size: 15px; font-weight: 500; color: #374151; position: relative; transition: color 0.3s ease; } .nav a:hover { color: #e63946; } /* ACTIVE LINK */ .nav a.active { color: #e63946; } .nav a.active::after, .nav a:hover::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px; background: #e63946; border-radius: 5px; } /* ICONS */ .header-icons .cart { font-size: 22px; cursor: pointer; transition: transform 0.3s ease; } .header-icons .cart:hover { transform: scale(1.15); } .cart-icon { position: relative; font-size: 22px; cursor: pointer; } #cart-count { position: absolute; top: -6px; right: -10px; background: #e63946; color: #fff; font-size: 12px; font-weight: bold; padding: 2px 6px; border-radius: 50%; } .cart-item { display: flex; align-items: center; gap: 15px; position: relative; } .cart-info { flex: 1; } .remove-btn { background: transparent; border: none; font-size: 18px; color: #e63946; cursor: pointer; transition: transform 0.2s ease; } .remove-btn:hover { transform: scale(1.2); } /* HERO */ /* HERO SECTION */ /* ================= HERO BASE ================= */ .hero-new { position: relative; height: 90vh; width: 100%; background: linear-gradient(120deg, #0f172a, #020617); overflow: hidden; display: flex; align-items: center; } /* subtle animated background */ .hero-bg { position: absolute; inset: 0; /* YOUR HERO IMAGE */ background-image: url("hero.jpeg"); /* apni image ka naam */ background-size: cover; background-position: center; background-repeat: no-repeat; /* light animation (no blur) */ animation: zoomMove 14s ease-in-out infinite alternate; } /* soft dark overlay for readability */ .hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient( to right, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.15) ); } @keyframes zoomMove { from { transform: scale(1); } to { transform: scale(1.05); } } /* ================= CONTENT ================= */ .hero-inner { position: relative; z-index: 2; max-width: 1200px; padding: 0 8%; } .hero-left { max-width: 600px; color: #fff; animation: slideFade 1s ease forwards; } /* animation */ @keyframes slideFade { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } } /* ================= TEXT ================= */ .hero-tag { display: inline-block; padding: 6px 14px; background: rgba(230,57,70,0.15); color: #ff6b6b; font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 18px; border-left: 3px solid #e63946; } .hero-title { font-size: 56px; font-weight: 800; line-height: 1.15; margin-bottom: 18px; } .hero-title span { color: #38bdf8; } .hero-subtitle { font-size: 18px; line-height: 1.7; color: #cbd5f5; margin-bottom: 35px; } /* ================= BUTTONS ================= */ .hero-actions { display: flex; gap: 15px; } .btn-primary { padding: 14px 34px; background: #e63946; color: #fff; border: none; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .btn-primary:hover { background: #c92d38; transform: translateY(-2px); } .btn-secondary { padding: 14px 34px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.25); border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .btn-secondary:hover { background: rgba(255,255,255,0.08); } /* ================= RESPONSIVE ================= */ @media (max-width: 768px) { .hero-new { height: 80vh; } .hero-title { font-size: 38px; } .hero-subtitle { font-size: 16px; } .hero-actions { flex-direction: column; } } /* SECTIONS */ /* ============================= */ /* SECTION BASE */ /* ============================= */ .section { padding: 80px 60px; background: #fafafa; } /* SECTION HEADER */ /* ================= SECTION HEAD ================= */ .section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 45px; opacity: 0; transform: translateY(30px); animation: sectionFade 0.9s ease forwards; } /* staggered animation feel */ .section-head { animation-delay: 0.2s; } /* TITLE */ .section-title { font-size: 34px; font-weight: 700; color: #0f172a; position: relative; padding-left: 14px; } /* accent line (premium touch) */ .section-title::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 60%; background: #e63946; transform: translateY(-50%); border-radius: 4px; } /* BUTTON */ .section-btn { padding: 10px 28px; background: transparent; border: 1.5px solid #e63946; color: #e63946; border-radius: 6px; /* professional */ font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .section-btn:hover { background: #e63946; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,57,70,0.35); } /* ================= ANIMATION ================= */ @keyframes sectionFade { to { opacity: 1; transform: translateY(0); } } /* ================= RESPONSIVE ================= */ @media (max-width: 768px) { .section-head { flex-direction: column; gap: 14px; text-align: center; } .section-title { padding-left: 0; } .section-title::before { display: none; } } /* ================= CENTER ALIGN ================= */ /* CENTER ALIGN */ /* CENTER ALIGN */ .center { text-align: center; margin-bottom: 40px; } /* CATEGORY HEADING STYLE */ .section-category { font-size: 34px; font-weight: 700; color: #0f172a; letter-spacing: 0.3px; } /* NEW CENTER-BASED ANIMATION */ .animate-heading { opacity: 0; transform: scale(0.94); filter: blur(5px); animation: categoryReveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards; } /* KEYFRAMES */ @keyframes categoryReveal { to { opacity: 1; transform: scale(1); filter: blur(0); } } /* RESPONSIVE */ @media (max-width: 768px) { .section-category { font-size: 28px; } } /* ============================= */ /* GRID SYSTEM */ /* ============================= */ .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; } .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; } /* ============================= */ /* CARD DESIGN */ /* ============================= */ .card { background: #ffffff; border-radius: 16px; padding: 18px; text-align: center; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); transition: transform 0.4s ease, box-shadow 0.4s ease; } /* IMAGE */ .card img { width: 100%; height: 260px; object-fit: contain; border-radius: 12px; transition: transform 0.4s ease; } /* TEXT */ .card h3 { margin: 16px 0 6px; font-size: 18px; font-weight: 600; color: #111827; } .card p { font-size: 16px; font-weight: 700; color: #e63946; margin-bottom: 14px; } /* HOVER EFFECT */ .card:hover { transform: translateY(-10px); box-shadow: 0 22px 45px rgba(0, 0, 0, 0.14); } .card:hover img { transform: scale(1.08); } /* ============================= */ /* ADD TO CART BUTTON */ /* ============================= */ .card .add-cart { width: 100%; padding: 12px; background: #e63946; color: #fff; border: none; border-radius: 30px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .card .add-cart:hover { background: #c92d38; transform: scale(1.04); box-shadow: 0 10px 25px rgba(230, 57, 70, 0.4); } /* ============================= */ /* RESPONSIVE */ /* ============================= */ @media (max-width: 1024px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .section { padding: 60px 20px; } .section-head { flex-direction: column; gap: 15px; text-align: center; } .grid-3, .grid-2 { grid-template-columns: 1fr; } } .card-actions { display: flex; gap: 10px; } .card-actions { margin-top: 12px; } .buy-now { width: 100%; padding: 12px; background: #111827; color: #fff; border: none; border-radius: 6px; /* professional look */ font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.25s ease; } .buy-now:hover { background: #000; } /* CATEGORY */ .category { position: relative; overflow: hidden; /* important for animation */ } .category img { width: 100%; border-radius: 20px; transition: transform 0.6s ease; } /* OVERLAY */ .overlay { position: absolute; bottom: 25px; left: 25px; background: rgba(255, 255, 255, 0.92); padding: 14px 28px; border-radius: 30px; font-size: 16px; font-weight: 600; color: #111827; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); opacity: 0; transform: translateY(20px); transition: all 0.5s ease; } /* HOVER EFFECT */ .category:hover .overlay { opacity: 1; transform: translateY(0); } /* IMAGE ZOOM ON HOVER */ .category:hover img { transform: scale(1.05); } /* NEWSLETTER */ .newsletter{ background:#f2f2f2; text-align:center;padding:70px; } .newsletter input{ padding:12px;width:300px;margin-top:20px; } .newsletter button{ padding:12px 25px;background:red; color:#fff;border:none; } /* FEATURES BAR */ .features-bar{ background:#f2f2f2; display:grid; grid-template-columns:repeat(4,1fr); text-align:center; padding:50px 80px; } .features-bar h4{ margin-top:10px; font-size:15px; } .features-bar p{ font-size:13px; color:#666; } .icon{ font-size:26px; color:#e63946; } /* FOOTER */ .footer{ background:#0e0e0e; color:#ccc; padding:70px 80px 30px; } .footer-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:40px; } .footer h4{ color:#fff; margin-bottom:15px; } .footer p{ font-size:14px; margin-bottom:8px; cursor:pointer; } .footer p.active{ color:#e63946; } .footer-logo{ font-size:20px; font-weight:bold; color:#fff; margin-bottom:10px; } .logo-icon{ color:#e63946; } .socials span{ margin-right:12px; font-size:18px; cursor:pointer; } /* BOTTOM */ .footer hr{ border:none; border-top:1px solid #333; margin:40px 0 20px; } .footer-bottom{ display:flex; justify-content:space-between; align-items:center; font-size:13px; } .payments span{ background:#222; padding:6px 10px; margin-left:8px; border-radius:4px; font-size:12px; } /* CART PAGE */ .cart-page { padding: 60px; background: #f5f5f5; min-height: 100vh; } .cart-page h1 { margin-bottom: 30px; } /* LAYOUT */ .cart-container { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; } /* ITEMS */ .cart-items { background: #fff; padding: 20px; border-radius: 10px; } .cart-item { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid #eee; } .cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; } .cart-item h4 { margin: 0 0 8px; } .cart-item .price { font-weight: bold; color: #e63946; } /* SUMMARY */ .cart-summary { background: #fff; padding: 25px; border-radius: 10px; height: fit-content; } .summary-row { display: flex; justify-content: space-between; margin: 15px 0; } .summary-row.total { font-size: 18px; font-weight: bold; } .checkout-btn { width: 100%; margin-top: 20px; padding: 14px; background: #e63946; color: #fff; border: none; border-radius: 30px; font-size: 16px; cursor: pointer; }
/* ================= CHAT WIDGET ================= */

.chat-wrapper {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

/* CHAT BUTTON */
.chat-button {
  width: 60px;
  height: 60px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37,99,235,0.45);
}

.chat-button img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

/* CHAT BOX */
.chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

/* HEADER */
.chat-header {
  background: #2563eb;
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* BODY */
.chat-body {
  padding: 15px;
  height: 260px;
  overflow-y: auto;
  background: #f8fafc;
}

/* MESSAGE */
.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.chat-msg.bot {
  background: #e5e7eb;
  align-self: flex-start;
}

.chat-msg.user {
  background: #2563eb;
  color: #fff;
  align-self: flex-end;
  margin-left: auto;
}

/* FOOTER */
.chat-footer {
  display: flex;
  border-top: 1px solid #eee;
}

.chat-footer input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 14px;
  outline: none;
}

.chat-footer button {
  background: #2563eb;
  border: none;
  color: #fff;
  padding: 0 18px;
  font-size: 18px;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 480px) {
  .chat-box {
    width: 92vw;
    right: -10px;
  }
}
