/* --- Global Styles --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

h1, h2, h3 {
    color: #003366; /* Dark Blue */
}

a {
    text-decoration: none;
    color: #0056b3;
}

/* --- Header & Navigation --- */
header {
    background: #fff;
    color: #333;
    padding: 1rem 0;
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #003366;
    z-index: 1002; /* Ensure logo stays on top */
}

/* Desktop Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #d9534f;
}

/* --- Hamburger Menu Icon --- */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-menu .bar {
    display: block;
    width: 30px;
    height: 3px;
    background: #003366;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}


/* --- Mobile View Styles --- */
@media (max-width: 768px) {
    /* Hide desktop nav and show hamburger */
    nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
    
    /* Styles for the navigation when it is OPEN */
    body.nav-open nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: #003366;
        padding-top: 80px;
        z-index: 1001;
    }
    
    body.nav-open nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    body.nav-open nav ul li {
        margin: 15px 30px;
    }

    body.nav-open nav ul li a {
        color: #fff;
        font-size: 1.2rem;
    }
    
    /* Animate hamburger icon to an 'X' */
    body.nav-open .hamburger-menu .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    body.nav-open .hamburger-menu .bar:nth-child(2) {
        opacity: 0;
    }
    body.nav-open .hamburger-menu .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}


/* --- Offer Banner & Other styles remain the same --- */
.offer-banner {
    background: #003366 url('img/33.jpg') no-repeat center center/cover;
    color: #fff; text-align: center; padding: 60px 20px; font-size: 1.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.offer-banner h2 { color: #fff; margin: 0; font-size: 2.5rem; }
.offer-banner p { margin: 10px 0 0; }
.section-title { text-align: center; margin: 40px 0 20px 0; font-size: 2rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; padding: 20px 0; }
.product-card { background: #fff; border: 1px solid #ddd; border-radius: 8px; overflow: hidden; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.product-card img { max-width: 100%; height: 250px; object-fit: contain; padding: 10px; }
.product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.product-info h3 { font-size: 1.2rem; margin: 10px 0; }
.product-price { font-size: 1.5rem; font-weight: bold; color: #d9534f; margin-bottom: 10px; }
.product-price span { font-size: 1rem; color: #777; text-decoration: line-through; margin-left: 10px; }
.btn { display: inline-block; background: #0056b3; color: #fff; padding: 12px 25px; border: none; border-radius: 5px; cursor: pointer; font-size: 1rem; transition: background 0.3s ease; margin-top: 10px; }
.btn:hover { background: #003366; }
footer { background: #333; color: #fff; padding: 40px 0; margin-top: 40px; }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; }
.footer-col { flex: 1; min-width: 220px; margin: 20px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; border-bottom: 1px solid #555; padding-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #ccc; transition: color 0.3s ease; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { text-align: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid #555; font-size: 0.9rem; }