/* Destinations Page Styles */

.destinations-hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 70%, var(--primary-orange) 100%);
  color: var(--white);
  padding: var(--spacing-3xl) 0 var(--spacing-2xl);
  text-align: center;
}

.destinations-hero h1 {
  font-size: var(--font-size-hero);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: block;
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Filter Section */
.filter-section {
  padding: var(--spacing-xl) 0;
  background: var(--light-gray);
  border-bottom: 1px solid #E5E5E7;
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: 2px solid var(--primary-blue);
  background: transparent;
  color: var(--primary-blue);
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-blue);
  color: var(--white);
}

/* Interactive Map */
.map-section {
  padding: var(--spacing-3xl) 0;
  background: var(--white);
}

.map-section h2 {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-xl);
  font-size: var(--font-size-h1);
}

.map-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.world-map {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
}

.map-svg {
  width: 100%;
  height: auto;
}

.continent {
  transition: fill var(--transition-smooth);
}

.continent:hover {
  fill: #D1D1D6;
}

.flight-route {
  stroke-dasharray: 5,5;
  animation: dash 2s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -10;
  }
}

.destination-point {
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.destination-point:hover .city-dot {
  r: 10;
  fill: var(--primary-orange);
}

.destination-point:hover .pulse {
  r: 25;
  opacity: 0.6;
}

.city-dot {
  transition: all var(--transition-smooth);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    r: 15;
  }
  50% {
    opacity: 0.1;
    r: 20;
  }
  100% {
    opacity: 0.3;
    r: 15;
  }
}

.city-label {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 500;
  fill: var(--dark-gray);
  pointer-events: none;
}

.map-legend {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--medium-gray);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.domestic {
  background: var(--primary-orange);
}

.legend-dot.international {
  background: var(--primary-blue);
}

.legend-line {
  width: 20px;
  height: 2px;
  background: var(--primary-blue);
  position: relative;
}

.legend-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--primary-blue) 50%, transparent 100%);
  animation: dash 2s linear infinite;
}

