/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9fafc;
    overflow-x: hidden; 
}

/* ================= HEADER ================= */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    background: linear-gradient(90deg, #0b3c5d, #1d6fa5);
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}

.logo_size {
    width: 180px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f4a261;
}

/* ================= HERO SECTION ================= */
.hero-section {
    min-height: 85vh;
    padding: 40px 20px;
    background: linear-gradient(rgba(11, 60, 93, 0.85), rgba(24, 31, 36, 0.85)),
                url("./images/hero-bg.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero-section p {
    max-width: 900px;
    font-size: 1.1rem;
    margin-top: 15px;
    color: #f1f1f1;
}

/* ================= PRODUCTS ================= */
.products {
    padding: 60px 50px;
    background-color: #ffffff;
}

.products article {
    margin-bottom: 70px;
}

.products h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0b3c5d;
    border-left: 6px solid #f4a261;
    padding-left: 12px;
}

.products p {
    margin: 20px auto 0;
    max-width: 900px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    font-weight: 500;
}

/* ================= PRODUCT IMAGES GRID ================= */
.product-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.product-images img {
    width: 100%;
    height: 300px;
    object-fit: contain;   
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.product-images img:hover {
    transform: scale(1.03);
}

/* ================= FOOTER ================= */
footer {
    background-color: #0b3c5d;
    color: #ffffff;
    padding: 25px 40px 10px;
}

.container {
    display: flex;
    align-items: flex-start;
    justify-content: space-around;
    gap: 40px;
    flex-wrap: wrap;
}

footer img {
    width: 120px;
    margin-bottom: 10px;
}

footer section {
    margin-bottom: 10px;
}

footer h3 {
    color: #f4a261;
    margin-bottom: 5px;
    font-size: 1rem;
}

footer ul {
    list-style: none;
}

footer ul li a,
footer p a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

footer ul li a:hover,
footer p a:hover {
    text-decoration: underline;
}

footer hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 15px 0 5px;
}

footer > p {
    text-align: center;
    font-size: 0.85rem;
    font-weight: bolder;
    color: rgb(233, 195, 124);
    text-decoration: underline;
    margin-top: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .product-images {
        grid-template-columns: repeat(2, 1fr);
    }

    header {
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
        align-items: center;
    }

    nav ul {
        justify-content: center;
        gap: 20px;
    }

    .logo_size {
        width: 150px;
    }

    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    nav ul {
        gap: 15px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .products {
        padding: 30px 15px;
    }

    .product-images {
        grid-template-columns: 1fr;
    }

    .product-images img {
        height: 220px;
    }
}
