/*--------------------------------------------------
	01. General Settings
---------------------------------------------------*/

/** google fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/** font-faces */
@font-face {
	font-family: 'Aguila';
	src: url('/fonts/Aguila.woff2') format('woff2'), url('/fonts/Aguila.ttf') format('truetype');
}

/*! variables */
:root {
	--primary-color: #86ABA1;
	--secondary-color: #BA1827;
	--text-light: #f4f3f1;
	--text-dark: #000000;
}

/*! reset css*/
* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	/* border: 1px solid green; */
}

html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	scroll-behavior: smooth;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	background: var(--text-light);
}

a {
	text-decoration: none;
}

ul {
	list-style-type: none;
}

img {
	display: block;
}

main {
	display: block !important;
}

/* typography */

@media (max-width: 1366px) {
	html {
		font-size: 14px;
	}
}

h1,
h2,
h3,
h4,
h5 {
	font-family: 'Aguila', sans-serif;
	font-weight: 400;
	letter-spacing: 0.5px;
	line-height: 1.2;
}

h1 {
	font-size: 3.157em;
}

h2 {
	font-size: 2.369em;
}

h3 {
	font-size: 1.777em;
}

h4 {
	font-size: 1.333em;
}

h5 {
	font-size: 1em;
}

@media (min-width: 800px) {
	h1 {
		font-size: 4.209em;
	}

	h2 {
		font-size: 3.157em;
	}

	h3 {
		font-size: 2.369em;
	}

	h4 {
		font-size: 1.777em;
	}

	h5 {
		font-size: 1.333em;
	}
}

p {
	font-size: 1em;
	font-family: 'Open Sans', sans-serif;
	font-optical-sizing: auto;
	font-weight: 300;
	font-style: normal;
	font-variation-settings: 'wdth' 100;
	letter-spacing: 0.5px;
}

small {
	display: inline-block;
	font-size: 0.875em;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
}

a,
button {
	font-family: 'Aguila', sans-serif;
	font-weight: 400;
	letter-spacing: 0.5px;
}

a {
	font-size: 1em;
}

input,
textarea {
	font-family: 'Open Sans', sans-serif;
	letter-spacing: 0.5px;
	font-weight: 400;
}

::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	border-radius: 10px;
	background-color: var(--text-light);
}

::-webkit-scrollbar {
	width: 10px;
	background-color: var(--text-light);
}

::-webkit-scrollbar-thumb {
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	background-color: var(--primary-color);
}

/* reusable classes */

.container {
	max-width: 1366px;
	padding: 0 1rem;
	margin: 0 auto;
}

@media (min-width: 480px) {
	.container {
		padding: 0 2rem;
	}
}

@media (min-width: 800px) {
	.container {
		padding: 0 4rem;
	}
}

.image-responsive {
	width: 100%;
	height: auto;
}

[data-parallax='true'] {
	transition: transform 0.3s ease-in-out;
	perspective: 1000px;
	backface-visibility: hidden;
}

.button {
	font-size: 0.85em;
	font-family: 'Open Sans', sans-serif;
	display: inline-block;
	text-transform: uppercase;
	border-radius: 4px;
	padding: 0.75rem;
	font-weight: 400;
	cursor: pointer;
}

.cta-primary {
	border-color: var(--primary-color);
	background: var(--primary-color);
	color: var(--text-light);
}

.cta-secondary {
	border: 1px solid var(--primary-color);
	background: transparent;
	color: var(--primary-color);
}

.section__heading {
	text-transform: uppercase;
	color: var(--primary-color);
	font-weight: 400;
}

.section__heading h5 {
	font-weight: 500;
}

.section__heading h2 {
	margin: 2.5rem 0;
}

.hide {
	opacity: 0;
}

.on-view {
	opacity: 1;
	transition: opacity 1s ease-in-out;
}

/*! SECONDARY PAGES BANNER  */

