:root {
  --primary: #450815;
  --primary-dark: #250610;
  --accent: #8b2252;
  --text-main: #f5e6e8;
  --text-soft: #d4a5a5;
  --transition-slow: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
  font-family: 'Didact Gothic', sans-serif;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-attachment: scroll;
  min-height: 100vh;
  color: var(--text-main);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  animation: revealBlur 1.5s ease-out forwards;
}

h1,
h2,
h3,
.section-label {
  font-family: 'Italiana', serif;
  font-weight: 400;
}

h2 {
  font-weight: 700;
}

.lang-btn {
  background: transparent;
  border: 1px solid rgba(244, 241, 240, 0.35);
  color: var(--text-main);
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.75rem;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.25s, border-color 0.25s, background 0.25s;
  flex-shrink: 0;
}

.lang-btn:hover {
  opacity: 1;
  border-color: rgba(244, 241, 240, 0.65);
  background: rgba(244, 241, 240, 0.07);
}

/* NAV */

nav {
  position: absolute;
  top: 20px;
  left: 3%;
  right: 3%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo img {
  height: 40px;
  width: auto;
  opacity: 0.9;
  transition: 0.3s;
}

.logo img:hover {
  opacity: 1;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-main);
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.8;
  transition: 0.3s;
}

nav ul li a:hover {
  opacity: 1;
}

/* HERO */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10%;
  position: relative;
  background: url('../assets/images/photo.png') center 25% / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(80, 7, 7, 0.397) 0%,
      rgba(84, 14, 14, 0.616) 30%,
      rgba(134, 22, 59, 0.288) 50%,
      var(--primary) 100%);
  z-index: 0;
}

.hero>* {
  position: relative;
  z-index: 1;
}

/* IMAGE */

.hero-image {
  display: none;
}

/* CONTENT */

.hero-content {
  flex: 0 1 auto;
  max-width: 500px;
  text-align: center;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 30px rgba(255, 255, 255, 0.6), 0 0 45px rgba(255, 255, 255, 0.3);
}

.hero-content h2 {
  font-weight: 700;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
  margin-top: 0;
  letter-spacing: 0.02em;
}

.hero-content>span {
  display: block;
  font-family: 'Didact Gothic', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.section-label {
  width: 100%;
  max-width: 1300px;
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  /* Space between label and content */
}

.section-label::before,
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.section-label::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1));
}

.section-label::after {
  background: linear-gradient(-90deg, transparent, rgba(255, 255, 255, 0.1));
}

/* FOOTER */

.main-footer {
  padding: 1rem;
  background: #250610;
  border-top: none;
}

.footer-content {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  opacity: 0.6;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
}

/* ANIMATION */

@keyframes revealBlur {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.02);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

/* MEDIA QUERIES */

@media (max-width: 900px) {

  .hero {
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    padding: 0 5%;
    padding-bottom: 12vh;
    background-position: center 25%;
  }

  .hero-content {
    text-align: center;
    max-width: 90%;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content h2 {
    font-size: 1rem;
  }

  .hero-content>span {
    font-size: 0.85rem;
  }

  nav {
    position: absolute;
    width: 94%;
    left: 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 20px;
  }

  .logo img {
    height: 30px;
  }

  nav ul {
    gap: 1rem;
  }

  .info-strip {
    display: none;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 650px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  nav {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-right {
    gap: 1rem;
  }

  nav ul {
    gap: 0.8rem;
  }

  .language-switcher {
    position: absolute;
    top: -5px;
    right: 0;
  }
}

@media (max-width: 480px) {
  nav {
    top: 15px;
  }

  .logo img {
    height: 25px;
  }

  nav ul {
    gap: 0.6rem;
  }
  
  nav ul li a {
    font-size: 0.75rem;
  }

  .hero {
    padding-bottom: 8vh;
  }
}