/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #23282d;
  color: #ececec;
}

/* LOAD FONTS */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

/* ROOT COLORS & VARS (with fallback) */
:root {
  --primary: #264366;
  --primary-dark: #1e3144;
  --secondary: #F5F5F2;
  --secondary-alt: #fff;
  --background: #23282d;
  --surface: #232b32;
  --metallic: #bfc5ca;
  --accent: #E9A935;
  --accent-dark: #bf851c;
  --text-main: #ececec;
  --text-dark: #232b32;
  --card-bg: #232b32;
  --card-border: #485261;
  --shadow: 0 4px 24px rgba(18,23,28,0.15);
}

/* TYPOGRAPHY */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: var(--background);
  color: var(--text-main);
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
  color: var(--secondary);
  font-weight: 900;
  text-shadow: 1px 2px 6px rgba(18,23,28,0.08);
}
h1 {font-size: 2.5rem; margin-bottom: 20px;}
h2 {font-size: 2rem; margin-bottom: 16px;}
h3 {font-size: 1.3rem; margin-bottom: 12px; font-weight: 700;}
p, li, a, span {font-size: 1rem;}
p {margin-bottom: 12px; line-height: 1.7;}
ul, ol {margin-bottom: 16px; padding-left: 1.4rem;}
li {margin-bottom: 8px;}
.subheadline {
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--metallic);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
strong {color: var(--accent); font-weight: 700;}

/* UTILITY SPACING */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.section,
main section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 18px;
  /* subtle container effect */
}
.section:last-child, main section:last-child {margin-bottom: 0;}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.text-section {
  background: var(--surface);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(18,23,28,0.13);
  padding: 32px 24px;
}

/* FLEXBOX CONTAINERS */
.card-container, .feature-grid, .package-grid, .values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card-container {margin-bottom: 24px;}
.card, .feature-card, .package-card, .value-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 20px;
  min-width: 225px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover, .feature-card:hover, .package-card:hover {
  box-shadow: 0 8px 36px rgba(233,169,53,0.09), 0 2px 18px rgba(25,27,30,.13);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.018);
  z-index: 3;
}

.feature-grid {
  width: 100%;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-card {
  flex: 1 1 240px;
  align-items: flex-start;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--card-border);
  box-shadow: 0 1px 6px rgba(20,23,28,0.06);
  transition: border 0.15s, box-shadow 0.15s;
}
.feature-card img { width: 42px; height: 42px; margin-bottom: 10px; filter: grayscale(70%) brightness(1.05);}
.feature-card h3 {font-size: 1.15rem; color: var(--accent); margin-bottom: 7px; letter-spacing: 0.01em;}
.feature-card p {color: var(--metallic); margin-bottom: 0; font-size: 0.98rem;}
.feature-card span { display: block; margin-top: 2px; color: var(--accent); font-weight: bold; font-family: 'Montserrat', Arial, sans-serif; font-size: 0.96rem; }

.package-grid {
  width: 100%;
  gap: 24px;
  flex-wrap: wrap;
}
.package-card {
  flex: 1 1 250px;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--accent);
}
.package-card h3 {color: var(--accent); font-size: 1.08rem; margin-bottom: 8px;}
.package-price {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--secondary-alt);
  background: var(--accent);
  border-radius: 12px;
  padding: 4px 14px;
  margin-top: 9px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}

.values-list { gap: 24px; }
.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  background: var(--surface);
  box-shadow: none;
  border: 1px solid var(--card-border);
  padding: 18px 11px;
  border-radius: 12px;
  transition: border 0.18s, background 0.18s;
}
.value-item:hover { border-color: var(--accent); background: #2a2e36; }
.value-item img {
  width: 36px; height: 36px;
  margin-bottom: 8px; filter: grayscale(60%) sepia(13%);
}
.value-item span {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--metallic);
  font-size: 1.05rem;
  font-weight: 700;
}


/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 11px;
  background: var(--secondary-alt);
  color: var(--text-dark);
  border-left: 5px solid var(--metallic);
  box-shadow: 0 2px 8px rgba(30,43,66,0.07);
  max-width: 780px;
  font-size: 1.04rem;
  flex: 1 1 320px;
  transition: box-shadow 0.21s, border 0.17s;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0;
  font-style: italic;
}
.testimonial-card span {
  color: var(--primary);
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.93rem;
}
.testimonial-card:hover {
  border-left: 5px solid var(--accent);
  box-shadow: 0 4px 16px rgba(233,169,53,0.19);
}

