/* General page styling */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

main {
    padding: 20px;
    min-height: 80vh;
}

/* Navbar (from W3Schools style but customized) */
.topnav {
    overflow: hidden;
    background-color: #2c3e50;
}

.topnav a {
    float: left;
    display: block;
    color: #ecf0f1;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a.logo {
    font-weight: bold;
    font-size: 20px;
    background-color: #27ae60;
}

.topnav a:hover {
    background-color: #ddd;
    color: black;
}

.topnav a.active {
    background-color: #27ae60;
    color: white;
}

.topnav .icon {
    display: none;
}

/* Responsive navbar */
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child) {
        display: none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {
        position: relative;
    }
    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/* Sections / cards */
.section {
    background-color: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
}

.section h2 {
    margin-top: 0;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
    padding: 15px;
}
/* Product table styling */
table {
    width: 100%;
    border-collapse: collapse;
    font-weight: bold; /* Make text bold */
    background-color: pink; /* Deep black background */
    color: black; /* White text for contrast */
}
table th, table td {
    border: 1px solid black; /* White borders for visibility */
    padding: 10px;
    text-align: center;
}

table th {
    background-color: slateblue; /* Slightly lighter black for header */
}
.section h1 {
    text-align: center;
    font-weight: bold;
    font-size: 2em; /* optional: make it bigger */
    margin-bottom: 10px;
}

.section p {
    text-align: center;
    font-size: 1.1em;
    color: #555; /* optional: subtle gray for description */
}

.login-aspect{
    flex: 1;
    background:#fff;
    color: #000;
    padding: 40px;
    border-radius: 10px;
}
.login-aspect p{
    text-align: center;
}

.login-aspect h1{
    margin-bottom: 5px;
    text-align: center;
    color: #0f3d99;
}
.subtitle{
    margin-bottom: 20px;
    color: #081229;
}
form{
    display: flex;
    flex-direction: column;
}

form input{
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
form button{
    padding: 12px;
    background: #0f3d99;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}
form button:hover{
    background: #0a2e73;
}
/* Make gallery responsive */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}