.banner {
	position: relative;
	width: 100%;
	height: 100vh;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.banner__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.banner h1 {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: var(--text-light);
	text-transform: uppercase;
	text-align: center;
}

@media (max-width: 480px) {
	.banner h1 {
		padding: 0 1rem;
	}

	.banner h1 br {
		display: none;
	}
}

/*--------------------------------------------------
	02. Navbar
---------------------------------------------------*/

.navbar {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	font-size: 1rem;
	padding: 1.5rem 0;
	z-index: 9999;
	background: transparent; 
	transition: background 0.5s ease-in;
	background: var(--primary-color);
}

.navbar.active {
	background: var(--primary-color);
	transition: background 0.5s ease-in;
}

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

.navbar__logo h4 a {
	color: var(--text-light);
}

.navbar__logo h4 {
  display: none; 
}

.navbar__logo-image {
  height: 50px; 
  width: auto;
  object-fit: contain;
  transform: scale(1.99); 
  transform-origin: left center;
}

.navbar__logo {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0; 
}

.navbar__menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4rem;
}

.navbar__menu li a {
	color: var(--text-light);
	font-size: 1em;
	text-transform: uppercase;
}

.navbar__hamburger {
	display: none;
	background: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	width: 25px;
	transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}

.navbar__hamburger span {
	display: block;
	width: 100%;
	height: 1px;
	margin: 7px auto;
	background: var(--text-light);
	transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
}

.navbar__hamburger.active {
	transform: rotate(90deg);
}

.navbar__hamburger.active span {
	transition: all 0.3s cubic-bezier(0.4, 0.01, 0.165, 0.99);
	transition-delay: 0.1s;
}

.navbar__hamburger.active span:nth-child(1) {
	transform: translateY(4px) rotate(45deg);
}

.navbar__hamburger.active span:nth-child(2) {
	transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 991px) {
	.navbar__hamburger {
		display: block;
	}

	.navbar__menu {
		display: none;
		position: fixed;
		flex-direction: column;
		background: var(--primary-color);
		top: 0;
		right: 0;
		width: 100%;
		height: 0;
		opacity: 0;
		gap: 0;
	}

	.navbar__menu.active {
		display: flex;
		height: 100%;
		padding: 0 8rem;
		opacity: 1;
		pointer-events: auto;
		transition: all 0.4s ease-in, background 0.5s ease-in;
	}

	.navbar li {
		width: 100%;
	}

	.navbar__menu li a {
		display: inline-block;
		width: 100%;
		padding: 2rem 0;
		text-align: center;
		font-size: 1.777em;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}
}

@media (max-width: 480px) {
	.navbar__menu.active {
		padding: 0 1rem;
	}
}

@media (max-width: 768px) {
  .navbar__logo-image {
    height: 40px; 
    transform: scale(1.05);
  }
}

/*--------------------------------------------------
	03. Hero
---------------------------------------------------*/

.hero {
	font-size: 1rem;
	padding-top: 80px;
}

.hero__video {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background-color: rgb(241, 236, 236);
	z-index: -1;
}

.hero__video video {
	width: 100%;
	height: 100%;
	object-fit: cover; 
	object-position: center center;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

@media (min-aspect-ratio: 16/9) {
	video {
		width: 100%;
		height: auto;
	}
}

@media (max-aspect-ratio: 16/9) {
	video {
		width: auto;
		height: 100%;
	}
}

.hero h1 {
	width: 100%;
	padding: 0 1rem;
	color: var(--text-light);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	text-transform: uppercase;
}

/*--------------------------------------------------
	04. About
---------------------------------------------------*/

.about {
	font-size: 1.3rem;
	padding: 10rem 0 0;
}

.section__heading {
	color: rgba(0,80,92,255)
}

.about__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 2rem;
	margin: 0 0 4rem 0;
}

.about__widget {
	display: flex;
	flex-direction: column;
	flex: 0 0 60%;
}

.about__slider {
	position: relative;
	width: 100%;
	height: 400px;
	overflow: hidden;
}

