/* Reset margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure the entire page takes up at least the full height of the viewport */
html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* Flexbox structure */
body {
    display: flex;
    flex-direction: column;
}

/* Main content area will grow to fill the available space */
main {
    flex-grow: 1;
    padding: 20px;
}

/* Header styling */
header {
    background-color: #b30000;
    color: white;
    padding: 20px;
    text-align: center;
}
header img {
    max-height: 80px;
    margin-bottom: 10px;
}
header h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-top: 10px;
}

/* Navigation styling */
nav {
    background-color: #333;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}
nav a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
nav a:hover {
    background-color: #b30000;
}

/* Banner section styling */
.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eaeaea;
    padding: 60px 20px;
    margin: 20px 0;
    border-radius: 5px;
}
.banner h1 {
    font-size: 2.5em;
    text-align: center;
    color: #b30000;
}

/* Products section */
.products-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    text-align: center;
}
.category {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 30%;
    max-width: 300px;
    padding: 20px;
    transition: transform 0.3s ease;
}
.category:hover {
    transform: scale(1.05);
}
.category img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}
.category h2 {
    font-size: 1.8em;
    color: #b30000;
}

/* Text content section */
section {
    margin-bottom: 40px;
    line-height: 1.8;
    color: #444;
}
h2 {
    font-size: 2em;
    color: #b30000;
    margin-bottom: 20px;
}
p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555;
}

/* Footer styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    position: relative;
    bottom: 0;
    margin-top: auto;
}
footer p {
    font-size: 1em;
}