/* FOOTER */
footer {
  background: var(--surface);
  border-top: 2px solid var(--card-border);
  padding: 40px 0 25px;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 11px;
}
.footer-links a {
  color: var(--metallic);
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--metallic);
  transition: color 0.14s, border 0.13s;
}
.footer-links a:hover {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.footer-address {
  text-align: center;
  color: var(--metallic);
  font-size: 0.97rem;
}
footer img {
  height: 42px; margin:10px 0 8px; opacity: 0.95;
}

/* HEADER & NAVIGATION */
header {
  background: var(--primary-dark);
  box-shadow: 0 2px 13px rgba(40,55,90,0.14);
  padding: 0;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 22px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  color: var(--secondary-alt);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  text-decoration: none;
  padding: 6px 9px;
  border-radius: 7px;
  transition: background 0.13s, color 0.13s;
  letter-spacing: 0.02em;
  font-weight: 700;
}
header nav a:hover,
header nav a.active {
  background: var(--accent);
  color: var(--primary-dark);
}
header .cta-button {
  margin-left: 18px;
}
header img {height: 38px; width: auto;}

/* MAIN CTA BUTTON */
.cta-button {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--accent);
  color: var(--primary-dark);
  border-radius: 8px;
  border: none;
  padding: 10px 28px;
  font-size: 1.06rem;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(233,169,53,0.09);
  transition: background 0.14s, color 0.14s, box-shadow 0.16s, transform 0.15s;
  cursor: pointer;
  border-bottom: 2px solid var(--metallic);
  outline: none;
}
.cta-button:hover, .cta-button:focus {
  background: var(--accent-dark);
  color: var(--secondary-alt);
  box-shadow: 0 3px 16px rgba(233,169,53,0.20);
  transform: translateY(-2px) scale(1.03);
}

/* RESPONSIVE FLEX WRAPPERS */
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ADDRESS BLOCK */
.address-block {
  background: var(--surface);
  border-left: 5px solid var(--accent);
  border-radius: 7px;
  padding: 16px 21px;
  color: var(--metallic);
  margin: 20px 0 10px 0;
  font-size: 1rem;
  font-family: 'Roboto', Arial, sans-serif;
}
.address-block a {
  color: var(--accent);
  font-weight: 500;
}
.map-placeholder {
  background: var(--card-bg);
  color: var(--metallic);
  border-radius: 7px;
  padding: 20px 13px;
  font-style: italic;
  font-size: 0.99rem;
  text-align: center;
  border: 1px dashed var(--metallic);
  margin: 22px 0 12px;
}

/* SPECIAL LISTS */
.workshop-list, .event-list {
  padding-left: 1.5em;
  margin-bottom: 14px;
}
.schedule-grid, .event-details, .pricing-info {
  margin-top: 12px;
  background: var(--card-bg);
  border-radius: 7px;
  border: 1px solid var(--card-border);
  padding: 18px 15px;
  color: var(--metallic);
}
.schedule-grid h3, .event-details h3 {
  color: var(--accent); font-weight: 700; font-size: 1.04rem; margin-bottom: 8px;
}
.schedule-grid ul, .event-details ul {margin-bottom: 0;}

/* OL STEPS */
.process-steps {
  margin-top: 4px;
  margin-bottom: 14px;
  padding-left: 1.6em;
  font-size: 1rem;
}
.process-steps li {
  margin-bottom: 8px;
  color: var(--secondary-alt);
}

/******* MOBILE MENU STYLES *******/
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 19px;
  right: 22px;
  z-index: 120;
  background: var(--accent);
  color: var(--primary-dark);
  border: none;
  border-radius: 5px;
  font-size: 2.2rem;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(220,190,80,0.13);
  transition: background 0.15s, box-shadow 0.15s, transform 0.13s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:focus {
  background: var(--accent-dark);
  outline: 2px solid var(--metallic);
  transform: scale(1.07);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(35, 40, 45, 0.95);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.9,0,.26,1);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;/* fallback for fade */
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--metallic);
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 24px 32px 16px 0;
  cursor: pointer;
  transition: color 0.16s, transform 0.13s;
  z-index: 1;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: var(--accent);
  transform: scale(1.08);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  margin-top: 34px;
}
.mobile-nav a {
  color: var(--accent);
  padding: 12px 0;
  font-size: 1.19rem;
  text-align: center;
  font-family: 'Montserrat', Arial, sans-serif;
  text-decoration: none;
  letter-spacing: 0.02em;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  width: 100vw;
  max-width: 100vw;
  display: block;
  transition: background 0.1s, color 0.13s, border 0.13s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  background: var(--primary-dark);
  color: var(--secondary);
  border-bottom: 2px solid var(--accent);
}

