/* =====================================
    SALAAM ZORG – BRAND CSS (ZORG THEME)
===================================== */

/* Root Theme Variables - Volledig aangepast aan Salaam Zorg Logo */
:root {
    /* Warm Light Backgrounds */
    --color-background: #FAF9F6;         /* Soft warm cream */
    --color-background-alt: #F1F5F2;     /* Lichtgroene/neutrale tint voor secties */

    /* Brand Colors uit het Logo */
    --color-primary: #4EAF47;            /* Het frisse groen uit het dak/handen */
    --color-primary-dark: #388E3C;       /* Donkergroen voor hovers */
    --color-primary-light: #8CC63F;      /* Lichtgroen accent */

    --color-secondary: #0060A9;          /* Het diepe blauw van de figuren */
    --color-secondary-dark: #004A83;

    /* Text Colors */
    --color-text: #333333;
    --color-heading: #0060A9;            /* Blauwe koppen geven een medisch/betrouwbaar gevoel */

    /* Gradients */
    --gradient-hero: linear-gradient(to bottom, #FFFFFF, #FAF9F6);
    --gradient-cta: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    --gradient-footer: linear-gradient(to bottom, var(--color-secondary), var(--color-secondary-dark));
}

/* Base Reset */
body {
    font-family: 'Open Sans', Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--color-background);
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-primary-light);
    text-decoration: underline;
}

/* Navbar */
.navbar {
    background: #FFFFFF;
    color: var(--color-heading);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--color-primary-light); /* Subtiele groene lijn onder de nav */
}

.navbar .brand {
    display: flex;
    align-items: center;
}

.navbar .brand img {
    height: 125px;
    width: auto;
    margin-right: 8px;
}

.navbar .brand span {
    font-weight: 700;
    font-size: 1.4em;
    color: var(--color-secondary); /* Blauwe tekst voor de merknaam */
}

.nav-links {
    display: flex;
    list-style: none;
    padding-left: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--color-heading);
    transition: color 0.3s ease;
    font-weight: 600;
}

.nav-links a.active {
    font-weight: bold;
    color: var(--color-primary);
}

.nav-links .social-icon a {
    font-size: 1.4em;
    text-decoration: none;
    color: var(--color-secondary);
}

.nav-links .social-icon a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-heading);
    font-size: 24px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #FFFFFF;
    }
    .nav-links li {
        margin: 10px 0;
        text-align: center;
    }
    .menu-toggle {
        display: block;
    }
}

.nav-links.active {
    display: flex;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    padding: 80px 20px;
    text-align: center;
}

.hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF; /* Altijd wit op een achtergrondfoto */
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: none;
}
.hero.hero-image {
    position: relative;
}

.hero.hero-image::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 42, 74, 0.4); /* Donkerblauwe transparante laag voor betere leesbaarheid */
    z-index: 0;
}

.hero.hero-image h1,
.hero.hero-image p,
.hero.hero-image a {
    position: relative;
    color: #FFFFFF !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero gallery with sliding images */
.hero-gallery {
    background: none;
    position: relative;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #FFFFFF;
}

.hero-gallery-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-gallery-images img.active {
    opacity: 1;
}

.hero.hero-gallery::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 42, 74, 0.45); /* Rustgevende blauwe waas over de galerij */
    z-index: 0;
}

.hero.hero-gallery h1,
.hero.hero-gallery p,
.hero.hero-gallery a {
    position: relative;
    color: #FFFFFF !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

/* Sections */
.section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

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

.section.alt {
    background: var(--color-background-alt);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 9999px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-primary); /* Groen uit logo */
  color: white !important;
  border: none;
}

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

.btn-outline {
  background: transparent;
  border: 2px solid #F4C542; /* Geel accent behouden voor knoppen op donkere achtergronden */
  color: #F4C542 !important;
}

.btn-outline:hover {
  background: #F4C542;
  color: #333 !important;
}

/* Cards & CTA */
.card {
    background: #FFFFFF;
    color: var(--color-text);
    border-radius: 8px;
    border: 1px solid #E0EADD; /* Lichtgroene rand */
    border-top: 4px solid var(--color-primary); /* Groene "top-bar" voor herkenbaarheid */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.cta {
    background: var(--gradient-cta);
    text-align: center;
    color: #FFFFFF;
    padding: 40px 20px;
    border-radius: 8px;
}

.cta h2, .cta p {
    color: #FFFFFF;
}

/* Forms */
form {
    max-width: 600px;
    margin: 0 auto;
}

input, textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #FFFFFF;
    color: var(--color-text);
    box-sizing: border-box;
}

input[type="submit"],
button[type="submit"] {
    background: var(--color-primary);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background: var(--color-primary-dark);
}

/* Footer */
.footer {
    background: var(--color-secondary); /* Diep blauw footer */
    color: #FFFFFF;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: var(--color-primary-light); /* Groene links in de footer */
    font-weight: bold;
}

.footer a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Utility */
.accent {
    color: var(--color-primary);
}

.highlight {
    color: var(--color-secondary);
}