.about__slider__item {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.about__slider__item.active {
	opacity: 1;
	transition: opacity 1s ease-in-out;
}

.about__slider__controls {
	display: flex;
	color: var(--text-light);
	counter-reset: itemcounter;
	margin: 0 -1rem;
}

.about__slider__button {
	flex: 0 0 25%;
	padding: 1rem;
}

.about__slider__button button {
	position: relative;
	display: block;
	width: 100%;
	border: none;
	outline: none;
	background: transparent;
	cursor: pointer;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.about__slider__button button:before {
	counter-increment: itemcounter;
	content: counters(itemcounter, '.', decimal-leading-zero);
	position: absolute;
	top: 0;
	left: 0;
	color: var(--primary-color);
	opacity: 1;
}

.about__slider__button.active button:after {
	position: absolute;
	display: inline-block;
	content: '';
	width: 0;
	height: 0.05rem;
	left: 0;
	bottom: 0;
	background: var(--primary-color);
	transition: 0.45s ease-in-out;
	animation: progress 5s linear 0s;
}

.about__slider__item img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  background-color: #f5f5f5; 
}

@keyframes progress {
	0% {
		width: 0%;
	}
	100% {
		width: 100%;
	}
}

@media (min-width: 991px) {
	.about {
		padding: 10rem 0;
	}

	.about__wrapper {
		display: flex;
	}

	.about__content {
		flex: 0 0 40%;
		padding: 0 4rem 0 0;
		margin: 0;
	}
}

@media (max-width: 650px) {
	.about__slider {
		height: 300px;
	}
}

@media (max-width: 480px) {
	.about__slider {
		height: 250px;
	}
}

@media (max-width: 375px) {
	.about__slider {
		height: 200px;
	}
}

/*--------------------------------------------------
	05. Aboutam
---------------------------------------------------*/
.aboutam {
	font-size: 1.3rem;
	padding: 10rem 0 0;
}

.aboutam__content {
	color: var(--primary-color);
}

.aboutam__content h2 {
	font-size: 3.157em;
	text-transform: uppercase;
}

.aboutam__content p {
	margin: 1rem 0 2rem;
	color: var(--text-dark);
}

.aboutam__wrapper:nth-child(1) .aboutam__content {
	margin: 5rem 0 2.5rem;
}

.aboutam__wrapper:nth-child(2) .aboutam__content {
	margin: 5rem 0 2.5rem;
}

.aboutam__buttons {
	display: flex;
	gap: 2rem;
}

@media (min-width: 991px) {
	.aboutam__wrapper {
		display: flex;
		padding: 5rem 0;
	}

	.aboutam__wrapper:nth-child(2) {
		flex-direction: row-reverse;
	}

	.aboutam__wrapper:nth-child(1) .aboutam__content {
		padding: 0 8rem 0 0;
	}

	.aboutam__wrapper:nth-child(2) .aboutam__content {
		padding: 0 0 0 8rem;
	}

	.aboutam__content {
		flex: 0 0 50%;
	}

	.aboutam__image {
		flex: 0 0 50%;
	}
}

/*--------------------------------------------------
	06. Fundação
---------------------------------------------------*/

.Fundação {
  font-size: 1rem;
  padding: 10rem 0;
}

.Fundação__title {
  font-size: 3.157em;
  text-transform: uppercase;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem; 
  margin-top: 10rem;
}

.Fundação__wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem; 
  justify-content: center; 
}

.Fundação__card {
  flex: 0 0 calc(50% - 2rem); 
  margin: 1rem;
  padding: 0;
  border-radius: 8px; 
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff; 
}

.Fundação__card:hover {
  transform: translateY(-5px); 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); 
}

.Fundação__card__wrapper {
  display: flex;
  flex-direction: column; 
}

.Fundação__card figure {
  position: relative;
  overflow: hidden;
  height: 250px; 
  margin: 0; 
}

.Fundação__card img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.4s ease;
  filter: brightness(0.9); 
}

.Fundação__card:hover img {
  transform: scale(1.05); 
}

.Fundação__card figcaption {
  padding: 1.5rem;
  text-align: center;
  font-size: 1.33em;
  color: var(--text-dark); 
  text-transform: uppercase;
  /* background: #fff;  */
}

