/* ============================================
   Klank & Rust - Main Stylesheet
   House Style Colors:
   - Primary: #2d5b70
   - Accent: #c985a9
   - Background: #FBE3D6
   ============================================ */

/* CSS Variables */
:root {
    --primary-color: #2d5b70;
    --primary-dark: #1a3a52;
    --accent-color: #c985a9;
    --bg-color: #FBE3D6;
    --bg-color2: #fdf3ed;
    --text-color: #2d2d2d;
    --white: #ffffff;
    --shadow-light: rgba(45, 91, 112, 0.15);
    --shadow-medium: rgba(45, 91, 112, 0.25);
    --shadow-strong: rgba(45, 91, 112, 0.4);
    --transition-speed: 0.3s;
    --border-radius-sm: 1rem;
    --border-radius-md: 1.5rem;
    --border-radius-lg: 2rem;
}

/* ============================================
   Base Styles & Typography
   ============================================ */
* {
    font-family: 'Arimo', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

/* Headings - Arimo Bold with enhanced styling */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Arimo', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-color);
}

/* ============================================
   Accessibility
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    z-index: 9999;
    text-decoration: none;
    border-radius: 0 0 var(--border-radius-sm) 0;
}

.skip-link:focus {
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================
   Header & Navigation
   ============================================ */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Logo & Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-name {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    white-space: nowrap;
}

.brand:hover .brand-name,
.brand:focus .brand-name {
    color: var(--accent-color);
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a:hover,
.main-nav a:focus {
    color: var(--accent-color);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background:var(--bg-color);
    color: var(--primary-color);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 0;
}

.hero h1 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.hero-tagline {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-intro {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.8;
}

/* Hero Logo */
.hero-logo {
    display: block;
    margin: 0 auto 1.5rem auto;
    padding: 10px;
    width: 50%;
    max-width: 250px;
    height: auto;
}

/* Intro Image */
.img-intro {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 20px var(--shadow-light);
    position: sticky;
    top: 100px;
}

/* Voor wie Image */
.img-voorwie {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 20px var(--shadow-light);
    display: block;
    max-height: 400px;
}

/* Over mij Image */
.img-overmij {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 20px var(--shadow-light);
    display: block;
    max-height: 400px;
}

/* ============================================
   Main Content
   ============================================ */
main {
    min-height: calc(100vh - 200px);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 4rem 0;
    scroll-margin-top: 80px;
}

.section-alt {
    background-color: var(--bg-color2);
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Section Divider */
.section-divider {
    border: none;
    border-top: 2px solid rgba(45, 91, 112, 0.15);
    margin: 2.5rem 0;
}

/* Triskelion Symbol Block */
.triskelion-heading {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.triskelion-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.triskelion-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(45, 91, 112, 0.1);
    font-weight: 500;
}

.triskelion-list li:last-child {
    border-bottom: none;
}

.triskelion-list li::before {
    content: '◈';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Lead Text */
.lead-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Quote */
.quote {
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: var(--white);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    font-style: italic;
}

.quote p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Experience List */
.experience-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(45, 91, 112, 0.1);
}

.experience-list li:last-child {
    border-bottom: none;
}

.experience-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* Highlight Text */
.highlight-text {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-top: 1.5rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 20px var(--shadow-light);
    height: 100%;
    overflow: hidden;
    background: var(--white);
}


.card-body {
    padding: 2rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--border-radius-lg);
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-family: 'Arimo', sans-serif;
    transition: background var(--transition-speed) ease;
    box-shadow: 0 4px 12px rgba(45, 91, 112, 0.3);
    color: var(--white);
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.btn-primary:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ============================================
   Forms
   ============================================ */
.form-control,
.form-select {
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1rem;
    transition: all var(--transition-speed) ease;
    font-family: 'Arimo', sans-serif;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 133, 169, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* Success Message */
.success-message {
    background-color: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    display: none;
}

.success-message.show {
    display: block;
}

/* ============================================
   Contact Info Links
   ============================================ */
.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.contact-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

.site-footer p {
    margin: 0;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    .logo {
        max-height: 40px;
        padding: 4px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem;
        gap: 0;
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 4rem 0;
    }

    .section {
        padding: 3rem 0;
    }

    .card-body {
        padding: 1.5rem;
    }

    .img-intro, .img-overmij {
        position: static;
        margin-top: 1rem;
        height: auto;
    }
}

@media (max-width: 576px) {
    .brand-name {
        display: none;
    }

    .logo {
        max-height: 45px;
        padding: 5px;
    }

    .hero {
        padding: 3rem 0;
    }

    .section {
        padding: 2rem 0;
    }

    .card-body {
        padding: 1.25rem;
    }
}
