:root {
    --primary-brown: #8B4513;
    --secondary-gold: #D4AF37;
    --accent-tan: #F5E6D3;
    --dark-charcoal: #2C2C2C;
    --light-cream: #FAF7F2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-charcoal);
    background-color: var(--light-cream);
    padding-top: 76px; /* Account for fixed navbar */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--dark-charcoal);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary-brown);
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-charcoal) !important;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-brown) 0%, #6B3E0F 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-pattern.png') center/cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-hero {
    background: var(--secondary-gold);
    border: none;
    color: var(--dark-charcoal);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background: #C19B2A;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-gold);
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: none;
}

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

.product-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-charcoal);
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.btn-product {
    background: var(--primary-brown);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-product:hover {
    background: #6B3E0F;
    color: white;
}

/* Feature Sections */
.feature-box {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(rgba(139, 69, 19, 0.8), rgba(139, 69, 19, 0.8)), url('../images/about-hero.jpg') center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.mission-vision {
    background: var(--accent-tan);
    border-radius: 10px;
    padding: 3rem;
    margin: 2rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    font-size: 2.5rem;
    color: var(--secondary-gold);
    margin-bottom: 1rem;
}

/* Contact Page Styles */
.contact-info {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    height: 100%;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Shop Page Styles */
.filter-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.filter-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-brown);
}

.price-filter {
    margin: 1rem 0;
}

/* Product Detail Page */
.product-gallery {
    margin-bottom: 2rem;
}

.main-image {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.thumbnail {
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.product-detail-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.price-large {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-brown);
}

.stock-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.stock-in {
    background: #d4edda;
    color: #155724;
}

.stock-low {
    background: #fff3cd;
    color: #856404;
}

.stock-out {
    background: #f8d7da;
    color: #721c24;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.quantity-btn {
    background: var(--accent-tan);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.quantity-input {
    width: 60px;
    text-align: center;
    margin: 0 10px;
    border: 2px solid var(--accent-tan);
    border-radius: 5px;
    padding: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

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

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Badges */
.badge-artisan {
    background: var(--secondary-gold);
    color: var(--dark-charcoal);
}

.badge-kenya {
    background: var(--primary-brown);
    color: white;
}