/* Destinations Grid */
.destinations-grid-section {
  padding: var(--spacing-3xl) 0;
  background: var(--light-gray);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.destination-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

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

.destination-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Destination Image Backgrounds */
.destination-image.delhi {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23FF6B35" width="400" height="200"/><circle fill="%23FFB700" cx="100" cy="60" r="30"/><rect fill="%230066CC" x="150" y="80" width="100" height="60" rx="10"/><text x="200" y="110" text-anchor="middle" fill="white" font-size="14">DELHI</text></svg>');
}

.destination-image.mumbai {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%230066CC" width="400" height="200"/><rect fill="%23FF6B35" x="50" y="50" width="80" height="100" rx="5"/><rect fill="%23FFB700" x="150" y="70" width="60" height="80" rx="5"/><rect fill="%23FF6B35" x="230" y="40" width="90" height="110" rx="5"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">MUMBAI</text></svg>');
}

.destination-image.bangalore {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23138808" width="400" height="200"/><circle fill="%23FFB700" cx="80" cy="50" r="20"/><circle fill="%23FF6B35" cx="150" cy="80" r="25"/><circle fill="%230066CC" cx="250" cy="60" r="22"/><circle fill="%23FFB700" cx="320" cy="90" r="18"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">BANGALORE</text></svg>');
}

.destination-image.chennai {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23FF6B35" width="400" height="200"/><path d="M0,120 Q100,100 200,120 T400,120 L400,200 L0,200 Z" fill="%230066CC"/><circle fill="%23FFB700" cx="300" cy="60" r="25"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">CHENNAI</text></svg>');
}

.destination-image.kolkata {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%230066CC" width="400" height="200"/><rect fill="%23FFB700" x="100" y="50" width="200" height="20" rx="10"/><rect fill="%23FF6B35" x="80" y="90" width="240" height="60" rx="15"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">KOLKATA</text></svg>');
}

.destination-image.goa {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23FFB700" width="400" height="200"/><path d="M0,150 Q200,130 400,150 L400,200 L0,200 Z" fill="%230066CC"/><circle fill="%23FF6B35" cx="100" cy="50" r="20"/><path d="M200,40 L220,80 L180,80 Z" fill="%23138808"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">GOA</text></svg>');
}

.destination-image.london {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23004499" width="400" height="200"/><rect fill="%23FFB700" x="150" y="60" width="100" height="80" rx="5"/><rect fill="%23FF6B35" x="170" y="40" width="60" height="40" rx="3"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">LONDON</text></svg>');
}

.destination-image.newyork {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23004499" width="400" height="200"/><rect fill="%23FFB700" x="50" y="80" width="30" height="80"/><rect fill="%23FF6B35" x="100" y="60" width="30" height="100"/><rect fill="%230066CC" x="150" y="40" width="30" height="120"/><rect fill="%23FFB700" x="200" y="70" width="30" height="90"/><rect fill="%23FF6B35" x="250" y="50" width="30" height="110"/><text x="200" y="190" text-anchor="middle" fill="white" font-size="14">NEW YORK</text></svg>');
}

.destination-image.singapore {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%230066CC" width="400" height="200"/><circle fill="%23FFB700" cx="150" cy="80" r="30"/><rect fill="%23FF6B35" x="220" y="50" width="60" height="100" rx="30"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">SINGAPORE</text></svg>');
}

.destination-image.dubai {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23FFB700" width="400" height="200"/><rect fill="%230066CC" x="180" y="40" width="40" height="120" rx="20"/><circle fill="%23FF6B35" cx="100" cy="50" r="25"/><circle fill="%23FF6B35" cx="300" cy="70" r="20"/><text x="200" y="190" text-anchor="middle" fill="white" font-size="14">DUBAI</text></svg>');
}

.destination-image.tokyo {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23FF6B35" width="400" height="200"/><circle fill="%23FFB700" cx="200" cy="80" r="40"/><path d="M160,120 L240,120 L230,140 L170,140 Z" fill="%230066CC"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">TOKYO</text></svg>');
}

.destination-image.paris {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200"><rect fill="%23004499" width="400" height="200"/><path d="M200,40 L220,120 L180,120 Z" fill="%23FFB700"/><rect fill="%23FF6B35" x="190" y="120" width="20" height="40"/><text x="200" y="180" text-anchor="middle" fill="white" font-size="14">PARIS</text></svg>');
}

.destination-content {
  padding: var(--spacing-xl);
}

.destination-content h3 {
  color: var(--primary-blue);
  font-size: var(--font-size-h3);
  margin-bottom: var(--spacing-xs);
}

.destination-subtitle {
  color: var(--primary-orange);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.destination-description {
  color: var(--dark-gray);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.destination-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--spacing-lg);
  font-size: 0.875rem;
}

.flight-frequency {
  color: var(--primary-blue);
  font-weight: 600;
}

.flight-duration {
  color: var(--medium-gray);
}

.destination-cta {
  width: 100%;
  padding: var(--spacing-md);
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.destination-cta:hover {
  background: var(--secondary-blue);
  transform: translateY(-1px);
}

/* Services Section */
.destination-services {
  padding: var(--spacing-3xl) 0;
  background: var(--white);
}

.destination-services h2 {
  text-align: center;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-xl);
  font-size: var(--font-size-h1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background: var(--light-gray);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  transition: all var(--transition-smooth);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.service-card h3 {
  color: var(--primary-blue);
  margin-bottom: var(--spacing-md);
}

.service-card p {
  color: var(--dark-gray);
  line-height: 1.6;
  margin: 0;
}

/* Navigation active state */
.nav-menu a.active {
  color: var(--primary-orange);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .destinations-hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    gap: var(--spacing-md);
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .filter-controls {
    gap: var(--spacing-sm);
  }
  
  .filter-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.875rem;
  }
  
  .destinations-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .destination-card {
    margin: 0 var(--spacing-md);
  }
  
  .map-container {
    margin: 0 var(--spacing-md);
  }
  
  .world-map {
    padding: var(--spacing-md);
  }
  
  .city-label {
    font-size: 10px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .legend-item {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .destinations-hero {
    padding: var(--spacing-xl) 0;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .filter-controls {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
  }
  
  .destination-card {
    margin: 0;
  }
  
  .map-container {
    margin: 0;
  }
}
