/*
Theme Name: Infragroen
Theme URI: https://infragroen.nl
Author: Infragroen
Author URI: https://infragroen.nl
Description: Block theme voor Infragroen – Groen Beheer & Onderhoud. Exact gebaseerd op het originele ontwerp.
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: infragroen
Tags: full-site-editing, block-themes, block-styles, wide-blocks, green, business, landscaping
*/

/* =====================================================
   Base
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks {
  padding: 0 !important;
}

/* =====================================================
   Top bar
   ===================================================== */
.ig-topbar {
  background: #1B5E20 !important;
  color: #fff !important;
  font-size: 0.85rem;
  padding: 8px 0 !important;
}

.ig-topbar a {
  color: #fff !important;
  text-decoration: none;
  opacity: 0.9;
}
.ig-topbar a:hover { opacity: 1; }

/* =====================================================
   Header
   ===================================================== */
.ig-header {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0 !important;
}

.ig-logo-text {
  font-weight: 800 !important;
  font-size: 1.35rem !important;
  color: #1B5E20 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.3px;
  margin: 0 !important;
}

.ig-logo-sub {
  font-size: 0.68rem !important;
  font-weight: 500 !important;
  color: #6B7280 !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0 !important;
  line-height: 1.2 !important;
}

.ig-logo-icon {
  width: 40px;
  height: 40px;
  background: #2E7D32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Navigation */
.ig-header .wp-block-navigation a,
.ig-header .wp-block-navigation .wp-block-navigation-item__content {
  font-weight: 500 !important;
  font-size: 0.95rem !important;
  color: #1A1A1A !important;
  padding: 8px 14px !important;
  border-radius: 6px;
}

.ig-header .wp-block-navigation a:hover,
.ig-header .wp-block-navigation .current-menu-item a {
  color: #2E7D32 !important;
  background: #E8F5E9;
}

/* Header CTA button */
.ig-header .wp-block-button .wp-block-button__link {
  background: #2E7D32 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  padding: 11px 22px !important;
  border: none !important;
}
.ig-header .wp-block-button .wp-block-button__link:hover {
  background: #1B5E20 !important;
}

/* =====================================================
   Hero
   ===================================================== */
.ig-hero {
  min-height: 580px !important;
}

.ig-hero .wp-block-cover__inner-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.ig-hero-tag {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 12px !important;
}

.ig-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #fff !important;
  margin: 0 0 18px !important;
}

.ig-hero h1 .has-green-accent-color,
.ig-hero h1 mark {
  color: #66BB6A !important;
  background: transparent !important;
}

.ig-hero p {
  color: rgba(255,255,255,0.92) !important;
  font-size: 1.05rem !important;
  max-width: 500px;
  margin-bottom: 28px !important;
}

.ig-hero .wp-block-button .wp-block-button__link {
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 13px 26px !important;
  font-size: 0.95rem !important;
}

.ig-hero .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}
.ig-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #fff !important;
  color: #1B5E20 !important;
}

/* =====================================================
   Services – overlapping cards
   ===================================================== */
.ig-services {
  margin-top: -70px !important;
  position: relative;
  z-index: 10;
  padding-bottom: 60px !important;
}

.ig-service-card {
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1) !important;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ig-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.14) !important;
}

.ig-service-card .wp-block-image {
  margin: 0 !important;
  line-height: 0;
}

.ig-service-card .wp-block-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0 !important;
}

.ig-service-body {
  padding: 28px 22px 24px !important;
  position: relative;
}

.ig-service-icon {
  width: 46px;
  height: 46px;
  background: #2E7D32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
  position: absolute;
  top: -23px;
  left: 22px;
  box-shadow: 0 4px 12px rgba(46,125,50,0.35);
}

.ig-service-card h3 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin: 18px 0 10px !important;
  color: #1A1A1A !important;
}

.ig-service-card p {
  font-size: 0.92rem !important;
  color: #4A4A4A !important;
  line-height: 1.55 !important;
  margin-bottom: 14px !important;
}

.ig-service-card .ig-readmore {
  color: #2E7D32 !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-decoration: none;
}
.ig-service-card .ig-readmore:hover {
  color: #1B5E20 !important;
}

/* =====================================================
   Clients
   ===================================================== */
.ig-clients {
  background: #F5F7F5 !important;
  padding: 70px 0 !important;
  text-align: center;
}

.ig-clients .ig-label {
  color: #2E7D32 !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}

.ig-clients h2 {
  margin-bottom: 40px !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem) !important;
}

.ig-client-icon {
  width: 62px;
  height: 62px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.ig-clients h3 {
  font-size: 1.1rem !important;
  margin-bottom: 8px !important;
}

.ig-clients p {
  font-size: 0.88rem !important;
  color: #4A4A4A !important;
  max-width: 220px;
  margin: 0 auto;
}

/* =====================================================
   Why us
   ===================================================== */
.ig-why {
  background: #1B5E20 !important;
  color: #fff !important;
  padding: 50px 0 !important;
  text-align: center;
}

.ig-why h2 {
  color: #fff !important;
  margin-bottom: 32px !important;
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

.ig-why-item {
  text-align: center;
}

.ig-why-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
}

.ig-why-item p {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  margin: 0 !important;
}

/* =====================================================
   CTA
   ===================================================== */
.ig-cta {
  background: #2E7D32 !important;
  color: #fff !important;
  padding: 55px 0 !important;
}

.ig-cta h2 {
  color: #fff !important;
  margin-bottom: 12px !important;
}

.ig-cta p {
  color: rgba(255,255,255,0.9) !important;
  font-size: 1.05rem !important;
  margin-bottom: 24px !important;
}

.ig-cta .wp-block-button .wp-block-button__link {
  border-radius: 8px !important;
  font-weight: 600 !important;
  padding: 13px 26px !important;
}

.ig-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #fff !important;
  color: #1B5E20 !important;
}

.ig-cta .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}

.ig-cta-img img {
  border-radius: 10px !important;
  height: 170px;
  object-fit: cover;
  width: 100%;
}

/* =====================================================
   Footer
   ===================================================== */
.ig-footer {
  background: #0D3B12 !important;
  color: rgba(255,255,255,0.85) !important;
  padding: 55px 0 0 !important;
}

.ig-footer h4 {
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 16px !important;
}

.ig-footer a {
  color: rgba(255,255,255,0.7) !important;
  text-decoration: none;
  font-size: 0.9rem;
}
.ig-footer a:hover {
  color: #66BB6A !important;
}

.ig-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ig-footer ul li {
  margin-bottom: 8px;
}

.ig-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 40px;
}

/* =====================================================
   Buttons global
   ===================================================== */
.wp-block-button .wp-block-button__link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.wp-block-button .wp-block-button__link:hover {
  transform: translateY(-1px);
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 782px) {
  .ig-services {
    margin-top: -30px !important;
  }
  .ig-hero {
    min-height: 480px !important;
  }
  .ig-header .wp-block-buttons {
    display: none;
  }
}

@media (max-width: 600px) {
  .ig-hero h1 {
    font-size: 2rem !important;
  }
}
