@import url('components.css');
@import url('utilities.css');

/* main.css – Layout and global variables only
   - Uses semantic grid/flex for main layout
   - Global color variables and font stack
   - Responsive breakpoints for mobile/tablet/desktop
*/

:root {
  --primary-cyan: #00DDFF;
  --primary-blue: #0099CC;
  --primary-teal: #00CCAA;

}

html {
  font-family: 'Montserrat', Arial, system-ui, sans-serif;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #061a23 0%, #0a2c38 55%, #00ccaa 100%);
  color: #f6fbfd;
  font-size: 1.08rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', Arial, system-ui, sans-serif;
  position: relative;
  /* Optional: subtle noise overlay for depth */
  /* background-image: url('../assets/img/noise.png'), linear-gradient(135deg, #061a23 0%, #0a2c38 55%, #00ccaa 100%); */
}

h1 {
  font-size: 2.8rem;
  color: #00DDFF;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

@media (max-width: 700px) {
  h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Header & Navigation */
.header-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

header {
  background: linear-gradient(90deg, #061a23 0%, #0a2c38 60%, #073a4b 100%);
  box-shadow: 0 4px 32px 0 rgba(0, 34, 51, 0.18), 0 1.5px 8px 0 rgba(0, 221, 255, 0.09);
  border-bottom: 2px solid var(--primary-cyan);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
  padding: 0.8rem 0;
  width: 100%;
  box-sizing: border-box;
}

/* Burger Menu Button */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  margin-left: auto;
  margin-right: 1rem;
}

.burger-bar {
  width: 100%;
  height: 0.25rem;
  background: var(--primary-cyan);
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  position: relative;
  transform-origin: 1px;
}

/* Navigation */
.main-nav {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-links a {
  color: var(--primary-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-cyan);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: #061a23;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .main-nav.active {
    display: flex;
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 0.75rem 0;
  }

  /* Burger Menu Animation */
  .burger-menu[aria-expanded="true"] .burger-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .burger-menu[aria-expanded="true"] .burger-bar:nth-child(2) {
    opacity: 0;
  }

  .burger-menu[aria-expanded="true"] .burger-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* Overlay when menu is open */
  .main-nav::before {
    content: '';
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .main-nav.active::before {
    left: 0;
    opacity: 1;
  }
}

/* Desktop Navigation */
@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
  }
}

header.scrolled {
  box-shadow: 0 8px 32px 0 rgba(0,34,51,0.22), 0 2px 12px 0 rgba(0,221,255,0.14);
}

.logo-container.card {
  background: rgba(0, 221, 255, 0.09);
  border-radius: 1.2em;
  padding: 1.3em 1.2em 1.2em 1.2em;
  box-shadow: 0 4px 32px 0 rgba(0,221,255,0.13), 0 1.5px 8px 0 rgba(0,204,170,0.10);
  border: 2.5px solid var(--primary-cyan);
  margin-bottom: 2.2rem;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.card:hover {
  box-shadow: 0 8px 40px 0 rgba(0,153,204,0.19), 0 2.5px 12px 0 rgba(0,204,170,0.11);
  border-color: var(--primary-blue);
}

.logo {
  max-width: 120px;
  height: auto;
  display: block;
}

@media (min-width: 700px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
  }
  .logo-container {
    margin-bottom: 0;
    margin-right: 2rem;
  }
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
}

nav a:focus {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
  background: #e0f7fa;
  color: #222;
}

nav a {
  color: var(--primary-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}
nav a:hover,
nav a:focus {
  color: var(--primary-blue);
  text-decoration: underline;
}
nav a:active {
  color: var(--primary-teal);
}

/* General link styles */
a {
  color: var(--primary-cyan);
  transition: color 0.18s, background 0.18s;
  text-decoration: underline;
}
a:hover,
a:focus {
  color: var(--primary-blue);
  background: rgba(0, 221, 255, 0.08);
  outline: none;
}
a:active {
  color: var(--primary-teal);
}

nav a.active {
  color: #00DDFF;
  font-weight: 700;
  border-bottom: 3px solid #00DDFF;
  background: rgba(0,221,255,0.08);
  border-radius: 1.5em 1.5em 0 0;
  box-shadow: 0 4px 16px 0 rgba(0,221,255,0.09);
  padding-bottom: 0.15em;
}

/* Flag language selector styles */
nav a.lang-flag {
  font-size: 1.45em;
  padding: 0.13em 0.43em 0.13em 0.43em;
  border-radius: 0.7em;
  transition: box-shadow 0.18s, border-color 0.18s, background 0.18s;
  display: inline-block;
  border: 1.7px solid transparent;
  background: none;
  box-shadow: none;
  vertical-align: middle;
  line-height: 1;
}
nav a.lang-flag.active {
  border: 1.7px solid #00DDFF;
  background: rgba(8, 24, 38, 0.97);
  box-shadow: 0 6px 32px 0 rgba(0,221,255,0.16), 0 2px 14px 0 rgba(0,153,204,0.13);
  color: #00DDFF;
  font-weight: 800;
}
nav a.lang-flag.active:focus {
  outline: 2px solid #00CCAA;
  outline-offset: 2px;
}


main {
  background: rgba(15, 36, 52, 0.82);
  box-shadow: 0 6px 48px 0 rgba(0,34,51,0.16), 0 2px 16px 0 rgba(0,221,255,0.07);
  border-radius: 2.2rem;
  max-width: 900px;
  margin: 3.5rem auto 3.5rem auto;
  padding: 3.5rem 2.2rem 3.2rem 2.2rem;
  color: #f6fbfd;
  border: 1.5px solid rgba(0,221,255,0.09);
  transition: box-shadow 0.22s, background 0.22s;
}

@media (max-width: 900px) {
  main {
    padding: 2.2rem 0.7rem 2.2rem 0.7rem;
    margin: 2.2rem 0.3rem 2.2rem 0.3rem;
    border-radius: 1.1rem;
  }
}

section {
  margin-bottom: 3.8rem;
  margin-top: 0;
}
section:last-child {
  margin-bottom: 0;
}

.services, .team, .gov-elements, .about-intro, .contact-cta {
  margin-bottom: 3.8rem;
}

@media (max-width: 700px) {
  section, .services, .team, .gov-elements, .about-intro, .contact-cta {
    margin-bottom: 2.1rem;
  }
  main {
    padding: 1.1rem 0.2rem 1.1rem 0.2rem;
  }
}

footer {
  background: linear-gradient(90deg, #0a2c38 0%, #061a23 100%);
  color: #c6f7ff;
  text-align: center;
  padding: 2.2rem 0 1.2rem 0;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  border-top: 2.5px solid var(--primary-cyan);
  box-shadow: 0 -2px 32px rgba(0,153,204,0.12);
  flex-shrink: 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
  /* Optional: glassy effect */
  /* backdrop-filter: blur(2px); */
}
footer small {
  opacity: 0.92;
  font-size: 0.97em;
  color: #e0f7fa;
}

/* Skill Cloud Styles (am Ende für höchste Priorität) */
.skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  justify-content: flex-start;
  padding: 1.2rem 0.5rem 0.7rem 0.5rem;
  background: rgba(0,34,51,0.03);
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px 0 rgba(0,153,204,0.07);
}
.skill-cloud strong {
  flex-basis: 100%;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #00ddff;
  letter-spacing: 0.02em;
}
.skill {
  display: inline-block;
  background: transparent;
  color: #00ddff;
  border: 1px solid #00ddff;
  font-weight: 600;
  font-size: 1.08rem;
  padding: 0.33em 1.15em;
  border-radius: 2em;
  margin: 0.12em 0.14em;
  box-shadow: none;
  transition: background 0.18s, color 0.18s;
}
.skill:hover, .skill:focus {
  background: #00ddff;
  color: #111;
  box-shadow: 0 6px 24px 0 rgba(0,221,255,0.23), 0 1.5px 4px 0 rgba(0,0,0,0.07);
}

.hero-wave {
  width: 100%;
  line-height: 0;
  position: relative;
  z-index: 1;
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 56px;
}

.hero-image {
  display: block;
  max-width: 420px;
  width: 100%;
  height: auto;
  margin: 2rem auto 1.2rem auto;
  border-radius: 1.5rem;
  box-shadow: 0 6px 40px 0 rgba(0,153,204,0.13), 0 2px 12px 0 rgba(0,221,255,0.12);
  background: #f6fbfd;
  object-fit: cover;
  transition: box-shadow 0.18s, transform 0.18s;
}
.hero-image:hover {
  box-shadow: 0 12px 60px 0 rgba(0,221,255,0.22), 0 4px 24px 0 rgba(0,153,204,0.15);
  transform: scale(1.025);
}

@media (max-width: 700px) {
  .hero-image {
    max-width: 98vw;
    margin-left: auto;
    margin-right: auto;
  }
}

