/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Fira Sans", "Segoe UI", Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  color: white;
  z-index: 5;
}

.navbar-top {
  width: 100%;
  padding: 10px 60px;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.navbar-main {
  width: 100%;
  padding: 12px 60px 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.navbar-menu {
  width: auto;
  padding: 8px 60px 14px 0;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  margin-left: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10%;
}

.logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.logo-big {
  font-size: 38px;
  font-weight: 800;
}

.logo-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}

/* Center menu */
.nav-center {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-center a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Right side */
.top-links {
  display: flex;
  gap: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.top-links a {
  color: white;
  text-decoration: none;
  opacity: 0.85;
  position: relative;
  padding-right: 14px;
}

.top-links a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0.6;
}

/* Search */
.search {
  position: relative;
  display: flex;
  align-items: center;
}

.search input {
  padding: 10px 44px 10px 16px;
  border-radius: 24px;
  border: none;
  outline: none;
  width: 260px;
  font-size: 14px;
}

.search-btn {
  position: absolute;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #1270b0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.search-btn svg {
  width: 16px;
  height: 16px;
}

/* ================= HERO ================= */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Blue gradient overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 84, 150, 0.95) 0%,
    rgba(0, 84, 150, 0.8) 40%,
    rgba(0, 84, 150, 0.2) 75%,
    rgba(0, 84, 150, 0) 100%
  );
  z-index: 2;
}

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 720px;
  margin-left: 80px;
}

.hero-content h1 {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Buttons */
.cta {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 14px 26px;
  border-radius: 0px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.primary {
  background: #f47a20;
  color: white;
}

.secondary {
  background: white;
  color: #222;
}

/* ================= HERO NAV ================= */

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.25);
  border: none;
  color: white;
  font-size: 28px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
}

.hero-nav.prev {
  left: 24px;
}

.hero-nav.next {
  right: 24px;
}

.hero-nav:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .nav-center {
    display: none;
  }

  .hero-content {
    margin-left: 30px;
  }

  .hero-content h1 {
    font-size: 42px;
  }
}
