@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

:root{
	--first-color:#FDCA0B;
	--second-color:#000000;
	--third-color:#E8E8E8;
	--text-color:#272727;
	--font-family:"Figtree";
	--font-size-xxs:1.5rem;
	--font-size-xs:1.8rem;
	--font-size-s:2rem;
	--font-size-m:2.2rem;
	--font-size-l:3.3rem;
	--font-size-xl:4.6rem;
}

* {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:10px;
    vertical-align:baseline;
    background: transparent;
	box-sizing: border-box;
	scroll-behavior: smooth;
}

html{
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body{
	font-family: var(--font-family);
	font-size: var(--font-size-xs);
	font-weight: 400;
	color: var(--text-color);
	background: var(--second-color);
}

a{
	text-decoration: none;
	color: inherit;
}

img{
	max-width: 100%;
	display: block;
	object-fit: cover;
}

ul{
	list-style: none;
}

p {
    font-family: var(--font-family);
	font-size: var(--font-size-xs);
	font-weight: 200;
	color: var(--text-color);
    line-height: 2.4rem;
}

h4 {
    font-family: var(--font-family);
	font-size: var(--font-size-m);
	font-weight: 700;
	color: var(--text-color);
    line-height: 2.6rem;
}

h3 {
    font-family: var(--font-family);
	font-size: var(--font-size-l);
	font-weight: 700;
	color: var(--text-color);
    line-height: 3.2rem;
}

h1, h2 {
    font-family: var(--font-family);
	font-size: var(--font-size-xl);
	font-weight: 900;
	color: var(--second-color);
    line-height: 4.6rem;
}

.container {
	max-width: 1240px;
	margin: 0 auto;
    width: 100%;
}

.nav-section, .hero-section-wrap{
	max-width: 1240px;
}

@media (max-width: 1023px) {
  .container {
    width: 90%;
  }
}

@media (max-width: 767px) {
  .container {
    width: 90%;
    padding: 0 1.6rem;
  }
}

/*
-----------------------------
BUTTONS
-----------------------------
*/

.btn-yellow{
	font-family: var(--font-famlily);
	background-color: var(--first-color);
	color: var(--second-color);
	font-size: var(--font-size-s);
	font-weight: 300;
	border: var(--first-color) solid 2px;
	border-radius: 10px;
	padding: 8px 24px;
	box-shadow: 0 3px 7px 2px rgba(0,0,0,0.3);
}

.btn-yellow:hover {
	background-color: transparent;
	color: var(--third-color);
	transition: .6s;
	cursor: pointer;
	box-shadow: 0 0 0 0 rgba(0,0,0,0.3);
}

.btn-yellow:active {
	background-color: var(--third-color);
	color: var(--third-color);
    border: var(--third-color) solid 2px;
	transition: .3s;
	box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.btn-yellow:focus {
	outline: var(--third-color) solid 2px;
    outline-offset: 2px;
}

.btn-yellow-negativ{
	font-family: var(--font-famlily);
	background-color: transparent;
	color: #fff;
	font-size: var(--font-size-s);
	font-weight: 300;
	border: var(--first-color) solid 2px;
	border-radius: 10px;
	padding: 8px 24px;
}

.btn-yellow-negativ:hover {
	background-color: var(--first-color);
	color: #000000;
	transition: .6s;
	cursor: pointer;
	box-shadow: 0 0 0 0 rgba(0,0,0,0.3);
}

.btn-yellow-negativ:active {
	background-color: var(--third-color);
	color: var(--third-color);
    border: var(--third-color) solid 2px;
	transition: .3s;
	box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.btn-yellow-negativ:focus {
	outline: var(--third-color) solid 2px;
    outline-offset: 2px;
}

.btn-black{
	font-family: var(--font-famlily);
	background-color: #000;
	color: var(--first-color);
	font-size: var(--font-size-s);
	font-weight: 300;
	border: #000000 solid 2px;
	border-radius: 10px;
	padding: 8px 24px;
}

.btn-black:hover {
	background-color: transparent;
	color: #fff;
	transition: .6s;
	cursor: pointer;
}

.btn-black:active {
	background-color: var(--third-color);
	color: var(--third-color);
    border: var(--third-color) solid 2px;
	transition: .3s;
	box-shadow: 0 0 0 0 rgba(0,0,0,0);
}

.btn-black:focus {
	outline: var(--third-color) solid 2px;
    outline-offset: 2px;
}

/*
-----------------------------
NAVIGATION AND MOBILE MENU
-----------------------------
*/

.nav-section {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	padding: 40px 0 10px;
	position: fixed;
	top: env(safe-area-inset-top, 0);
	left: 0;
	right: 0;
	z-index: 13000;
	/* backdrop-filter: blur(5px); */
}

.navbar-wrap {
	text-align: right;
}

.secondary-menu-navbar {
	display: inline-flex;
  justify-content: center;
  align-items: center;
	flex-wrap: wrap;
}

.secondary-menu-link-navbar {
	padding: 2px 15px;
}

.secondary-menu-link-navbar a {
	color: var(--first-color);
	font-size: 1.3rem;
	font-weight: 600;
}

.secondary-menu-link-navbar a:hover {
	font-weight: 800;
}

.primary-menu-navbar {
	display: inline-flex;
	flex-wrap: wrap;
}

.primary-menu-link-navbar {
	padding: 5px 15px;
}

.primary-menu-link-navbar a {
	font-size: 1.6rem;
	color: var(--third-color);
	font-weight: 500;
}

.primary-menu-link-navbar a:hover {
	color: var(--first-color);
}

.btn-menu-hamburger{
	display: none;
}

@media (max-width: 767px) {
	.navbar-wrap { display: none; }
	.btn-menu-hamburger { display: block; cursor: pointer; z-index: 13100; position: relative; }
	.open-button-hamburger, .close-button-hamburger { width: 30px; height: 30px; transition: opacity 0.3s ease; }
	.close-button-hamburger { display: none; }
	.btn-menu-hamburger.active .open-button-hamburger { display: none; }
	.btn-menu-hamburger.active .close-button-hamburger { display: block; }

	/* Hide header logo while mobile overlay is open (contact page only) */
	body.contact .btn-menu-hamburger.active ~ .logo-header-navbar { visibility: hidden; }
	body.contact .mobile-menu-overlay.active ~ footer { z-index: 1; }
}

.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.96);
	z-index: 12500;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	/* Ensure it's always on top */
	transform: translateZ(0);
	pointer-events: none;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-menu-content {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-content: center;
	gap: 24px;
	padding: 48px;
}
.mobile-menu-content ul { list-style: none; margin: 0; padding: 0; }
.mobile-primary-nav li { margin: 18px 0; }
.mobile-secondary-nav li { margin: 12px 0; }
.mobile-primary-nav a { color: var(--first-color); font-size: 3rem; font-weight: 800; text-decoration: none; }
.mobile-secondary-nav a { color: #fff; font-size: 1.7rem; font-weight: 600; text-decoration: none; opacity: 0.9; }

@media (max-width: 767px) {
	.mobile-menu-content { grid-template-columns: 1fr; text-align: left;}
	.mobile-secondary-nav { text-align: right; }
}

/* Mobile Language Toggle */
.mobile-language-switch {
	margin: 12px 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.mobile-language-switch .language-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	padding: 4px;
	position: relative;
	isolation: isolate;
	color: var(--third-color);
	font-size: 1.4rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background 0.3s ease, border-color 0.3s ease;
}

.mobile-language-switch .language-toggle::before {
	content: '';
	position: absolute;
	top: 4px;
	left: 4px;
	width: 50px;
	height: 32px;
	background: var(--first-color);
	border-radius: 999px;
	z-index: -1;
	transition: transform 0.25s ease-in-out;
}

.mobile-language-switch .language-toggle:has(.language-option:nth-child(2).active)::before {
	transform: translateX(56px);
}

.mobile-language-switch .language-option {
	padding: 0;
	width: 50px;
	border-radius: 999px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.65);
	font-size: 1.2rem;
	height: 32px;
	text-align: center;
	cursor: pointer;
	transition: color 0.25s ease-in-out;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	z-index: 1;
}

.mobile-language-switch .language-option.active {
	background: transparent;
	color: #000000;
}

/* Logo sizing */
.logo-header-navbar img {
	width: 180px !important;
	max-width: 40vw;
	height: auto;
	display: block;
}

@media (max-width: 1023px) {
	.logo-header-navbar img {
		width: 140px !important;
	}
}
@media (max-width: 767px) {
	.logo-header-navbar img {
		width: 150px !important;
	}
}

/*
-----------------------------
LIKNEDIN IMAGE
-----------------------------
*/

.sticky-linkedin {
  position: fixed;
  top: 35%;                /* center vertically */
  right: 0px;             /* space from right edge */
  transform: translateY(-50%);
  z-index: 12000;
  text-decoration: none; 
}

.linkedin-box {
  background-color: var(--first-color); /* your brand yellow */
  padding: 6px;
  border-radius: 0px;       /* rounded square */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2); /* subtle shadow */
}

.linkedin-box img {
  display: block;
  color: #000;
  /* width: 24px;
  height: 24px; */
}

/* Optional: hover effect */
.sticky-linkedin:hover .linkedin-box {
  transform: scale(1.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

/*
-----------------------------
HONEYCOMB SECTION
-----------------------------
*/

#hex-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

/* Offset main content under fixed header on desktop */
@media (min-width: 768px) {
  .video-hero, .image-hero { padding-top: 90px; }
}

@supports (height: 100dvh) {
	.mobile-menu-overlay { height: 100dvh; top: 0; left: 0; right: 0; bottom: 0; }
}

/* Hide header logo when mobile overlay is open (all pages) */
@supports selector(body:has(.mobile-menu-overlay.active)) {
  body:has(.mobile-menu-overlay.active) .logo-header-navbar { visibility: hidden !important; }
}

/*
-----------------------------
cookie
-----------------------------
*/

.wrapper {
	position: fixed;
	bottom: 50px;
	left: 50px;
	max-width: 340px;
	background: #fff;
	border-radius: 20px;
	padding: 50px 36px;
	transition: all 0.3s ease;
	box-shadow: 0 5px 12px 4px rgba(0,0,0,0.4);
}

  
.wrapper .header-cookies {
	display: flex;
	align-items: center;
	column-gap: 15px;
}
  
.header-cookies h2 {
	font-family: var(--headlines-font-family);
    font-size: var(--font-size-m);
    color: var(--first-color);
    font-weight: 400;
    line-height: 2rem;
}

.wrapper .data {
	margin: 16px 0;
}
  
.wrapper .data p {
	color: var(--dark-color)
}
  
.data p a{
	font-family: var(--pharagraph-font-famlily);
    font-size: var(--font-size-s);
    color: var(--first-color);
    font-weight: 400;
	padding-top: 24px;
    padding-bottom: 24px;
}
  
.wrapper .buttons {
	margin-top: 16px;
	width: 100%;
	display: flex;
	align-items: center;
}
  
.buttons .button {
	transition: all 0.2s ease;
}

#cookie-consent.show {
  display: block;
}

#cookie-consent {
  display: none;
}

@media only screen and (max-width: 920px) {
	.wrapper {
		bottom: 20px;
		left: 10px;
		max-width: 340px;
	}	
}

/*
-----------------------------
UP BUTTON
-----------------------------
*/

#buton-sus {
	background-color: var(--first-color);
	width: 50px;
	height: 50px;
	padding: 10px;
	border-radius: 30px;
	z-index: 1000;
	position: fixed;
	bottom: 50px;
	right: 10px;
	box-shadow: 0 5px 12px 4px rgba(0,0,0,0.4);
}

