:root {
    --color-primary: #333333;
    --color-secondary: #79858B;
    --color-accent: #FFD700;
    --color-light: #E1E3E5;
    --nav-bg-color: #79858B;
    --nav-text-color: #333;
    --nav-text-color-transparent: #fff;
    --spacing-base: 2rem;
    --max-width: 1200px;
    --transition: all 0.3s ease;
}


/* oswald-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/oswald-v53-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/oswald-v53-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* assistant-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Assistant';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/assistant-v22-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/assistant-v22-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
  scroll-padding-top: 70px; /* Adjust this value as needed */
}

body {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-primary);
}

p {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
  }

h1,h2,h3 {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color:var(--color-primary);
  text-decoration:underline; 
  transition: .3s ease;
}

a:hover {
  color:var(--color-secondary);
}


.caption {
  margin-top:.8rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-base);
}

.section {
    padding: 0 0 5rem 0;
}

.section__headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 50px 0;
    margin-bottom: 1rem;
}

.section-title {
  text-transform:uppercase;
  font-size:1rem;
  color: #52555A;
  font-weight: 800;
}

.vertical-line {
  width: 1px;
  height: 50px;
  background-color: #555;
  margin-bottom: 10px;
}

.main-content {
  /* Default padding for pages without hero */
  padding-top: 80px; /* Height of the nav */
}

.main-content.no-hero {
  /* Extra spacing for pages without hero */
  padding-top: 100px;
}

body.has-hero .main-content {
  /* No padding needed since the hero occupies that space */
  padding-top: 0;
}

/* Navigation with transparent to solid transition */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  /* Default to solid background for all pages */
  background-color: var(--nav-bg-color, #52555A);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Only make nav transparent on pages with hero */
body.has-hero .nav:not(.scrolled) {
  background-color: rgba(82, 85, 90, 0);
  box-shadow: none;
}

/* Navigation after scrolling */
.nav.scrolled {
  background-color: var(--nav-bg-color, #52555A);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  height: 80px;
  transition: height 0.3s ease;
}

/* Reduce height when scrolled for a more compact look */
.nav.scrolled .nav__container {
  height: 60px;
  padding: 0.5rem 2rem;
}

.nav__logo {
  height: 40px;
  transition: height 0.3s ease;
  z-index: 1001;
}

.nav.scrolled .nav__logo {
  height: 35px;
}

/* Keep the rest of your nav styles the same */
.nav__menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 100%;
  background: #79858B;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  transition: var(--transition);
}

.nav__menu.active {
  right: 0;
}

.nav__link {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  font-size: 1.1rem;
  transition: var(--transition);
}

.nav__link:hover {
  color: #DAA900;
}

/* Burger menu styles with transition support */
.burger {
  display: block;
  position: relative;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger__line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: white;
  transition: var(--transition);
}

.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__line:nth-child(3) { bottom: 0; }

.burger.active .burger__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.active .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.active .burger__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Update hero section to work with transparent nav */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero.jpg') no-repeat center center;
  background-size: cover;
  /* No padding-top since nav is transparent */
}

h1.hero__title {
  font-size: 4rem;
  text-transform:uppercase;
  margin-bottom:0;
  line-height: 1.4;
}

