@import url(./sections/first.css);
@import url(./sections/second.css);
@import url(./sections/third.css);
@import url(./sections/fourth.css);
@import url(./sections/fifth.css);
@import url(./sections/offices.css);

@media screen and (max-width: 1070px) {
header.header {
    grid-template-columns: 1fr auto;
    padding: 10px 20px;
    gap: 0px;
    margin: 0 auto;
    position: fixed;
    width: 100%;
}

  .header-info,
  nav.header-nav,
  .header-socials a {
    display: none;
  }

  div.hamburger-menu {
    display: block;
  }

  .logo {
    justify-self: center;
    margin: 0 auto;
  }

  h2.section-title {
    font-size: 1.7rem;
  }

  footer.footer {
    display: block;
  }

  footer .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@keyframes blink-secondary {
  0%, 100% {
    color: inherit;
  }
  50% {
    color: var(--secondary-color) !important;
    scale: 1.1;
  }
}

.blink-twice {
  animation: blink-secondary 1s ease-in-out 2;
}

:root {
    --primary-color: #242424;
    --secondary-color: #feed00;
    --accent-color: #ff6347;
    --text-color: #333;
    --background-color: #f4f4f4;
}

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

html {
  overflow-x: hidden;
}

body {
    overflow-x: hidden;
    font-family: "Big Shoulders", sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 30px;
  color: white;
  background-color: var(--primary-color);
  z-index: 10;
  position: relative;
  gap: 10px;
  grid-auto-flow: column;
}

.header-info {
  font-size: 1.3rem;
  max-width: fit-content;
  line-height: 1.4rem;
  transition: color 0.3s ease;
}

.header-phone {
  width: 80%;
}

.header-phone p {
  display: flex;
  justify-content: space-between;
}

div.header-phone p:last-child span {
  letter-spacing: 0.9px;
}

/* .header-phone span {
  color: var(--background-color);
} */

.logo {
  filter: drop-shadow(2px 2px 4px black);
  max-height: 60px;
  justify-self: center;
  border: 3px solid var(--secondary-color);
  border-radius: 10px;
}

.header-nav {
  display: flex;
  gap: 15px;
  font-size: 1.1rem;
  margin-right: 30px;
  height: 100%;
  justify-content: center;
}

.nav-button {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 5px;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  text-underline-offset: 25px;
  text-decoration: underline transparent;
}

/* .nav-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
} */

.nav-button:hover {
text-decoration-thickness: 2px;
color: var(--secondary-color);
text-decoration-color: var(--secondary-color);
}

.header-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: nowrap;
}

.header-socials a {
  color: white;
  text-decoration: none;
}

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

.header-socials i {
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

.header-socials i:not(:last-child):hover {
  color: var(--secondary-color);
}

.hamburger-menu {
  display: none;
  cursor: pointer;
}

.hamburger-menu i {
  font-size: 1.8rem;
  color: white;
}

.hamburger-menu.active i {
  color: var(--secondary-color);
}

/* Mobile Menu */
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 0px;
  background-color: #242424d7;
  position: fixed;
  top: 80px;
  width: 100%;
  z-index: 999;
  height: 0%;
  transition: all 0.5s ease;
  overflow: hidden;
}

.mobile-nav.active {
  height: 100%;
}

.mobile-nav button {
  background: none;
    box-shadow: unset;
    color: white;
    border: none;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    width: 100%;
    text-transform: math-auto;
    font-size: 1.5rem;
    padding: 1.4rem 0;
}

.mobile-nav button:last-child {
  border-bottom: none;
}

/* MEDIA QUERY */



section {
    width: 100%;
    height: 110vh;
    position: relative;
    z-index: 1;
}

.section-title {
   color: #f3f3f3;
    text-shadow: 3px 3px 1px #121010;
    width: fit-content;
    padding: 1.5rem 2.5rem;
    border-radius: 25px;
    background: black;
    margin: 1.5rem auto;
}

button {
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 2px 2px 4px rgba(0, 0, 0);
    padding: 12px 24px;
    width: fit-content;
    font-size: 1.3rem;
    transition: opacity 0.3s ease;
}

button:hover {
    opacity: 0.8;
}

footer {
  display: none;
  background-color: var(--primary-color);
  color: white;
  padding: 20px 30px;
  font-size: 1.3rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-info {
  width: fit-content;
}

.footer-phone p {
  width: 80%;
  display: flex;
  justify-content: space-between;
  }

.footer-info p {
  margin: 2px 0;
  text-align: left;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 5px;
  flex-direction: column;
}

.footer-socials a {
  color: white;
  text-decoration: none;
}

.footer-socials i {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.footer-socials i:hover {
  color: var(--secondary-color);
}

.trademark {
  background-color: var(--primary-color);
  color: white;
  text-align: center;
  padding: 15px 20px;
  font-size: 0.85rem;
  font-family: 'Segoe UI', sans-serif;
}

.trademark p {
  margin: 0;
}