:root {
    --primary-color: #b71c1c;
    /* Deep Red */
    --primary-light: #f05545;
    --primary-dark: #7f0000;
    --accent-color: #ffd700;
    /* Gold */
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --font-main: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Top Bar */
.top-bar {
    background-color: #222;
    color: #ccc;
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-info span i {
    margin-right: 5px;
    color: var(--accent-color);
}

.separator {
    margin: 0 10px;
    color: #555;
}

.top-social a {
    margin-left: 15px;
    color: #ccc;
}

.top-social a:hover {
    color: var(--white);
}

/* Main Header */
.main-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    text-transform: uppercase;
}

.logo-sub {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    margin: 0 30px;
}

.search-bar form {
    display: flex;
    border: 2px solid var(--primary-color);
    border-radius: 40px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    outline: none;
}

.search-bar button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    gap: 20px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-color);
}

.action-item i {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.action-item:hover i {
    color: var(--primary-color);
}

/* Main Nav */
.main-nav {
    background: var(--primary-color);
    color: var(--white);
}

.nav-list {
    display: flex;
}

.nav-list li a {
    display: block;
    padding: 15px 25px;
    color: var(--white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(0, 0, 0, 0.1);
}

/* Layout */
.main-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
}

.content-area {
    flex: 1;
}

/* Sidebar Menu */
.sidebar-menu {
    background: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.sidebar-title {
    background: #333;
    color: var(--white);
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.sidebar-title i {
    margin-right: 10px;
}

.menu-list li {
    border-bottom: 1px solid var(--border-color);
}

.menu-list li:last-child {
    border-bottom: none;
}

.menu-list li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-list li a:hover {
    background: #f9f9f9;
    color: var(--primary-color);
    padding-left: 25px;
}

/* Hero Slider */
.hero-slider {
    height: 400px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
}

.slide-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 50px;
    color: var(--white);
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 10px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
}

/* Product Sections */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.product-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-details {
    padding: 15px;
    text-align: center;
}

.product-name {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #222;
    color: #ccc;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-left: 3px solid var(--primary-color);
    padding-left: 10px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Responsive */
@media (max-width: 992px) {
    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .search-bar {
        width: 100%;
        margin: 0;
    }

    .nav-list {
        display: none;
    }

    /* Simple hide for now, need mobile menu */
}