/* Base Styles - Dark Theme */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for dark background */
    background-color: #1a1a1a; /* Main dark background */
}

a {
    text-decoration: none;
    color: #f0f0f0;
}

ul {
    list-style: none;
}

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

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

/* Header */
header {
    background: #000; /* Black header */
    border-bottom: 3px solid #8b0000; /* Dark red accent */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f0f0f0; /* Light logo text */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
    color: #f0f0f0;
}

.nav-links a:hover, .nav-links a.active {
    color: #e74c3c; /* Brighter red for hover/active */
}

.contact-info-header {
    font-weight: bold;
    color: #ccc;
}

/* Mobile Navigation Adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    .logo, .contact-info-header {
        display: none;
    }
    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        font-size: 0.9rem;
    }
    .nav-links li {
        text-align: center;
    }
}

/* Hero Section */
.hero {
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x600?text=Butcher+Shop+Background');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.btn {
    display: inline-block;
    background: #8b0000;
    color: #fff;
    padding: 12px 35px;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
}

.btn:hover {
    background: #a50000;
}

/* General Content Sections */
.about, .products, .meat-boxes, .cart-section, .notice-board, .owner-section {
    padding: 4rem 0;
}

.about {
    background-color: #222;
}

.about-text {
    color: #ccc !important; /* Ensure about text is light */
}

.products {
    background-color: #1a1a1a;
}

.meat-boxes {
    background-color: #202121;
}

.cart-section {
    background-color: #111;
}

.notice-board {
    background-color: #1a1a1a;
}

.owner-section {
    background-color: #222;
}

.section-title {
    text-align: center;
    margin: 0 auto 2rem auto;
    font-size: 2.2rem;
    color: #f0f0f0;
    border-bottom: 2px solid #8b0000;
    display: table;
    padding-bottom: 10px;
}

.text-center {
    text-align: center;
    margin-bottom: 3rem;
    color: #ccc;
    font-style: italic;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.product-card {
    background: #2b2b2b;
    border: 1px solid #444;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    border-color: #8b0000;
}

.product-card ul li {
    color: #bcc2c2; /* Light gray for meat box items */
}

.product-category {
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #f0f0f0;
}

.product-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

.product-desc {
    color: #ccc;
    font-size: 0.95rem;
}

/* Game Processing */
.game-processing {
    padding: 4rem 0;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
}

.game-processing .section-title {
    color: #fff;
    border-color: #fff;
}

.game-info {
    max-width: 800px;
    margin: 0 auto;
}

.game-list li {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Footer */
footer {
    background: #000;
    color: #ccc;
    padding: 3rem 0 1rem;
    text-align: center;
    border-top: 3px solid #8b0000;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-content h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 1rem;
}

/* Form elements for dark theme */
.estimator-container, .cart-summary {
    background: #2b2b2b;
    color: #f0f0f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.form-group label, .section-header {
    color: #f0f0f0;
}

.form-group input, .form-group select, .form-group textarea, .qty-input-field {
    background-color: #333 !important;
    color: #f0f0f0 !important;
    border: 1px solid #555 !important;
}

.radio-option {
    color: #ccc;
}

.alert-box {
    background-color: #001f3f !important; /* Navy Blue */
    color: #f0f0f0 !important;
    border-left: 5px solid #3498db !important;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.alert-box h3 {
    color: #3498db !important;
}

.add-btn {
    background-color: #8b0000;
    color: #fff;
}
.add-btn:hover {
    background-color: #a50000;
}
.qty-btn {
    background-color: #444;
    border-color: #555;
    color: #fff;
}
.qty-btn:hover {
    background-color: #555;
}
