/*-----------------------------------*\
  #DESTINATIONS PAGE STYLES
\*-----------------------------------*/

:root {
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --gradient-secondary: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
  --gradient-accent: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
  --gradient-background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  --gradient-card: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
  --shadow-primary: 0 10px 30px rgba(99, 102, 241, 0.15);
  --shadow-hover: 0 20px 40px rgba(99, 102, 241, 0.25);
  --shadow-card: 0 8px 32px rgba(73, 95, 239, 0.12);
  --shadow-card-hover: 0 16px 48px rgba(73, 95, 239, 0.2);
}

body {
  background: var(--bg-lavender-blush);
}

/* Hero Section - Matching services page */
.hero {
  position: relative;
  padding: 140px 0 80px 0;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  animation: slideUp 1s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  color: var(--text-majorelle-blue);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-subtitle img {
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-title {
  font-size: 4.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(99, 102, 241, 0.1);
  line-height: 1.2;
}

.hero-text {
  font-size: 1.9rem;
  margin-bottom: 40px;
  line-height: 1.6;
  color: var(--text-gunmetal);
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-majorelle-blue);
  display: block;
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.4rem;
  color: var(--text-granite-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-banner {
  animation: fadeInRight 1s ease-out 0.5s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-banner img {
  border-radius: 20px;
  box-shadow: var(--shadow-card-hover);
  transition: transform 0.3s ease;
}

.hero-banner:hover img {
  transform: scale(1.02);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--text-granite-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Main Destinations Section */
.destinations-main {
  padding: 100px 0;
  background: #f8f9fa; /* Lighter background to make cards pop */
  position: relative;
}

.destinations-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px; /* Consistent gap */
}

.destination-item {
  background: var(--bg-white);
  border-radius: 16px; /* Slightly smaller radius */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
}

.destination-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.destination-item::before {
  display: none;
}

.destination-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.destination-image {
  position: relative;
  width: 100%;
  padding-top: 66.66%; /* 3:2 aspect ratio */
  overflow: hidden;
}

.destination-image .img-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.destination-item:hover .destination-image .img-cover {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1;
}

.image-overlay {
    display: none;
}

.destination-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: white;
  border-top: 1px solid #f0f0f0;
}

.destination-title {
  font-size: 1.8rem; /* Adjusted size */
  font-weight: 600; /* Medium weight */
  color: var(--text-gunmetal);
  margin: 0;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
}

.destination-description {
  font-size: 1.5rem;
  color: var(--text-granite-gray);
  margin: 12px 0;
  line-height: 1.5;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 45px;
}

.destination-location {
    font-size: 1.5rem;
    color: var(--text-granite-gray);
    margin-bottom: auto;
    padding-bottom: 20px;
}

.destination-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto; /* Pushes meta to the bottom */
}

.destination-rating {
  display: flex;
  align-items: center;
  gap: 6px; /* Smaller gap */
  background-color: hsl(220, 100%, 97%); /* Light blue */
  padding: 6px 12px;
  border-radius: 12px;
  width: fit-content;
}

.destination-rating ion-icon {
  color: #007bff; /* Blue star */
  font-size: 1.4rem;
}

.destination-rating .rating-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-gunmetal);
}

.destination-rating .review-count {
  font-size: 1.4rem;
  color: var(--text-granite-gray);
}

.destination-features, .destination-cta {
    display: none;
}

/* Search & Filter Section */
.destinations-search-filter {
  padding: 0 0 60px 0;
  background: #f8f9fa;
}

.search-wrapper {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  max-width: 1200px;
  margin: 0 auto;
}

.search-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-group ion-icon {
  position: absolute;
  left: 20px;
  font-size: 2rem;
  color: var(--text-granite-gray);
}

#destination-search {
  width: 100%;
  padding: 16px 20px 16px 55px; /* Adjusted padding */
  border: 1px solid var(--border-gainsboro);
  border-radius: 12px;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

#destination-search:focus {
  outline: none;
  border-color: var(--border-majorelle-blue);
  box-shadow: 0 0 0 3px hsla(249, 95%, 63%, 0.2);
}

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

