/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #f7931e; /* Melo.pk jaisa Orange color */
    --secondary: #2c3e50;
    --bg-color: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: var(--bg-color); color: var(--text-color); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* Navbar Settings */
.top-bar { font-size: 14px; letter-spacing: 1px; font-weight: 500; }
.main-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.navbar a { margin: 0 15px; font-weight: 500; transition: 0.3s; }
.navbar a:hover { color: var(--primary); }

/* Hero Slider */
.hero-slider .swiper-slide img { width: 100%; height: 60vh; object-fit: cover; }
.hero-slider .slider-content { position: absolute; top: 50%; left: 10%; transform: translateY(-50%); background: rgba(255,255,255,0.8); padding: 30px; border-radius: 10px; animation: fadeIn 1s ease-in-out; }
.hero-slider .slider-content h1 { font-size: 40px; color: var(--secondary); margin-bottom: 10px; }
.btn-shop-now { display: inline-block; background: var(--primary); color: var(--white); padding: 10px 25px; margin-top: 15px; border-radius: 5px; font-weight: bold; transition: 0.3s transform; }
.btn-shop-now:hover { transform: scale(1.05); background: #e07b0e; }

/* Collections Slider (Circles) */
.collections-section { padding: 50px 5%; text-align: center; background: var(--white); }
.collections-section h2 { margin-bottom: 30px; font-size: 28px; }
.category-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: 0.3s; }
.category-img-box { width: 120px; height: 120px; border-radius: 50%; border: 3px solid transparent; overflow: hidden; margin-bottom: 10px; transition: 0.4s all; padding: 5px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.category-img-box img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.category-item:hover .category-img-box { border-color: var(--primary); transform: translateY(-5px); }
.category-item p { font-weight: 600; font-size: 15px; }

/* Best Selling Products */
.best-selling { padding: 50px 5%; text-align: center; }
.best-selling h2 { margin-bottom: 40px; font-size: 28px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.product-card { background: var(--white); padding: 15px; border-radius: 10px; position: relative; transition: 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.06); text-align: left; }
.product-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.12); transform: translateY(-5px); }
.product-card img { width: 100%; height: 250px; object-fit: contain; margin-bottom: 15px; transition: 0.5s; }
.product-card:hover img { transform: scale(1.05); }
.discount-badge { position: absolute; top: 15px; left: 15px; background: #ff4757; color: white; padding: 5px 10px; border-radius: 5px; font-size: 12px; font-weight: bold; z-index: 2; }
.product-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 8px; height: 45px; overflow: hidden; }
.price-box { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.new-price { font-size: 18px; font-weight: bold; color: var(--primary); }
.old-price { font-size: 14px; text-decoration: line-through; color: #999; }
.btn-add-cart { width: 100%; background: var(--secondary); color: white; border: none; padding: 12px; border-radius: 5px; cursor: pointer; font-weight: 600; transition: 0.3s; font-size: 15px; }
.btn-add-cart:hover { background: var(--primary); }

/* Floating WhatsApp */
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; background: #25d366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 1000; animation: bounce 2s infinite; }

@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(-5px); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(-50%); } }