/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
}

/* --- Sale Banner --- */
.sale-banner {
    background: #c0392b;
    color: white;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* --- Header & Nav --- */
header {
    background: #fff;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.logo span {
    color: #c0392b;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #c0392b;
}

/* --- Hero Section (With Opacity Image) --- */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-color: #333; /* Background color fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    padding: 20px;
}

/* Background image layer */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Yahan apni image ka sahi naam likhein */
    background-image: url('hero-bg.jpg'); 
    background-size: cover;
    background-position: center;
    opacity: 0.35; /* 35% Opacity */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 { 
    font-size: 3rem; 
    margin-bottom: 10px; 
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #c0392b;
    color: white;
    text-decoration: none;
    margin-top: 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #a93226;
    transform: scale(1.05);
}

/* --- Products Section --- */
.products {
    padding: 50px 5%;
    text-align: center;
}

.product-grid {
    display: grid;
    /* Desktop par 3-4 columns, mobile par adjust hoga */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(192, 57, 43, 0.15);
    border-color: #c0392b;
}

.img-container img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.5s ease;
}

.price {
    font-size: 1.2rem;
    color: #c0392b;
    font-weight: bold;
    margin: 10px 0;
}

.order-btn {
    display: block;
    background: #25d366;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.order-btn:hover {
    background: #128c7e;
}

/* --- Footer --- */
footer {
    background: #222;
    color: white;
    padding: 40px 5% 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 { margin-bottom: 15px; color: #f1c40f; }

.socials a {
    color: white;
    font-size: 24px;
    margin-right: 15px;
    transition: 0.3s;
}

.socials a:hover { color: #c0392b; }

.map-link {
    color: #3498db;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bottom-text {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
    opacity: 0.8;
}

/* --- Mobile Responsive (Media Queries) --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Mobile menu hiding */
    
    .hero { height: 50vh; }
    .hero h1 { font-size: 1.8rem; }
    
    /* Mobile par 2 products ek line mein dikhane ke liye */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card {
        padding: 10px;
    }

    .product-card h3 {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Bohat choti screen par text size mazeed kam */
    .hero h1 { font-size: 1.5rem; }
}