body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 80px 0 0 0;
    background: #2d5016;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#techhub {
    font-size: 60px;
    color: #a8e063;
    margin: 20px;
}

.description {
    color: #c8ff83;
    font-size: 18px;
    text-align: center;
    margin: 20px;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(45, 80, 22, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
    border-bottom: 2px solid #4a7c2c;
}

.nav-brand .brand-link {
    font-size: 28px;
    font-weight: bold;
    color: #a8e063;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-brand .brand-link:hover {
    color: #c8ff83;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    background: #4a7c2c;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background 0.3s;
}

.nav-link:hover {
    background: #5a9c3c;
}

.user-info {
    color: #c8ff83;
    font-size: 14px;
    padding: 8px 12px;
    background: rgba(74, 124, 44, 0.5);
    border-radius: 5px;
    border: 1px solid #4a7c2c;
}



.catalog-bg {
    background: #2d5016;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
}

.product-card {
    background: #3a6620;
    border-radius: 10px;
    padding: 15px;
    width: 220px;
    border: 2px solid #4a7c2c;
}

.product-card:hover {
    border-color: #a8e063;
}

.product-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
}

.product-info {
    margin-top: 10px;
    color: white;
}

.product-info .brand {
    font-weight: bold;
    font-size: 18px;
    color: #a8e063;
}

.product-info .model {
    font-size: 16px;
    margin: 5px 0;
}

.product-info .price {
    font-size: 20px;
    font-weight: bold;
    color: #c8ff83;
    margin-top: 10px;
}

.buy-btn {
    background: #a8e063;
    color: #2d5016;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    transition: background 0.3s;
}

.buy-btn:hover {
    background: #c8ff83;
}

.back-button-bottom {
    position: fixed;
    bottom: 20px;
    background: #4a7c2c;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
}

.back-button-bottom:hover {
    background: #5a9c3c;
}

.gallery-header {
    text-align: center;
    margin: 50px 20px 30px 20px;
    color: #a8e063;
}

.gallery-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.gallery-header p {
    font-size: 18px;
    line-height: 1.6;
    color: #c8ff83;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background: #3a6620;
    border-radius: 10px;
    padding: 10px;
    border: 2px solid #4a7c2c;
    transition: border-color 0.3s;
}

.gallery-item:hover {
    border-color: #a8e063;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

/* Login page styles */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 40px;
    background: rgba(58, 102, 32, 0.9);
    border-radius: 10px;
    border: 2px solid #4a7c2c;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.login-container h1 {
    color: #a8e063;
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #c8ff83;
    font-weight: bold;
    font-size: 16px;
}

.login-form .form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #4a7c2c;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    box-sizing: border-box;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #a8e063;
    background: white;
}

.btn-login {
    width: 100%;
    background: #a8e063;
    color: #2d5016;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-login:hover {
    background: #c8ff83;
}

.error {
    background: rgba(198, 40, 40, 0.9);
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #c62828;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #c8ff83;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-link a:hover {
    color: #a8e063;
}
