/* Variables & Reset */
:root {
    --primary: #0066FF;
    --dark: #0A0F1C;
    --bg: #F8FAFC;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--dark); line-height: 1.6; background: var(--bg); overflow-x: hidden; }

/* Navbar Responsiveness */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 8%; position: fixed; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.logo { font-size: 1.8rem; font-weight: 800; }
.logo span { color: var(--primary); }

.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }

.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.cart-icon { position: relative; cursor: pointer; font-size: 1.2rem; }
#cart-count {
    position: absolute; top: -8px; right: -8px;
    background: red; color: white; font-size: 0.7rem;
    padding: 2px 6px; border-radius: 50%; font-weight: bold;
}

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; }

/* Hero Section Responsiveness */
.hero {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    padding: 10rem 8% 5rem; gap: 40px; min-height: 100vh;
}
.hero-content { flex: 1; min-width: 300px; }
.hero-visual { flex: 1; min-width: 300px; text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(90deg, #0066FF, #00D1FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.badge { background: #eef2ff; color: var(--primary); padding: 5px 15px; border-radius: 50px; font-weight: 800; font-size: 0.8rem; margin-bottom: 15px; display: inline-block; }
.hero-btns { display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap; }
.btn-dark { background: var(--dark); color: white; padding: 1rem 2rem; border-radius: 12px; text-decoration: none; font-weight: 700; }
.btn-whatsapp { background: #25D366; color: white; padding: 1rem 2rem; border-radius: 12px; text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.floating-img { width: 100%; max-width: 500px; border-radius: 30px; animation: float 6s infinite ease-in-out; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* About Section */
.about { padding: 80px 8%; background: var(--white); }
.about-container { display: flex; flex-wrap: wrap; gap: 50px; align-items: center; }
.about-img, .about-text { flex: 1; min-width: 300px; }
.about-img img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.tag { color: var(--primary); font-weight: 800; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 10px; }
.about-stats { display: flex; gap: 30px; margin-top: 30px; }
.stat-box { background: var(--bg); padding: 20px; border-radius: 15px; flex: 1; text-align: center; }
.stat-box strong { font-size: 1.5rem; color: var(--primary); display: block; }

/* Grid Sections (Services & Gallery) */
.services, .gallery, .testimonials { padding: 80px 8%; text-align: center; }
.section-title { margin-bottom: 50px; }
.services-grid, .gallery-grid, .t-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
}

.card { background: var(--white); padding: 40px; border-radius: 25px; border: 1px solid #eee; transition: 0.3s; position: relative; }
.card.featured { border: 2px solid var(--primary); transform: scale(1.03); }
.popular { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 5px 20px; border-radius: 50px; font-weight: 800; font-size: 0.7rem; }
.price { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 20px 0; }
.btn-add { background: var(--primary); color: white; border: none; padding: 12px 25px; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-add:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2); }

/* Gallery Items */
.gallery-item { height: 280px; border-radius: 20px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }

/* Testimonials */
.t-card { background: var(--white); padding: 30px; border-radius: 20px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.t-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.stars { color: #facc15; margin-top: 10px; }

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed; top: 0; right: -400px; width: 350px; height: 100%;
    background: var(--white); z-index: 2000; transition: 0.4s;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1); padding: 25px;
    display: flex; flex-direction: column;
}
.cart-sidebar.active { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.close-btn { background: none; border: none; cursor: pointer; }
.cart-items-list { flex: 1; overflow-y: auto; }
.cart-item { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #eee; }
.btn-checkout { background: var(--primary); color: white; border: none; padding: 15px; width: 100%; border-radius: 12px; font-weight: 700; cursor: pointer; margin-top: 20px; }

/* Floating WhatsApp */
.wa-float {
    position: fixed; bottom: 30px; right: 30px; background: #25D366;
    color: white; padding: 12px 25px; border-radius: 50px;
    display: flex; align-items: center; gap: 10px; text-decoration: none;
    font-weight: 700; z-index: 1000; box-shadow: 0 15px 30px rgba(37,211,102,0.3);
}

/* Footer */
footer { background: var(--dark); color: white; padding: 80px 8% 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.social-icons { display: flex; gap: 15px; margin-top: 20px; }
.social-icons a { color: white; background: rgba(255,255,255,0.1); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 12px; transition: 0.3s; }
.social-icons a:hover { background: var(--primary); transform: translateY(-5px); }
.f-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; opacity: 0.5; font-size: 0.9rem; }

/* Mobile Menu Logic */
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; width: 100%;
        background: white; flex-direction: column; padding: 20px; text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-links.show { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero { padding-top: 8rem; }
    .cart-sidebar { width: 100%; right: -100%; }
}