/* Heights Technology - Main Stylesheet */

:root {
    --primary-blue: #2563eb;
    --secondary-blue: #1d4ed8;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    font-size: 1.1rem; /* Iets grotere basisfont */
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 1rem;
}

.logo img {
    height: 70px; /* Groter logo */
    width: auto;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

/* Navigation */
.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem; /* Iets groter */
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--background-light) 0%, #e3f2fd 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.2rem; /* Iets groter */
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero p {
    font-size: 1.3rem; /* Groter */
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 1.2rem 2.5rem; /* Iets groter */
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem; /* Groter */
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 4rem 0;
}

.section h1,
.section h2 {
    font-size: 2.8rem; /* Groter */
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section h3 {
    font-size: 2rem; /* Groter */
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.section h4 {
    font-size: 1.6rem; /* Groter */
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section p {
    font-size: 1.2rem; /* Groter */
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.section ul {
    margin-bottom: 2rem;
}

.section li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
    list-style: none;
    font-size: 1.1rem; /* Groter */
}

.section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Content Images */
.content-image {
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.content-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.25);
}

.image-left {
    float: left;
    margin: 0 25px 25px 0;
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.image-right {
    float: right;
    margin: 0 0 25px 25px;
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.section-content {
    overflow: hidden;
}

.section-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(37, 99, 235, 0.2);
}

.service-image {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.15);
    transition: all 0.3s ease;
}

.service-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.service-card h4 {
    font-size: 1.5rem; /* Groter */
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem; /* Groter */
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Contact Form */
.contact-form {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem; /* Groter */
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 1.1rem; /* Groter */
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    height: 120px;
}

.submit-btn {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem; /* Groter */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-item-content h4 {
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    font-size: 1.2rem; /* Groter */
}

.contact-item-content p {
    color: var(--text-light);
    margin: 0;
    font-size: 1.1rem; /* Groter */
}

.contact-item-content a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-item-content a:hover {
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    display: none;
    transition: opacity 0.5s ease;
    font-size: 1.2rem; /* Groter */
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.alert.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #28a745;
    border-left: 6px solid #28a745;
}

.alert.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #dc3545;
    border-left: 6px solid #dc3545;
}

.alert.success::before {
    content: "✅ ";
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.alert.error::before {
    content: "⚠ ";
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

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

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

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem; /* Groter */
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 1rem;
    color: #adb5bd;
    font-size: 1rem; /* Groter */
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo img {
        height: 50px; /* Kleiner op mobiel maar nog steeds groter dan oorspronkelijk */
    }
    
    .logo-text {
        font-size: 1.3rem;
    }

    .image-left, 
    .image-right {
        float: none;
        margin: 0 auto 20px auto;
        display: block;
        max-width: 200px;
    }

    .hero-content .content-image {
        max-width: 180px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem; /* Groter dan oorspronkelijk */
    }

    .section h1,
    .section h2 {
        font-size: 2.2rem; /* Groter */
    }

    .two-column,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .service-image {
        width: 60px;
        height: 60px;
    }
}