/* ========================================
   McdAmac Holding B.V.  —  Premium
   Logo-kleuren: #1a3a5f, #3a3a3a
   ======================================== */

:root {
    --blue: #1a3a5f;
    --blue-dark: #112740;
    --blue-mid: #264b73;
    --blue-light: #3a6b96;
    --blue-ghost: #e8eef5;
    --blue-tint: #c5d5e8;
    --anthracite: #3a3a3a;
    --text: #1e1e1e;
    --text-soft: #555;
    --text-muted: #889;
    --bg: #fff;
    --bg-soft: #f6f8fb;
    --border: #e2e6ec;
    --shadow: 0 1px 3px rgba(26,58,95,.06), 0 1px 2px rgba(26,58,95,.04);
    --shadow-md: 0 4px 12px rgba(26,58,95,.08), 0 2px 6px rgba(26,58,95,.04);
    --shadow-lg: 0 12px 40px rgba(26,58,95,.1), 0 4px 12px rgba(26,58,95,.05);
    --transition: .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior:smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container { max-width:1080px; margin:0 auto; padding:0 2rem; }
.container-sm { max-width:740px; }

a { color: var(--blue); text-decoration:none; transition:color var(--transition); }
a:hover { color: var(--blue-mid); }

/* ========================================
   HEADER
   ======================================== */

.header {
    position: fixed; top:0; left:0; width:100%;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo-img { height: 36px; width: auto; display: block; }

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

.nav-link {
    font-size: .85rem; font-weight: 500;
    color: var(--anthracite); letter-spacing: .01em;
    position: relative; padding: .25rem 0;
}
.nav-link::after {
    content:''; position:absolute; bottom:-4px; left:0;
    width:0; height:1.5px; background: var(--blue);
    transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link:hover::after, .nav-link.active::after { width:100%; }

.nav-toggle {
    display:none; flex-direction:column; gap:5px;
    background:none; border:none; cursor:pointer; padding:4px;
}
.nav-toggle span {
    display:block; width:22px; height:1.5px; background: var(--anthracite);
    transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:first-child { transform:translateY(3.25px) rotate(45deg); }
.nav-toggle.open span:last-child { transform:translateY(-3.25px) rotate(-45deg); }

/* ========================================
   HERO
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--blue-dark);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-grid {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(58,107,150,.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(26,58,95,.25) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content { position: relative; z-index: 1; }

.hero-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.2));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.hero-title span {
    font-weight: 300;
    opacity: .75;
    display: block;
    font-size: 1.75rem;
    margin-top: .35rem;
    letter-spacing: .04em;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255,255,255,.7);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.hero-scroll a { color: rgba(255,255,255,.35); display:block; }
.hero-scroll a:hover { color: rgba(255,255,255,.6); }

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

/* ========================================
   OVER
   ======================================== */

.over {
    padding: 7rem 0;
    background: var(--bg);
}

.section-title {
    font-size: 1.65rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2.5rem;
    letter-spacing: -.01em;
    position: relative;
    padding-bottom: 1rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 2px;
    background: var(--blue);
    border-radius: 2px;
}

.over-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.over-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.7;
}
.over-grid p {
    font-size: 1rem;
    color: var(--text-soft);
    line-height: 1.7;
}
.over-footnote {
    font-size: .92rem !important;
    color: var(--text-muted) !important;
    font-style: italic;
    padding-top: .5rem;
}

/* ========================================
   PARTICIPATIES
   ======================================== */

.participaties {
    padding: 7rem 0;
    background: var(--bg-soft);
}

.part-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.part-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.part-card:hover {
    border-color: var(--blue-tint);
    box-shadow: var(--shadow-lg);
}

.part-top {
    padding: 2rem 2rem 0;
    display: flex;
    align-items: center;
    gap: .75rem;
}
.part-logo {
    max-height: 32px;
    width: auto;
}
.part-logo-small {
    max-height: 26px;
}
.part-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
}

.part-body {
    padding: 1.25rem 2rem;
    flex: 1;
}
.part-tagline {
    font-size: .88rem;
    font-weight: 600;
    color: var(--blue-mid);
    margin-bottom: .65rem;
    letter-spacing: .01em;
}
.part-text {
    font-size: .92rem;
    color: var(--text-soft);
    line-height: 1.65;
}

.part-footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border);
}
.part-link {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: color var(--transition), gap var(--transition);
}
.part-link::after {
    content: '→';
    font-size: .85rem;
    transition: transform var(--transition);
}
.part-link:hover {
    color: var(--blue);
    gap: .55rem;
}
.part-link:hover::after {
    transform: translateX(2px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--anthracite);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    max-height: 48px;
    width: auto;
    filter: brightness(10);
}

.footer-contact h4,
.footer-links h4 {
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.45);
    margin-bottom: 1rem;
}

.footer-contact p {
    font-size: .9rem;
    margin-bottom: .35rem;
    line-height: 1.6;
}
.footer-contact a {
    color: rgba(255,255,255,.7);
}
.footer-contact a:hover {
    color: #fff;
}

.footer-links a {
    display: block;
    font-size: .9rem;
    color: rgba(255,255,255,.6);
    margin-bottom: .5rem;
}
.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 1.5rem;
    text-align: center;
    font-size: .8rem;
    color: rgba(255,255,255,.3);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-title span { font-size: 1.35rem; }
    .hero-logo { max-width: 200px; }
    .hero-subtitle { font-size: 1rem; }

    .part-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    .nav-toggle { display: flex; }
    .nav {
        position: absolute; top: 68px; left: 0; width: 100%;
        background: var(--bg); border-bottom: 1px solid var(--border);
        max-height: 0; overflow: hidden;
        transition: max-height .3s ease;
    }
    .nav.active { max-height: 220px; }
    .nav-list { flex-direction: column; padding: 1.5rem 2rem; gap: 1.25rem; }

    .over { padding: 5rem 0; }
    .participaties { padding: 5rem 0; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero-title { font-size: 2rem; }
    .hero-title span { font-size: 1.15rem; }
    .hero { padding: 100px 0 60px; }
    .part-top, .part-body, .part-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
    .over-lead { font-size: 1.05rem; }
    .section-title { font-size: 1.4rem; }
}
