/* =====================================================
   DESTINATIONS PAGE STYLES
   Used on: /destinations
   ===================================================== */

:root { 
  --background-color: #ffffff;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #bb9a49;
  --surface-color: #1a1a1a;
  --contrast-color: #ffffff;
   /* ADD THESE THREE LINES — overrides Bootstrap link color globally */
  --bs-link-color-rgb: 187, 154, 73;
  --bs-link-color: #BB9A49;
  --bs-link-hover-color: #d4af37;
}

/* Global body background */
body {
  background-color: #000000;
}

/* ---------------------------------------------
   HERO SECTION
--------------------------------------------- */

.hero-section {
  position: relative;
  width: 100%;
  height: 350px;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  margin-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding: 0 80px;
  max-width: 700px;
}

.hero-content h1 {
  font-family: Coldiac;
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 1.2;
}

.hero-content p {
  font-family: 'Poppins';
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* Hero Responsive */

@media (max-width: 768px) {

  .hero-section {
    height: 280px;
  }

  .hero-content {
    padding: 0 40px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {

  .hero-section {
    height: 240px;
  }

  .hero-content {
    padding: 0 30px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

}

/* Global anchor color — applies at ALL screen sizes */
a {
  color: #BB9A49;
  text-decoration: none;
}

a:hover {
  color: #d4af37;
  text-decoration: none;
}

/* ------------------------------------------------
   SECTION HEADER
------------------------------------------------ */

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  /* UPDATED: H2 should explicitly use Coldiac */
  font-family: Coldiac, serif;
  font-size: 36px;
  color: #d4af37;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-header p {
  /* UPDATED: readable section text should use Poppins */
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto 15px;
  line-height: 1.8;
}

/* Links inside header text */

.section-header a,
.section-header a:hover,
.section-header a:focus {
  color: #d4af37;
  text-decoration: none;
}

/* Responsive */

@media (max-width: 992px) {

  .section-header h2 {
    font-size: 2rem;
  }

}

@media (max-width: 576px) {

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

}

/* ------------------------------------------------
   DESTINATION GRID SECTION
------------------------------------------------ */

.destination-grid-section {
  padding: 80px 0;
  background-color: #000000;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Card */

.destination-card {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
}

/* Card link wrapper */

.destination-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Image container */

.destination-card-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

/* Gradient overlay */

.destination-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.6)
  );
  z-index: 1;
  transition: opacity 0.5s ease;
}

/* Hover zoom */

.destination-card:hover .destination-card-inner {
  transform: scale(1.1);
}

.destination-card:hover::before {
  opacity: 0.8;
}

/* Text overlay */

.destination-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
  padding: 40px 20px;
  text-align: center;
}

.destination-overlay h3 {
  /* UPDATED: H3/card titles should use McQueen, not Coldiac */
  font-family: McQueen, 'Poppins', sans-serif;
  font-size: 22px;
  color: #ffffff;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.destination-overlay p {
  /* UPDATED: readable destination subtitle should use Poppins */
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.destination-card:hover .destination-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------
   RESPONSIVE GRID
------------------------------------------------ */

@media (max-width: 992px) {

  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .destination-overlay h3 {
    font-size: 1.5rem;
  }

}

@media (max-width: 576px) {

  .destination-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .destination-overlay h3 {
    font-size: 1.3rem;
  }

  .destination-overlay p {
    font-size: 0.95rem;
  }

}