/* ========================================================
   ShineCrest Gartenwelten – Professional Corporate CSS
   Author: Senior CSS Developer & UI Designer
   Brand: ShineCrest Gartenwelten
   ======================================================== */

/* ==== RESET & NORMALIZE ==== */
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Source Sans Pro', Arial, Helvetica, sans-serif;
  background: #F5F1E9;
  color: #233443;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #F5F1E9;
}
img, picture, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  margin: 0 0 16px 24px;
  padding: 0;
}
li {
  margin-bottom: 8px;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin: 0;
  color: #205D3B;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.35rem; margin-bottom: 9px; }
h4, h5, h6 { margin-bottom: 7px; }
p { margin: 0 0 16px 0; font-size: 1.08rem; }
a {
  color: #205D3B;
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover, a:focus {
  color: #8CBF77;
  text-decoration: underline;
}

/* ==== CONTAINER & SPACING UTILITIES ==== */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.text-section {
  max-width: 700px;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,52,67,0.06);
}
/* For direct page section selection since not all sections use .section */
.hero, .features, .about, .cta, .services, .team, .case-studies, .testimonials, .contact, .info, .blog-list, .confirmation, .legal {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== FLEXBOX LAYOUTS ==== */
.card-container, .card-grid, .feature-grid, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container { gap: 24px; }
.card-grid { gap: 24px; }
.feature-grid { gap: 24px; }
.content-grid { gap: 20px; justify-content: space-between; }
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== HEADER & NAVIGATION ==== */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(35,52,67,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  min-height: 80px;
  position: relative;
  z-index: 1002;
}
.logo {
  display: flex;
  align-items: center;
  height: 72px;
}
.logo img {
  display: block;
  height: 54px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #233443;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.16s, color 0.16s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F1E9;
  color: #205D3B;
  text-decoration: none;
}
.main-nav .cta-btn {
  background: #205D3B;
  color: #fff;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 1rem;
  transition: background 0.20s, color 0.20s; 
  box-shadow: 0 2px 8px rgba(140,191,119,0.08);
  margin-left: 10px;
}
.main-nav .cta-btn:hover, .main-nav .cta-btn:focus {
  background: #8CBF77;
  color: #233443;
  box-shadow: 0 4px 14px rgba(140,191,119,0.15);
}
/* Hamburger */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2.1rem;
  color: #205D3B;
  cursor: pointer;
  z-index: 1101;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #F5F1E9;
  outline: none;
}
/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24,37,61,0.96);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(.63,.13,.3,1.05);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 30px 16px 0;
  cursor: pointer;
  z-index: 1300;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background 0.18s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  background: #233443;
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 38px;
  gap: 20px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  padding: 12px 0;
  width: 100%;
  transition: color 0.18s, background 0.2s;
  border-radius: 4px;
  letter-spacing: 0.01em;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #8CBF77;
  background: #27462E;
}

/* ==== HERO ==== */
.hero {
  display: flex;
  align-items: center;
  background: #205D3B url('../assets/bg-hero.jpg') center/cover no-repeat;
  color: #fff;
  min-height: 340px;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 4px 28px rgba(32,93,59,0.22);
  position: relative;
  margin-bottom: 60px;
  padding: 60px 20px 60px 20px;
}
.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero .content-wrapper {
  color: #fff;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
  margin-bottom: 18px;
  text-shadow: 0 3px 14px rgba(32,93,59,0.13);
}
.hero p {
  color: #F5F1E9;
  font-size: 1.23rem;
  max-width: 760px;
  margin-bottom: 22px;
}
.hero .cta-btn {
  background: #8CBF77;
  color: #233443;
}
.hero .cta-btn:hover, .hero .cta-btn:focus {
  background: #fff;
  color: #205D3B;
}

/* ==== CTA BUTTON, FORMS & LINKS ==== */
.cta-btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: #205D3B;
  color: #fff;
  padding: 13px 34px;
  border: none;
  border-radius: 6px;
  box-shadow: 0 2px 11px rgba(35,52,67,0.14);
  letter-spacing: 0.01em;
  cursor: pointer;
  margin-top: 12px;
  text-align: center;
  transition: background 0.17s, color 0.17s, box-shadow 0.2s;
  outline: none;
  text-decoration: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: #8CBF77;
  color: #205D3B;
  box-shadow: 0 4px 18px rgba(32,93,59,0.18);
}

