/* START HEADER */
.header {
  display: flex;
  width: 100%;
  height: 496px;
  background-image: url("../img/img-background.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.header__inner {
  display: flex;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.container {
  width: 1170px;
  max-width: 100%;
  min-height: 100px;
  margin: 0 auto;
}

.header__navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
}

.header__container {
  display: flex;
  flex-direction: column;
}

.header__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  gap: 10px;
}

.header__heading {
  text-transform: uppercase;
  font-size: 3.2rem;
}

/* Block Nav */
.nav {
  display: flex;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-block;
  padding: 20px;
  text-decoration: none;
  color: var(--white);
  text-transform: uppercase;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.nav__item:hover .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: rotateX(0deg);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0s 0s;
}

/* Block Submenu */
.nav__submenu {
  opacity: 0;
  visibility: hidden;
  top: 58px;
  left: 0;
  position: absolute;
  min-width: 220px;
  background-color: var(--white);
  transform: rotateX(-90deg);
  transform-origin: top center;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0s 0.4s;
}

.nav__submenu::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 100%;
  top: -20px;
  left: 0;
}

.nav__submenu-link {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 25px;
  text-decoration: none;
  color: #0009;
  border-bottom: 1px solid #0000000d;
  width: 100%;
  transition:
    color ease-in-out 0.3s,
    background-color ease-in-out 0.3s;
}

.nav__submenu-link span {
  text-transform: capitalize;
  transform: translateX(0px);
  transition: transform ease-in-out 0.3s;
}

.nav__submenu-link:hover {
  color: var(--white);
  background-color: var(--primary);
}

.nav__submenu-link:hover span {
  transform: translateX(10px);
}

/* Header Actions */
.header__actions {
  display: flex;
  gap: 20px;
}

.header__action-btn {
  font-size: 2rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

/* Block Breadcrumb */
.breadcrumb {
  display: flex;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  color: #fffc;
}

.breadcrumb__link {
  text-decoration: none;
  color: #fffc;
  transition: color ease-in-out 0.3s;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  padding: 0 8px;
}

/* START MAIN CONTENT */

.contact-card {
  display: flex;
  gap: 30px;
  margin-top: 100px;
}

.contact-card__img {
  flex: 1.5;
  display: block;
  width: 100%;
}

.contact-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-image: url(../img/img-background3.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-card__inner {
  flex: 1;
  background-color: #773ceed9;
  padding: 60px 70px;
}

.contact-card__title {
  font-size: 3rem;
  font-weight: 400;
  color: var(--white);
  padding-bottom: 18px;
  position: relative;
}

.contact-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 2px;
  background: #f2b604;
}

/* Block Contact List */
.contact-list {
  margin-top: 90px;
}

.contact-list__item {
  display: flex;
  align-items: center;
  gap: 40px;
  color: var(--white);
  margin-bottom: 60px;
}

.contact-list__icon {
  font-size: 3rem;
}

.contact-list__desc {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.6;
}

/* Block Contact Form */
.contact-form {
  margin: 100px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-form__group {
  width: calc((100% - 30px) / 2);
}

.contact-form__group:nth-child(5) {
  width: 100%;
  height: 400px;
}

.contact-form__input {
  width: 100%;
  height: 70px;
  border: 1px solid #f3f0fa;
  background: #f3f0fa;
  outline: none;
  padding: 0 20px;
}

.contact-form__textarea {
  width: 100%;
  height: 100%;
  border: 1px solid #f3f0fa;
  background: #f3f0fa;
  outline: none;
  padding: 30px;
  resize: vertical;
}

.contact-form__submit-btn {
  width: 150px;
  height: 45px;
  font-size: 1.8rem;
  line-height: 18px;
  letter-spacing: 1.5px;
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
  background-color: var(--secondary);
  border: none;
  cursor: pointer;
}

.contact-form__submit-btn:hover {
  background-color: var(--primary);
  transition: background-color 0.3s ease-in-out;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  border-color: var(--secondary);
}

/* START FOOTER */
.footer {
  background-color: black;
  padding: 80px 0 160px 0;
  margin-top: 100px;
}

.footer__inner {
  display: flex;
  gap: 15px;
}

.footer__brand {
  flex: 1;
}

.footer__logo-link {
  display: inline-block;
}

.footer__logo {
  display: block;
  max-width: 100%;
}

.footer__desc,
.footer__copyright {
  margin-top: 20px;
  line-height: 1.6;
  font-size: 1.5rem;
  color: #fff9;
}

.footer__apps {
  display: flex;
  gap: 22px;
  margin-top: 20px;
}

.footer__app-link {
  display: block;
}

.footer__app-link img {
  display: block;
}

.footer__nav {
  flex: 2;
  display: flex;
  gap: 15px;
}

.footer__nav-group {
  flex: 1;
}

.footer__nav-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
}

.footer__nav-list {
  margin-top: 24px;
}

.footer__nav-item {
  margin-top: 14px;
}

.footer__nav-link {
  text-decoration: none;
  color: #fff9;
  transition: color ease-in-out 0.3s;
}

.footer__nav-link:hover {
  color: var(--primary);
}

.footer__newsletter {
  flex: 1;
}

.footer__newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 8px;
}

.footer__newsletter-desc {
  margin-top: 24px;
  line-height: 1.6;
  font-size: 1.5rem;
  color: #fff9;
}

.footer__input {
  width: 100%;
  margin-top: 24px;
  height: 40px;
  background-color: #272727;
  border: none;
  outline: none;
  color: var(--white);
  border-radius: 20px;
  padding: 0 20px;
}

.footer__submit-btn {
  width: 100px;
  height: 40px;
  margin-top: 10px;
  color: var(--white);
  background-color: var(--primary);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color ease-in-out 0.3s;
  border: none;
  cursor: pointer;
}

.footer__submit-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  scale: 0;
  z-index: -1;
  border-radius: 30px;
  background-color: var(--white);
  transition: scale 0.3s ease-in-out;
}

.footer__submit-btn:hover::after {
  scale: 1;
}

.footer__submit-btn:hover {
  color: var(--primary);
}
