:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #f9f9f9;
    --primary-color: #009999;
    --secondary-color: #006666;
    --border-color: #dddddd;
    --footer-bg: #111111;
    --footer-text: #cccccc;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --card-bg: #1e1e1e;
    --footer-bg: #0a0a0a;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-color); transition: background 0.3s, color 0.3s; overflow-x: hidden; }

/* Scroll Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Header */
header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background-color: var(--primary-color); position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.logo { font-size: 1.4rem; font-weight: bold; color: #ffffff; letter-spacing: 1px; }
nav a { margin: 0 1rem; text-decoration: none; color: #ffffff; font-weight: 500; opacity: 0.85; transition: 0.3s; }
nav a:hover { opacity: 1; text-decoration: underline; }
.controls { display: flex; align-items: center; gap: 0.5rem; }
.controls button { background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); color: #ffffff; padding: 0.5rem 1rem; cursor: pointer; border-radius: 5px; font-weight: 500; }
.controls button:hover { background: #ffffff; color: var(--primary-color); }

/* Hero Banner Layout */
.hero {
    background-image: url('Gemini_Generated_Image_i11tpdi11tpdi11t.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 55vh;
    min-height: 400px;
    max-height: 600px;
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Screen Reader Only Utility (Hides structural text visually but keeps SEO functional) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Products */
.category-section { padding: 4rem 2rem; max-width: 1300px; margin: 0 auto; }
.category-title { margin-bottom: 2.5rem; border-bottom: 3px solid var(--primary-color); display: inline-block; padding-bottom: 0.5rem; font-size: 2rem; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2.5rem; }
.product-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 1.2rem; text-align: center; transition: 0.3s; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,153,153,0.15); }
.product-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; margin-bottom: 1rem; }
.product-price { color: var(--primary-color); font-weight: bold; font-size: 1.3rem; margin: 0.8rem 0; }

/* Admin Section */
.admin-dashboard { display: none; background: var(--card-bg); padding: 4rem 2rem; border-top: 4px solid var(--primary-color); margin-top: 4rem; }
.admin-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; max-width: 1200px; margin: 0 auto; }
.admin-card { background: var(--bg-color); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border-color); }
.admin-item-row { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem; border-bottom: 1px solid var(--border-color); }
.admin-item-row img { width: 50px; height: 50px; object-fit: cover; border-radius: 4px; }
.edit-action-btn { background: #e6b800; color: #fff; padding: 0.4rem 0.8rem; border:none; border-radius:4px; cursor:pointer; margin-right: 5px;}
.delete-action-btn { background: #cc3333; color: #fff; padding: 0.4rem 0.8rem; border:none; border-radius:4px; cursor:pointer;}

/* Forms */
form label { display: block; margin-top: 0.8rem; font-weight: 500; font-size: 0.9rem; }
form input, form select { width: 100%; padding: 0.9rem; margin-top: 0.4rem; margin-bottom: 0.5rem; border: 1px solid var(--border-color); border-radius: 6px; background: var(--bg-color); color: var(--text-color); }
.form-buttons { display: flex; gap: 1rem; margin-top: 1rem; }
.primary-btn { width: 100%; padding: 1rem; background: var(--primary-color); color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }
.primary-btn:hover { background: var(--secondary-color); }
.secondary-btn { background: #666; color: white; border: none; border-radius: 6px; padding: 1rem; cursor: pointer; font-weight: bold; }

/* Call To Action (CTA) Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 12px;
    max-width: 1000px;
    margin: 4rem auto -4rem;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 153, 153, 0.2);
}
.cta-content h2 { font-size: 2.2rem; margin-bottom: 1rem; color: #ffffff; }
.cta-content p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.9; max-width: 700px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.cta-btn { background-color: #ffffff; color: var(--primary-color); font-size: 1.1rem; font-weight: bold; padding: 1rem 2.5rem; width: auto; display: inline-block; transition: transform 0.3s ease, box-shadow 0.3s ease; border: none; border-radius: 6px; cursor: pointer; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3); color: var(--secondary-color); }

/* Footer */
.modern-footer { background: var(--footer-bg); color: var(--footer-text); padding: 8rem 2rem 2rem !important; margin-top: 5rem; border-top: 5px solid var(--primary-color); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; max-width: 1200px; margin: 0 auto; }
.footer-col h2 { color: var(--primary-color); font-size: 1.8rem; margin-bottom: 1rem; }
.footer-col h3 { margin-bottom: 1.2rem; position: relative; padding-bottom: 5px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary-color); }
.footer-col ul { list-style-type: none; }
.contact-col strong { color: var(--primary-color); }
.solutions-col p { margin-bottom: 0.8rem; border-left: 2px solid var(--primary-color); padding-left: 10px; }
.footer-divider { height: 1px; background: #333; margin: 1rem 0; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 2rem; margin-top: 3rem; font-size: 0.9rem; }

/* Floating Admin Button */
.floating-btn { position: fixed; bottom: 30px; right: 30px; background: var(--primary-color); color: white; border: none; border-radius: 50%; width: 60px; height: 60px; font-size: 1.8rem; cursor: pointer; box-shadow: 0 8px 20px rgba(0,153,153,0.4); z-index: 999; display: flex; align-items: center; justify-content: center; }

/* Modals */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 1000; justify-content: center; align-items: center; }
.modal-content { background: var(--card-bg); padding: 2.5rem; border-radius: 12px; width: 90%; max-width: 450px; position: relative; color: var(--text-color); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.8rem; cursor: pointer; color: var(--text-color); opacity: 0.7; }
.close-modal:hover { opacity: 1; }
.cart-item { display: flex; justify-content: space-between; padding: 0.8rem 0; border-bottom: 1px solid var(--border-color); }