/* =====================================
    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: 28px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar .brand img {
        height: 80px; /* Smaller logo on mobile */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #FFFFFF;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
        opacity: 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        max-height: 500px; /* Sufficient height for links */
        opacity: 1;
        display: flex;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f9f9f9;
        text-align: left;
    }

    .menu-toggle {
        display: block;
    }
}

/* 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 */
/* Utility Classes for Layout */
.flex-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.flex-center {
    justify-content: center;
}

.flex-around {
    justify-content: space-around;
}

.col-text {
    flex: 1 1 300px;
}

.col-image {
    flex: 1 1 300px;
    text-align: center;
}

.col-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* Hero Enhancements */
.hero-title-main {
    color: #FFFFFF !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-subtitle {
    margin-top: 0.7rem;
    color: #FFFFFF !important;
    font-size: 1.2rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero .btn-primary, .hero .btn-outline {
    padding: 12px 25px;
    font-weight: bold;
}

.hero .btn-outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary) !important;
    background: rgba(0,0,0,0.3);
}

/* Services & Cards */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card-service {
    flex: 1 1 250px;
    margin: 10px;
    text-align: center;
}

.card-service i {
    margin-bottom: 1rem;
}

.card-description {
    font-size: 0.9em;
    color: #666;
}

.card-list {
    text-align: left;
    display: inline-block;
    font-size: 0.9rem;
    color: #555;
    padding-left: 20px;
}

/* Contact Specific */
.contact-card-large {
    max-width: 500px;
    flex: 1 1 300px;
    padding: 2rem;
    text-align: center;
}

.contact-details {
    margin-top: 20px;
    text-align: left;
    display: inline-block;
}

.contact-link-plain {
    text-decoration: none;
    color: inherit;
}

.whatsapp-color {
    color: #25D366;
}

/* Section Overrides */
.section-header {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 3rem;
}

.section-cta {
    background-color: var(--color-background-alt);
    text-align: center;
    padding: 4rem 1rem;
}

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

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

/* Consolidated Classes for Global Refactoring */
.hero-banner {
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: #FFFFFF;
}

.hero-banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 42, 74, 0.4);
    z-index: 0;
}

.hero-banner h1, .hero-banner p {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    padding: 3rem 1rem;
}

.card-featured {
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    background: #FFFFFF;
}

.section-title-accent {
    color: var(--color-primary, #4EAF47);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
}