/* CSS Variables & Reset */
:root {
    --primary-color: #1a1a1a;   /* Black/Dark Grey */
    --secondary-color: #d4af37; /* Gold */
    --accent-color: #c0a062;    /* Muted Gold */
    --text-color: #333;
    --bg-color: #f9f9f9;
    --white: #ffffff;
    --border-radius: 8px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

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

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img {
    height: 45px;
}

.search-bar {
    flex: 1;
    max-width: 600px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-body);
}

.search-bar button {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 25px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9em;
}

.action-item i {
    font-size: 1.5em;
    color: var(--primary-color);
}

.action-item .text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.action-item .text span { font-weight: 600; color: var(--primary-color); }
.action-item .text small { color: #666; }

/* Header Bottom (Menu) */
.header-bottom {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-row {
    display: flex;
    align-items: center;
    height: 50px;
}

.all-cats {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-right: 30px;
    color: var(--primary-color);
}

.main-menu {
    display: flex;
    gap: 25px;
    flex: 1;
}

.main-menu a {
    font-size: 0.95em;
    font-weight: 500;
    color: #555;
    position: relative;
    padding: 15px 0;
}

.main-menu a:hover {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: -1px;
}

.promo-btn {
    background: #ccff00; /* Bright Green/Yellow */
    color: #000;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9em;
}

/* Carousel Styles */
.main-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Height will be determined by image aspect ratio or defined here */
    max-height: 500px; 
}

.carousel-slide {
    display: none;
    width: 100%;
}
.carousel-slide.active { display: block; animation: fade 1s; }
.carousel-slide img { width: 100%; height: auto; object-fit: cover; }

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}
.carousel-dot.active { background: #fff; }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../logo.png'); /* Fallback/Placeholder */
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-color);
}

/* Product Grid */
.products-section {
    padding: 50px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

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

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
}

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

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: #888;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}
