/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.top-header {
    background-color: #2e7d32;
    color: white;
    padding: 5px 0;
    font-size: 13px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
}

.top-header a {
    color: white;
    text-decoration: none;
}

.main-header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #2e7d32;
    margin-bottom: 0;
}

.logo h1 span {
    color: #ffa000;
}

.header-services {
    display: flex;
    gap: 20px;
}

.service-item {
    font-size: 12px;
}

.service-item strong {
    display: block;
    color: #2e7d32;
}

/* Navbar */
.navbar {
    background-color: #388e3c;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar ul li a:hover {
    background-color: #2e7d32;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    margin-top: 20px;
}

.sidebar {
    background: white;
    padding: 15px;
    border: 1px solid #ddd;
}

.sidebar h3 {
    background: #2e7d32;
    color: white;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 16px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    border-bottom: 1px dashed #eee;
}

/* Products */
.banner img {
    width: 100%;
    border-radius: 5px;
}

.section-title {
    margin: 20px 0;
    color: #2e7d32;
    border-bottom: 2px solid #2e7d32;
    display: inline-block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-item {
    background: white;
    padding: 15px;
    text-align: center;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-item img {
    max-width: 100%;
}

.product-item h4 {
    margin: 10px 0;
}

.price {
    color: #d32f2f;
    font-weight: bold;
}

.product-item button {
    background: #388e3c;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    margin-top: 10px;
}

/* Footer */
footer {
    background: #333;
    color: #ccc;
    padding: 40px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 12px;
}
/* Auth Pages Styles (Login & Register) */
.auth-container {
    background-color: #f4f4f4;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.auth-box {
    background: white;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.auth-logo {
    margin-bottom: 20px;
}

.auth-logo a {
    text-decoration: none;
}

.auth-box h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 22px;
    text-transform: uppercase;
    border-bottom: 2px solid #2e7d32;
    display: inline-block;
    padding-bottom: 5px;
}

.input-group {
    text-align: left;
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 5px rgba(46, 125, 50, 0.2);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.forgot-pass {
    color: #d32f2f;
    text-decoration: none;
}

.btn-auth {
    width: 100%;
    padding: 12px;
    background-color: #2e7d32;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-auth:hover {
    background-color: #1b5e20;
}

.auth-redirect {
    margin-top: 20px;
    font-size: 14px;
}

.auth-redirect a {
    color: #ffa000;
    text-decoration: none;
    font-weight: bold;
}

.auth-redirect a:hover {
    text-decoration: underline;
}