/* Simple, Clean Style for All Pages */
html, body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa; /* Light gray background */
    color: #333; /* Dark text for readability */
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1; /* this makes content take up available space */
}

.logo {
    height: 200px;  /* controls vertical size */
    width: auto;   /* keeps the aspect ratio */
}

/* Navbar */
nav {
    text-align: center;

}


nav ul {
    list-style: none;
    background-color: #02244b; /* Soft blue for the navbar */
    padding: 10px;
    margin: 0;
    text-align: center;
    border-bottom: 2px solid #E0E0E0; /* Light border */
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff6f61; /* Soft coral on hover */
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    font-size: 14px;
}

/* Hero Section */
.hero {
    font-size: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 4px solid #02244b ; /* Add a border to separate hero from the rest */
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.25rem;
    margin-top: 10px;
}

/* Products Section */
.products {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
}

.product-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px; /* Rounded corners for cards */
    padding: 15px;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 4px; /* Rounded corners for images */
}

.product-card h3 {
    color: #4A90E2; /* Blue color for product titles */
    font-size: 1.2rem;
    margin: 10px 0;
}

.product-card p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 10px;
}

.product-card button {
    background-color: #ff6f61; /* Soft coral button */
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.product-card button:hover {
    background-color: #f08c6e; /* Darker coral on hover */
}

.product-card:hover {
    transform: scale(1.05); /* Subtle zoom effect on hover */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Product Detail */
.product-detail {
    text-align: center;
    padding: 50px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-detail img {
    width: 60%;
    border-radius: 8px;
    margin-bottom: 30px;
}

.product-detail h2 {
    color: #4A90E2;
    font-size: 2rem;
}

.product-detail p {
    color: #777;
    font-size: 1.25rem;
    margin: 15px 0;
}

/* Cart Section */
.cart {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
}

.cart-item img {
    width: 80px;
    height: auto;
    margin-right: 20px;
}

.cart-item p {
    font-size: 1rem;
    color: #333;
}

input[type="number"] {
    width: 60px;
    padding: 5px;
    font-size: 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

input[type="number"]:focus {
    border-color: #4A90E2; /* Blue border on focus */
}

/* Button Styles */
button {
    background-color: #4A90E2; /* Blue */
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #357ABD; /* Darker blue on hover */
}