.filter-tag {
  padding: 10px 20px;
  border-radius: 20px;
  background-color: hsl(220, 100%, 97%);
  color: var(--text-majorelle-blue);
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.filter-tag:hover {
  background-color: hsl(220, 100%, 95%);
  transform: translateY(-2px);
}

.filter-tag.active {
  background: var(--bg-majorelle-blue);
  color: white;
  border-color: var(--border-majorelle-blue);
  box-shadow: 0 4px 15px hsla(249, 95%, 63%, 0.2);
}

/* Process Section */
.destinations-process {
  padding: 100px 0;
  background: var(--gradient-background);
  position: relative;
  overflow: hidden;
}

.destinations-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="process-dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="%233c5ecb" opacity="0.04"/></pattern></defs><rect width="100%" height="100%" fill="url(%23process-dots)"/></svg>');
  pointer-events: none;
}

.process-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: var(--shadow-primary);
}

.process-step {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: var(--shadow-primary);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
  position: relative;
}

.process-step:hover .step-number {
  transform: scale(1.2);
  box-shadow: var(--shadow-hover);
}

.step-content {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  margin: 0 40px;
  flex: 1;
  max-width: 400px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.process-step:hover .step-content {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(99, 102, 241, 0.2);
}

.step-content h3 {
  font-size: 2.2rem;
  color: var(--text-majorelle-blue);
  margin-bottom: 12px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-content p {
  font-size: 1.6rem;
  color: var(--text-granite-gray);
  line-height: 1.6;
}

/* Why Choose Us Section */
.destinations-why {
  padding: 100px 0;
  background: var(--bg-white);
}

.why-choose-us-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-us-banner img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 16px 48px rgba(73, 95, 239, 0.15);
    transition: all 0.3s ease;
}

.why-choose-us-banner img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(73, 95, 239, 0.25);
}

.why-list {

    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.why-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    border-radius: 16px;
    transition: background-color 0.3s ease;
}

.why-item:hover {
    background-color: #f8f9fa;
}

.why-item .why-icon {
  color: white;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.why-item:hover .why-icon {
    transform: scale(1.1);
}

.why-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-gunmetal);
    margin-bottom: 8px;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.why-text p {
    font-size: 1.6rem;
    color: var(--text-granite-gray);
    line-height: 1.6;
    margin: 0;
}

/* CTA Section */
.destinations-cta {
  padding: 100px 0;
  background: var(--gradient-background);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.destinations-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%236366f1" opacity="0.08"/></pattern></defs><rect width="100%" height="100%" fill="url(%23cta-dots)"/></svg>');
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.8rem;
  color: var(--text-granite-gray);
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.cta-buttons .btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
}

.cta-buttons .btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-primary);
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-majorelle-blue);
  border: 2px solid var(--text-majorelle-blue);
  backdrop-filter: blur(12px);
}

.cta-buttons .btn-secondary:hover {
  background: var(--text-majorelle-blue);
  color: white;
  transform: translateY(-3px);
}

.cta-buttons .btn ion-icon {
  font-size: 1.8rem;
  transition: transform 0.3s ease;
}

.cta-buttons .btn:hover ion-icon {
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-banner {
    order: -1;
  }
  
  .destinations-list {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }

  .why-choose-us-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose-us-banner {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px 0;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .hero-text {
    font-size: 1.6rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
  
  .destinations-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .destination-item {
    padding: 0;
  }
  
  .destination-item.featured {
    transform: none;
  }
  
  .destination-item.featured:hover {
    transform: translateY(-8px);
  }
  
  .destination-features {
    justify-content: center;
  }
  
  .cta-content h2 {
    font-size: 2.8rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .destinations-main,
  .destinations-why,
  .destinations-cta {
    padding: 60px 0;
  }
  
  .destination-item,
  .step-content {
    padding: 0;
  }
  
  .destination-details {
    padding: 20px;
  }
  
  .destination-image {
    height: 180px;
  }
  
  .destination-title {
    font-size: 2rem;
  }
  
  .btn-destination {
    font-size: 1.4rem;
    padding: 12px 24px;
  }
} 