/* --- EXISTING STYLES --- */
:root {
    --primary-color: #004225;
    --accent-color: #C8AD7F;
    --bg-light: #F9F9F9;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --padding-std: 20px;
    --max-width: 1200px; /* Kept at 1200px for consistency */
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-dark); background-color: var(--bg-light); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* HEADER */
header { background-color: var(--primary-color); color: var(--text-light); padding: 0.8rem var(--padding-std); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.nav-container { width: 100%; max-width: 1400px; margin: 0 auto; display: flex; align-items: center; }

/* LOGO */
.logo-container { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo-img { height: 45px; width: auto; border-radius: 4px; background-color: white; padding: 2px; }
.logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; color: var(--accent-color); text-transform: uppercase; }

/* NAV */
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { font-weight: 600; transition: var(--transition); font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent-color); }
.lang-switch { cursor: pointer; border: 1px solid var(--accent-color); padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; text-transform: uppercase; color: var(--accent-color); background: transparent; transition: var(--transition); }
.lang-switch:hover { background-color: var(--accent-color); color: var(--primary-color); }
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--text-light); margin: 5px; transition: var(--transition); }

/* HERO */
.hero { background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1556905055-8f358a7a47b2?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80'); background-size: cover; background-position: center; height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-light); padding: 0 20px; }
.hero-content h1 { font-size: 6rem; font-weight: 800; letter-spacing: 5px; text-transform: uppercase; margin-bottom: 0.5rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.6); line-height: 1; }
.hero-content p { font-size: 2rem; font-weight: 400; letter-spacing: 2px; margin-bottom: 0; max-width: 800px; margin-left: auto; margin-right: auto; text-shadow: 1px 1px 2px rgba(0,0,0,0.6); }
.btn { display: inline-block; padding: 12px 30px; background-color: var(--accent-color); color: var(--primary-color); border-radius: 5px; font-weight: 700; text-transform: uppercase; transition: var(--transition); border: none; cursor: pointer; }
.btn:hover { background-color: #fff; transform: translateY(-2px); }

/* SECTIONS */
.section { padding: 4rem var(--padding-std); max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 3rem; font-size: 2rem; color: var(--primary-color); }

/* CATEGORIES */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.category-card { position: relative; height: 200px; border-radius: 8px; overflow: hidden; cursor: pointer; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.category-card:hover img { transform: scale(1.05); }
.cat-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(46, 64, 51, 0.4); display: flex; align-items: center; justify-content: center; padding: 15px; }
.cat-overlay h3 { color: white; font-size: 1.25rem; border-bottom: 2px solid var(--accent-color); padding-bottom: 5px; text-align: center; line-height: 1.4; max-width: 100%; }

/* PRODUCT GRID */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 30px; }
.product-card { background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: var(--transition); }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.product-img { height: 200px; width: 100%; object-fit: cover; background-color: #eee; }
.product-info { padding: 15px; }
.product-cat { font-size: 0.8rem; color: #888; text-transform: uppercase; }
.product-title { font-size: 1.1rem; margin: 5px 0; }
.product-price { color: var(--primary-color); font-weight: 700; font-size: 1.1rem; }

/* ABOUT SECTION */
.about-content { max-width: 800px; margin: 0 auto; font-size: 1.05rem; color: #444; }
.about-content h3 { color: var(--primary-color); font-size: 1.5rem; margin-bottom: 1rem; }
.about-content p { margin-bottom: 1.5rem; }
.about-content h4 { color: var(--primary-color); margin-bottom: 0.8rem; }
.about-list { margin-bottom: 2rem; padding-left: 1rem; }
.about-list li { margin-bottom: 0.5rem; position: relative; padding-left: 1.5rem; }
.about-list li::before { content: "•"; color: var(--accent-color); font-weight: bold; position: absolute; left: 0; font-size: 1.2rem; line-height: 1.4; }
.about-footer-text { font-weight: 700; color: var(--primary-color); }

/* FOOTER */
.contact-footer { background-color: #000; color: #ccc; padding: 3rem var(--padding-std); font-size: 0.95rem; border-top: 1px solid #333; }
.contact-container { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-block h4 { color: #fff; text-transform: uppercase; margin-bottom: 0.5rem; font-size: 1rem; letter-spacing: 0.5px; }
.contact-block p { margin-bottom: 0.2rem; color: #aaa; }
.contact-block p.hours { margin-top: 0; color: #fff; }
.social-icons { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.social-icons a { color: #fff; font-size: 1.5rem; transition: var(--transition); }
.social-icons a:hover { color: var(--accent-color); transform: translateY(-3px); }
/* --- FOOTER LINKS UPDATE --- */
.contact-footer {
    background-color: #000;
    color: #ccc;
    padding: 3rem var(--padding-std);
    font-size: 0.95rem;
    border-top: 1px solid #333;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-block h4 {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.contact-block p {
    margin-bottom: 0.2rem;
    color: #aaa;
}

/* NEW: Styles for clickable footer links */
.contact-block a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-block a:hover {
    color: var(--accent-color); /* Turns gold/beige on hover */
    text-decoration: underline;
}

.contact-block p.hours {
    margin-top: 0; 
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* --- NEWS SECTION STYLES --- */
.news-content {
    text-align: center;
    background-color: #f0f0f0; /* Slight grey background to stand out */
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid var(--accent-color);
    max-width: 800px;
    margin: 0 auto;
}

.news-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.news-highlight {
    font-size: 1.5rem;
    font-weight: 800;
    color: #e74c3c; /* Red color for the discount */
    margin-bottom: 1.5rem;
}

.news-contact {
    font-size: 1.2rem;
    font-weight: 600;
}

.news-phone {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-color);
    margin-left: 10px;
    transition: var(--transition);
}

.news-phone:hover {
    color: var(--accent-color);
    border-color: var(--primary-color);
}   

/* --- MODAL STYLES --- */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Black overlay */
    padding-top: 50px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 1000px;
    border-radius: 8px;
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#modalTitle {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-right: 30px;
}

.table-container {
    overflow-y: auto; /* Scrollable table */
}

#priceTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

#priceTable th, #priceTable td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

#priceTable th {
    background-color: var(--primary-color);
    color: white;
    position: sticky;
    top: 0;
}

#priceTable tr:nth-child(even) {
    background-color: #f2f2f2;
}

#priceTable tr:hover {
    background-color: #ddd;
}

/* RESPONSIVE */
@media screen and (min-width: 768px) {
    .contact-container { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
    .contact-block { flex: 1 1 200px; min-width: 200px; }
}

@media screen and (max-width: 768px) {
    .nav-links { position: absolute; right: 0; height: 92vh; top: 8vh; background-color: var(--primary-color); display: flex; flex-direction: column; align-items: center; width: 60%; transform: translateX(100%); transition: transform 0.5s ease-in; padding-top: 2rem; z-index: 1000; }
    .nav-links li { opacity: 0; }
    .burger { display: block; }
    .hero-content h1 { font-size: 3.5rem; letter-spacing: 3px; }
    .hero-content p { font-size: 1.5rem; }
    .logo-container { gap: 8px; }
    .logo-img { height: 35px; }
    .logo-text { font-size: 0.9rem; }
    .nav-active { transform: translateX(0%); }
    
    /* Responsive Table */
    #priceTable th, #priceTable td {
        padding: 6px;
        font-size: 0.8rem;
    }
}
@keyframes navLinkFade { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0px); } }