/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f5f5f5;
  color: #222;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: fixed;
  width: 100%;
  z-index: 100;
  transition: 0.3s;
}

.navbar nav {
  display: flex;
}

.navbar a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: 500;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.auth {
  display: flex;
  gap: 10px;
}

.btn-outline {
  border: 1px solid white;
  background: transparent;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
}

.btn-dark {
  background: #0f172a;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
}

/* HERO */
.hero {
  height: 100vh;
  background: url('/img/banner.png') center/cover;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(to right, rgba(0,0,0,0.7), transparent); */
}

.hero-content {
  position: relative;
  color: white;
  max-width: 500px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 20px;
  opacity: 0.85;
}

.btn-main {
  background: #10b981;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* POPUP */
.card-popup {
  position: absolute;
  right: 80px;
  bottom: 80px;
  width: 280px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.card-popup:hover {
  transform: translateY(-10px);
}

.card-popup img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.card-body {
  padding: 15px;
}

/* SECTION */
.highlights,
.explore {
  padding: 80px 60px;
}

.highlights h2,
.explore h2 {
  margin-bottom: 30px;
}

/* GRID */
.grid,
.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  padding: 10px;
}

.card p {
  padding: 0 10px 15px;
  color: #666;
}

.card.big {
  grid-row: span 2;
}

/* STORY */
.story-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.story-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: 0.4s;
}

.story-card:hover img {
  transform: scale(1.1);
}

.story-content {
  position: absolute;
  bottom: 0;
  color: white;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  width: 100%;
}

/* FOOTER */
.footer {
  background: #0f172a;
  color: white;
  padding: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col a {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #10b981;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #333;
  padding-top: 20px;
  font-size: 14px;
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

/* Tablet */
@media (max-width: 1024px) {

  .navbar {
    padding: 15px 30px;
  }

  .hero {
    padding: 0 30px;
  }

  .grid,
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-popup {
    right: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .navbar nav {
    display: none;
  }

  .hero {
    padding: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .card-popup {
    display: none;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Small mobile */
@media (max-width: 480px) {

  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 26px;
  }

  .btn-main {
    width: 100%;
  }
}