/* public/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

:root { 
    --primary: #000000; 
    --bg: #ffffff; 
    --text: #1a1a1a; 
    --gray: #f5f5f5;
    --border: #e0e0e0;
    --accent: #d32f2f;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Jost', sans-serif; 
}

body { 
    background: var(--bg); 
    color: var(--text); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased;
}

/* Premium Header */
header { 
    background: var(--primary); 
    color: #fff; 
    padding: 20px 0; 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo { 
    color: #fff; 
    text-decoration: none; 
    font-size: 26px; 
    font-weight: 700; 
    letter-spacing: 2px; 
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 0.7;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.cart-count {
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: bold;
}

/* Elegant Hero Section */
.hero { 
    text-align: center; 
    padding: 100px 20px; 
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1542482329-87a2ab828cd7?w=1600&q=80') center/cover no-repeat;
    color: #fff;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 { 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero p { 
    font-size: 1.2rem; 
    max-width: 700px; 
    margin: 0 auto 30px; 
    font-weight: 300;
    line-height: 1.8;
}

.hero-btn {
    background: #fff;
    color: var(--primary);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.4s;
    border-radius: 2px;
}

.hero-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Main Content Container */
.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 80px 40px; 
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 20px auto 0;
}

/* Product Grid */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 40px; 
}

/* Sleek Product Card */
.product-card { 
    background: #fff; 
    text-align: center; 
    transition: all 0.4s ease; 
    display: block; 
    text-decoration: none; 
    color: inherit;
    position: relative;
    padding-bottom: 20px;
}

.product-card:hover { 
    transform: translateY(-8px); 
}

.product-img-wrapper {
    width: 100%; 
    height: 320px; 
    background: var(--gray); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #999; 
    margin-bottom: 25px; 
    font-weight: bold;
    font-size: 1.5rem;
    transition: 0.4s;
    overflow: hidden;
}

.product-card:hover .product-img-wrapper {
    background: #eaeaea;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title { 
    font-size: 1.1rem; 
    margin: 0 0 10px; 
    color: var(--primary); 
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price { 
    font-size: 1.3rem; 
    font-weight: 600; 
    color: var(--primary); 
}

.old-price { 
    text-decoration: line-through; 
    color: #999; 
    font-size: 1rem; 
    margin-right: 15px; 
    font-weight: 400;
}

/* Buttons */
.btn { 
    display: inline-block; 
    background: transparent; 
    color: var(--primary); 
    text-decoration: none; 
    padding: 12px 30px; 
    margin-top: 20px; 
    font-weight: 600; 
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--primary);
    transition: 0.4s; 
    cursor: pointer; 
    text-align: center;
}

.btn:hover { 
    background: var(--primary); 
    color: #fff;
}

.btn-black {
    background: var(--primary);
    color: #fff;
    border: none;
}
.btn-black:hover {
    background: #333;
}

/* Footer */
footer { 
    background: var(--primary);
    padding: 60px 40px; 
    text-align: center; 
    color: #999; 
    font-size: 0.9rem; 
}

.footer-nav {
    margin-bottom: 30px;
}
.footer-nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.loader { 
    border: 3px solid rgba(0,0,0,0.1); 
    border-top: 3px solid var(--primary); 
    border-radius: 50%; 
    width: 40px; 
    height: 40px; 
    animation: spin 1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite; 
    margin: 40px auto; 
    display: none;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Floating WhatsApp */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}
.wa-float:hover { background-color: #20b858; transform: scale(1.05); }

/* Responsive */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; padding: 20px; }
    .hero h1 { font-size: 2.2rem; }
    .container { padding: 50px 20px; }
}
