/* ESS4U Thuisbatterij - Stylesheet */

:root {
    --navy: #1a2d5a;
    --navy-dark: #0f1a38;
    --text-dark: #3d4555;
    --text-light: #6b7280;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --accent-gold: #e8a824;
    --accent-hover: #d49820;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-gold);
}

.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Header */
.site-header {
    background: var(--white);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--navy);
}

.brand-logo svg {
    width: 42px;
    height: 42px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 6px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--navy);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero */
.hero-area {
    padding: 80px 0 100px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual svg {
    width: 100%;
    max-width: 420px;
}

/* Intro Section */
.intro-section {
    padding: 80px 0;
    text-align: center;
}

.intro-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 20px;
}

.intro-section p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Benefits Grid */
.benefits-section {
    padding: 60px 0 100px;
}

.section-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: var(--navy);
    text-align: center;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 70px;
}

.benefit-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 14px;
}

.benefit-item p {
    color: var(--text-dark);
    line-height: 1.75;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--off-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.feature-card svg {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 18px;
    color: var(--text-dark);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-visual svg {
    width: 100%;
    max-width: 380px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--navy);
    text-align: center;
}

.cta-section h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: var(--accent-gold);
}

.cta-section .btn-primary:hover {
    background: var(--accent-hover);
}

/* Footer */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .brand-logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-nav h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    margin-left: 24px;
}

.footer-legal a:hover {
    color: var(--accent-gold);
}

/* Gold bar accent */
.accent-bar {
    height: 5px;
    background: var(--accent-gold);
}

/* Cookie Notice */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    max-width: 360px;
    z-index: 999;
    display: none;
}

.cookie-popup.visible {
    display: block;
}

.cookie-popup h4 {
    color: var(--navy);
    margin-bottom: 10px;
    font-size: 1rem;
}

.cookie-popup p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 18px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons button {
    padding: 10px 18px;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
}

.cookie-accept {
    background: var(--accent-gold);
    color: var(--white);
    border: none;
}

.cookie-accept:hover {
    background: var(--accent-hover);
}

.cookie-reject {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-light);
}

.cookie-reject:hover {
    border-color: var(--navy);
    color: var(--navy);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-visual svg {
        max-width: 320px;
    }
    
    .benefits-grid {
        gap: 40px 50px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        max-width: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-legal a:first-child {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-toggle {
        display: block;
        z-index: 101;
    }
    
    .hero-text h1 {
        font-size: 2.1rem;
    }
    
    .section-heading {
        font-size: 1.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .cookie-popup {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}
