/* 
 * Ploeg id3 - Stylesheet
 * Gebiedsontwikkeling Groningen
 */

:root {
    --primary-color: #1a5f5a;
    --primary-light: #247970;
    --primary-dark: #134845;
    --accent-color: #d4a853;
    --accent-hover: #c49643;
    --text-dark: #2d2d2d;
    --text-medium: #555555;
    --text-light: #777777;
    --background-light: #f8f7f5;
    --background-white: #ffffff;
    --border-color: #e5e5e5;
}

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

html {
    scroll-behavior: smooth;
}

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

.skip-navigation {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-navigation:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    z-index: 9999;
    text-decoration: none;
    border-radius: 4px;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--background-white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

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

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 42px;
    width: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.navigation-list {
    display: flex;
    list-style: none;
    gap: 8px;
}

.navigation-link {
    display: block;
    padding: 10px 18px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navigation-link:hover,
.navigation-link:focus {
    background-color: var(--background-light);
    color: var(--primary-color);
}

.navigation-link.current-page {
    color: var(--primary-color);
    background-color: rgba(26, 95, 90, 0.08);
}

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

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: transform 0.3s ease;
}

/* Hero Section */
.hero-section {
    margin-top: 72px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 24px 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 200px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.85;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-description {
    font-size: 1.15rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.8;
}

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

.button-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent-color);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.button-primary:hover,
.button-primary:focus {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.button-secondary {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.button-secondary:hover,
.button-secondary:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Content Sections */
.content-section {
    padding: 80px 24px;
}

.content-section.alternate-background {
    background: var(--background-light);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* Introduction Block */
.introduction-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.introduction-text h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.introduction-text p {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.introduction-image {
    position: relative;
}

.introduction-image svg {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--background-white);
    padding: 36px 28px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

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

/* Projects Preview */
.projects-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-preview-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--primary-dark);
    min-height: 320px;
}

.project-preview-card svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.project-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
    color: white;
}

.project-preview-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.project-preview-overlay p {
    font-size: 0.9rem;
    opacity: 0.85;
}

.project-preview-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 80px 24px;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* Site Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 24px 24px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 20px;
    font-size: 0.95rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-navigation {
    list-style: none;
}

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

.footer-navigation a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-navigation a:hover,
.footer-navigation a:focus {
    color: var(--accent-color);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-info-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--accent-color);
}

.contact-info-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-item a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Cookie Notice */
.cookie-notice-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-dark);
    color: white;
    padding: 20px 24px;
    z-index: 9999;
    display: none;
}

.cookie-notice-bar.visible {
    display: block;
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-notice-text {
    flex: 1;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.cookie-notice-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-notice-actions {
    display: flex;
    gap: 12px;
}

.cookie-accept-button {
    padding: 10px 24px;
    background: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

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

.cookie-decline-button {
    padding: 10px 24px;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.cookie-decline-button:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .introduction-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        height: 64px;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--background-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 16px 0;
    }
    
    .main-navigation.navigation-open {
        display: block;
    }
    
    .navigation-list {
        flex-direction: column;
        padding: 0 24px;
        gap: 4px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        margin-top: 64px;
        padding: 60px 24px 80px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-notice-content {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .button-primary,
    .button-secondary {
        text-align: center;
    }
}
