/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background: #f4f6f9;
  color: #111;
}

/* NAV */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.navbar a {
  color: white;
  text-decoration: none;
  position: relative;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: white;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.cta {
  background: white;
  color: #003366 !important;
  padding: 8px 18px;
  border-radius: 20px;
}

/* HERO SLIDER */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3.6rem;
  margin-bottom: 15px;
}

.hero-actions {
  display: flex;
  gap: 15px;
}

/* BUTTONS */
.btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
}

.primary {
  background: #0055aa;
  color: white;
}

.ghost {
  border: 2px solid white;
  color: white;
}

/* TILES */
.tiles {
  padding: 140px 8%;
  background: white;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.tile {
  position: relative;
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: white;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tile:hover img {
  transform: scale(1.12);
}

.tile:hover .tile-overlay {
  opacity: 1;
}

/* ABOUT */
.about {
  padding: 100px 22%;
  text-align: center;
}

/* FOOTER */
footer {
  background: #0a0f1c;
  color: white;
  padding: 40px;
  text-align: center;
}
