:root {
  --color-primary: #c8102e;
  --color-primary-dark: #8f0b20;
  --color-accent: #1565c0;
  --color-accent-dark: #0d47a1;
  --color-gold: #f4c430;
  --color-navy: #0a1a2f;
  --color-text: #1a1a1a;
  --color-white: #ffffff;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --navbar-height: 84px;
}

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

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-navy);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 26, 47, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.navbar.scrolled {
  background: rgba(10, 26, 47, 0.78);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 32px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar__logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.navbar__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 1.5px;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1;
}

.navbar__links {
  display: flex;
  gap: 8px;
}

.navbar__link {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--color-white);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}

.navbar__link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.navbar__link.active {
  background: var(--color-accent);
  box-shadow: 0 4px 14px rgba(21, 101, 192, 0.45);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.navbar__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle.open span:nth-child(2) {
  opacity: 0;
}
.navbar__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar__mobile {
  display: none;
  flex-direction: column;
  background: rgba(10, 26, 47, 0.95);
  backdrop-filter: blur(10px);
  padding: 8px 24px 20px;
}

.navbar__mobile.open {
  display: flex;
}

.navbar__mobile-link {
  padding: 14px 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar__mobile-link.active {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .navbar__toggle,
  .navbar__mobile {
    display: none !important;
  }

  .navbar__inner {
    padding: 0 16px;
    gap: 12px;
  }

  .navbar__nav {
    gap: 10px;
  }

  .navbar__link {
    padding: 8px 14px;
    font-size: 0.88rem;
  }
}

@media (max-width: 420px) {
  .navbar__title {
    font-size: 1.1rem;
  }

  .navbar__logo {
    height: 38px;
  }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.06);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@media (max-width: 760px) {
  .hero__bg img {
    object-position: center 72%;
  }
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 14, 26, 0.42) 0%, rgba(5, 14, 26, 0.25) 35%, rgba(5, 14, 26, 0.62) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  animation: fadeInUp 1.1s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__symbol {
  width: 120px;
  height: auto;
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.5));
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.15;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
  max-width: 920px;
  letter-spacing: 0.5px;
}

.hero__divider {
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
  border-radius: 4px;
  margin: 26px 0 22px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 480px) {
  .hero__symbol {
    width: 90px;
  }
}
