/* base styles */
:root {
  --white: #ffffff;
  --accent: #fd757b;
  --outer-space: #2b3538;
  --eerie-black: #172427;
  --light-slate-gray: #728489;

  --transition: all 0.3s ease-in-out;
}

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

body {
  font-family: "Manrope", sans-serif;
  background-color: var(--outer-space);
  color: var(--white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 16px;
  font-weight: 500;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 28px;
}

h3 {
  font-size: 20px;
}

p {
  margin-bottom: 16px;
  font-weight: 300;
}

a {
  color: var(--accent);
  text-decoration: underline;
}

strong {
	font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* layout styles */
.container {
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.-lg {
  max-width: 1340px;
}

/* header */
.header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--outer-space);
}

.header__logo {
  position: relative;
  z-index: 1001;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: var(--transition);
}

.header.header--scrolled {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.header--scrolled .header__content {
  border: none;
  padding: 20px 0;
}

/* hamburger menu */
.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.header__hamburger span {
  width: 28px;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.header__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 8px);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -9px);
}

/* navigation - mobile first */
.header__nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100dvh;
  background-color: var(--eerie-black);
  transition: right 0.4s ease-in-out;
  z-index: 1000;
  padding-top: 90px;
}

.header__nav.active {
  right: 0;
}

.header__nav.active .header__nav-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header__nav-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  list-style: none;
  padding: 40px 20px;
}

.header__nav-link {
  font-weight: 500;
  transition: var(--transition);
  cursor: pointer;
	text-decoration: none;
	color: var(--white);
}

.header__nav-link:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  text-align: center;
  padding: 30px 0 40px;
}

.hero__title {
  max-width: 970px;
  margin: 0 auto 40px;
}

.hero__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.hero__card {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 4.5;
  text-decoration: none;
  transition: var(--transition);
}

.hero__card:hover {
  transform: translateY(-5px);
}

.hero__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about {
  background-color: var(--eerie-black);
  padding: 40px 0;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about__text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__image {
  border-radius: 20px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.about__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Vision Section */
.vision {
  padding: 40px 0;
}

.vision__content {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}

.vision__image {
  border-radius: 20px;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.vision__image img {
  width: 100%;
  height: auto;
  display: block;
}

.vision__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.vision__text p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

/* Contact Section */
.contact {
  background-color: var(--eerie-black);
  padding: 40px 0;
  border-bottom: 4px solid rgba(255, 255, 255, 0.1);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr;
}

.contact__title {
  font-size: 32px;
  margin-bottom: 30px;
}

.contact__subtitle {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact__block {
  margin-bottom: 30px;
}

.contact__address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.contact__item {
  display: flex;
  align-items: baseline;
  gap: 15px;
  font-size: 15px;
}

.contact__label {
  font-weight: 600;
  min-width: 15px;
}

.contact__link {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.contact__link:hover {
  color: var(--accent);
}

.contact__text {
  color: rgba(255, 255, 255, 0.85);
}

.contact__button {
  display: inline-block;
  background-color: var(--white);
  color: var(--eerie-black);
  padding: 16px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  max-width: 240px;
}

.contact__button:hover {
  background-color: var(--accent);
  color: var(--white);
}

.contact__description {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.contact__email-link {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

.contact__email-link:hover {
  text-decoration: underline;
}

.contact__buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact__form-button {
  display: block;
  background-color: var(--white);
  color: var(--eerie-black);
  padding: 18px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  max-width: 350px;
}

.contact__form-button:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* Footer */
.footer {
  background-color: var(--eerie-black);
  padding: 60px 0 20px;
}

.footer__top {
  display: flex;
  justify-content: center;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.footer__logo img {
  display: block;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.footer__copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.footer__link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__link--agency {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* desktop styles */
@media (min-width: 541px) {
  .hero__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (min-width: 769px) {
  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 24px;
  }

  .header__content {
    padding: 30px 0 40px;
  }

  .header__hamburger {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    height: auto;
    background-color: transparent;
    padding-top: 0;
  }

  .header__nav-list {
    flex-direction: row;
    gap: 50px;
    padding: 0;
  }

  .header__nav-link {
    font-size: 16px;
    padding: 0;
    border-bottom: none;
  }

  .hero {
    padding: 60px 0 80px;
  }

  .hero__title {
    margin-bottom: 60px;
  }

  .contact__info {
    padding: 0 100px 0 0;
  }

  .contact__form-wrapper {
    padding: 0 100px 0 0;
  }

  /* Footer Desktop */
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer__links {
    flex-direction: row;
    gap: 30px;
  }
}

@media (min-width: 993px) {
  /* About Desktop */
  .about {
    padding: 140px 0;
  }

  .about__image {
    flex: 1;
    max-width: unset;
  }

  .about__text {
    flex: 1;
  }

  .about__content {
    flex-direction: row;
    gap: 100px;
    align-items: center;
  }

  .about__text p {
    font-size: 16px;
  }

  /* Vision Desktop */
  .vision {
    padding: 140px 0;
  }

  .vision__content {
    flex-direction: row;
    gap: 100px;
    align-items: center;
  }

  .vision__image {
    flex: 1;
    max-width: unset;
  }

  .vision__text {
    flex: 1;
  }

  .vision__text p {
    font-size: 16px;
  }

  /* Contact Desktop */
  .contact {
    position: relative;
    padding: 80px 0;
  }

  .contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
  }

  .contact__form-wrapper {
    padding: 0 100px 0 80px;
  }

  .contact__content {
    grid-template-columns: 1fr 1fr;
  }

  .contact__address {
    font-size: 16px;
  }

  .contact__item {
    font-size: 16px;
  }

  .contact__description {
    font-size: 16px;
  }

  .footer__link--agency {
    margin: 0 70px 0 0;
  }
}
