:root {
	--color-primary: #736B6B;
	--color-secondary: #F5E8CF;
	--color-tertiary: #EFEFE8;
	--color-quaternary: #403836;
}

body, html {
	background-color: var(--color-primary);
	font-family: "din-2014", sans-serif;
	font-weight: 400;
	font-style: normal;
	overflow-x: hidden;
}

.border-id-lg {
	border-radius: 0 50px 0 0;
}

.border-id-sm {
	border-radius: 0 15px 0 0;
}

.custom-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  z-index: 999;
  background-color: transparent;
  transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

/* Classe ativada com scroll */
.header-scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(191, 191, 189, 0.3); /* cor do seu header com transparência */
  -webkit-backdrop-filter: blur(10px);
}

.header-scrolled {
  backdrop-filter: blur(10px);
  background-color: rgba(230, 230, 230, 0.8); /* cor do seu header com transparência */
  -webkit-backdrop-filter: blur(10px);
}

.header-scrolled img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(3%) saturate(1659%) hue-rotate(323deg) brightness(96%) contrast(91%);
}

.header-scrolled span {
  filter: brightness(0) saturate(100%) invert(20%) sepia(3%) saturate(1659%) hue-rotate(323deg) brightness(96%) contrast(91%);
}

.logo-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  max-height: 30px;
  object-fit: contain;
  width: 100%;
}

.language-icon {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.language-icon img {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Menu hamburguer wrapper */
.menu-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.menu-icon {
  font-size: 24px;
  cursor: pointer;
  color: #eff0e9;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 120%; /* abaixo do botão MENU */
  right: 0;
  background: #eff0e9;
  border: 1px solid #ccc;
  padding: 10px 20px;
  display: none;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 150px;
  z-index: 1000;
}

.dropdown-menu.active {
  display: flex;
}

.dropdown-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}


.banner-section {
	overflow: hidden;
}

.banner {
	width: 100dvw;
	height: 100dvh;
	background-image: url('./imgs/banner.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.banner-logo {
	width: 300px;
	transform: translate(-50%, -50%);
	margin-left: 50dvw;
	margin-top: 50dvh;
}

.info {
	background-color: var(--color-tertiary);
	padding: 10dvh 10dvw;
}

.info-img {
	width: 100%;
	object-fit: contain;
}

.info-title {
	padding: 20px 50px;
	font-size: 45px;
}

.info-text {
	padding: 0 50px;
	font-size: 30px;
}

.projects {
	position: relative;
	overflow: hidden;
}

.projects-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('./imgs/bg.jpg');
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	z-index: 0;
}

.projects-content {
	position: relative;
	padding: 15dvh 10dvw;
	color: white;
	z-index: 2;
}

.projects-list {
	display: flex;
	overflow-y: auto;
	overflow-x: visible; 
	padding-bottom: 25px;
}

.projects-list::-webkit-scrollbar {
	height: 5px;
	padding-right: 10dvw;
}

.projects-list::-webkit-scrollbar-track {
	background: var(--color-primary);
	border-radius: 5px;
}

.projects-list::-webkit-scrollbar-thumb {
	background: var(--color-quaternary);
	border-radius: 5px;
	box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
}


.projects-list::-webkit-scrollbar-thumb:hover {
	background: var(--color-primary);
}

.project {
	padding-right: 40px;
	text-align: center;
}

.projetct-img {
	width: 200px;
	height: 250px;
	object-fit: cover;
}

.project-logo {
	width: 35%;
	margin-top: -18%;
}

.contact {
	padding: 10dvh 15dvw;
	background-color: var(--color-tertiary);
	color: white;
	text-align: right;
}

.contact-instagram img {
	width: 30px;
}

.contact-site {
	color: var(--color-tertiary);
	background-color: var(--color-quaternary);
	padding: 10px 50px;
	border-radius: 20px;
	margin-left: 20px;
	text-decoration: none;
}

.contact-site:hover {
	color: var(--color-secondary);
}

.footer {
	background-color: #231f1f;
	text-align: center;
}

.footer-logo img {
	width: 60%;
	padding: 10% 0;
}

.footer-social {
	display: flex;
	justify-content: space-evenly;
	margin: auto;
}

.footer-social img {
	width: 35px;
}

.footer-about, .footer-contact {
	margin: auto;
	padding-top: 1rem;
}

.footer-about a, .footer-contact a {
	color: white;
	text-decoration: none;
}

/* RESPONSIVO */
@media screen and (max-width: 768px) {
  .logo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .mobile-only {
    display: flex;
  }

}
