/* EP:Tilburg Professional Website Styles */

/* Reset en basis styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* EP Kleuren volgens brandbook */
:root {
    --ep-green-primary: #00B04F;
    --ep-green-secondary: #8BC34A;
    --ep-green-light: #C8E6C9;
    --ep-dark: #2E2E2E;
    --ep-gray: #6D6E70;
    --ep-light-gray: #F5F5F5;
}

/* Header en navigatie */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, var(--ep-green-primary) 0%, var(--ep-green-secondary) 100%);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-text {
    color: var(--ep-dark);
    font-weight: 700;
    font-size: 1.8rem;
}

.logo-text .ep {
    color: var(--ep-green-primary);
}

.logo-text .professional {
    color: var(--ep-gray);
    font-size: 0.7em;
    display: block;
    line-height: 1;
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--ep-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ep-green-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--ep-green-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Page content */
.page-content {
    padding: 120px 5% 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero-sectie */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--ep-green-primary) 0%, var(--ep-green-secondary) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><rect x="100" y="100" width="50" height="50" fill="white" opacity="0.1" transform="rotate(45 125 125)"/><rect x="800" y="200" width="30" height="30" fill="white" opacity="0.1" transform="rotate(45 815 215)"/><rect x="300" y="700" width="40" height="40" fill="white" opacity="0.1" transform="rotate(45 320 720)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    color: white;
    z-index: 2;
    position: relative;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out;
    font-weight: 700;
    line-height: 1.1;
}

.hero .tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: slideInLeft 1s ease-out 0.2s both;
    font-weight: 400;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.4s both;
}


/* Voor CTA secties - alle accent tekst wit maken */
.cta-section .ep-accent,
.cta-section span.ep-accent {
    color: white !important;
    text-shadow: none;
}

/* Voor alle tekst in groene achtergronden */
[style*="background: linear-gradient(135deg, var(--ep-green-primary)"] .ep-accent,
[style*="background: var(--ep-green-primary)"] .ep-accent {
    color: white !important;
}

/* Algemene fix voor groene secties */
.cta-section h1 .ep-accent,
.cta-section h2 .ep-accent,
.cta-section h3 .ep-accent,
.cta-section h4 .ep-accent,
.cta-section p .ep-accent {
    color: white !important;
}

/* Als backup - voor elk element met groene achtergrond */
*[class*="cta"] .ep-accent {
    color: white !important;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: white;
    color: var(--ep-green-primary);
}

.btn-primary:hover {
    background: var(--ep-light-gray);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--ep-green-primary);
    transform: translateY(-2px);
}

/* EP Intro sectie */
.ep-intro {
    padding: 3rem 5%;
    background: white;
    text-align: center;
    border-bottom: 3px solid var(--ep-green-primary);
}

.ep-logo-large {
    font-size: 4rem;
    font-weight: 700;
    color: var(--ep-dark);
    margin-bottom: 1rem;
}

.ep-logo-large .ep {
    color: var(--ep-green-primary);
}

.ep-tagline {
    font-size: 1.5rem;
    color: var(--ep-gray);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Merkensectie */
.brands {
    padding: 5rem 5%;
    background: var(--ep-light-gray);
    text-align: center;
}

.brands h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--ep-dark);
    font-weight: 700;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 5px solid var(--ep-green-primary);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--ep-green-primary), var(--ep-green-secondary));
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,178,79,0.2);
}

.brand-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: var(--ep-light-gray);
    border-radius: 5px;
    padding: 15px;
    overflow: hidden;
}

.brand-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.brand-card h3 {
    color: var(--ep-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.brand-card p {
    color: var(--ep-gray);
    line-height: 1.6;
}

/* Dienstensectie */
.services {
    padding: 5rem 5%;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--ep-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--ep-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, var(--ep-light-gray) 0%, #f9f9f9 100%);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,178,79,0.15);
    border-color: var(--ep-green-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--ep-green-primary), var(--ep-green-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0,178,79,0.3);
}

.service-card h3 {
    color: var(--ep-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--ep-gray);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ep-green-primary);
    font-weight: bold;
}

/* Sectorensectie */
.sectors {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--ep-green-primary) 0%, var(--ep-green-secondary) 100%);
    color: white;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sector-card {
    background: rgba(255,255,255,0.15);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.sector-card:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.sector-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sector-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

/* Contactsectie */
.contact {
    padding: 5rem 5%;
    background: var(--ep-light-gray);
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 3px solid var(--ep-green-primary);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,178,79,0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--ep-green-primary), var(--ep-green-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.contact-item h3 {
    color: var(--ep-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-item p {
    color: var(--ep-gray);
}

.contact-item strong {
    color: var(--ep-green-primary);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--ep-green-primary) 0%, var(--ep-green-secondary) 100%);
    color: white;
    padding: 120px 5% 3rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    color: var(--ep-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-section h3 {
    color: var(--ep-green-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section p {
    color: var(--ep-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Tariff Tables */
.tariff-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.tariff-table table {
    width: 100%;
    border-collapse: collapse;
}

.tariff-table th {
    background: var(--ep-green-primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.tariff-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.tariff-table tr:nth-child(even) {
    background: var(--ep-light-gray);
}

/* Feature Lists */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--ep-green-primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,178,79,0.15);
}

.feature-item h4 {
    color: var(--ep-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--ep-gray);
    line-height: 1.6;
}

.feature-item ul {
    list-style: none;
    margin-top: 1rem;
}

.feature-item li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: var(--ep-gray);
}

.feature-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ep-green-primary);
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--ep-green-primary), var(--ep-green-secondary));
    color: white;
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

/* Result Cards */
.result-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--ep-green-primary);
}

.result-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ep-green-primary);
    margin-bottom: 0.5rem;
}

.result-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ep-dark);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid var(--ep-green-primary);
}

.testimonial-author {
    font-style: italic;
    color: var(--ep-green-primary);
    margin-top: 1rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--ep-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ep-green-primary);
}

/* Contact Info */
.contact-info-detailed {
    display: grid;
    gap: 2rem;
}

.contact-detail {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--ep-green-primary);
}

.contact-detail h4 {
    color: var(--ep-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* FAQ */
.faq-list {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--ep-green-primary);
}

.faq-item h4 {
    color: var(--ep-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--ep-dark);
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo .ep {
    color: var(--ep-green-primary);
}

/* Animaties */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* EP Specifieke styling */
.ep-highlight {
    background: linear-gradient(90deg, var(--ep-green-primary), var(--ep-green-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.ep-accent {
    color: var(--ep-green-primary);
    font-weight: 700;
}

/* Mobiel responsive */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 3%;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .tagline {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }

    .ep-logo-large {
        font-size: 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-content {
        padding: 100px 3% 2rem;
    }

    .services-grid,
    .feature-list,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .sectors-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}