/* Base Styles */
:root {
    --primary: #5d4037;
    --primary-dark: #4b332c;
    --primary-light: #8b6b61;
    --secondary: #388e3c;
    --secondary-dark: #2e7d32;
    --accent: #ff8a65;
    --light: #f8f9fa;
    --dark: #343a40;
    --muted: #6c757d;
    --white: #ffffff;
    --black: #000000;
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    padding: 0.5rem 1.5rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
}

.navbar-brand h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

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

/* Hero Section */
.hero {
    background-color: var(--light);
    padding: 5rem 0;
}

.hero h2 {
    color: var(--primary);
}

.hero-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.hero-image-container img {
    transition: var(--transition);
}

.hero-image-container:hover img {
    transform: scale(1.02);
}

/* Product Cards */
.product-card {
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-img-container {
    position: relative;
    padding-top: 125%; /* 4:5 aspect ratio */
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    height: 2.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.discount-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.original-price {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 0.875rem;
}

.discounted-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.product-meta {
    font-size: 0.75rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.whatsapp-btn {
    width: 2rem;
    height: 2rem;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    color: var(--white);
}

/* Testimonials */
.testimonial-card {
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
}

.testimonial-img {
    width: 3rem;
    height: 3rem;
    object-fit: cover;
}

/* Contact Section */
#contact {
    background-color: var(--primary);
}

/* Footer */
footer {
    background-color: #212529;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.social-icons a {
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-icons a:hover {
    opacity: 0.8;
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}