/* Electra Vault Sportzentren - Style.css (Nature_Organic) */
/* CSS RESET & NORMALIZE */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  height: 100%;
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  color: #2d2d21;
  background: #FAFAFA;
  line-height: 1.65;
  box-sizing: border-box;
  overflow-x: hidden;
}
*, *:before, *:after {
  box-sizing: inherit;
}
a {
  color: #1EA86B;
  text-decoration: none;
  transition: color 0.17s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #223E74;
  text-decoration: underline;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 24px;
}

/* ======== BRAND PALETTE: nature_organic ======== */
:root {
  --color-primary: #223E74;
  --color-primary-dark: #162948;
  --color-secondary: #1EA86B;
  --color-accent: #FAFAFA;
  --color-earth1: #8F8063; /* beige sand */
  --color-earth2: #455743; /* deep green brown */
  --color-leaf: #3B7E54; /* muted deep green */
  --color-wood: #B2A27B; /* light wood */
  --color-natural-bg: #F9F8F5;
  --color-card-bg: #fff;
  --color-muted: #6B7867;
  --color-shadow: rgba(40,60,40,0.08);
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: var(--color-leaf);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.7rem; margin-bottom: 28px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 15px; }
h4, h5, h6 { font-size: 1.1rem; }
p, li {
  font-size: 1rem;
  color: #2d2d21;
  margin-bottom: 14px;
}
p.lead {
  font-size: 1.23rem;
  color: var(--color-leaf);
  font-weight: 500;
}
strong, b {
  font-weight: 700;
  color: var(--color-primary);
}

