/* -------------------
   Global Styles
------------------- */
body {
  font-family: Arial, sans-serif;
  padding-top: 56px; /* for fixed navbar */
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* -------------------
   Hero Section
------------------- */
.hero {
  background: url("../images/tigray-hero.avif") no-repeat center center/cover;
  padding: 120px 20px;
  position: relative;
  color: #fff;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

.hero p.lead {
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
}

.hero input {
  margin-top: 20px;
  max-width: 500px;
}

/* -------------------
   Cards
------------------- */
.card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-text {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* -------------------
   Buttons
------------------- */
.btn {
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

/* Category-themed buttons */
.btn-historical {
  background: linear-gradient(135deg, #8d6e63, #5d4037);
  border: none;
  color: #fff;
}
.btn-historical:hover {
  background: linear-gradient(135deg, #5d4037, #3e2723);
}

.btn-cultural {
  background: linear-gradient(135deg, #ff9800, #ef6c00);
  border: none;
  color: #fff;
}
.btn-cultural:hover {
  background: linear-gradient(135deg, #ef6c00, #e65100);
}

.btn-nature {
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  border: none;
  color: #fff;
}
.btn-nature:hover {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
}

.btn-urban {
  background: linear-gradient(135deg, #03a9f4, #0288d1);
  border: none;
  color: #fff;
}
.btn-urban:hover {
  background: linear-gradient(135deg, #0288d1, #01579b);
}

.btn-food {
  background: linear-gradient(135deg, #e53935, #b71c1c);
  border: none;
  color: #fff;
}
.btn-food:hover {
  background: linear-gradient(135deg, #b71c1c, #7f0000);
}

.btn-hotels {
  background: linear-gradient(135deg, #9c27b0, #6a1b9a);
  border: none;
  color: #fff;
}
.btn-hotels:hover {
  background: linear-gradient(135deg, #6a1b9a, #4a148c);
}

.btn-trekking {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  border: none;
  color: #fff;
}
.btn-trekking:hover {
  background: linear-gradient(135deg, #1b5e20, #0d3d1a);
}

/* Favorites button */
.add-fav-btn {
  background: #fff;
  border: 2px solid #28a745;
  color: #28a745;
}
.add-fav-btn:hover {
  background: #28a745;
  color: #fff;
}

/* -------------------
   Navbar
------------------- */
.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 20px;
  padding: 0.4rem 0.8rem;
  margin: 0 0.25rem;
}

.navbar-nav .nav-link.active {
  background-color: #007bff;
  color: #fff !important;
}

.navbar-nav .nav-link[href="#destinations"]:hover {
  background: #8d6e63;
  color: #fff !important;
}
.navbar-nav .nav-link[href="#guides"]:hover {
  background: #ff9800;
  color: #fff !important;
}
.navbar-nav .nav-link[href="#map"]:hover {
  background: #4caf50;
  color: #fff !important;
}
.navbar-nav .nav-link[href="#favorites"]:hover {
  background: #9c27b0;
  color: #fff !important;
}

/* -------------------
   Map
------------------- */
#mapContainer {
  width: 100%;
  height: 500px;
}

/* -------------------
   Feedback Form
------------------- */
#feedbackForm .form-control {
  border-radius: 0.75rem;
  box-shadow: none;
  transition: border-color 0.3s ease;
}

#feedbackForm .form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
