:root {
    --primary-color: #2c3e50; /* Deep Blue/Grey */
    --accent-color: #c0392b;  /* Sale Red */
    --light-bg: #f4f4f4;
    --text-color: #333;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* General Button Style */
.btn {
    display: inline-block;
    /* Change background from accent-color to a bright red for better visibility */
    background: #e74c3c; 
    color: var(--white);
    padding: 12px 30px; /* Slightly larger padding */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s ease; /* Smooth transition for hover */
    box-shadow: 0 4px 6px rgba(0,0,0,0.3); /* Add a subtle shadow for depth */
}

/* Button Hover Effect */
.btn:hover {
    background: #c0392b; /* A slightly darker red on hover */
    box-shadow: 0 6px 8px rgba(0,0,0,0.4); /* More prominent shadow on hover */
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 5px 0;
    font-size: 0.9rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    max-height: 60px; /* Adjust based on actual logo */
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li { margin-left: 20px; }

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover { color: var(--accent-color); }

.mobile-menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section */
/* Hero Section Updates */
.hero {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Keeps images from spilling out */
}

/* The Background Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind the text */
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Smooth fade speed */
}

/* The Active Slide (Visible) */
.slide.active {
    opacity: 1;
}

/* Dark Overlay (Optional: Makes text easier to read) */
.hero-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 40% dark tint */
    z-index: 2;
}

/* The Text Content */
.hero-content {
    position: relative;
    z-index: 3; /* On top of everything */
    color: var(--white);
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero h1 { font-size: 3rem; margin-bottom: 10px; }

/* Sections */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: var(--primary-color);
}

/* Product Categories Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.category-card:hover img { transform: scale(1.05); }

.cat-label {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
}

/* Specials Section */
.specials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.special-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background: var(--white);
    text-align: center;
}

.tag {
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col { flex: 1; min-width: 250px; margin-bottom: 20px; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: var(--white);
        box-shadow: 0 5px 5px rgba(0,0,0,0.1);
    }
    .nav-container ul.active { display: flex; }
    .nav-container ul li { margin: 15px 0; text-align: center; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2rem; }
}
/* --- Fix for Anchor Links covered by Header --- */
html {
    scroll-behavior: smooth; /* Makes the jump look nice and smooth */
}

/* This applies to any section with an ID (like #contact or #specials) */
section[id] {
    scroll-margin-top: 100px; /* Adjust this number to match your header height */
}

/* Mobile might need a smaller offset if your header is smaller on phones */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 80px;
    }
}