/* Destinations Page Styles */

/* Hero */

.destinations-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0077cc 0%, #005599 100%);
  overflow: hidden;
  padding: 180px 0 120px;
}

.destinations-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 193, 7, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, white, transparent),
    radial-gradient(2px 2px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent);
  background-size: 200px 200px, 300px 300px, 150px 150px, 250px 250px;
  opacity: 0.3;
  animation: particleFloat 20s linear infinite;
  z-index: 1;
}

@keyframes particleFloat {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-50px, -50px); }
}

.destinations-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid var(--color-secondary);
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-secondary);
}

.destinations-hero h1 {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 24px 0;
  line-height: 1.1;
}

.destinations-hero p {
  font-family: var(--font-main);
  font-size: 20px;
  opacity: 0.95;
  margin: 0 0 48px 0;
  line-height: 1.6;
}

/* Search Arrea */

.destination-search {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.search-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  z-index: 1;
}

#destinationSearch {
  width: 100%;
  padding: 18px 20px 18px 52px;
  font-family: var(--font-main);
  font-size: 16px;
  color: #1a1a1a;
  background: white;
  border: none;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

#destinationSearch:focus {
  outline: none;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

#destinationSearch::placeholder {
  color: #999;
}

.filter-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-tag {
  padding: 10px 24px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.filter-tag:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.filter-tag.active {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #1a1a1a;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 0; top: 8px; }
  50% { opacity: 1; top: 16px; }
}

/* Regions */

.destinations-regions {
  background: #f8f9fa;
}

.region-section {
  margin-bottom: 100px;
}

.region-section:last-child {
  margin-bottom: 0;
}

.region-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid #e9ecef;
}

.region-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 8px 0 12px 0;
}

.region-title-wrap p {
  font-family: var(--font-main);
  font-size: 18px;
  color: #666;
  margin: 0;
}

.region-badge {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.1), rgba(0, 119, 204, 0.05));
  color: var(--color-primary);
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.view-all-link {
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.view-all-link:hover {
  gap: 12px;
}

.view-all-link::after {
  content: '→';
  font-size: 20px;
}

/* Destinations Grid */

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.destination-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid #c5c5c5;
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--color-primary);
}

.destination-card.featured {
  grid-column: span 1;
}

.card-image-wrapper {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.destination-card:hover .card-image-wrapper img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  transition: background 0.4s ease;
}

.destination-card:hover .image-overlay {
  background: linear-gradient(to bottom, rgba(0, 119, 204, 0.3) 0%, rgba(0, 119, 204, 0.6) 100%);
}

.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: var(--color-secondary);
  color: #1a1a1a;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
  z-index: 2;
}

.card-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.card-header h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px 0;
}

.card-subtitle {
  font-family: var(--font-main);
  font-size: 14px;
  color: #666;
  margin: 0;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f8f9fa;
  border-radius: 20px;
  flex-shrink: 0;
}

.card-rating svg {
  color: var(--color-secondary);
}

.card-rating span {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.card-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(0, 119, 204, 0.05);
  border-radius: 20px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}

.highlight-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.card-description {
  font-family: var(--font-main);
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 24px 0;
  flex: 1;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.card-cta:hover {
  gap: 12px;
  color: #005599;
}

.card-cta svg {
  transition: transform 0.3s ease;
}

.card-cta:hover svg {
  transform: translateX(4px);
}

/* Comming oon Card */

.coming-soon-card {
  background: white;
  border-radius: 16px;
  padding: 80px 48px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.coming-soon-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.1), rgba(0, 119, 204, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.coming-soon-card h3 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: #1a1a1a;
  margin: 0 0 16px 0;
}

.coming-soon-card p {
  font-family: var(--font-main);
  font-size: 16px;
  color: #666;
  margin: 0 0 32px 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA  */

.destinations-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/cta-bg.jpg') center/cover no-repeat;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.92) 0%, rgba(0, 102, 179, 0.88) 100%);
  z-index: 2;
}

.cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.cta-content p {
  font-family: var(--font-main);
  font-size: 18px;
  margin: 0 0 40px 0;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: transparent;
  color: white;
  border-color: white;
}

.btn-outline-light:hover {
  background: white;
  color: var(--color-primary);
}

/* Filter States */

.region-section[data-region].hidden {
  display: none;
}

.destination-card.hidden {
  display: none;
}

/* Responsive */

@media (max-width: 1200px) {
  .destinations-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}

@media (max-width: 1024px) {
  .destinations-hero {
    padding: 140px 0 100px;
  }

  .destinations-hero h1 {
    font-size: 48px;
  }

  .region-title-wrap h2 {
    font-size: 40px;
  }

  .region-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .destinations-hero {
    min-height: 70vh;
    padding: 120px 0 80px;
  }

  .destinations-hero h1 {
    font-size: 36px;
  }

  .destinations-hero p {
    font-size: 16px;
  }

  .filter-tags {
    gap: 8px;
  }

  .filter-tag {
    padding: 8px 16px;
    font-size: 13px;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .region-section {
    margin-bottom: 64px;
  }

  .region-title-wrap h2 {
    font-size: 32px;
  }

  .card-image-wrapper {
    height: 240px;
  }

  .card-content {
    padding: 24px;
  }

  .card-header h3 {
    font-size: 24px;
  }

  .cta-content h2 {
    font-size: 36px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .destinations-hero h1 {
    font-size: 28px;
  }

  #destinationSearch {
    padding: 16px 20px 16px 48px;
    font-size: 15px;
  }

  .region-title-wrap h2 {
    font-size: 28px;
  }

  .card-header {
    flex-direction: column;
    gap: 12px;
  }

  .card-rating {
    align-self: flex-start;
  }

  .coming-soon-card {
    padding: 48px 24px;
  }

  .coming-soon-card h3 {
    font-size: 24px;
  }
}
