/*
Theme Name: Pflege Child
Template: generatepress
Version: 1.0
*/

/* === BASIC LAYOUT START === */

  body {
    line-height: 1.6;
  }
  
  /* sadržaj centriran */
  .site-content {
    max-width: 1100px;
    margin: 0 auto;
    /* padding: 40px 20px; */
  }
  
  /* razmak između sekcija */
  .site-content > * {
    margin-bottom: 40px;
  }

  .site-main {
    margin-top: 0px !important;
  }
  
  /* headings */
  h1, h2, h3 {
    margin-bottom: 15px;
  }
  
  /* paragrafi */
  p {
    margin-bottom: 15px;
  }

/* === BASIC LAYOUT END === */

/* === BRAND COLORS START === */

  :root {
    --primary: #1E5FA8;
    --primary-light: #4A90E2;
    --light-bg: #EAF3FB;

    --text: #333333;

    --green: #2E9E4F;
    --red: #D93636;
  }

  body {
    color: var(--text);
  }

  a {
    color: var(--primary);
  }

  a:hover {
    color: var(--primary);
  }

  .wp-block-button__link {
    display: inline-block;
    padding: 12px 22px;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s ease;
  }

  .wp-block-button__link:hover {
    background: var(--primary-light) !important;
    transform: translateY(-1px);
  }

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

  .site-header {
    background: var(--light-bg);
  }
  
  .main-navigation {
    margin-top: 10px;
    background: var(--light-bg);
  }
  
  .main-navigation ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .main-navigation a {
    color: var(--text);
    font-size: 18px;
  }
  
  .main-navigation a:hover {
    color: var(--primary);
  }

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

/* === HOME START === */

  .home h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .home .site-content {
    /* padding-top: 60px; */
  }
  
  .home .wp-block-buttons {
    margin-top: 20px;
  }

/* === HOME END === */

/* === HERO SECTION START === */

  /* @media (min-width: 768px) { .hide-desktop { display: none !important; } } */
  @media (max-width: 767px) { .hide-mobile { display: none !important; } }


  .hero-section {
    padding: 40px 10px 30px !important;
    /* position: relative; */
  }
  .hero-section .wp-block-cover__inner-container {
    max-width: 700px;
  }
  
  .hero-section h1 {
    font-size: 35px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.7);
  }
  
  .hero-section p {
    font-size: 18px;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }
  
  .hero-section .wp-block-buttons {
    margin-top: 25px;
  }
  .hero-content {
    max-width: 700px;
  }
  .hero-section .wp-block-cover__background {
    background: linear-gradient(
      to right,
      rgba(30, 95, 168, 0.85) 0%,
      rgba(30, 95, 168, 0.7) 50%,
      rgba(30, 95, 168, 0.5) 100%
    ) !important;
  }
  .wp-block-cover.hero-section .wp-block-cover__image-background {
    filter: brightness(0.7) !important;
  }
  

/* === HERO SECTION END === */

/* === CTA SECTION START === */

  .cta-section {
    padding: 60px 20px;
    text-align: center;
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
  }
  
  .cta-section h2,
  .cta-section p {
    color: #ffffff;
  }

/* === CTA SECTION END === */

  .karriere-section p {
    text-shadow: 0 3px 15px rgba(0,0,0,0.7);
  }
  
  

/* === LEISTUNGEN SECTION END === */
  
  .leistungen-section {
    padding: 20px 20px;
    background: var(--light-bg);
  }
  
  .leistungen-section h2 {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .leistungen-section .wp-block-columns {
    gap: 30px;
  }
  
  .leistungen-section .wp-block-column {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
  }
  
  .leistungen-section .wp-block-column:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  }
  
  .leistungen-section h3 {
    margin-bottom: 15px;
  }

  .leistugnen-icons {
    padding-bottom: 40px;
    padding-top: 20px;
  }

/* === LEISTUNGEN SECTION END === */

.uber-uns-section .wp-block-cover__inner-container {
  max-width: 700px;
}
.uber-uns-group-text {
  padding: 0px 10px 0px 10px;
}

.last-section a {
  text-decoration: none !important;
}

.last-section   a:hover {
  color: var(--primary);
}

.leistungen-bg{
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  padding: 35px;
}

.leistungen-bg .wp-block-cover__background {
  background: linear-gradient(
    to right,
    rgba(30, 95, 168, 0.85) 0%,
    rgba(30, 95, 168, 0.7) 50%,
    rgba(30, 95, 168, 0.5) 100%
  ) !important;
}
.wp-block-cover.leistungen-bg .wp-block-cover__image-background {
  filter: brightness(0.7) !important;
}


/* KONTAKT START */

.contact-info {
  padding: 60px 20px;
}

.contact-info strong {
  color: var(--primary);
  font-size: 18px;
}

/* Style Inputs and Textareas */
.forminator-ui.forminator-custom-form .forminator-input,
.forminator-ui.forminator-custom-form .forminator-textarea {
  border-radius: 6px !important;
  border: 1px solid #ddd !important;
  padding: 10px !important;
}

/* Style the Submit Button */
.forminator-ui.forminator-custom-form .forminator-button-submit {
  background-color: var(--primary) !important;
  color: #fff !important;
  border-radius: 6px !important;
  border: none;
}

.forminator-checkbox span {
  border-radius: 4px !important;
}

/* Force 'Durchsuchen' text */
.forminator-file-upload span::before {
  content: "Durchsuchen" !important;
  font-size: 14px !important;
  color: #ffffff !important;
  visibility: visible !important;
}

/* Hide the original 'Browse' word */
.forminator-file-upload span {
  font-size: 0 !important;
}

/* Force 'Datei auswählen...' text */
.forminator-file-upload .forminator-label::before {
  content: "Datei auswählen..." !important;
  font-size: 14px !important;
  color: #666666 !important;
  visibility: visible !important;
}

/* Hide the original 'No file chosen' word */
.forminator-file-upload .forminator-label {
  font-size: 0 !important;
}

.map-smalltext p{
  font-size: 10px;
}

/* 1. WRAPPER: Remove all extra space and "yank" it up slightly */
.contact-info-grid, 
.contact-info-grid .wp-block-columns {
    margin-top: 0px !important; /* Adjust this number to pull it higher */
    padding-top: 0 !important;
    margin-bottom: 0px !important;
    --wp--style--block-gap: 0 !important; /* Kills internal WP spacing */
}

/* 2. THE BOXES: Styling for each column */
.contact-info-grid .wp-block-column {
    background-color: var(--light-bg);
    border: 1px solid var(--light-bg);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    margin-bottom: 10px; /* Space between boxes when they stack on mobile */
}

/* 3. HOVER EFFECT: Subtle lift */
.contact-info-grid .wp-block-column:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light); 
}

/* 4. CONTENT: Clean up text and headings inside boxes */
.contact-info-grid .wp-block-column > *:first-child {
    margin-top: 0 !important; /* Removes top gap inside the box */
}

.contact-info-grid .wp-block-column p {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 1.6;
}

.contact-info-grid h2 {
    font-size: 30px;
}

.kontakt-icons {
  margin-bottom: 15px;
}