@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap");

/* Colors */
:root {
  --color-text: #000000;
  --color-background: #ffffff;
  --color-neutral-darker: #525252;
  --color-neutral: #7f7f7f;
  --color-neutral-lighter: #d8d8d8;
  --color-neutral-lightest: #f2f2f2;
  --color-accent-darker: #0f3029;
  --color-accent: #133d34;
  --color-sundance: #c7a659;
}

/* Material Icon Sizes */
.material-icons.md-16,
.material-symbols-outlined.md-16 {
  font-size: 16px;
}

.material-icons.md-24,
.material-symbols-outlined.md-24 {
  font-size: 24px;
}

.material-icons.md-36,
.material-symbols-outlined.md-36 {
  font-size: 36px;
}

.material-icons.md-48,
.material-symbols-outlined.md-48 {
  font-size: 48px;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-background);
}

header ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--color-text);
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lora", sans-serif;
  font-weight: 600;
  line-height: 120%;
}

h1 {
  font-size: 4.5rem;
}

h2 {
  font-size: 3.25rem;
}

h3 {
  font-size: 2.75rem;
}

h4 {
  font-size: 2.25rem;
}

h5 {
  font-size: 1.75rem;
}

h6 {
  font-size: 1.375rem;
}

p {
  line-height: 150%;
}

@media screen and (max-width: 640px) {
  h3 {
    font-size: 2.25rem;
  }

  h5 {
    font-size: 1.375rem;
  }

  h6 {
    font-size: 1.25rem;
  }
}

/* ========== CONTAINER ========== */
.main-section {
  width: 100%;
}
.main-container {
  max-width: calc(1240px + 2rem);
  padding: 5rem 1rem 5rem 1rem !important;
  margin: 0 auto;

  @media (max-width: 640px) {
    padding: 2.5rem 1rem 2.5rem 1rem !important;
  }
}

/* ========== HEADER ========== */
.navbar {
  position: sticky;
  top: 0;
  height: 4.5rem;
  background-color: var(--color-background);
  width: 100%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  z-index: 1000;
}

.navbar__container {
  max-width: 90rem;
  padding: 1rem 6.25rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar__logo {
  width: auto;
  height: 2.25rem;
}

.navbar__menu {
  display: flex;
  gap: 2.75rem;
}

.navbar__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.navbar__item {
  position: relative;
}

.navbar__link {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  transition: 0.5s;
}
.navbar__links.navbar__desktop {
  @media screen and (max-width: 1360px) {
    display: none;
  }
}
.navbar__links.navbar__mobile {
  @media screen and (min-width: 1361px) {
    display: none;
  }
}
.navbar__link:hover {
  color: var(--color-sundance);
}

.navbar__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 6.875rem;
  padding: 0.875rem 0;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
  border-radius: 0.375rem;
  background-color: var(--color-background);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.navbar__dropdown-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.navbar__dropdown-item {
  position: relative;
}

.navbar__dropdown-item > a {
  padding: 0 0.875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text);
  transition: 0.3s;
}

.navbar__dropdown-item > a:hover {
  color: var(--color-sundance);
}

.navbar__dropdown--secondary {
  top: 0;
  left: 100%;
  transform: translateX(10px);
  cursor: pointer;
  z-index: 9999;
}

.navbar__item:hover > .navbar__dropdown,
.navbar__dropdown-item:hover > .navbar__dropdown {
  transform: translate(0, 0);
  opacity: 1;
  pointer-events: auto;
}

