/* === BASE STRUCTURE === */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #332f2f;
  transition: background-color 0.3s, color 0.3s;
  
}

.container {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container.nav-content {
  padding-left: 10px;
  padding-right: 10px;
}

/* === TYPOGRAPHY & HEADINGS === */
h2 {
  text-align: left;
  margin: 0 0 1.25rem 0;
  padding-left: 0.25rem;
  font-size: 1.75rem;
  border-bottom: 2px solid #00ff4c99;
  padding-bottom: 0.25rem;
  line-height: 1.2;
}

/* === SECTIONS === */
.about, .services, .testimonials, .contact {
  padding: 2rem 0;
}

.about h2,
.services h2,
.testimonials h2 {
  margin-bottom: 1.5rem;
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 35vh;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2rem 3rem 2rem;
  background: black;
}

.hero-logo {
  height: 70px;
  transition: filter 0.3s;
  margin-bottom: 1rem;
}

.hero-logo:hover {
  filter: brightness(0) saturate(100%) invert(75%) sepia(100%) saturate(600%) hue-rotate(70deg) brightness(105%) contrast(105%);
}

/* === BUTTONS === */

.primary-button {
  background-color: #f5f5f5;
  color: #333;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.3s ease;
}

.primary-button::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #f5f5f5;
  border-radius: 8px;
  z-index: -1;
  transition: filter 0.3s ease;
}

.primary-button:hover::before {
  filter: brightness(0) saturate(100%) invert(75%) sepia(100%) saturate(600%) hue-rotate(70deg) brightness(105%) contrast(105%);
}

.primary-button:hover {
  color: #000;
}

/* DARK MODE */
body.dark .primary-button {
  background-color: #000;
  color: #eee;
  border: 1px solid #555;
}

body.dark .primary-button::before {
  background-color: #000;
}

body.dark .primary-button:hover::before {
  background-color: #222;
  filter: none;
}

body.dark .primary-button:hover {
  color: #fff;
}



/* === SECTIONS === */
.about, .services, .testimonials, .contact {
  padding: 2rem 0;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.services .grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  padding: 1.5rem;
  background-color: #fdfdfd;
  color: #332f2f;
  border: 1px solid #c1c1c1;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card:hover {
  background-color: #000;
  color: #f1efef;
  transform: translateY(-5px);
}

.testimonials .quote {
  background: #e9e7e7;
  padding: 1rem;
  border-radius: 6px;
}

/* === FOOTER === */
.footer {
  background: #000;
  color: #ccc;
  padding: 2rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 200px;
}

.footer a {
  color: #ccc;
  text-decoration: none;
}

.footer a:hover {
  color: #00ff4e;
}

/* === NAVIGATION === */
.top-nav {
  position: relative;
  background-color: #000;
  z-index: 999;
  width: 100%;
  transition: all 0.3s ease;
}

.top-nav .logo a,
.top-nav .nav-links a {
  color: #f0f0f0;
}

.top-nav .nav-links a:hover,
.top-nav .logo a:hover {
  color: #00ff4e;
}

.top-nav.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  margin: 0 1rem;
  text-decoration: none;
}

.site-logo {
  height: 40px;
  transition: filter 0.3s;
}

.site-logo:hover {
  filter: brightness(0) saturate(100%) invert(75%) sepia(100%) saturate(600%) hue-rotate(70deg) brightness(105%) contrast(105%);
}

/* === UTILITIES === */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: #00ff4e;
}

input, textarea {
  font-family: 'Inter', sans-serif;
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

input:focus,
textarea:focus {
  outline: none;
  border: 1px solid #00ff4e;
}

/* === RESPONSIVE === */
@media screen and (max-width: 900px) {
  .services .grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 650px) {
  body {
    font-size: 0.9rem;
  }
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.25rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  p, a, button {
    font-size: 0.95rem;
  }
  .nav-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }
  .nav-links {
    flex-direction: row;
    gap: 0.75rem;
  }
  .nav-links a {
    margin: 0;
    font-size: 0.9rem;
  }
  .site-logo {
    height: 32px;
  }
}

@media screen and (max-width: 450px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.2rem;
  }
  .footer-right {
    text-align: left;
  }
}

/* === TEAM PAGE === */

 .content-background {
      min-height: 90vh;
      padding: 2rem;
    }
    .grid > div {
      align-self: start;
    }
    .team-members {
      background-color: #fdfdfd;
      border-radius: 8px;
      padding: 2rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 0.8s ease-out forwards;
    }
    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .about {
      margin-bottom: 1rem;
    }
    .about h2 {
      text-align: left;
      margin: 0;
      padding-left: 0.25rem;
      font-size: 1.75rem;
      border-bottom: 2px solid hsla(138, 99%, 68%, 0.942);
      padding-bottom: 0.25rem;
      line-height: 1.2;
    }
    .team-members h3 {
      margin-top: 0;
    }
    .team-members p + p {
      margin-top: 1rem;
    }
    @media screen and (max-width: 768px) {
      .grid {
        grid-template-columns: 1fr !important;
      }
      .grid > div:first-child {
        order: -1;
      }
    }

/* === PRIVACY PAGE === */

.privacy-page h2 {
  border-bottom: none;
  padding-bottom: 0;
}

/* === DARK MODE === */
body.dark {
  background-color: #111;
  color: #f0f0f0;
}

body.dark .top-nav {
  background-color: #1a1a1a;
}

body.dark .card,
body.dark .testimonials .quote {
  background-color: #222;
  border-color: #333;
  color: #f0f0f0;
}

body.dark .footer {
  background-color: #000;
  color: #ccc;
}

body.dark .site-logo {
  content: url('img/logo-light.svg');
}


/* === COOKIES === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #111;
  color: #fff;
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
}

.cookie-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: #00ff4e;
  text-decoration: underline;
}

.cookie-banner button {
  background: #00ff4e;
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-banner button:hover {
  background: #00cc40;
}

@media screen and (max-width: 600px) {
  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-banner button {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* === CUSTOM BACKGROUND WRAPPER === */
@media screen and (min-width: 900px) {
  .content-background {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 1px;
    padding: 2rem;
  }
}

#hero-bg {
  min-height: 35vh;
  position: relative;
  overflow: hidden;
  color: white;
}

#hero-bg .container {
  position: relative;
  z-index: 1;
  text-align: center;
}
