/* ====== RESET & BASE ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  background-color: #1a1a1a;
}

a {
  color: white;
  text-decoration: none;
}

p {
  color: white;
  cursor: default;
}

/* ====== NAVIGATION ====== */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 5%;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: white;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #cc334f;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #cc334f;
}

.nav-link:hover::after {
  width: 100%;
}

/* Language Switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: 1.5rem;
  cursor: pointer;
  user-select: none;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.lang-switch:hover {
  border-color: #cc334f;
}

.lang-option {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.lang-option.lang-active {
  color: #cc334f;
}

.lang-separator {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.2);
}

.menu-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1rem !important;
  border-bottom: none !important;
}

/* Hamburger - hidden on desktop */
#menuToggle {
  display: none;
}

/* ====== HEADER / HERO ====== */
header {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #2a2a2a;
  background-image: url(photo/headtlo.svg);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid #cc334f;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 5% 4rem;
  position: relative;
}

.hero-text {
  flex: 1;
  z-index: 2;
  text-align: center;
}

.hero-small {
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 2;
  color: white;
}

.hero-big {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #cc334f;
  line-height: 1.2;
  margin: 0.5rem 0;
  letter-spacing: 3px;
}

/* Hero brand block (icon + text) */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.5rem;
  opacity: 0.9;
}

.hero-brand-icon {
  height: clamp(50px, 8vw, 80px);
  width: auto;
}

.hero-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.hero-brand-top {
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 6px;
  color: white;
}

.hero-brand-bottom {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 10px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-logo-graphic {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
}

.hero-logo-graphic img {
  width: min(700px, 70vw);
}

/* ====== MOBILE STYLES ====== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  nav {
    padding: 1rem 1.2rem;
  }

  .nav-logo img {
    height: 36px;
  }

  #menuToggle {
    display: block;
    position: relative;
    z-index: 200;
    -webkit-user-select: none;
    user-select: none;
  }

  #menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    z-index: 3;
    -webkit-touch-callout: none;
  }

  #menuToggle span {
    display: block;
    width: 28px;
    height: 3px;
    margin-bottom: 6px;
    position: relative;
    background: white;
    border-radius: 3px;
    z-index: 2;
    transform-origin: 4px 0;
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1),
      background 0.4s cubic-bezier(0.77, 0.2, 0.05, 1),
      opacity 0.4s ease;
  }

  #menuToggle span:first-of-type {
    transform-origin: 0% 0%;
  }

  #menuToggle span:nth-of-type(3) {
    transform-origin: 0% 100%;
  }

  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(2px, -1px);
    background: white;
  }

  #menuToggle input:checked ~ span:nth-of-type(2) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }

  #menuToggle input:checked ~ span:nth-of-type(3) {
    transform: rotate(-45deg) translate(0, -1px);
  }

  #menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    max-width: 300px;
    height: 100vh;
    margin: 0;
    padding: 5rem 2rem 2rem;
    background: rgba(17, 17, 17, 0.97);
    list-style: none;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 1;
    backdrop-filter: blur(10px);
  }

  #menu li {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(204, 51, 79, 0.3);
  }

  #menu li a {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: white;
    transition: color 0.3s;
  }

  #menu li a:hover {
    color: #cc334f;
  }

  #menuToggle input:checked ~ ul {
    transform: translateX(0);
  }

  /* Hero mobile */
  header {
    min-height: 100svh;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    padding: 6rem 1.5rem 3rem;
  }

  .hero-small {
    font-size: clamp(0.85rem, 3.5vw, 1.2rem);
    letter-spacing: 2px;
  }

  .hero-big {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }

  .hero-brand {
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .hero-brand-icon {
    height: clamp(40px, 12vw, 60px);
  }

  .hero-brand-top {
    letter-spacing: 3px;
  }

  .hero-brand-bottom {
    letter-spacing: 5px;
  }

  .hero-logo-graphic img {
    width: 90vw;
  }
}
