:root {
    --primary-color: #4E1617;
    --secondary-color: #ffffff;
    --accent-color: #C5A059;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.top-bar-center {
    font-weight: 500;
}

/* Header */
header {
    background-color: var(--white);
    padding: 0px 0;
    position: sticky;
    top: 0;
    z-index: 2500;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
}

nav ul {
    display: flex;
    gap: 30px;
    height: 100px; /* Match logo height */
    align-items: center;
}

nav > ul > li {
    height: 100%;
    display: flex;
    align-items: center;
}

nav > ul > li > a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Dropdown styling */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    padding: 15px 0;
    border-radius: 0 0 10px 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
    z-index: 1000;
    border-top: 3px solid var(--primary-color);
}

.dropdown li {
    display: block;
    margin: 0;
}

.dropdown li a {
    padding: 12px 25px;
    display: block;
    text-transform: none;
    font-size: 0.9rem;
    color: var(--text-color);
    letter-spacing: 0;
    height: auto;
    width: 100%;
}

.dropdown li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    position: relative;
    z-index: 2600;
}

.header-icons {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Section */
.hero {
    padding: 0;
    min-height: auto;
    background-color: var(--white);
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    display: block;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: #350f10;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 22, 23, 0.3);
}

/* Page Header for other pages */
.page-header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--accent-color);
}

/* Feature Bar */
.feature-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
}

.feature-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
}

.feature-text h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.75rem;
    opacity: 0.8;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(78, 22, 23, 0.1);
    border-color: rgba(78, 22, 23, 0.1);
}

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.product-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.view-all-container {
    text-align: center;
    margin-top: 50px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background-color: #f0ebe4;
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.testimonial-slider {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    max-width: 350px;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.user-info h5 {
    font-size: 1rem;
}

.user-info span {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

/* Footer */
footer {
    background-color: #f9f5f1;
    padding: 80px 0 20px;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .hero .container, .about-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 30px;
    }
    .hero-features {
        justify-content: center;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .feature-bar .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .products-grid, .feature-bar .container {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    .top-bar-center {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .menu-toggle {
        display: block;
        margin-left: 20px;
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        z-index: 2000;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 80px 40px;
        display: block !important;
    }
    nav.active {
        right: 0;
    }
    nav ul {
        flex-direction: column;
        height: auto;
        gap: 20px;
        align-items: flex-start;
    }
    nav > ul > li {
        width: 100%;
    }
    nav > ul > li > a {
        font-size: 1.1rem;
        padding: 10px 0;
        width: 100%;
    }
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        display: none;
    }
    .has-dropdown.active .dropdown {
        display: block;
    }
}
