/* Bethlehem Electronics - Blue & Dark Theme */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --secondary: #263238;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #333; line-height: 1.6; }

/* Navigation */
.navbar { background: var(--dark); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 45px; margin-right: 10px; }
.logo span { color: var(--primary); font-size: 1.4rem; font-weight: 700; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { color: var(--light); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Hero Section */
.hero { position: relative; height: 85vh; min-height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.55); z-index: -1; }
.hero-content { z-index: 1; max-width: 800px; padding: 0 20px; }
.hero h1 { font-size: 3.2rem; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero p { font-size: 1.3rem; margin-bottom: 30px; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.btn { display: inline-block; padding: 14px 35px; background: var(--primary); color: var(--white); text-decoration: none; border-radius: 5px; font-weight: 600; transition: background 0.3s, transform 0.3s; }
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Sections */
.section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 50px; color: var(--secondary); }
.section-title span { color: var(--primary); }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.product-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card .card-body { padding: 20px; }
.product-card h3 { margin-bottom: 10px; color: var(--secondary); }
.product-card p { color: var(--gray); margin-bottom: 15px; }
.product-card .price { color: var(--primary); font-weight: 700; font-size: 1.2rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; padding: 60px 20px; background: var(--light); }
.feature-box { text-align: center; padding: 30px; }
.feature-box h3 { margin: 15px 0 10px; color: var(--secondary); }
.feature-box p { color: var(--gray); }
.feature-icon { font-size: 2.5rem; color: var(--primary); }

/* About Section */
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-content img { width: 100%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.about-text h2 { color: var(--secondary); margin-bottom: 20px; }
.about-text p { color: var(--gray); margin-bottom: 15px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { color: var(--secondary); margin-bottom: 20px; }
.contact-info p { color: var(--gray); margin-bottom: 10px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; }
.contact-form textarea { height: 150px; resize: vertical; }
.contact-form button { padding: 14px 35px; background: var(--primary); color: var(--white); border: none; border-radius: 5px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.contact-form button:hover { background: var(--primary-dark); }

/* Map */
.map-container { width: 100%; margin-top: 40px; border-radius: 10px; overflow: hidden; }
.map-container iframe { width: 100%; height: 350px; border: 0; }

/* Footer */
.footer { background: var(--dark); color: var(--light); padding: 50px 20px 20px; }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.footer-section h4 { color: var(--primary); margin-bottom: 15px; font-size: 1.1rem; }
.footer-section p { color: #adb5bd; margin-bottom: 8px; }
.footer-section a { color: #adb5bd; text-decoration: none; transition: color 0.3s; }
.footer-section a:hover { color: var(--primary); }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 30px; margin-top: 30px; border-top: 1px solid #495057; color: #adb5bd; }
.footer-logo { height: 40px; margin-bottom: 10px; }

/* No-wrap for email */
.nowrap { white-space: nowrap; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2rem; }
    .about-content, .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
}
