/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

a {
    color: #00509e;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    /* Remove extra padding so header items can align properly */
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #003366;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    /* Force header container into a single row */
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    header .logo img {
        height: 50px;
    }

/* Navigation */
nav {
    display: flex;
}

    nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        margin: 0;
        padding: 0;
    }

        nav ul li a {
            color: #fff;
            text-decoration: none;
            padding: 8px 12px;
        }

            nav ul li a.active,
            nav ul li a:hover {
                background-color: #00509e;
                border-radius: 5px;
            }

/* Menu Toggle Button (for Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
}

    .menu-toggle .bar {
        height: 4px;
        width: 100%;
        background-color: #fff;
        border-radius: 5px;
    }

/* Hero Section */
.hero {
    background: url('../assets/img/hero.jpg') no-repeat center/cover;
    padding: 150px 20px;
    text-align: center;
    color: white;
    margin-top: 80px; /* Extra top margin to account for fixed header */
}

    .hero h1 {
        font-size: 3em;
        margin-bottom: 20px;
    }

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00509e;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease-in-out;
}

    .btn:hover {
        background-color: #003f73;
    }

/* Main Content Sections */
.content {
    padding: 20px;
    background-color: #fff;
    margin: 20px auto;
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .content img {
        width: 100%;
        max-width: 800px;
        border-radius: 8px;
        margin-top: 10px;
    }
/* Body */
/* Content */
/* Product Detail */
.product-detail {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 100px auto; /* Adjusts for fixed header spacing */
    max-width: 1000px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .product-detail .product-image,
    .product-detail .product-description {
        flex: 1 1 50%;
        padding: 20px;
    }

        .product-detail .product-image img {
            max-width: 100%;
            border-radius: 8px;
        }

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background-color: #003366;
    color: #fff;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        display: none;
        width: 100%;
        background-color: #003366;
        position: absolute;
        top: 70px;
        left: 0;
        z-index: 1000;
        flex-direction: column;
    }

        nav.active {
            display: flex;
        }

        nav ul {
            flex-direction: column;
            text-align: center;
        }

            nav ul li {
                padding: 15px;
            }

    .menu-toggle {
        display: flex;
    }

    .product-detail {
        flex-direction: column;
    }

        .product-detail .product-image,
        .product-detail .product-description {
            flex: 1 1 100%;
        }
}
