:root {
    --primary-color: #D4A574;
    --secondary-color: #C9974A;
    --beige-light: #F5F5DC;
    --beige-medium: #E8DCC4;
    --beige-dark: #D4A574;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
}

/* Banner Section */
.banner-section {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.banner-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navbar Styling */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(212, 165, 116, 0.2);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: #6b5d4f !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Auth Buttons */
.btn-primary {
    background-color: var(--beige-dark);
    border-color: var(--beige-dark);
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--beige-dark);
    color: var(--beige-dark);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--beige-dark);
    border-color: var(--beige-dark);
    color: white;
    transform: translateY(-2px);
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background-color: var(--beige-light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #5a4a3a;
    font-weight: 700;
    font-size: 2.5rem;
}

/* Category Cards */
.category-card {
    position: relative;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    text-decoration: none;
    color: inherit;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 20px;
}

/* Footer */
.footer {
    background-color: var(--beige-medium);
    color: #6b5d4f;
    padding: 40px 0 20px;
}

.footer h5 {
    color: #5a4a3a;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #6b5d4f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--beige-dark);
}

.footer-bottom {
    border-top: 1px solid var(--beige-dark);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

.social-icons a {
    color: #6b5d4f;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--beige-dark);
}

/* Authentication Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--beige-medium) 100%);
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
}

.auth-header {
    background: var(--beige-dark);
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-header h2 {
    margin: 0;
    font-weight: 700;
    font-size: 2rem;
}

.auth-header p {
    margin: 10px 0 0 0;
    opacity: 0.9;
}

.auth-body {
    padding: 40px;
}

.form-label {
    color: #5a4a3a;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control {
    border: 2px solid var(--beige-medium);
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--beige-dark);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.btn-login,
.btn-register {
    background: var(--beige-dark);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-login:hover,
.btn-register:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: #6b5d4f;
}

.auth-footer a {
    color: var(--beige-dark);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-home {
    position: absolute;
    top: 20px;
    left: 20px;
}

.back-home a {
    color: #6b5d4f;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-home a:hover {
    color: var(--beige-dark);
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--beige-medium);
}

.divider span {
    background: white;
    padding: 0 15px;
    position: relative;
    color: #6b5d4f;
}

.password-strength {
    height: 4px;
    margin-top: 5px;
    border-radius: 2px;
    background: #e0e0e0;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

.password-strength-bar.weak {
    width: 33%;
    background: #ff4444;
}

.password-strength-bar.medium {
    width: 66%;
    background: #ffaa00;
}

.password-strength-bar.strong {
    width: 100%;
    background: #00C851;
}

.form-text {
    color: #6b5d4f;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .banner-section {
        height: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    .category-card {
        height: 250px;
    }

    .category-title {
        font-size: 1.5rem;
    }
}