@media (min-width: 992px) {
  .Fundação__card {
    flex: 0 0 calc(33.333% - 2rem); 
  }
}

@media (max-width: 480px) {
  .Fundação__card {
    flex: 0 0 calc(100% - 2rem); 
  }
}

/*--------------------------------------------------
	07. Visita
---------------------------------------------------*/

.agendar-visita {
  padding: 6rem 2rem;
   background: rgba(240, 240, 240, 0.7);
  text-align: center;
}

.agendar-title {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: bold;
}

.agendar-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
}

.agendar-subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.agendar-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-end;
}

.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input {
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.submit-button {
  margin-top: 1.5rem;
  padding: 0.9rem 2rem;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: var(--secondary-color);
}
/*--------------------------------------------------
	08. Gallery
---------------------------------------------------*/

.gallery-container {
  display: flex;
  justify-content: center;
  gap: 8rem; 
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5rem;
}

.gallery-title {
  font-size: 3rem;
  margin-bottom: 30px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-top: 10rem;
}

.gallery-main img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, 120px); 
  grid-template-rows: repeat(3, 120px);   
  gap: 20px;
  justify-content: center;
  align-content: center;
}

.gallery-thumbnails img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease, transform 0.3s ease;
  border-radius: 6px;
}

.gallery-thumbnails img:hover {
  transform: scale(1.05);
}

.gallery-thumbnails img.active {
  border: 2px solid var(--secondary-color);
}

@media (max-width: 768px) {
  .gallery-container {
    flex-direction: column;
    gap: 3rem;
  }

  .gallery-thumbnails {
    grid-template-columns: repeat(3, 80px); 
    grid-template-rows: repeat(2, 80px);
  }

  .gallery-thumbnails img {
    width: 80px;
    height: 80px;
  }

  .gallery-main img {
    max-width: 90vw;
  }
}

/*--------------------------------------------------
	09. Contact
---------------------------------------------------*/
.contact {
	font-size: 1rem;
	padding: 0 0 5rem;
}

.contact__content {
	padding: 0 0 8rem 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	color: var(--primary-color);
}

.contact__content h2 {
	font-size: 3.157em;
	text-transform: uppercase;
}

.contact__form form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}

.contact__form__wrapper {
	width: 100%;
}

.contact__form__wrapper label {
	color: var(--primary-color);
	text-transform: uppercase;
}

.contact__form__wrapper label span {
	color: red;
	text-transform: uppercase;
	padding: 0 0.5rem;
}

.contact__form input,
textarea {
	display: block;
	width: 100%;
	padding: 1rem 0;
	border: none;
	outline: none;
	background: transparent;
	border-bottom: 1px solid var(--primary-color);
}

.contact__form textarea {
	resize: none;
}


.contact__form--bottom {
	margin-top: 5rem;
}

.contact__form h2 {
	font-size: 2rem;
	color: var(--primary-color);
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.contact__info {
	list-style: none;
	padding: 0;
	color: var(--primary-color);
	line-height: 1.6;
}


@media (min-width: 800px) {
	.contact {
		padding: 10rem 0;
	}

	.contact__wrapper {
		display: flex;
	}

	.contact__content {
		flex: 0 0 60%;
		padding: 0 8rem 0 0;
	}

	.contact__content h2 {
		font-size: 4.209em;
	}

	.contact__form {
		flex: 0 0 40%;
	}
}

/*--------------------------------------------------
	10. Footer
---------------------------------------------------*/

.footer {
	font-size: 1rem;
	background: var(--primary-color);
	color: var(--text-light);
}

.footer__wrapper {
	padding: 2rem 0;
	text-align: center;
}

@media (min-width: 480px) {
	.footer__wrapper {
		display: flex;
		align-items: center;
		justify-content: space-between;
		text-align: left;
	}
} 

.footer__wrapper {
  flex-direction: column;
  gap: 1rem;
}

.footer__socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.footer__socials a {
  color: var(--text-light);
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer__socials a:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}

@media (min-width: 480px) {
  .footer__wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
}