/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= ROOT VARIABLES ================= */
:root {
  --primary: #0d6efd;
  --dark: #111;
  --light: #f5f7fb;
  --text: #333;
  --muted: #6c757d;
  --card-radius: 14px;
}

/* ================= GLOBAL ================= */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: var(--light);
  color: var(--text);
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
}

/* ================= NAVBAR ================= */
.navbar {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  z-index: 1050;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
}

.navbar-nav .nav-item {
  margin-left: 12px;
}

.nav-link {
  font-weight: 500;
  transition: 0.2s ease;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ================= CARDS ================= */
.card {
  border: none;
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.25s ease;
  background: #fff;
  height: 100%;
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.card-body {
  padding: 15px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ================= INDEX FLEX GRID ================= */
#homeDestinations {
  display: flex;
  justify-content: center;
}

#homeDestinations .d-flex {
  max-width: 1000px;
  width: 100%;
}

/* ================= BUTTONS ================= */
.btn {
  border-radius: 10px;
  padding: 8px 18px;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: scale(1.03);
}

/* ================= OFFCANVAS ================= */
.offcanvas {
  width: 260px;
}

.offcanvas .nav-link {
  padding: 12px 0;
  font-size: 1.05rem;
  border-bottom: 1px solid #eee;
}

/* ================= SECTIONS ================= */
section {
  padding: 60px 0;
  scroll-margin-top: 80px;
}

/* ================= CTA ================= */
.cta-section {
  background: linear-gradient(135deg, var(--primary), #0b5ed7);
  color: white;
}

/* ================= FOOTER ================= */
footer {
  font-size: 0.9rem;
  background: var(--dark);
  color: #ccc;
  padding: 20px 0;
}

/* ================= UTIL ================= */
.shadow-soft {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* ================= DARK MODE ================= */
body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode .navbar {
  background-color: #1f1f1f !important;
}

body.dark-mode .navbar .nav-link,
body.dark-mode .navbar-brand {
  color: #ffffff !important;
}

body.dark-mode .card {
  background-color: #1e1e1e;
  color: #ffffff;
}

body.dark-mode .offcanvas {
  background-color: #1f1f1f;
  color: #fff;
}

body.dark-mode .text-muted {
  color: #aaa !important;
}

body.dark-mode .cta-section {
  background: #000;
}

body.dark-mode .btn-light {
  background-color: #333;
  color: #fff;
  border: none;
}

body.dark-mode .btn-outline-dark {
  color: #fff;
  border-color: #fff;
}

/* ================= SMOOTH SCROLL ================= */
html {
  scroll-behavior: smooth;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1.05rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  section {
    padding: 40px 0;
  }

  .card img {
    height: 180px;
  }
}