:root {
    --primary-color: #4B2D7F; /* Kapruka Purple */
    --secondary-color: #FFD700; /* Kapruka Yellow */
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --muted-text: #666;
    --white: #ffffff;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--light-bg);
}

/* Header */
.top-nav {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
}

.main-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-bar {
    border-radius: 25px 0 0 25px;
    border: none;
    padding: 10px 20px;
}

.search-btn {
    background-color: var(--secondary-color);
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 10px 25px;
    font-weight: bold;
    color: var(--primary-color);
}

.search-btn:hover {
    background-color: #e6c200;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-banner {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Product Cards */
.product-card {
    background: var(--white);
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-img-container {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfdfd;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 15px;
}

.product-info {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    height: 2.8rem;
    overflow: hidden;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.btn-add-cart {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    font-weight: bold;
    border-radius: 20px;
    padding: 8px 20px;
    margin-top: 10px;
    width: 100%;
}

.btn-add-cart:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Section Titles */
.section-title {
    font-weight: 800;
    color: var(--primary-color);
    margin: 40px 0 25px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: #333;
    color: #eee;
    padding: 50px 0 20px;
    margin-top: 60px;
}

footer h5 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

footer a {
    color: #ccc;
    text-decoration: none;
}

footer a:hover {
    color: var(--secondary-color);
}