/******* COOKIE CONSENT BANNER & MODAL *******/
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 9999;
  background: var(--primary-dark);
  color: var(--secondary);
  font-size: 1rem;
  box-shadow: 0 -2px 18px rgba(30,40,55,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px 19px;
  animation: banner-fadeIn 0.6s cubic-bezier(.33,1.19,.54,.93);
}
@keyframes banner-fadeIn {
  0% {transform: translateY(100%); opacity: 0;}
  100% {transform: none; opacity: 1;}
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 6px;
  border: none;
  padding: 8px 16px;
  font-size: 1rem;
  transition: background 0.17s, color 0.14s, transform 0.12s;
  cursor: pointer;
  font-weight: 700;
}
.cookie-banner .accept {
  background: var(--accent);
  color: var(--primary-dark);
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus{
  background: var(--accent-dark);
  color: var(--secondary-alt);
  transform: scale(1.05);
}
.cookie-banner .reject {
  background: var(--surface);
  color: var(--secondary-alt);
  border: 1px solid var(--metallic);
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus{
  background: #341f22;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.cookie-banner .settings {
  background: var(--primary);
  color: var(--secondary-alt);
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: var(--primary-dark);
  color: var(--accent);
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  z-index: 10000;
  background: rgba(30,40,50,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal.open { opacity: 1; pointer-events: auto;}
.cookie-modal-content {
  background: var(--surface);
  color: var(--secondary-alt);
  border-radius: 14px;
  box-shadow: 0 2px 20px rgba(18,23,28,0.23);
  padding: 32px 28px 24px;
  min-width: 320px;
  max-width: 97vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modal-zoomIn 0.31s cubic-bezier(.15,.82,.47,1.09);
}
@keyframes modal-zoomIn {
  0% {transform: scale(0.91) translateY(80px); opacity: 0;}
  100% {transform: none; opacity: 1;}
}
.cookie-modal h2 {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 17px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cookie-category label {
  color: var(--metallic);
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
}
.cookie-category input[type='checkbox'] {
  accent-color: var(--accent);
  width: 17px;
  height: 17px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  justify-content: flex-end;
  margin-top: 18px;
}
.cookie-modal button {
  background: var(--accent);
  border: none;
  color: var(--primary-dark);
  padding: 7px 16px;
  border-radius: 5px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  transition: background 0.13s, color 0.12s;
}
.cookie-modal button.close {
  background: var(--surface);
  color: var(--secondary);
  margin-right: auto;
}
.cookie-modal button.close:hover {
  background: #2a2e36;
  color: var(--accent);
}
.cookie-modal button.save {
  background: var(--accent-dark);
  color: var(--secondary-alt);
}
.cookie-modal button.save:hover { background: var(--accent); color: var(--primary-dark);}

/******** ACCESSIBLE FOCUS STYLES ********/
a:focus, button:focus, .cta-button:focus, input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

/******* MISCELLANEOUS & OVERRIDES *******/
::-webkit-scrollbar {
  width: 8px; background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--card-border); border-radius: 30px;
}

img {max-width: 100%; display: block;}
a {transition: color 0.14s, background 0.14s;}

/******* MEDIA QUERIES – RESPONSIVE DESIGN *******/
@media (max-width: 1200px) {
  .container {max-width: 95vw;}
}
@media (max-width: 900px) {
  .container {max-width: 98vw;}
  .feature-grid, .card-container, .package-grid, .values-list {
    gap: 17px;
  }
  main section {
    padding: 30px 8px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 14px;
    padding: 13px 10px;
  }
  header nav {display: none;}
  header .cta-button {display: none;}
  .mobile-menu-toggle {
    display: flex;
  }
  .feature-grid, .card-container, .package-grid, .values-list {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .testimonial-card {flex-direction: column; align-items: flex-start;}
  .content-grid, .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .text-section {
    padding: 20px 10px;
  }
  main section {
    margin-bottom: 38px;
    padding: 24px 4px;
  }
  h1 {font-size: 2rem;}
  h2 {font-size: 1.45rem;}
}
@media (max-width: 500px) {
  h1{font-size:1.35rem;}
  .container{padding:0 5px;}
  .card,.feature-card,.package-card,.value-item{padding:14px 9px;}
  main section{padding:10px 0;}
  .cookie-modal-content{padding:14px 2vw;}
}

/******* SPACING ENFORCEMENT FOR CARDS & SECTIONS *******/
.card:not(:last-child), .feature-card:not(:last-child), .package-card:not(:last-child), .value-item:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/******* PREVENT OVERLAPPING - SAFE Z-INDEX FOR ELEMENTS*******/
header, .mobile-menu, .cookie-banner, .cookie-modal {
  z-index: 1000;
}

/******* TRANSITIONS AND ANIMATIONS *******/
*, *:before, *:after {
  box-sizing: inherit;
  transition-property: background, color, border, transform, box-shadow;
  transition-duration: 0.14s;
}

/******* PRINT CLARITY *******/
@media print {
  * { background: #fff !important; color: #222 !important; }
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal {display:none;}
}
