/* Base Styles with Google Fonts */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
body { background-color: #f8f9fa; color: #333; overflow-x: hidden; scroll-behavior: smooth; }

/* Keyframe Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes popIn { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Premium White Header */
header {
    background: #ffffff;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.header-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 800; letter-spacing: 2px; color: #800020; }

/* Navbar / Menus */
.navbar ul { list-style: none; display: flex; gap: 30px; }
.navbar a { text-decoration: none; color: #555; font-size: 15px; font-weight: 600; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px; }
.navbar a:hover, .navbar a.active { color: #800020; border-bottom: 2px solid #800020; padding-bottom: 4px; }
.contact-info { font-weight: 600; color: #333; background: #f1f1f1; padding: 8px 15px; border-radius: 20px; font-size: 14px; }

/* Rich Gradient Hero Banner */
.hero-section {
    background: linear-gradient(135deg, #2b000b 0%, #800020 100%);
    height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; box-shadow: inset 0 0 100px rgba(0,0,0,0.5);
}
.hero-content h2 { font-size: 3.5rem; margin-bottom: 15px; animation: fadeInUp 1s ease-out; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero-content p { font-size: 1.2rem; font-weight: 300; margin-bottom: 30px; animation: fadeInUp 1.2s ease-out; color: #ffd700; }
.shop-now-btn { display: inline-block; background: white; color: #800020; padding: 12px 30px; text-decoration: none; font-size: 1.1rem; font-weight: bold; border-radius: 30px; animation: fadeInUp 1.4s ease-out; transition: all 0.3s; }
.shop-now-btn:hover { background: #ffd700; color: #333; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* Category Title */
.category-title { text-align: center; padding: 60px 20px 30px; }
.category-title h2 { font-size: 2.2rem; color: #333; font-weight: 800; }
.underline { width: 80px; height: 4px; background: #800020; margin: 10px auto; border-radius: 2px; }

/* Full Screen Product Grid */
.product-grid { 
    max-width: 96%; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 40px; 
    padding: 20px 10px 80px; 
}

/* Product Card */
.product-card {
    background: white; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    opacity: 0; transform: translateY(50px);
}
.product-card.show { opacity: 1; transform: translateY(0); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(128, 0, 32, 0.15); }

/* Image & Badges */
.img-container { width: 100%; height: 400px; overflow: hidden; background: #f9f9f9; position: relative; }
.product-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover img { transform: scale(1.08); }

.trending-badge {
    position: absolute; top: 15px; left: 15px; background: #ff4757; color: white;
    padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: bold;
    z-index: 10; box-shadow: 0 4px 10px rgba(255, 71, 87, 0.4); letter-spacing: 1px; text-transform: uppercase;
}

/* Product Info */
.product-info { padding: 20px; text-align: center; }
.product-info h3 { font-size: 1.15rem; color: #1e272e; margin-bottom: 5px; font-weight: 700; }

.grab-now-text {
    color: #e1b12c; font-size: 13px; font-weight: 800; margin-bottom: 15px;
    animation: popIn 1s infinite alternate;
}

.buy-btn {
    background: #800020; color: white; border: none; padding: 12px 25px; border-radius: 8px;
    cursor: pointer; font-weight: bold; font-size: 1rem; width: 100%;
    transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 1px;
}
.buy-btn:hover { background: #5c0017; box-shadow: 0 5px 15px rgba(128, 0, 32, 0.3); }

/* Modal & Form */
.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.7); backdrop-filter: blur(5px); }
.modal-content {
    background: white; margin: 5% auto; padding: 40px; border-radius: 15px;
    width: 90%; max-width: 450px; position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 30px; cursor: pointer; color: #999; transition: color 0.3s; }
.close-btn:hover { color: #800020; }

.input-group { position: relative; margin-top: 25px; margin-bottom: 25px; }
.input-group input, .input-group textarea {
    width: 100%; padding: 12px 0; font-size: 16px; color: #333;
    border: none; border-bottom: 2px solid #ccc; outline: none; background: transparent; transition: border-color 0.3s;
}
.input-group label {
    position: absolute; top: 12px; left: 0; font-size: 16px; color: #999;
    pointer-events: none; transition: 0.3s ease all;
}
.input-group input:focus ~ label, .input-group input:valid ~ label,
.input-group textarea:focus ~ label, .input-group textarea:valid ~ label { top: -20px; font-size: 12px; color: #800020; font-weight: bold; }
.input-group input:focus, .input-group textarea:focus { border-bottom: 2px solid #800020; }
.submit-btn { width: 100%; background: #28a745; color: white; border: none; padding: 15px; border-radius: 8px; font-size: 18px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { background: #218838; transform: translateY(-2px); }

/* Success Box */
.hidden { display: none; }
.success-icon { font-size: 60px; animation: popIn 0.6s ease; margin-bottom: 15px; }
.gradient-text { color: #28a745; font-size: 26px; margin-bottom: 10px; font-weight: 800; }
.tracking-box { margin-top: 25px; padding: 20px; background: #f8f9fa; border-left: 5px solid #800020; border-radius: 8px; font-size: 18px; display: flex; flex-direction: column; }
.tracking-box strong { color: #800020; font-size: 24px; letter-spacing: 2px; margin-top: 5px; }

/* Footer */
footer { background: #1a1a1a; color: #fff; padding-top: 40px; }
.footer-content { max-width: 1200px; margin: 0 auto; text-align: center; padding: 0 20px 30px; }
.footer-content h3 { font-size: 24px; color: #800020; margin-bottom: 15px; letter-spacing: 2px; }
.footer-content p { color: #aaa; margin-bottom: 10px; }
.footer-bottom { background: #111; text-align: center; padding: 15px; font-size: 14px; color: #777; }