/* ==== CARD STYLE ==== */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,52,67,0.06);
  padding: 26px 24px;
  margin-bottom: 20px;
  flex: 1 1 320px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s, transform 0.16s;
}
.card:hover, .card:focus {
  box-shadow: 0 4px 18px rgba(32,93,59,0.16);
  transform: translateY(-2px) scale(1.016);
  z-index: 2;
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==== FEATURE GRID ==== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 28px 0 4px 0;
}
.feature-grid li {
  flex: 1 1 260px;
  background: #F5F1E9;
  border-radius: 11px;
  box-shadow: 0 1.5px 8px rgba(32,93,59,0.04);
  padding: 30px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.feature-grid li img {
  height: 42px;
  margin-bottom: 18px;
  filter: grayscale(0.12);
}
.feature-grid li h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #205D3B;
}
.feature-grid li p {
  font-size: 1rem;
  color: #233443;
}
.feature-grid li:hover, .feature-grid li:focus-within {
  background: #e3efde;
  box-shadow: 0 5px 18px rgba(32,93,59,0.13);
  transform: translateY(-2px) scale(1.018);
}

/* ==== TESTIMONIALS ==== */
.testimonials .testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(35,52,67,0.10);
  padding: 20px;
  margin-bottom: 20px;
  color: #233443;
}
.testimonials .testimonial-card blockquote {
  margin: 0;
  font-size: 1.08rem;
  font-style: italic;
  color: #205D3B;
  line-height: 1.6;
}
.testimonials .testimonial-card span {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #8CBF77;
  margin-left: 18px;
  font-style: normal;
  white-space: nowrap;
}

/* ==== CONTACT ==== */
.address-block {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
  background: #F5F1E9;
  padding: 18px 18px 8px 18px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(35,52,67,0.04);
  color: #233443;
  font-size: 1rem;
}
.address-block img {
  height: 21px;
  width: auto;
  vertical-align: middle;
  margin-right: 7px;
  opacity: 0.85;
}

/* ==== BLOG LIST & CASE STUDIES ==== */
.blog-list article, .case-studies article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(35,52,67,0.07);
  padding: 26px 20px 14px 20px;
  margin-bottom: 20px;
  transition: box-shadow 0.18s, transform 0.12s;
}
.blog-list article:hover, .case-studies article:hover {
  box-shadow: 0 4px 18px rgba(35,52,67,0.13);
  transform: translateY(-2px);
}
.blog-list article h3, .case-studies article h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.21rem;
  color: #205D3B;
}
.blog-list article span, .case-studies article span {
  display: block;
  font-size: 0.97rem;
  color: #607188;
  margin-top: 6px;
}

/* ==== CTA SECTION ==== */
.cta {
  background: #205D3B;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(32,93,59,0.10);
  text-align: center;
  padding: 45px 24px 42px 24px;
}
.cta h2, .cta h3, .cta p {
  color: #fff;
}
.cta .cta-btn {
  background: #8CBF77;
  color: #233443;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #fff;
  color: #205D3B;
}

/* ==== FOOTER ==== */
footer {
  background: #233443;
  padding: 36px 18px 16px 18px;
  color: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -1.5px 12px rgba(35,52,67,0.07);
  margin-top: auto;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}
.footer-menu a {
  color: #8CBF77;
  font-weight: 600;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-info {
  text-align: center;
  font-size: 0.97rem;
  color: #dae2e8;
}

/* ==== LEGAL PAGES ==== */
.legal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(35,52,67,0.07);
}
.legal h1 {
  font-size: 2rem;
  color: #205D3B;
}
.legal h2 {
  font-size: 1.25rem;
  color: #233443;
}
.legal ul {
  margin-bottom: 18px;
}
.legal li {
  font-size: 1rem;
  margin-bottom: 8px;
}

/* ==== GENERAL UTILITIES ==== */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.gap-8  { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }
.text-center { text-align: center!important; }
.hide { display: none !important; }

