@font-face {
  font-family: "Aptos";
  src: url("../fonts/font.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --background: #ffffff;
  --foreground: #171717;
  --font-aptos: "Aptos", sans-serif;
  --primary-color: #8a2f3d;
  --secondary-color: #8d3d48;
  --dark-color: #585d65;
  --overlay-color: #363b42;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-aptos), sans-serif;
  antialiased: true;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.page-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  font-family: var(--font-aptos);
}

.backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.backdrop-desktop {
  display: none;
}

.backdrop-mobile {
  display: block;
}

@media (min-width: 768px) {
  .backdrop-desktop {
    display: block;
  }

  .backdrop-mobile {
    display: none;
  }
}

.screen-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--overlay-color);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}

.hero-section {
  position: relative;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 90vh;
  padding: 0 50px;
  animation: slideInLeft 1s ease-out 0.3s both;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 0 140px;
  }
}

.hero-logo {
  margin-bottom: 65px;
  width: 300px;
  height: auto;
}

@media (min-width: 768px) {
  .hero-logo {
    width: 350px;
  }
}

@media (min-width: 1024px) {
  .hero-logo {
    width: 540px;
  }
}

.hero-tagline {
  color: var(--primary-color);
  font-size: 25px;
  line-height: 30px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .hero-tagline {
    max-width: 580px;
    font-size: 34px;
    line-height: 40px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

footer {
  animation: slideInLeft 1s ease-out 0.3s both;
  z-index: 100;
  position: relative;
}

.footer-wide {
  display: none;
}

.footer-compact {
  display: flex;
}

@media (min-width: 1024px) {
  .footer-wide {
    display: flex;
  }

  .footer-compact {
    display: none;
  }
}

.footer-wide {
  position: relative;
  z-index: 40;
  justify-content: space-between;
  align-items: center;
  padding: 0 140px 35px;
}

.footer-compact {
  position: relative;
  z-index: 40;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.info-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  font-size: 14px;
}

.location-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 35px;
  width: 100%;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  opacity: 0.8;
}

.accent-graphic {
  position: absolute;
  z-index: 10;
  width: 100%;
  height: auto;
  pointer-events: none;
  animation: fadeIn 1.5s ease-out;
  bottom: -50px;
  right: 0;
}

@media (min-width: 768px) {
  .accent-graphic {
    width: 60%;
    right: -120px;
    bottom: -200px;
  }
}

@media (min-width: 1024px) {
  .accent-graphic {
    width: 55%;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