.hero__subtitle {
  font-size:1rem;
  margin:0;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .burger {
    display: none;
  }

  .nav__menu {
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    background: transparent;
  }

  .nav__link {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* On mobile, always start with the solid nav background for better UX */
  .nav {
    background-color: var(--nav-bg-color, #79858B);
  }
  
  .nav__menu {
    background: #79858B;
  }
}


/* About Section */
.about {
    background-color: var(--color-light);
}

.about__content {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about__content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

/* Impressions Section */
.impressions__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.impression-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.impression-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.impression-card:hover img {
    transform: scale(1.05);
}

/* About Section */
.concept {
    background-color: var(--color-light);
}


/* Concept Section */
.concept {
    padding: 0 0 5rem 0;
    background-color: #f9f9f9;
  }
  
  /* .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  } */
  
  .pillars-headline {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .pillars-headline h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  .subtitle {
    font-size: 1.1rem;
    color: #666;
  }
  
  .concept-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
  }
  
  .pillar-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .pillar-card {
    background-color: #79858B;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease, box-shadow 0.3s ease;
  }
  
  .pillar-card:hover {
    background-color: #DAA900;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }
  
  /* .pillar-card__icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
  } */
  
  /* .icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #788891;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
  } */
  
  .pillar-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
  }
  
  .pillar-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color:white;
  }
  
  .concept-footer {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
  }
  
  .concept-footer p {
    margin-bottom: 1.5rem;
  }
  
  /* Responsive adjustments */
  @media (max-width: 1200px) {
    .pillar-cards {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .pillar-cards {
      grid-template-columns: 1fr;
    }
    
    .pillar-card {
      max-width: 450px;
      margin: 0 auto;
    }
  }

/* FAQ Section */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion__item {
    border-bottom: 1px solid var(--color-secondary);
}

.accordion__button {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion__button::after {
    content: '+';
    font-size: 1.5rem;
}

.accordion__button[aria-expanded="true"]::after {
    content: '-';
}

.accordion__content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.accordion__content[aria-hidden="false"] {
    padding: 1.5rem;
    max-height: 500px;
}

/* Contact Section */
.contact {
    background-color: var(--color-light);
}
.contact__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .contact__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact__info {
    text-align: center;
}

.contact__form {
    display: grid;
    gap: 1rem;
}

.form-input {
    padding: 0.8rem;
    border: 1px solid var(--color-secondary);
    border-radius: 4px;
}

.button {
    padding: 1rem 2rem;
    background: var(--color-accent);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.button:hover {
    opacity: 0.9;
}

/* Network Section */

.logo-slideshow {
    position: relative;
    overflow: hidden;
    margin: 40px 0;
  }
  
  .logo-slideshow__track {
    display: flex;
    width: fit-content; 
    animation: slide 60s linear infinite;
  }
  

  .logo-slideshow__track:hover {
    animation-play-state: paused; 
  }

.logo-slideshow__item {
    flex: 0 0 auto;
    width: 250px;
    margin: 0 20px;
  }
  
  .logo-slideshow__image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    background-color: #fff;
    border-radius: 4px;
  }
  
  .logo-slideshow__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center;
    padding: 15px;
  }

  
  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* Move exactly half the width */
    }
  }

/* Footer */
.footer {
    background: var(--color-secondary);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

/* Footer Navigation */
.footer__nav {
    margin: 20px 0;
  }
  
  .footer-nav__list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .footer-nav__item {
    display: inline-block;
  }
  
  .footer-nav__link {
    text-decoration: none;
    color: white;
    font-size: 0.9em;
    transition: color 0.3s;
  }
  
  .footer-nav__link:hover {
    color:#B4BBBE;
    text-decoration: underline;
  }
  
  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
  }
  
  .modal[aria-hidden="false"] {
    display: block;
  }
  
  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
  }
  
  .modal__container {
    position: relative;
    background-color: #fff;
    margin: 50px auto;
    max-width: 800px;
    max-height: 80vh;
    border-radius: 4px;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  
  .modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }
  
  .modal__title {
    margin: 0;
    font-size: 1.5em;
  }
  
  .modal__close {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 24px;
    padding: 0;
    margin: 0;
    line-height: 1;
  }
  
  .modal__content {
    padding: 20px;
  }
  
  /* Prevent page scrolling when modal is open */
  body.modal-open {
    overflow: hidden;
  }

/* Production Site Styles */
.production-site {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
}

.page-image {
    margin-bottom: 2rem;
}

.page-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.page-content {
    margin-bottom: 3rem;
}

.subpages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.subpage-card {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

.subpage-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.subpage-image {
    height: 200px;
    overflow: hidden;
}

.subpage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.subpage-card:hover .subpage-image img {
    transform: scale(1.05);
}

.subpage-content {
    padding: 1.5rem;
}

.subpage-content h3 {
    margin-bottom: 0.5rem;
}

.subpage-content a {
    text-decoration: none;
    color: var(--color-primary);
}

.main-content {
    padding-top: 80px; /* To account for fixed navigation */
    min-height: calc(100vh - 80px);
}

/* Language Switch */
.nav__language-switcher {
    margin-left: 20px;
    display: flex;
    gap: 10px;
  }
  
  .nav__language {
    font-size: 0.9em;
    text-transform: uppercase;
  }
  
  .nav__language.active {
    font-weight: bold;
  }

  /* Social Media Icons */
.social-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .social-links__item {
    display: inline-block;
  }
  
  .social-links__link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f5f7f9;
    transition: opacity 0.5s;
  }
  
  .social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }
  
  /* Icon with label style */
  .social-links__link .social-links__label {
    margin-left: 8px;
    font-size: 0.9em;
  }
  
  /* Platform-specific colors 
  .social-links__link--facebook { color: #3b5998; }
  .social-links__link--instagram { color: #e1306c; }
  .social-links__link--twitter { color: #1da1f2; }
  .social-links__link--linkedin { color: #0077b5; }
  .social-links__link--youtube { color: #ff0000; }
  .social-links__link--xing { color: #006567; }
  .social-links__link--tiktok { color: #000000; }
  */

  .social-links__link:hover {
    opacity: 0.8;
  }