/* ==== SPACING & FLEX CONSISTENCY – CRITICAL MANDATORY ==== */
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; }
.content-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.text-image-section { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.testimonial-card { display: flex; align-items: center; gap: 20px; padding: 20px; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* ==== COOKIE CONSENT BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #233443;
  color: #fff;
  box-shadow: 0 -2px 14px rgba(35,52,67,0.14);
  z-index: 1500;
  padding: 27px 20px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  animation: bannerSlideIn 0.45s cubic-bezier(.64,.01,.27,1.06);
}
@keyframes bannerSlideIn {
  0% { transform: translateY(100%); opacity: 0; }
  60% { transform: translateY(-8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner strong { font-size: 1.1rem; }
.cookie-banner .cookie-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 6px;
  padding: 10px 20px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  margin-right: 4px;
  margin-bottom: 3px;
}
.cookie-btn.accept {
  background: #8CBF77;
  color: #205D3B;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #205D3B;
  color: #fff;
}
.cookie-btn.reject {
  background: #F5F1E9;
  color: #205D3B;
  border: 1px solid #8CBF77;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e3efde;
  color: #205D3B;
}
.cookie-btn.settings {
  background: none;
  color: #8CBF77;
  border: 1.5px solid #8CBF77;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #8CBF77;
  color: #205D3B;
}

/* ==== COOKIE CONSENT MODAL ==== */
.cookie-modal-overlay {
  position: fixed;
  top:0;left:0;right:0;bottom:0;
  width:100vw;height:100vh;
  background:rgba(24,37,61,0.76);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1550;
  animation: modalFadeIn 0.37s cubic-bezier(.45,.07,.37,1.01);
}
@keyframes modalFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #233443;
  padding: 42px 30px 28px 30px;
  border-radius: 14px;
  box-shadow: 0 8px 34px rgba(32,93,59,0.30);
  max-width: 440px;
  width: 98%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPopIn 0.33s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalPopIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.21rem;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-switch {
  appearance: none;
  width: 36px;
  height: 20px;
  background: #e3efde;
  border-radius: 11px;
  position: relative;
  outline: none;
  border: none;
  transition: background 0.18s;
  cursor: pointer;
}
.cookie-switch:checked {
  background: #8CBF77;
}
.cookie-switch:before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.22s;
  box-shadow: 0 1px 6px rgba(32,93,59,0.13);
}
.cookie-switch:checked:before {
  left: 18px;
}
.cookie-category label {
  color: #205D3B;
  font-weight: 500;
  font-size: 1.05rem;
}
.cookie-modal .cookie-actions {
  margin-top: 12px;
}
.cookie-modal .cookie-btn {
  font-size: 1rem;
  font-weight: 600;
}

/* ==== RESPONSIVE DESIGN – MOBILE FIRST ==== */
@media (max-width: 1200px) {
  .container { max-width: 980px; }
}
@media (max-width: 992px) {
  .container { max-width: 860px; }
  .main-nav { gap: 18px; }
  .feature-grid { gap: 20px; }
}
@media (max-width: 900px) {
  .container { max-width: 700px; }
  .footer-menu { flex-direction: column; gap: 6px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .container { max-width: 98vw; }
  header { padding: 0 12px; min-height: 66px; }
  .logo img { height: 36px; }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  .hero {
    min-height: 190px;
    padding: 32px 10px 32px 10px;
    border-radius: 0 0 18px 18px;
  }
  .hero .container { padding: 0 5px; }
  .content-wrapper { padding: 0 1px; }
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid li { width: 100%; }
  .blog-list article, .case-studies article { padding: 19px 10px 10px 10px; }
  .testimonials .testimonial-card, .feature-grid li, .card {
    flex: 1 1 100%;
    min-width: 0;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .section, .hero, .features, .about, .cta, .services, .team, .case-studies, .testimonials, .contact, .info, .blog-list, .confirmation, .legal {
    padding: 25px 6px;
    border-radius: 8px;
  }
  .footer-menu { flex-direction: column; gap: 8px; }
  .cookie-banner { padding: 21px 8px 16px 8px; font-size: 0.97rem; }
}

@media (max-width: 540px) {
  html { font-size: 14px; }
  .container { padding: 0 3px; }
  header { min-height: 48px; }
  .logo img { height: 23px; }
  .hero { min-height: 95px; padding: 16px 2px 18px 2px; }
  .section, .hero, .features, .about, .cta, .services, .team, .case-studies, .testimonials, .contact, .info, .blog-list, .confirmation, .legal {
    padding: 11px 2.5px;
  }
}
