/* ================================================
   frankvanschip.nl - Stylesheet
   "Onzichtbaar als het werkt. Onmisbaar als het moet."
   Huisstijl gebaseerd op logo kleuren
   ================================================ */

/* === CSS Variables === */
:root {
    /* Logo kleuren */
    --primary-blue: #5FBCD3;      /* Lichtblauw uit logo */
    --primary-blue-dark: #4A9DB3; /* Donkerdere variant voor hover */
    --primary-blue-light: #E8F6F9; /* Lichte achtergrond variant */
    
    --text-gray: #5C6574;          /* Grijs uit logo */
    --text-dark: #3D4451;          /* Donkerder grijs voor headings */
    --text-light: #8B95A5;         /* Lichter grijs voor subtekst */
    
    --white: #FFFFFF;
    --light-gray: #F5F7F9;
    --gray-border: #E1E5EA;
    --green: #27AE60;
    --orange-accent: #E67E22;      /* Accent voor CTA's */
    
    --shadow-sm: 0 2px 10px rgba(92, 101, 116, 0.08);
    --shadow-md: 0 10px 30px rgba(92, 101, 116, 0.12);
    --shadow-lg: 0 20px 50px rgba(92, 101, 116, 0.18);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 8px;
    --radius-lg: 16px;
}

/* === Reset & Base === */
*, *::before, *::after {
    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;
    color: var(--text-gray);
    line-height: 1.6;
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-dark);
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.25rem; }
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 15px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(95, 188, 211, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* === Header & Navigation === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 12px 0;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    height: 38px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: var(--text-gray);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: var(--transition);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--text-dark) 0%, #4A5568 50%, var(--text-gray) 100%);
    color: var(--white);
    padding: 160px 20px 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235FBCD3' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.1;
    color: var(--white);
}

.hero h1 span {
    color: var(--primary-blue);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 580px;
}

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

@media (max-width: 768px) {
    .hero {
        padding: 140px 20px 80px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
}

/* === Page Hero (smaller for subpages) === */
.page-hero {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-gray) 100%);
    color: var(--white);
    padding: 140px 20px 70px;
    text-align: center;
}

.page-hero h1 {
    margin-bottom: 15px;
    color: var(--white);
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* === Section Styling === */
section {
    padding: 100px 20px;
}

.section-subtitle {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: 50px;
}

.text-center {
    text-align: center;
}

.bg-white { background: var(--white); }
.bg-light { background: var(--light-gray); }
.bg-dark { 
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-gray) 100%);
    color: var(--white);
}

/* === Services Grid === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-border);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.service-card.featured {
    background: var(--primary-blue-light);
    border-color: var(--primary-blue);
}

.service-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
}

.service-badge {
    display: inline-block;
    margin-top: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* === Services Detail (diensten.html) === */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-border);
    align-items: start;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-detail-icon {
    font-size: 2.5rem;
}

.service-detail h2 {
    font-size: 1.75rem;
    margin-bottom: 15px;
}

.service-detail p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.8;
}

.service-detail-list {
    list-style: none;
}

.service-detail-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-border);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.service-detail-list li::before {
    content: '→';
    color: var(--primary-blue);
    font-weight: bold;
}

@media (max-width: 768px) {
    .service-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 80px;
    align-items: start;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--primary-blue);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 16px;
}

.about-content .link-blue {
    color: var(--primary-blue);
    font-weight: 600;
    transition: var(--transition);
}

.about-content .link-blue:hover {
    color: var(--primary-blue-dark);
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-image {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* === About Page Full === */
.about-full {
    max-width: 800px;
    margin: 0 auto;
}

.about-full p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 25px;
}

.about-full strong {
    color: var(--primary-blue);
}

/* === Projects Section === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-blue);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.project-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.project-card-icon {
    font-size: 1.5rem;
}

.project-card-sector {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.project-card p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* === Projects Page Full === */
.project-full {
    display: flex;
    gap: 30px;
    padding: 45px 0;
    border-bottom: 1px solid var(--gray-border);
}

.project-full:last-child {
    border-bottom: none;
}

.project-full-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.project-full-sector {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-full h3 {
    margin: 8px 0 12px;
    font-size: 1.5rem;
}

.project-full p {
    color: var(--text-gray);
    line-height: 1.8;
}

@media (max-width: 600px) {
    .project-full {
        flex-direction: column;
        gap: 20px;
    }
}

/* === CTA Section === */
.cta {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-gray) 100%);
    padding: 100px 20px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.1;
}

.cta h2 {
    margin-bottom: 20px;
    color: var(--white);
}

.cta p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 30px;
}

.cta .btn-primary {
    font-size: 18px;
    padding: 18px 45px;
}

.cta .btn-primary:hover {
    transform: scale(1.05);
}

/* === Contact Section === */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item-icon {
    font-size: 1.4rem;
    width: 45px;
    height: 45px;
    background: var(--primary-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.contact-item a {
    color: var(--primary-blue);
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-blue-dark);
}

.highlight-box {
    background: var(--primary-blue-light);
    padding: 25px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-blue);
}

.highlight-box strong {
    color: var(--text-dark);
}

.highlight-box p {
    color: var(--text-gray);
    margin-top: 8px;
    font-size: 14px;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* === Contact Form === */
.contact-form {
    background: var(--white);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-border);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(95, 188, 211, 0.15);
}

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

.form-submit {
    width: 100%;
    font-size: 16px;
}

.form-note {
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.form-success {
    background: #E8F5E9;
    border: 2px solid var(--green);
    padding: 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    display: none;
}

.form-success.show {
    display: block;
}

.form-success-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.form-success h3 {
    color: var(--green);
    margin-bottom: 10px;
}

.form-success p {
    color: var(--text-gray);
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* === SoevereinProbe Page === */
.sp-hero {
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-gray) 100%);
    padding: 140px 20px 100px;
    color: var(--white);
    text-align: center;
}

.sp-hero-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.sp-hero h1 {
    margin-bottom: 20px;
    color: var(--white);
}

.sp-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.sp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.sp-feature {
    text-align: center;
    padding: 30px;
}

.sp-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.sp-feature h3 {
    margin-bottom: 12px;
}

.sp-feature p {
    color: var(--text-gray);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .sp-features {
        grid-template-columns: 1fr;
    }
}

/* === Footer === */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 70px 20px 30px;
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.7;
    font-size: 14px;
    line-height: 1.8;
    max-width: 280px;
}

.footer-section h4 {
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    opacity: 0.7;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-blue);
}

.footer-section p {
    opacity: 0.7;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 1;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 13px;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 500px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* === Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.fade-in-1 { transition-delay: 0.1s; }
.fade-in-2 { transition-delay: 0.2s; }
.fade-in-3 { transition-delay: 0.3s; }
.fade-in-4 { transition-delay: 0.4s; }
.fade-in-5 { transition-delay: 0.5s; }
.fade-in-6 { transition-delay: 0.6s; }

/* === Utility Classes === */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* === Direct Email Section === */
.direct-email {
    background: var(--light-gray);
    padding: 60px 0;
    text-align: center;
}

.direct-email h3 {
    margin-bottom: 10px;
}

.direct-email p {
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* === LinkedIn Icon SVG === */
.linkedin-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
