:root {
    --primary: #8B4513;
    --secondary: #D2691E;
    --accent: #CD7F32;
    --light: #F5F5DC;
    --dark: #5D4037;
    --text: #333333;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text);
    background-color: #fefefe;
    padding-top: 76px;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.8rem;
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary) !important;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1590666250246-c2f62e2cb0b0?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.section-title {
    color: var(--primary);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.product-card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-price {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.category-filter {
    margin-bottom: 40px;
}

.category-btn {
    background: none;
    border: 2px solid var(--light);
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    transition: all 0.3s;
    color: var(--dark);
}

.category-btn.active, .category-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.about-section {
    background-color: var(--light);
    padding: 80px 0;
}

.profile-img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 100%;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.testimonial-card {
    border-left: 4px solid var(--accent);
    padding: 20px;
    background-color: white;
    margin-bottom: 30px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--dark);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-heading {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
    color: white;
}

.social-icons a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.cart-badge {
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.7rem;
    position: absolute;
    top: -5px;
    right: -5px;
}

.cart-icon {
    position: relative;
}

.badge-custom {
    background-color: var(--accent);
    color: white;
}

.category-banner {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.8)), url('https://images.unsplash.com/photo-1602173574767-37ac01994b2a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 100px 0 60px;
    }
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Auth forms */
.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
}

.auth-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 500px;
    width: 100%;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

/* Cart and checkout */
.cart-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.quantity-input {
    width: 80px;
    text-align: center;
}

.order-summary {
    background-color: var(--light);
    border-radius: 10px;
    padding: 20px;
}

.alert-custom {
    border-radius: 10px;
}
