body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(to bottom, #002b7f, #0078d7);
  color: white;
}

/* === NAVIGATION === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #001f5c;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-logo {
  width: 130px;
}
.burger {
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}
.nav-menu {
  list-style: none;
  position: fixed;
  top: 0;
  left: -100%;
  width: 240px;
  height: 100vh;
  background: rgba(0, 20, 70, 0.98);
  display: flex;
  flex-direction: column;
  padding: 80px 20px;
  transition: 0.3s;
}
.nav-menu.active {
  left: 0;
}
.nav-menu li {
  margin: 15px 0;
}
.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}
.nav-menu a:hover,
.nav-menu .active {
  color: #00b6ff;
}
.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
}
.nav-overlay.show {
  display: block;
}

/* === HERO === */
.hero {
  background: url('assets/hero-bg.jpg') center/cover no-repeat;
  height: 240px;
  position: relative;
}
.hero-overlay {
  background: rgba(0, 0, 50, 0.6);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hero-content h1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.hero-content p {
  font-size: 1rem;
  opacity: 0.9;
}

/* === ADS === */
.ad-section {
  text-align: center;
  margin: 20px;
}
.ad-card {
  background: #002b7f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  max-width: 500px;
  margin: 0 auto;
}
.ad-card img {
  width: 100%;
  height: auto;
}
.ad-card h3 {
  background: #001b4d;
  margin: 0;
  padding: 10px;
  font-size: 1rem;
}

/* === TILE GRID === */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  padding: 20px;
}
.tile {
  position: relative;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.tile:hover {
  transform: scale(1.05);
}
.tile-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 10px;
}
.tile-overlay h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.tile-overlay p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* === FOOTER === */
footer {
  background: #001f5c;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  opacity: 0.85;
}
