/* ============================================================
   public/css/style.css  –  Cognivium hoofdstijlen
   ============================================================ */

:root {
    --primary:       #18223d;
    --primary-light: #1f2d4a;
    --accent:        #4a6fa5;
    --accent-light:  #5a7fb5;
    --text:          #ffffff;
    --text-light:    #b8c5d6;
    --bg:            #18223d;
    --bg-alt:        #121827;
    --border:        #2a3f5f;
    --card-bg:       #1f2d4a;
}

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

body {
    font-family: 'Charter', 'Bitstream Charter', 'Georgia', serif;
    color: var(--text);
    line-height: 1.7;
    background: var(--bg);
    overflow-x: hidden;
}

/* ── Header ──────────────────────────────────────────── */
header {
    background: rgba(24, 34, 61, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(74, 111, 165, 0.15);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container { display: flex; align-items: center; text-decoration: none; }
.logo           { height: 75px; display: flex; align-items: center; }
.logo img       { height: 100%; width: auto; object-fit: contain; transition: transform .3s; }
.logo img:hover { transform: translateY(-2px); }

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    transition: color .3s;
    position: relative;
}
nav a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background: var(--text);
    transition: width .3s;
}
nav a:hover::after { width: 100%; }
nav a:hover        { color: var(--text-light); }

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: .6rem 1.25rem;
    border-radius: 8px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover  { background: var(--accent-light) !important; color: #fff !important; transform: translateY(-2px); }

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1.4rem;
    padding: .4rem .8rem;
    border-radius: 6px;
    cursor: pointer;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #18223d 0%, #1f2d4a 100%);
    padding: 8rem 3rem;
    text-align: center;
}
.hero-content { max-width: 1200px; margin: 0 auto; }
.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.hero .subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,.8);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ── Buttons ─────────────────────────────────────────── */
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

.cta-primary, .cta-secondary, .cta-booking {
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all .3s;
    display: inline-block;
}
.cta-primary   { background: #fff; color: var(--primary); }
.cta-secondary { background: transparent; color: #fff; border: 2px solid #fff; }
.cta-booking   { background: var(--accent); color: #fff; }
.cta-primary:hover, .cta-secondary:hover, .cta-booking:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74,111,165,.4);
}

/* ── Container / Sections ────────────────────────────── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 3rem; }
section    { padding: 6rem 0; }

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
}

/* ── Features ────────────────────────────────────────── */
.features { background: var(--bg-alt); }
.narrative-content { max-width: 900px; margin: 3rem auto 0; }
.narrative-block {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all .3s;
}
.narrative-block:hover  { border-color: var(--accent); box-shadow: 0 8px 25px rgba(74,111,165,.2); }
.narrative-block h3     { font-size: 1.75rem; margin-bottom: 1.25rem; }
.narrative-block p      { color: var(--text-light); line-height: 1.9; margin-bottom: 1rem; }
.narrative-block p:last-child { margin-bottom: 0; }
.narrative-block.highlight    { background: linear-gradient(135deg, var(--card-bg) 0%, var(--primary-light) 100%); border-color: var(--accent); }
.narrative-block.vision       { background: var(--primary); border-color: var(--accent); }
.narrative-block strong { color: var(--accent); }
.narrative-block em     { color: var(--text); font-style: italic; }
.benefits-list {
    background: rgba(74,111,165,.1);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin-top: 1rem;
    line-height: 2;
}
.tagline { font-size: 1.15rem; font-weight: 600; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ── Services ────────────────────────────────────────── */
.services { background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}
.service-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 15px;
    padding: 2.5rem;
    transition: all .4s;
}
.service-card:hover    { transform: translateY(-8px); box-shadow: 0 15px 40px rgba(74,111,165,.25); border-color: var(--accent); }
.service-number        { font-size: 3rem; font-weight: 700; color: var(--text-light); opacity: .3; margin-bottom: 1rem; }
.service-card h3       { font-size: 1.5rem; margin-bottom: 1rem; }
.service-card p        { color: var(--text-light); line-height: 1.8; }

/* ── CTA Section ─────────────────────────────────────── */
.cta-section { background: var(--bg); text-align: center; }
.cta-section p { font-size: 1.3rem; color: var(--text-light); margin-bottom: 3rem; }

/* ── Footer ──────────────────────────────────────────── */
footer {
    background: var(--primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}
.footer-content {
    max-width: 1400px;
    margin: 0 auto 3rem;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-section h4  { color: var(--text); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-section p   { color: rgba(255,255,255,.7); line-height: 1.8; }
.footer-section ul  { list-style: none; }
.footer-section li  { margin-bottom: .8rem; }
.footer-section a   { color: rgba(255,255,255,.8); text-decoration: none; transition: all .3s; }
.footer-section a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: underline; }

/* ── Language Selector ───────────────────────────────── */
.language-selector  { display: flex; gap: .5rem; }
.lang-btn           { padding: .5rem 1rem; border-radius: 5px; background: transparent; border: 1px solid var(--border); color: var(--text) !important; }
.lang-btn.active    { background: var(--text); color: var(--primary) !important; border-color: var(--text); }
.lang-btn::after    { display: none !important; }

/* ── WhatsApp float ──────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 40px; right: 40px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 2px 2px 15px rgba(0,0,0,.3);
    z-index: 9999;
    transition: all .3s;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg   { width: 35px; height: 35px; fill: #fff; }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .hero h1      { font-size: 2.5rem; }
    .hero .subtitle { font-size: 1.2rem; }
    h2            { font-size: 2rem; }
    .services-grid{ grid-template-columns: 1fr; }
    .footer-content{ grid-template-columns: 1fr; }
    nav ul        { display: none; flex-direction: column; gap: 1rem; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 1.5rem 2rem; border-top: 1px solid var(--border); }
    nav ul.open   { display: flex; }
    .nav-toggle   { display: block; }
    nav           { padding: 0 1.5rem; flex-wrap: wrap; }
    .container    { padding: 0 1.5rem; }
    section       { padding: 4rem 0; }
}