/* Social & Language */
.navbar__social,
.navbar__language {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.navbar__language-link--active {
  font-weight: 600;
  color: var(--color-sundance);
}

.navbar__language > p {
  color: var(--color-neutral-lighter);
}

.navbar__social i:hover,
.navbar__language-link:hover {
  color: var(--color-sundance);
  cursor: pointer;
}

/* Hamburger */
.navbar__hamburger {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: flex-end;
}

.navbar__hamburger-icon {
  width: 1.6rem;
  height: 3px;
  border-radius: 3px;
  background-color: var(--color-text);
  position: relative;
  z-index: 1001;
  transition: 0.5s;
}

.navbar__hamburger-icon::before,
.navbar__hamburger-icon::after {
  content: "";
  position: absolute;
  width: inherit;
  height: inherit;
  background-color: var(--color-text);
  border-radius: 3px;
  transition: 0.5s;
}

.navbar__hamburger-icon::before {
  transform: translateY(-7px);
}

.navbar__hamburger-icon::after {
  transform: translateY(7px);
}

/* Toggle */
.navbar__toggle {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  z-index: 90000;
  cursor: pointer;
  opacity: 0;
  display: none;
}

.navbar__toggle:checked ~ .navbar__hamburger .navbar__hamburger-icon {
  background-color: var(--background-color);
}

.navbar__toggle:checked ~ .navbar__hamburger .navbar__hamburger-icon::before {
  transform: translateY(0) rotate(-45deg);
}

.navbar__toggle:checked ~ .navbar__hamburger .navbar__hamburger-icon::after {
  transform: translateY(0) rotate(45deg);
}

/* Mobile */
@keyframes navbar-animation {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 1360px) {
  .navbar__hamburger {
    display: flex;
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__container {
    padding: 1rem;
  }

  .navbar__menu {
    position: fixed;
    height: calc(100vh - 4.5rem);
    top: 4.5rem;
    left: 0;
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    transform: translateX(100%);
    transition: 0.65s;
    background-color: var(--color-background);
  }

  .navbar__toggle:checked ~ .navbar__menu {
    transform: translateX(0);
  }

  .navbar__toggle:checked ~ .navbar__menu .navbar__item,
  .navbar__toggle:checked ~ .navbar__menu .navbar__language {
    animation: navbar-animation 0.5s ease forwards var(--i);
  }

  .navbar__list {
    flex-direction: column;
    gap: 0;
  }

  .navbar__item {
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
  }

  .navbar__link {
    line-height: 1;
    padding: 1.6rem 2rem;
  }

  .navbar__dropdown {
    position: initial;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding: 0;
    display: none;
  }

  .navbar__item:hover > .navbar__dropdown,
  .navbar__dropdown-item:hover > .navbar__dropdown {
    display: block;
  }

  .navbar__dropdown-item > a {
    padding: 1.2rem 2rem;
    line-height: 1;
  }

  .navbar__dropdown--secondary .navbar__dropdown-item > a {
    padding-left: 3rem;
  }

  .navbar__dropdown--secondary
    .navbar__dropdown--secondary
    .navbar__dropdown-item
    > a {
    padding-left: 4rem;
  }

  .navbar__dropdown-item:hover > a {
    background-color: var(--color-neutral-lightest);
  }

  .navbar__social,
  .navbar__language {
    width: 100%;
    padding: 1.5rem 1.9rem;
    justify-content: flex-start;
    transform: translateY(15px);
  }
}

/* ========== FOOTER ========== */
.footer {
  width: 100%;
  padding: 3.75rem 6.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
}

.footer__content {
  max-width: 90rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--color-accent);
}

.footer__logo img {
  width: auto !important;
  height: 3.25rem;
  object-fit: contain;
  object-position: left;
}

.footer__license {
  font-size: 0.9rem;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__right {
  display: flex;
  gap: 3rem;
}

.footer__links-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-sundance);
}

.footer__links-group a:hover {
  color: var(--color-neutral);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-neutral-lighter);
}

.footer__copyright {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-neutral);
  text-align: center;
}

.footer__copyright-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__copyright-links a {
  text-decoration: underline;
  color: var(--color-neutral);
}

.footer__copyright-links a:hover {
  color: var(--color-text);
}

/* Responsive */
@media screen and (max-width: 1130px) {
  .footer__content {
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.5rem;
  }

  .footer__right {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 870px) {
  .footer__copyright {
    flex-direction: column;
    gap: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 4rem 3rem;
  }

  .footer__right {
    justify-content: flex-start;
    gap: 2.5rem;
  }
}

/* ========== BUTTON (GLOBAL) ========== */
.button {
  height: 2.75rem;
  border: none;
  padding: 0.625rem 2rem;
  gap: 0.5rem;
  font-size: 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease-in;
}

.button--primary {
  background: var(--color-accent);
  color: var(--color-background);
  border: 0.125rem solid var(--color-accent);

  &:hover {
    background: var(--color-accent-darker);
  }
}

.button--secondary {
  background: var(--color-background);
  color: var(--color-accent);
  border: 0.125rem solid var(--color-background);

  &:hover {
    background: var(--color-neutral-lightest);
  }
}

.button--outline {
  background: var(--color-background);
  color: var(--color-accent);
  border: 0.125rem solid var(--color-accent);

  &:hover {
    background: var(--color-neutral-lightest);
  }
}

/* Input */
input {
  height: 2.75rem;
  border: none;
  padding: 0.625rem 0.875rem;
  gap: 0.5rem;
  font-size: 1rem;
  font-family: "Source Sans 3", sans-serif;
  border-radius: 0.375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  background-color: var(--color-background);
}

input::placeholder {
  color: var(--color-neutral);
}

input:focus {
  outline: none;
}

/* ========== CONTACT SECTION ========== */
.contact {
  width: 100%;
  padding: 5rem 6.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  background: var(--color-accent-darker);
}

.contact__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__title,
.contact__description {
  color: var(--color-background);
}

.contact__button {
  flex-shrink: 0;
  scale: 1.5;
}

/* ========== RESPONSIVE ========== */
@media screen and (max-width: 1200px) {
  .contact {
    flex-direction: column;
  }

  .contact__title,
  .contact__description {
    text-align: center;
  }
}

@media screen and (max-width: 640px) {
  .contact {
    padding: 4rem 2rem;
    gap: 1.5rem;
    align-items: center;
  }
}