/* ========== LAYOUT & CONTAINER ========= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background-color: var(--color-natural-bg);
  border-radius: 33px;
}

/* HERO SECTION ================= */
.hero {
  padding: 68px 0 44px 0;
  background: var(--color-wood);
  background-image: url('../assets/organic-bg-texture.svg'); /* decorative, fallback color shown if image missing */
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 0 0 65px 65px/0 0 30px 30px;
  box-shadow: 0 8px 36px var(--color-shadow);
}
.hero .container {
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.7rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 20px;
}
.hero p {
  color: #283421;
  font-size: 1.2rem;
  margin-bottom: 34px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* FEATURE GRID =============== */
.features-grid, .card-container, .content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
  margin-bottom: 24px;
}
.features-grid > div, .card, .card-content {
  background: var(--color-card-bg);
  border-radius: 19px 33px 27px 19px/25px 19px 33px 27px;
  box-shadow: 0 3px 20px var(--color-shadow);
  padding: 30px 20px 22px 20px;
  min-width: 210px;
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}
.features-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  background: var(--color-natural-bg);
  border-radius: 12px;
  box-shadow: 0 1px 8px var(--color-shadow);
  padding: 8px;
}
.features-grid h3 {
  color: var(--color-primary);
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.features-grid p {
  font-size: 0.99rem;
  color: var(--color-muted);
}

/* CARDS / GENERIC CARDS ============== */
.card {
  background: var(--color-card-bg);
  border-radius: 24px;
  box-shadow: 0 3px 21px var(--color-shadow);
  padding: 32px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.28s cubic-bezier(.4,0,.2,1), transform 0.16s;
}
.card:hover {
  box-shadow: 0 7px 32px rgba(34,62,116,0.16);
  transform: translateY(-4px) scale(1.025);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/******* TEXT-IMAGE SECTION *******/
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/******* CTA SECTION ******/
.cta {
  background: linear-gradient(85deg, var(--color-secondary) 75%, var(--color-earth1) 100%);
  border-radius: 26px;
  padding: 38px 22px;
  box-shadow: 0 4px 17px var(--color-shadow);
  text-align: center;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.cta h2, .cta h3 {
  color: #fff;
  margin-bottom: 8px;
}
.cta p {
  color: #f3ffe6;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.cta .button.primary {
  margin-top: 8px;
  background-color: #fff;
  color: var(--color-secondary);
  border: 2px solid #fff;
  transition: background 0.22s, color 0.22s;
}
.cta .button.primary:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: #fff;
}

/******* BUTTONS ******/
.button {
  display: inline-flex;
  align-items: center;
  border-radius: 32px 16px 28px 10px/18px 32px 12px 31px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 13px 32px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(36, 46, 36, 0.12);
  outline: none;
  transition: background 0.16s, color 0.14s, box-shadow 0.21s, transform 0.18s;
  margin-right: 16px;
}
.button.primary {
  background: var(--color-secondary);
  color: #fff;
  border: 2px solid var(--color-secondary);
}
.button.primary:hover, .button.primary:focus {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 168, 107, 0.16);
}
.button.secondary {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  font-weight: 600;
}
.button.secondary:hover, .button.secondary:focus {
  background: var(--color-earth2);
  color: #fff;
  border-color: var(--color-earth2);
}
.button:active {
  transform: scale(0.97);
}

/****** NAVIGATION ******/
header {
  background: #fff;
  box-shadow: 0 7px 32px var(--color-shadow);
  position: relative;
  z-index: 40;
  border-radius: 0 0 32px 32px/0 0 17px 17px;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 16px 20px;
  gap: 22px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 17px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .006em;
  border-radius: 21px 9px 15px 13px / 11px 12px 21px 18px;
  padding: 8px 15px;
  transition: background 0.14s, color 0.14s;
  position: relative;
  z-index: 1;
}
header nav a:hover, header nav a:focus {
  background: var(--color-earth1);
  color: var(--color-accent);
  box-shadow: 0 2px 9px var(--color-shadow);
}
header img {
  max-height: 46px;
}

/***** FOOTER ******/
footer {
  background: #f4f8f5;
  border-radius: 39px 39px 0 0/17px 55px 0 0;
  box-shadow: 0 -2px 17px var(--color-shadow);
  padding: 38px 0 16px 0;
}
footer .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-left: 6px;
}
footer nav a {
  color: var(--color-muted);
  font-size: 0.98rem;
  margin-bottom: 5px;
  transition: color 0.14s;
}
footer nav a:hover, footer nav a:focus {
  color: var(--color-secondary);
}
footer .contact-info {
  color: #3b3a2f;
  font-size: 0.98rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/***** SECTION STANDARDS *****/
.text-section {
  margin-bottom: 32px;
  background: rgba(176,194,147,0.11);
  padding: 24px 20px;
  border-radius: 23px;
  box-shadow: 0 1.5px 9px var(--color-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-section {
  margin-bottom: 30px;
  background: var(--color-natural-bg);
  padding: 22px 18px;
  border-radius: 19px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  background: var(--color-earth1);
  color: #fff;
  border-radius: 15px;
  padding: 9px 15px;
  font-size: 1rem;
  box-shadow: 0 2px 7px var(--color-shadow);
}

/**** FAQ Section & Newsfeed */
.faq-section, .newsfeed {
  margin-bottom: 30px;
  background: var(--color-card-bg);
  border-radius: 16px;
  padding: 18px 18px 12px 18px;
  box-shadow: 0 2px 15px var(--color-shadow);
}
.faq-section ul, .newsfeed ul {
  margin-bottom: 10px;
}
.faq-section li, .newsfeed li {
  margin-bottom: 8px;
  line-height: 1.45;
}

/**** TESTIMONIALS (Prepare for Future Use) */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fffbe8;
  border-radius: 24px;
  box-shadow: 0 2px 14px var(--color-shadow);
  margin-bottom: 20px;
  color: #232c17;
  font-size: 1rem;
}
.testimonial-card cite {
  font-size: 0.93rem;
  font-style: normal;
  color: var(--color-primary);
  display: block;
  margin-top: 4px;
}

/* ======= MOBILE MENU STYLES ======= */
.mobile-menu-toggle {
  display: none;
  position: relative;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 14px 32px 18px 12px/23px 11px 17px 28px;
  padding: 11px 18px;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 105;
  transition: background 0.2s, color 0.19s;
}
.mobile-menu-toggle:focus {
  background: var(--color-primary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-wood);
  background-image: url('../assets/organic-bg-texture.svg');
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 101;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.46,.02,.54,1);
  box-shadow: 8px 0 26px rgba(60,76,46,0.22);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 22px 25px 6px 0;
  background: none;
  border: none;
  color: var(--color-leaf);
  font-size: 2.3rem;
  cursor: pointer;
  z-index: 110;
  transition: color 0.17s;
  padding: 4px 12px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--color-primary-dark);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
  align-items: flex-start;
  padding: 0 36px;
  margin-top: 32px;
  width: 100vw;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  color: var(--color-leaf);
  background: #fff;
  border-radius: 17px 17px 33px 9px/18px 22px 11px 27px;
  padding: 14px 28px;
  width: max-content;
  margin-bottom: 7px;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* Hide normal nav/show hamburger on mobile */
@media (max-width: 998px) {
  header .container nav,
  header .container .button.primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 999px) {
  .mobile-menu,
  .mobile-menu.open,
  .mobile-menu-close {
    display: none !important;
  }
}

/* ============= COOKIE CONSENT BANNER ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--color-card-bg);
  color: #473F27;
  border-radius: 37px 37px 0 0/18px 49px 0 0;
  box-shadow: 0 -3px 24px rgba(139,150,117,0.17);
  padding: 20px 5vw 17px 5vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(.61,.11,.64,.92);
}
.cookie-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 5px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 9px 23px;
  border-radius: 16px 23px 13px 27px/21px 14px 28px 17px;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 0.8px 6px var(--color-shadow);
  transition: background 0.18s, color 0.14s;
}
.cookie-banner .accept {
  background: var(--color-secondary);
  color: #fff;
  border: 2px solid var(--color-secondary);
}
.cookie-banner .accept:hover {
  background: var(--color-primary);
  color: #fff;
}
.cookie-banner .reject {
  background: #fff;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}
.cookie-banner .reject:hover {
  background: var(--color-earth2);
  color: #fff;
}
.cookie-banner .settings {
  background: var(--color-wood);
  color: var(--color-primary);
  border: 2px solid var(--color-wood);
}
.cookie-banner .settings:hover {
  background: var(--color-leaf);
  color: #fff;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(57,61,49,0.38);
  z-index: 10002;
  justify-content: center;
  align-items: flex-end;
  transition: opacity 0.28s;
}
.cookie-modal.visible {
  display: flex;
  opacity: 1;
}
.cookie-modal .modal-content {
  background: var(--color-card-bg);
  box-shadow: 0 4px 30px rgba(60, 47, 28, 0.19);
  border-radius: 27px 27px 15px 17px/25px 21px 27px 31px;
  padding: 38px 32px 27px 32px;
  min-width: 320px;
  max-width: 95vw;
  margin-bottom: 10vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: modalPopin .33s cubic-bezier(.75,-0.01,.52,1.1);
}
@keyframes modalPopin {
  from { transform: translateY(80px) scale(0.9); opacity: 0.5; }
  to { transform: none; opacity: 1; }
}
.cookie-modal .modal-content h2 {
  color: var(--color-primary);
  margin-bottom: 16px;
}
.cookie-modal .modal-content .cookie-category {
  background: var(--color-natural-bg);
  border-radius: 15px;
  padding: 13px 12px 13px 17px;
  margin-bottom: 11px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
}
.cookie-modal .modal-content .cookie-category label {
  font-weight: 600;
  flex: 1;
}
.cookie-modal .modal-content .cookie-category input[type="checkbox"]:disabled + label {
  color: var(--color-muted);
  opacity: 0.72;
}
.cookie-modal .modal-content .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  justify-content: flex-end;
  margin-top: 14px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 10px;
  right: 17px;
  background: none;
  border: none;
  font-size: 1.33rem;
  color: var(--color-muted);
  cursor: pointer;
}
.cookie-modal .cookie-close:hover, .cookie-modal .cookie-close:focus {
  color: var(--color-secondary);
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1120px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: 2rem; }
  .container { max-width: 98vw; }
  header .container {
    padding-left: 8px; padding-right: 8px;
  }
}
@media (max-width: 768px) {
  .container { padding: 0 8px; }
  .section {
    padding: 24px 6px;
    margin-bottom: 38px;
  }
  .features-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .content-wrapper { gap: 19px; }
  .hero { padding: 38px 0 24px 0; }
  .hero .content-wrapper { padding: 0 0; }
  .hero h1 { font-size: 1.55rem; }
  .cta { padding: 22px 8px; min-width: 0; }
  footer .container {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .newsfeed, .faq-section, .map-section, .text-section {
    padding-left: 8px; padding-right: 8px;
  }
  .cookie-banner {
    padding: 13px 3vw 13px 3vw;
  }
  .cookie-modal .modal-content {
    padding: 19px 10px 19px 12px;
  }
}
@media (max-width: 495px) {
  .cookie-banner {
    border-radius: 21px 21px 0 0/8px 29px 0 0;
    font-size: 0.96rem;
  }
  .cookie-modal .modal-content h2 {
    font-size: 1.22rem;
  }
}

/* ========== VISUAL ORGANIC EFFECTS ========== */
/* Subtle decorative leafy background (optional) */
body:before {
  content: '';
  position: fixed;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(ellipse at 70% 25%,rgba(30,168,107,0.048) 48%,rgba(222,249,105,0.04) 100%);
  z-index: 0;
  pointer-events: none;
}
body:after {
  content: '';
  position: fixed;
  left: -130px;
  bottom: -220px;
  width: 280px;
  height: 280px;
  background: radial-gradient(ellipse at 0% 100%,rgba(223,206,148,0.06) 58%,rgba(218,254,183,0.02) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Micro-interaction for cards */
.card, .features-grid > div, .testimonial-card {
  transition: box-shadow 0.22s, transform 0.13s;
}
.card:hover, .features-grid > div:hover, .testimonial-card:hover {
  box-shadow: 0 9px 38px rgba(30,168,107,0.08);
  transform: translateY(-2px) scale(1.015);
}

/* FORM ELEMENTS (input, textarea - for future use)*/
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 9px 21px 13px 18px/9px 12px 21px 18px;
  border: 1.2px solid var(--color-earth1);
  background: #fff;
  color: #395234;
  font-size: 1rem;
  padding: 9px 16px;
  outline: none;
  margin-bottom: 20px;
  transition: border 0.18s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--color-secondary);
}

/* MISC & HELPER CLASSES */
.hide { display: none !important; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.mt-3 { margin-top: 24px; }
.mb-3 { margin-bottom: 24px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }

/* VISUAL FIX: Ensure spacing between sections/cards */
.section + .section, .section + .cta, .cta + .section, .cta + .cta {
  margin-top: 40px;
}
.card + .card, .features-grid > div + .features-grid > div {
  margin-top: 0; /* gap used instead */
}

/* FOCUS STATES */
.button:focus, .mobile-menu-toggle:focus, .mobile-menu-close:focus {
  outline: 2.5px solid var(--color-secondary);
  outline-offset: 2px;
}
a:focus, nav a:focus {
  outline: 2.5px solid var(--color-leaf);
  outline-offset: 2.5px;
}

/* ====== Z-INDEX LAYERING (for overlays) ====== */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 1000; }

/* END STYLE */
