/* Variables */
:root {
    --primary: #F37920;    /* Orange */
    --secondary: #ffffff; /* White */
    --tertiary: #06331a;  /* Dark Green */
    --text: #2d2d2d;
    --light-grey: #f4f7f6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Navigation */                       /*HeaderBar #F37920 */
header { padding: 20px 0; background: white; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.6rem; color: var(--tertiary); }
.logo span { color: var(--primary); }
.nav-links a { text-decoration: none; color: var(--text); margin-left: 25px; font-weight: 600; }
.btn-shop { background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 8px; }

/* Hero Section */
.hero { padding: 100px 0; background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%); }
.hero-wrapper { display: flex; align-items: center; gap: 50px; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.1; color: var(--tertiary); }
.highlight { color: var(--primary); }
.btn-primary { background: var(--primary); color: white; padding: 15px 35px; text-decoration: none; border-radius: 8px; display: inline-block; font-weight: 700; margin-top: 20px; }

/* Product Section - Fixes the vertical list */
.products { padding: 80px 0; }
.section-title { font-size: 2.5rem; margin-bottom: 40px; text-align: center; color: var(--tertiary); }
.product-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* Forces side-by-side */
    gap: 30px; 
}
.p-card { background: var(--light-grey); padding: 40px; border-radius: 20px; text-align: center; transition: 0.3s; }
.p-card:hover { transform: translateY(-10px); background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.img-box { font-size: 50px; margin-bottom: 20px; }
.price { font-weight: 800; font-size: 1.5rem; margin: 15px 0; }
.btn-cart { border: 2px solid var(--primary); background: transparent; color: var(--primary); padding: 10px 25px; border-radius: 5px; font-weight: bold; cursor: pointer; }

/* Technology Section */
.tech-section { padding: 100px 0; background: var(--tertiary); color: white; }
.tech-grid { display: flex; align-items: center; justify-content: space-between; }
.tech-text { max-width: 600px; }
.tech-text .section-title { color: var(--primary); text-align: left; }
.circuit-icon { font-size: 100px; opacity: 0.2; }

/* Footer */
.footer { padding: 80px 0 20px; border-top: 1px solid #eee; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer h4 { color: var(--tertiary); margin-bottom: 20px; font-size: 1.2rem; }
.footer-links ul { list-style: none; }
.footer-links a { text-decoration: none; color: #666; line-height: 2.5; }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 1px solid #eee; color: #999; font-size: 0.9rem; }

/* Mobile View */
@media (max-width: 768px) {
    .hero-wrapper, .product-grid, .footer-grid, .tech-grid { grid-template-columns: 1fr; flex-direction: column; text-align: center; }
}

/* About Section */
.about-section {
    padding: 100px 20px;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0px var(--primary); /* Orange accent shadow */
}

.about-list {
    list-style: none;
    margin-top: 20px;
}

.about-list li {
    font-weight: 600;
    color: var(--tertiary);
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-grey);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.info-item .icon {
    font-size: 1.5rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, 
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form .btn-primary {
    cursor: pointer;
    border: none;
    width: fit-content;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
    .about-grid, .contact-wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;
    }
}