/* ============================================
   ENERCLAW - Professional Website Styles
   Powered by BessQ B.V.
   ============================================ */

:root {
    --primary: #004d40;
    --primary-light: #00695c;
    --primary-dark: #003a30;
    --accent: #ffb300;
    --accent-dark: #e6a200;
    --text: #1a2332;
    --text-secondary: #5a6577;
    --bg: #ffffff;
    --bg-alt: #f7f9fc;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --transition: 0.3s ease;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.text-center { text-align: center; }

/* Typography */
.section-label { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 16px; }
.section-label.center { justify-content: center; }
.label-line { width: 40px; height: 2px; background: var(--accent); }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.highlight { color: var(--primary); }
.section-subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 650px; margin: 0 auto; }
.section-header { margin-bottom: 60px; }
.gradient-text { background: linear-gradient(135deg, var(--accent), #ff8f00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; font-weight: 600; border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: var(--text); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }

/* --- LOGO & IMAGE FIXES --- */
.logo-img { height: 44px; width: auto; object-fit: contain; display: block; }

.mission-images img,
.pillar-image-grid img,
.vc-image-container img,
.photo-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This forces images to fit nicely without stretching */
    border-radius: var(--radius-sm);
    display: block;
}

.mission-img-main, .mission-img-float, .pillar-img-main, .pillar-img-secondary, .photo-banner-item {
    overflow: hidden;
    position: relative;
}

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: var(--transition); }
.navbar.scrolled { background: rgba(255,255,255,0.97); padding: 12px 0; box-shadow: var(--shadow-md); }
.navbar.scrolled .logo-name, .navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-toggle span { background: var(--text); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff; }
.logo-tagline { font-size: 0.7rem; color: var(--text-secondary); display: block; }
.nav-menu { display: flex; list-style: none; gap: 16px; align-items: center; }
.nav-link { color: #fff; font-weight: 500; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 25px; height: 2px; background: #fff; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(165deg, var(--primary-dark), var(--primary)); text-align: center; position: relative; }
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 24px; }
.hero-title { color: #fff; }
.hero-subtitle { color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 40px; color: #fff; }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--accent); }

/* Layout Grids */
.mission-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.mission-images { position: relative; height: 400px; }
.mission-img-main { width: 80%; height: 350px; }
.mission-img-float { position: absolute; bottom: 0; right: 0; width: 50%; height: 250px; border: 6px solid var(--bg); border-radius: var(--radius-md); }

.ecosystem-pillar { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 80px; }
.pillar-reverse { direction: rtl; }
.pillar-reverse > * { direction: ltr; }
.pillar-image-grid { display: grid; gap: 20px; }
.pillar-img-main { height: 300px; }
.pillar-img-secondary { height: 200px; width: 80%; }

.photo-banner-grid { display: grid; grid-template-columns: repeat(5, 1fr); height: 250px; }

/* Forms & Footer */
.contact-form { background: #fff; padding: 40px; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: var(--radius-sm); font-family: inherit; }

.footer { background: var(--primary-dark); color: #fff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-tagline { color: rgba(255,255,255,0.6); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* Responsive Media Queries */
@media (max-width: 992px) {
    .mission-grid, .ecosystem-pillar, .contact-grid { grid-template-columns: 1fr; }
    .pillar-reverse { direction: ltr; }
    .photo-banner-grid { grid-template-columns: repeat(2, 1fr); height: auto; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #fff; flex-direction: column; padding: 20px; box-shadow: var(--shadow-md); }
    .nav-menu.active { display: flex; }
    .nav-menu .nav-link { color: var(--text); }
    .hero-stats { flex-direction: column; gap: 20px; }
}