/* =========================
   GLOBAL
========================= */
body {
  outline: 3px solid red;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b1c2b;
  color: #fff;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 16px;
}

/* =========================
   HEADER
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11,28,43,0.95);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
}

/* =========================
   MENU
========================= */
.menu-toggle {
  font-size: 22px;
  cursor: pointer;
}

.menu {
  display: none;
  flex-direction: column;
  background: #0b1c2b;
}

.menu a {
  padding: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: #fff;
}

.menu.open {
  display: flex;
}

/* =========================
   BILLBOARD ADS (FIXED)
========================= */

.billboard {
  margin: 16px auto;
  padding: 0 16px;
}

/* wrapper controls layout */
.billboard-inner {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  border-radius: 12px;
  overflow: hidden;
}

/* image behaves correctly */
/* 🔥 THIS IS THE FIX */
.billboard img {
  width: 100%;
  height: auto;          /* ← CRITICAL */
  display: block;

  object-fit: contain;   /* ← NO CROPPING */
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 600px) {

  .billboard {
    margin: 12px 0;
    padding: 0 12px;
  }

  .billboard-inner {
    border-radius: 10px;
  }

  /* 🔥 force proper mobile ratio */
  .billboard img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

/* =========================
   TABLET
========================= */
@media (min-width: 601px) and (max-width: 1024px) {

  .billboard img {
    aspect-ratio: 5 / 2;
  }
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 1025px) {

  .billboard img {
    aspect-ratio: 1100 / 200;
  }
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  padding: 80px 20px;
  text-align: center;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e') center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.hero p {
  opacity: 0.9;
}

/* =========================
   SECTION HEADER (FIXED)
========================= */
.section-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 16px 0;
}

.section-header h2 {
  margin:0;
  font-size:20px;
  font-weight:700;
}

.view-all-btn {
  padding:6px 12px;
  border-radius:20px;
  background:#1e90ff;
  color:#fff;
  font-size:12px;
  text-decoration:none;
}

/* =========================
   FOOTER
========================= */
.footer {
  margin-top: 40px;
  padding: 30px 20px;
  text-align: center;
  background: #081520;
  font-size: 14px;
  opacity: 0.8;
}

/* =========================
   DESKTOP
========================= */
@media(min-width:768px){

  .menu {
    display: flex !important;
    flex-direction: row;
    background: none;
  }

  .menu a {
    border: none;
    padding: 0 10px;
  }

  .menu-toggle {
    display: none;
  }

  .hero h1 {
    font-size: 48px;
  }
}