/* =========================
   Arcane Gale Stuttgart
   style.css – Tech Futuristic  
   ========================= */

/* --- CSS RESET & NORMALIZE --- */
html {
  box-sizing: border-box;
}
*,*::before,*::after{
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #111923;
  color: #F3F6F9;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,svg {
  max-width: 100%;
  vertical-align: middle;
  display:inline-block;
}
a {
  color: #15B6A7;
  text-decoration: none;
  transition: color 0.2s;
}


/* --- ROOT VARIABLES for color/fallbacks --- */
:root {
  --color-primary: #223652;
  --color-secondary: #15B6A7;
  --color-accent: #F3F6F9;
  --color-bg: #111923;
  --color-card-bg: #1B2534;
  --color-footer-bg: #192235;
  --color-border: #263553;
  --color-text-main: #F3F6F9;
  --color-text-dark: #223652;
  --color-warning: #feac29;
  --shadow-card: 0 4px 24px rgba(21,182,167,0.10), 0 1.5px 12px rgba(34,54,82,0.20);
  --radius-main: 16px;
}


/* --- TYPOGRAPHY --- */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #15B6A7;
  font-weight: 700;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; letter-spacing: 0.02em; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.32rem; margin-bottom: 10px; }
.headline {
  font-size: 1.25rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.subheadline {
  font-size: 1.08rem;
  font-weight: 400;
  color: #A1EBE6;
  margin-bottom: 16px;
}
p {
  margin-bottom: 1em;
  font-size: 1rem;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
a:hover, .footer-menu a:hover, .mobile-nav a:hover {
  color: #feac29;
}


/* --- CONTAINER & WRAPPERS --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: linear-gradient(105deg,#151d29 0%,#223652 55%,#12161d 100%);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s;
}
.section:hover {
  box-shadow: 0 8px 36px rgba(21,182,167,0.20),0 2.5px 16px rgba(34,54,82,0.34);
}


/* --- NAVIGATION DESKTOP --- */
header {
  width: 100%;
  background: #111923;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}
header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
nav > a img {
  height: 52px;
  width: auto;
  margin-right: 18px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
}
nav ul li {
  display: flex;
  align-items: center;
}
nav ul li a {
  color: #F3F6F9;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 8px 4px;
  border-radius: 6px;
  transition: background 0.2s, color 0.18s;
}
nav ul li a:hover, nav ul li a.active {
  color: #15B6A7;
  background: rgba(21,182,167,0.085);
}

/* --- CTA Button --- */
.cta-button {
  background: linear-gradient(90deg, #15B6A7 2%, #28cfce 100%);
  color: #111923;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  border: none;
  border-radius: 32px;
  padding: 13px 36px;
  margin-left: 22px;
  box-shadow: 0 2px 12px rgba(21,182,167,0.10);
  cursor: pointer;
  transition: box-shadow 0.19s, color 0.18s, background 0.18s, transform 0.14s;
  position: relative;
  z-index: 2;
  letter-spacing: 0.02em;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, #0df9e3 1%, #15B6A7 99%);
  color: #223652;
  box-shadow: 0 6px 16px rgba(21,182,167,0.34);
  transform: translateY(-1px) scale(1.025);
}


/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 101;
  padding: 12px 14px;
  background: #223652;
  color: #15B6A7;
  font-size: 2rem;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(21,182,167,0.10);
  cursor: pointer;
  transition: background 0.11s, color 0.14s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #15B6A7;
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #111923;
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-105%);
  opacity: 0;
  transition: transform 0.33s cubic-bezier(.68,-0.55,.27,1.55), opacity 0.23s;
  box-shadow: 0 6px 32px rgba(21,182,167,0.18);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: none;
  color: #15B6A7;
  font-size: 2.3rem;
  border: none;
  position: absolute;
  top: 18px;
  right: 18px;
  cursor: pointer;
  z-index: 199;
  transition: color 0.15s;
}
.mobile-menu-close:focus {
  outline: 2px solid #15B6A7;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2.1rem;
  padding: 90px 28px 30px 28px;
  width: 100%;
}
.mobile-nav a {
  font-size: 1.33rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  color: #F3F6F9;
  border-radius: 6px;
  transition: background 0.18s, color 0.17s;
  padding: 14px 8px 14px 2px;
}
.mobile-nav a:hover {
  background: #15B6A7;
  color: #223652;
}

@media (max-width: 1070px){
  nav ul {
    gap: 12px;
  }
  .cta-button{
    padding: 11px 18px;
    margin-left: 7px;
  }
}
@media (max-width: 870px){
  nav ul {
    display: none;
  }
  .cta-button{
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}


/* --- SECTIONS & FLEX LAYOUTS --- */
/* CRITICAL FLEX USAGE + GAPS */
.card-container,
.card-grid,
.feature-grid,
.feature-highlights,
.team-bios,
.events-calendar,
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.card,
.feature-box,
.event-entry {
  background: var(--color-card-bg);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  padding: 32px 26px 26px 26px;
  display: flex;
  flex-direction: column;
  min-width: 250px;
  flex: 1 1 295px;
  transition: box-shadow 0.22s, transform 0.19s;
}
.card:hover,.feature-box:hover,.event-entry:hover {
  box-shadow: 0 10px 34px rgba(21,182,167,0.21); 
  transform: translateY(-3px) scale(1.035);
}
.feature-box img {
  height: 56px; width: 56px; object-fit: contain; margin-bottom: 16px;
  filter: drop-shadow(0 0 6px #15B6A7);
}
.feature-box h3 {
  color: #15B6A7; margin-bottom: 8px; font-size: 1.15rem;
}

/* --- SERVICE/VALUES/EVENTS --- */
.service-list, .values-list, .feature-list, .event-teasers ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.service-list li, .values-list li, .feature-list li, .event-teasers li, .feature-highlights li {
  font-size: 1.05rem;
  color: #A1EBE6;
  background: #181e2b;
  border-left: 4px solid #15B6A7;
  padding: 14px 18px 14px 17px;
  margin-bottom: 10px;
  border-radius: 13px;
  transition: background 0.16s, border-color 0.17s;
}
.service-list li span {
  color: #feac29;
  font-weight: 500;
  margin-left: 12px;
}


/* --- TESTIMONIALS (CRITICAL CONTRAST) --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #F3F6F9;
  color: #1a2d44;
  border-radius: 18px;
  min-width: 280px;
  box-shadow: 0 1.5px 16px rgba(34,54,82,0.18);
  margin-bottom: 20px;
  border-left: 5px solid #15B6A7;
  font-size: 1.07rem;
}
.testimonial-card .star-rating {
  color: #feac29;
  font-size: 1.15rem;
  letter-spacing: 1.5px;
  font-family: 'Montserrat',sans-serif;
  font-weight: bold;
}
.testimonial-meta {
  color: #223652;
  font-size: 0.93rem;
  font-weight: 600;
  margin-top: 6px;
}

/* --- TEAM BIOS --- */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 12px;
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- EVENTS CALENDAR --- */
.events-calendar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.event-entry {
  min-width: 275px; max-width: 100%;
  border-left: 6px solid #15B6A7;
}
.event-entry h2 {
  color: #15B6A7;
  font-size: 1.42rem;
  margin-bottom: 5px;
}
.event-entry a.cta-button {
  margin-left: 0;
}


/* --- FOOTER --- */
footer {
  width: 100%;
  background: var(--color-footer-bg);
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1.5px solid #223652;
  box-shadow: 0 -2px 24px rgba(21,182,167,0.08);
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-brand {
  flex: 0 0 auto;
}
.footer-brand img {
  width: 62px; height: auto;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}
.footer-menu li a {
  color: #A1EBE6;
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-menu li a:hover {
  color: #15B6A7;
}
.footer-contact {
  color: #8194b7;
  font-size: 0.99rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}


/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #223652;
  color: #F3F6F9;
  font-size: 1rem;
  padding: 26px 24px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  z-index: 1100;
  box-shadow: 0 -6px 32px rgba(21,182,167,0.22);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.29s, transform 0.24s;
}
.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.cookie-banner .cookie-buttons {
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
  padding: 10px 30px;
  margin: 0 2px;
  border: none;
  border-radius: 28px;
  cursor: pointer;
  background: #15B6A7;
  color: #223652;
  transition: background 0.17s, color 0.18s, box-shadow 0.15s;
  box-shadow: 0 1.5px 6px rgba(21,182,167,0.14);
}
.cookie-banner button:hover {
  background: #F3F6F9;
  color: #15B6A7;
}
.cookie-banner .cookie-settings {
  background: none;
  border: 2px solid #15B6A7;
  color: #F3F6F9;
  padding: 10px 24px;
  transition: border-color 0.13s, color 0.15s, background 0.12s;
}
.cookie-banner .cookie-settings:hover {
  color: #223652;
  background: #F3F6F9;
  border-color: #F3F6F9;
}

/* --- COOKIE MODAL --- */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(0.98);
  background: #192235;
  color: #F3F6F9;
  z-index: 1200;
  width: 380px;
  max-width: 92vw;
  border-radius: 18px;
  box-shadow: 0 8px 48px rgba(21,182,167,0.25);
  padding: 32px 23px 24px 23px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s, transform 0.24s;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.cookie-modal.visible {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%) scale(1);
}
.cookie-modal h2 {
  color: #15B6A7;
  margin-bottom: 10px;
  font-size: 1.18rem;
}
.cookie-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.07rem;
  margin-bottom: 8px;
}
.cookie-modal input[type='checkbox'] {
  accent-color: #15B6A7;
  width: 20px;
  height: 20px;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 10px;
  align-items: center;
}
.cookie-modal .modal-close {
  background: none;
  color: #15B6A7;
  border: none;
  font-size: 2.1rem;
  position: absolute;
  top: 12px;
  right: 18px;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover {
  color: #feac29;
}


/* --- RESPONSIVE LAYOUTS --- */
@media (max-width: 900px){
  .card-container, .card-grid, .feature-grid, .events-calendar, .team-bios, .feature-highlights, .content-grid {
    gap: 18px;
  }
  .footer-brand img { width: 48px; }
}
@media (max-width: 768px){
  h1{ font-size: 1.62rem; }
  h2{ font-size: 1.23rem; }
  .section{
    margin-bottom: 36px;
    padding: 25px 8px;
  }
  .content-wrapper {
    gap: 14px;
  }
  .card,
  .feature-box,
  .event-entry {
    flex-basis: 100%;
    min-width: 90vw;
    padding: 20px 13px 19px 13px;
  }
  .testimonial-card {
    min-width: 90vw;
    padding: 16px 8px;
  }
  .team-bios {
    flex-direction: column;
    gap: 14px;
  }
  .events-calendar, .feature-grid, .feature-highlights, .card-container, .content-grid{
    flex-direction: column;
    gap: 14px;
  }
  .footer-brand, .footer-contact {
    min-width: 90vw;
    margin-bottom: 10px;
  }
  .footer-menu {
    gap: 12px;
    flex-wrap: wrap;
  }
  footer .content-wrapper{
    flex-direction: column;
    gap: 20px;
  }
  .cookie-modal{
    width: 97vw;
    padding: 17px 5px 14px 12px;
  }
}
@media (max-width: 600px){
  .section{
    padding: 14px 2px;
  }
  .container{
    padding: 0 4vw;
  }
  .cookie-banner{
    padding: 17px 6px 17px 6px;
    font-size: 0.98rem;
  }
}


/* --- FURTHER STYLES --- */
/* Text and image split sections (future proof) */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px){
  .text-image-section {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*---- ANIMATIONS & MICRO-INTERACTIONS ----*/
.card, .feature-box, .event-entry, .testimonial-card {
  transition: box-shadow 0.19s, transform 0.13s;
}
.card:focus-within, .feature-box:focus-within, .event-entry:focus-within, .testimonial-card:focus-within {
  box-shadow: 0 10px 32px #15b6a755;
  outline: 2px solid #15B6A7;
}

/*---- FORM/INPUTS ----*/
input, textarea, select {
  background: #181e2b; color: #F3F6F9;
  border-radius: 10px;
  border: 1.2px solid #444e68;
  padding: 12px 12px;
  font-size: 1rem;
  font-family: 'Roboto',sans-serif;
  margin-bottom: 16px;
  width: 100%;
  box-shadow: none;
  transition: border-color 0.16s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: #15B6A7;
  outline: none;
  box-shadow: 0 0 0 2px #15b6a763;
}
button {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  cursor: pointer;
}

/*---- ACCESSIBILITY: FOCUS STATES ----*/
a:focus, .cta-button:focus, .mobile-menu-close:focus, .mobile-menu-toggle:focus {
  outline: 2px solid #feac29;
  outline-offset: 2px;
  z-index: 2000;
}

/*---- SEPARATORS / BORDERS ----*/
hr {
  border: none;
  border-top: 1.2px solid #223652;
  margin: 28px 0;
}

/*==== CUSTOM SELECTORS FOR RICH UI ====*/
main > section + section {
  margin-top: 26px;
}
main > section:first-of-type .container{
  padding-top: 18px;
  padding-bottom: 4px;
}
main > section .cta-button{
  margin-top: 10px;
}

/* ==== SCROLLBAR STYLE ==== */
::-webkit-scrollbar {
  width: 10px;
  background: #111923;
}
::-webkit-scrollbar-thumb {
  background: #223652;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #15B6A7;
}

/* ==== HIDE OUTLINES ON MOUSEONLY, SHOW FOR KEYBOARD==== */
:focus:not(:focus-visible) {
  outline: none;
}

/* === Neon Accent Line for Headings === */
h2, h3 {
  position: relative;
  z-index: 1;
}
h2:after, h3:after {
  content: '';
  display: block;
  width: 58px;
  height: 3px;
  background: linear-gradient(90deg,#15B6A7 0%, #28cfce 100%);
  border-radius: 3px;
  margin-top: 7px;
  box-shadow: 0 0 12px #15B6A766;
}

/* === Selection color === */
::selection {
  background: #15B6A799;
  color: #223652;
}

/* ========== END ========== */
