/* =========================================================
   1. CSS Reset & Normalize (consistent, cross-browser base)
===========================================================*/
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,
main, 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 { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #F5F8FA;
  color: #20242B;
  font-family: 'Roboto', Georgia, serif;
  font-weight: 400;
}
img, picture, video, canvas, svg {
  display: inline-block;
  max-width: 100%;
  height: auto;
}
a { color: #005A8C; text-decoration: none; transition: color 0.15s; }
a:active, a:focus { outline: 2px solid #005A8C; }
ul, ol { margin-left: 1.5em; margin-bottom: 1em; }

/* ========================================================
   2. Typography - Elegant Classic Hierarchy
=========================================================*/
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  letter-spacing: 0.4px;
  color: #1D2733;
  font-weight: 600;
}
h1 { font-size: 2.8rem; line-height: 1.18; margin-bottom: 32px; }
h2 { font-size: 2rem;   line-height: 1.23; margin-bottom: 28px; }
h3 { font-size: 1.35rem; line-height: 1.28; margin-bottom: 20px; }
h4, h5, h6 { font-size: 1rem;  font-weight: 500; }
p, li { font-size: 1rem; line-height: 1.7; color: #273442; }
p + p, ul + p, p + ul, ul + ul, li + li { margin-top: 8px; }
strong { font-weight: 600; }

/* ===========================================
   3. Layout Containers & Structure
============================================*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
main {
  padding-top: 0;
}
section, .section {
  margin-bottom: 60px !important;
  padding: 40px 20px !important;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* =================================================
   4. Header & Navigation (Desktop & Mobile)
==================================================*/
header {
  background: #fff;
  border-bottom: 1px solid #e3e7ef;
  position: relative;
  z-index: 50;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}
header img {
  max-height: 48px;
  margin-right: 24px;
}
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  color: #2A3341;
  padding: 8px 0 8px 0;
  font-weight: 500;
  position: relative;
  transition: color 0.18s;
}
.main-nav a:not(.btn-primary):hover, .main-nav a:not(.btn-primary):focus { color: #005A8C; }
.main-nav .btn-primary {
  margin-left: 14px;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #005A8C;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 16px;
  margin-left: 24px;
  border-radius: 8px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus { background: #e8eef4; outline: none; }

/* ======================
   5. Mobile Navigation
======================*/
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 0 80px 20px rgba(40,50,55,0.1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.40s cubic-bezier(.75,.2,.25,1),opacity 0.30s;
}
.mobile-menu.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #005A8C;
  font-size: 2.2rem;
  padding: 18px 16px 10px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 8px;
}
.mobile-menu-close:focus { background: #e8eef4; }
.mobile-nav {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: 34px;
  margin-top: 24px;
}
.mobile-nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  font-size: 1.07rem;
  padding: 12px 6px;
  border-radius: 4px;
  color: #1D2733;
  transition: color 0.18s, background 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #f2f4f8;
  color: #005A8C;
  outline: none;
}

/* ======================================================
   6. HERO Sections and Call-To-Actions
=======================================================*/
.hero {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 32px 0 rgba(31,70,110,0.06);
  margin-bottom: 60px;
  padding: 44px 20px 44px 20px;
}
.hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  color: #005A8C;
  margin-bottom: 22px;
}
.hero p { font-size: 1.14rem; color: #2A3341; }

.cta {
  background: #E9F0F5;
  border-radius: 22px;
  box-shadow: 0 3px 16px 0 rgba(60,90,130, 0.08);
  margin-bottom: 60px;
}
.cta h2 {
  color: #005A8C;
}
.cta .btn-primary {
  margin-top: 18px;
}

/* =========================================
   7. Feature Grids & Cards (Flexbox Only)
==========================================*/
.features-grid, .service-list, .services-preview-grid, .projects-list, .workshop-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 28px;
}
.feature, .service, .project, .workshop {
  flex: 1 1 280px;
  min-width: 260px;
  max-width: 350px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(27,51,81,0.05);
  padding: 30px 28px 28px 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.23s, transform 0.20s;
}
.feature:hover, .service:hover, .project:hover, .workshop:hover {
  box-shadow: 0 8px 32px 0 rgba(27,51,81,0.09);
  transform: translateY(-2px) scale(1.02);
}
.feature img, .service img, .workshop img {
  margin-bottom: 14px;
  width: 38px;
  height: 38px;
}
.feature h3, .service h3, .project h3, .workshop h3 {
  font-size: 1.16rem;
  font-weight: 600;
  color: #005A8C;
  margin-bottom: 12px;
}
.feature p, .service p, .project p, .workshop p {
  color: #2A3341;
  margin-bottom: 8px;
}

/* ======================================
   8. Testimonials (Readable, Elegant)
=======================================*/
.testimonials, .projects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border-left: 5px solid #005A8C;
  border-radius: 16px;
  box-shadow: 0 3px 16px 0 rgba(50,60,80,0.07);
  padding: 24px 34px 16px 27px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 250px;
  max-width: 410px;
  color: #25314A;
  gap: 12px;
  transition: box-shadow 0.25s, border-color 0.23s;
}
.testimonial-card:hover {
  box-shadow: 0 7px 36px 0 rgba(36,67,109,0.12);
}
.testimonial-card p {
  font-size: 1.07rem;
  color: #233040;
  font-style: italic;
}
.testimonial-card span {
  color: #55667B;
  font-size: 0.98rem;
  margin-top: 6px;
}

/* ==============================
   9. Buttons (Classic, Engaging)
===============================*/
.btn-primary, .btn-secondary {
  appearance: none;
  font-family: 'Montserrat', Georgia, serif;
  display: inline-block;
  border: none;
  outline: none;
  border-radius: 32px;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.13;
  cursor: pointer;
  padding: 13px 34px;
  margin-top: 14px;
  margin-bottom: 8px;
  transition: background 0.18s, color 0.18s, box-shadow 0.21s;
  box-shadow: 0 2px 8px rgba(7,40,60,0.03);
}
.btn-primary {
  background: #005A8C;
  color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus {
  background: #0677B7;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,90,140,0.12);
}
.btn-secondary {
  background: transparent;
  border: 2px solid #005A8C;
  color: #005A8C;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #E6EFF6;
  border-color: #005A8C;
  color: #0677B7;
}

/* =====================================
   10. Footer (Elegant Classic Touch)
======================================*/
footer {
  background: #fff;
  border-top: 1px solid #E1E8F0;
  padding: 44px 0 0 0;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  justify-content: flex-start;
}
footer img {
  margin-bottom: 18px;
  margin-top: -10px;
  max-height: 42px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  gap: 30px;
  font-family: 'Montserrat', serif;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #5e6c81;
  font-size: 1rem;
  transition: color 0.16s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #005A8C;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 12px;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3b4253;
  font-size: 0.99rem;
}
.footer-contact img {
  width: 18px;
  height: 18px;
}

/* =========================
   11. Contact/Utility Info
==========================*/
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}
.contact-details p {
  color: #25314A;
  font-size: 1.04rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cta-box {
  background: #F2F4F8;
  border-radius: 13px;
  box-shadow: 0 1px 6px 0 rgba(12,35,60,0.06);
  padding: 24px 18px;
  margin-top: 16px;
}
.cta-box h3 { color: #005A8C; margin-bottom: 9px; font-size: 1.13rem; }

/* =============================================
   12. Misc Utility: Lists, Section Spacing, etc
==============================================*/
ul, ol {
  list-style-type: disc;
  padding-left: 1.4em;
}
ul li, ol li { margin-bottom: 8px; color: #273442; line-height: 1.6; }

.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(38,65,115,0.06);
  padding: 26px 18px;
}
.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;
}

/* =====================================
   13. Cookie Consent Banner & Modal
======================================*/
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #fff;
  box-shadow: 0 -4px 24px 0 rgba(27,51,81,0.19);
  border-top: 1px solid #D8DEE9;
  z-index: 4000;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 23px;
  justify-content: center;
  padding: 22px 18px 22px 18px;
  font-family: 'Roboto', Georgia, serif;
}
.cookie-banner p {
  font-size: 1rem;
  color: #273442;
  max-width: 550px;
  margin: 0 16px 0 0;
}
.cookie-banner .banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-btn {
  background: #005A8C;
  color: #fff;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 24px;
  padding: 10px 30px;
  margin-right: 8px;
  cursor: pointer;
  transition: background 0.18s, box-shadow 0.19s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #0677B7;
  box-shadow: 0 2px 16px 0 rgba(0,90,140,0.12);
}
.cookie-btn-settings {
  background: #F2F4F8;
  color: #005A8C;
  border: 1px solid #b6c6d9;
  transition: background 0.19s, color 0.14s;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #e6eef7;
  color: #005A8C;
}

/* Cookie Modal Popup */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(10,22,38,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 38px 32px 28px 32px;
  box-shadow: 0 6px 48px 0 rgba(27,51,81,0.19);
  max-width: 390px;
  width: 96vw;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-family: 'Roboto', Georgia, serif;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.38rem;
  margin-bottom: 10px;
  color: #005A8C;
}
.cookie-modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-modal-category label {
  font-size: 1.04rem;
  color: #2A3341;
}
.cookie-toggle {
  width: 44px;
  height: 24px;
  border-radius: 20px;
  background: #e1e8f0;
  position: relative;
  cursor: pointer;
  transition: background 0.19s;
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
}
.cookie-toggle[aria-checked="true"] {
  background: #67A046;
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: left 0.22s;
}
.cookie-toggle[aria-checked="true"]::before {
  left: 21px;
}
.cookie-modal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}
.cookie-modal .cookie-btn {
  margin: 0;
}
.cookie-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #005A8C;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 7px;
  transition: background 0.18s;
}
.cookie-modal-close:focus, .cookie-modal-close:hover { background: #e6eef7; }

/* ====================================
   14. Transitions, Animations, Effects
======================================*/
section, .card, .feature, .service, .testimonial-card {
  transition: box-shadow 0.21s, border-color 0.18s, background 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(36,67,109,0.14);
}

/* ==============================
   15. Media Queries: Responsive
===============================*/
@media (max-width: 1200px) {
  .container { max-width: 970px; }
}
@media (max-width: 992px) {
  .container { max-width: 760px; }
  .main-nav { gap: 17px; }
  .footer-nav { gap: 16px; }
  .features-grid, .service-list, .services-preview-grid, .projects-list, .workshop-list {
    gap: 18px;
  }
}
@media (max-width: 860px) {
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  header .container { flex-direction: row; }
  .features-grid, .service-list, .projects-list, .workshop-list {
    flex-direction: column;
  }
  .feature, .service, .project, .workshop {
    min-width: 210px;
    max-width: 100%;
    width: 100%;
    margin-right: 0;
  }
  .testimonial-card {
    min-width: 0;
    max-width: 100%;
  }
}
@media (max-width: 700px) {
  .container {
    max-width: 94vw;
    padding-left: 10px;
    padding-right: 10px;
  }
  header .container { padding-top: 10px; padding-bottom: 10px; }
  .hero { padding: 26px 10px; margin-bottom: 40px; }
  section, .section { padding: 22px 7px; margin-bottom: 35px; }
  .footer-nav { flex-direction: column; gap: 5px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; margin-bottom: 14px; }
  h2 { font-size: 1.15rem; margin-bottom: 12px; }
  .hero h1 { font-size: 1.37rem; }
  .feature, .service, .project, .workshop, .testimonial-card {
    padding: 15px 8px 10px 10px;
    font-size: 0.97rem;
  }
  .cta, .hero { border-radius: 12px; }
  .footer-contact { flex-direction: column; gap: 10px; }
  .cookie-modal-content { padding: 17px 7px 12px 14px; }
}
@media (max-width: 768px) {
  .features-grid, .service-list, .services-preview-grid, .projects-list, .workshop-list, .card-container, .content-grid, .footer-contact {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
  }
  .text-image-section { flex-direction: column !important; gap: 16px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .footer-nav { flex-direction: column; gap: 10px; }
}

/* ====================================
   16. Accessibility & Focus Styles
======================================*/
a:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.cookie-btn:focus-visible,
.cookie-modal-close:focus-visible,
.mobile-menu-toggle:focus-visible,
.mobile-menu-close:focus-visible {
  outline: 2px solid #67A046;
  outline-offset: 2px;
}

/* Hide outline for mouse interaction */
:focus:not(:focus-visible) {
  outline: none;
}

/* Utility for visually hidden (accessibility) */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* END OF STYLE.CSS Blue Odyssey Energie */