/*
-----------------------------
FOOTER
-----------------------------
*/

footer {
    text-align: center;
    padding: 50px 0;
    background-color: var(--second-color);
    position: relative;
    z-index: 13100; /* Above fixed header (13000); still lowered when overlay active */
}

/* Ensure footer is below mobile menu overlay when menu is active */
.mobile-menu-overlay.active ~ footer {
    z-index: 1;
}

/* When mobile menu is active, ensure it's above everything */
.mobile-menu-overlay.active {
    z-index: 12900 !important;
}

/* Force footer below mobile menu when it's active */
.mobile-menu-overlay.active ~ footer {
    z-index: 1 !important;
    position: relative;
}

.footer-section-wrap {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: start;
	max-width: 1240px;
    justify-content: space-between;
}

.footer-section-first-content {
    width: 300px;
    text-align: left;
}

.footer-section-first-content-logo {
    margin-bottom: 30px;
	width: 150px !important;
}

.footer-section-first-content-text {
    margin-bottom: 30px;
}

.footer-section-first-content-text p {
    color: var(--third-color);
	font-size: var(--font-size-xxs);
}

.footer-section-first-content-social-media {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-section-second-content {
    width: 220px;
    text-align: left;
    margin-left: 100px;
}

.footer-section-second-content a {
    font-family: var(--font-family);
    font-size: var(--font-size-xxs) !important;
    color: #ffffff;
    line-height: 2.5rem !important;
}

.footer-section-third-content {
    width: 220px;
    text-align: left;
    margin-right: 100px;
}

.footer-section-third-content a {
    font-family: var(--font-family);
    font-size: var(--font-size-xxs) !important;
    color: #ffffff;
    line-height: 2.5rem !important;
}

.footer-section-fourth-content {
    width: 300px;
    text-align: left;
}

.footer-section-fourth-content-text a{
    font-family: var(--font-family);
    font-size: 1.4rem;
    color: #ffffff;
    line-height: 2.4rem;
}

.footer-section-fourth-content-img img{
    margin-top: 24px;
}

.footer-img img{
	margin-top: 20px;
}

/* Footer Media Queries */
@media (max-width: 1023px) {
  .footer-section-wrap {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-section-first-content,
  .footer-section-second-content,
  .footer-section-third-content,
  .footer-section-fourth-content {
    width: 100%;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .footer-section-wrap {
	/* min-height: 80vh; */
    gap: 20px;
  }
  
  .footer-section-first-content-text p {
    font-size: var(--font-size-xxs);
  }
  
  .footer-section-second-content a,
  .footer-section-third-content a {
    font-size: 2rem;
    line-height: 3.5rem;
  }
  
  .footer-section-fourth-content-text a {
    font-size: 1.4rem;
    line-height: 2.5rem;
  }
  
  /* Mobile footer layout: second and third content in row, images below */
  .footer-section-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  /* Create a flex row for second and third content */
  .footer-section-second-content,
  .footer-section-third-content {
    width: 48% !important;
    margin: 0 !important;
    flex-shrink: 0;
  }
  
  /* Make images smaller on mobile */
  .footer-img img {
    /* width: 120px !important; */
    height: auto;
  }
  
  /* Ensure proper spacing between content and images */
  .footer-section-second-content a:last-child,
  .footer-section-third-content a:last-child {
    margin-bottom: 15px;
    display: block;
  }
  
  /* Add some spacing between the content sections and images */
  .footer-section-second-content,
  .footer-section-third-content {
    margin-bottom: 20px;
  }
  
  /* Ensure images are centered below the content */
  .footer-img {
    text-align: center;
    margin-top: 10px;
  }
  
  /* Force second and third content to be on the same row */
  .footer-section-wrap {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
  }
  
  .footer-section-first-content {
    grid-column: 1 / -1;
  }
  
  .footer-section-second-content {
    grid-column: 1 / 3;
  }
  
  .footer-section-third-content {
    grid-column: 3 / 5;
  }
  
  /* Ensure both sections span exactly 2 columns each */
  .footer-section-second-content,
  .footer-section-third-content {
    width: 100% !important;
    box-sizing: border-box;
  }
  
  .footer-section-fourth-content {
    grid-column: 1 / -1;
  }
}

/* WHAT WE DO SCROLLING FIX */
html.menu-open,
body.menu-open {
  overflow: hidden !important;
}

/* Policy / Code of Conduct page */
.policy-content {
    padding: 80px 0;
    color: #ffffff;
    max-width: 960px;
    margin: 80px auto;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.policy-content h1 {
    color: var(--first-color);
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    margin-bottom: 24px;
}

.policy-content h2 {
    color: #ffffff;
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.policy-content h3 {
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 2.5vw, 2rem);
}

.policy-content p {
    margin-bottom: 20px;
	color: #ffffff;
}

.policy-content ul {
    margin: 0 0 20px 24px;
    padding: 0;
    list-style: disc;
}

.policy-content li {
    margin-bottom: 10px;
	font-size: var(--font-size-xs);
}

.policy-content a {
    color: var(--first-color);
    text-decoration: underline;
	font-size: var(--font-size-xs);
}

.policy-content strong {
    color: #ffffff;
	font-size: var(--font-size-xs);
}

/*
-----------------------------
LANGUAGE TOGGLE
-----------------------------
*/

.language-switch {
    padding-left: 10px;
}

.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 4px;
    position: relative;
    isolation: isolate;
    color: var(--third-color);
    font-size: 1.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.language-toggle::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 50px;
    height: 32px;
    background: var(--first-color);
    border-radius: 999px;
    z-index: -1;
    transition: transform 0.25s ease-in-out;
}

.language-toggle:has(.language-option:nth-child(2).active)::before {
    transform: translateX(56px);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.language-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 8px;
}

.language-icon svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.language-option {
    padding: 0;
    width: 50px;
    border-radius: 999px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.3rem;
    height: 32px;
    text-align: center;
    cursor: pointer;
    transition: color 0.25s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 1;
    text-decoration: none;
}

.language-option.active,
.language-option.active:visited,
.language-option.active:link {
    background: transparent;
    color: #000000 !important;
}

/* Support for new template where <a> is the language-option */
a.language-option {
    padding: 0;
    width: 50px;
    border-radius: 999px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.3rem;
    height: 32px;
    text-align: center;
    cursor: pointer;
    transition: color 0.25s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    z-index: 1;
    text-decoration: none;
}

a.language-option.active {
    background: transparent;
    color: #000000;
}

@media (max-width: 767px) {
    .language-switch {
        display: none;
    }
}

/* Cookie Banner Styles */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 360px;
    box-sizing: border-box;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    display: none; /* will be toggled via JS */
    z-index: 9999;
    font-family: inherit;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#cookie-banner-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#cookie-banner-text {
    font-size: 14px;
    line-height: 1.5;
}

#cookie-banner-text strong {
    font-weight: bold;
    display: block;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
}

#cookie-banner-text a {
    color: #cccccc;
    text-decoration: underline;
    font-size: 14px;
    line-height: 1.5;
}

#cookie-banner-text a:hover {
    color: #ffffff;
}

#cookie-banner-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
}

#cookie-banner button {
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    flex: 1;
    font-weight: 500;
    transition: opacity 0.2s;
}

#cookie-banner button:hover {
    opacity: 0.9;
}

#accept-cookies {
    background: #FDCA0B;
    color: #000000;
}

#reject-cookies {
    background: #ffffff;
    color: #000000;
}

@media (max-width: 600px) {
    #cookie-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        max-width: none;
    }
}
