@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --font-body: 'DM Sans', sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Premium Travel Palette: Royal Blue, White, Gold */
  --background: hsl(210, 20%, 98%);
  --foreground: hsl(222, 47%, 11%);
  
  --primary: hsl(216, 90%, 35%);
  --primary-foreground: hsl(210, 40%, 98%);
  
  --secondary: hsl(43, 96%, 56%);
  --secondary-foreground: hsl(222, 47%, 11%);
  
  --muted: hsl(210, 40%, 96%);
  --muted-foreground: hsl(215, 16%, 47%);
  
  --border: hsl(214, 32%, 91%);
  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--muted);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  opacity: 0.2;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  opacity: 0.4;
}

/* Utility Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: hsl(216, 90%, 30%);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--foreground);
  box-shadow: 0 10px 25px rgba(250, 204, 21, 0.2);
}

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

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo img {
  height: 48px;
  width: auto;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
}

.navbar-logo-text .brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.325rem;
  line-height: 1.2;
  color: var(--primary);
}

.navbar-logo-text .brand-tagline {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.975rem;
  font-weight: 620;
  color: #6b7280;
  transition: color 0.2s;
  padding-bottom: 2px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--secondary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #6b7280;
}

.mobile-menu {
  display: none;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #6b7280;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  background: rgba(216, 27, 96, 0.05);
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
   background: linear-gradient(to right, rgba(30, 64, 175, 0.9), rgba(30, 64, 175, 0.4));
  mix-blend-mode: multiply;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 9999px;
  background: rgba(250, 204, 21, 0.9);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--secondary);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #f3f4f6;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  font-weight: 300;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-controls {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 20;
  display: flex;
  gap: 1rem;
}

.hero-control-btn {
  padding: 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.hero-indicator {
  height: 4px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.5s;
  width: 1rem;
}

.hero-indicator.active {
  width: 3rem;
  background: var(--secondary);
}

/* Stats Section */
.stats-section {
  padding: 3rem 0;
  background: white;
  border-bottom: 1px solid var(--border);
  margin-top: -2.5rem;
  position: relative;
  z-index: 20;
  border-radius: 1.5rem 1.5rem 0 0;
  margin-left: 2rem;
  margin-right: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.stat-icon {
  width: 2rem;
  height: 2rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-display);
}

.stat-label {
  color: #6b7280;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Section Styles */
.section {
  padding: 6rem 0;
}

.section-gray {
  background: rgba(249, 250, 251, 0.5);
}

.section-primary {
  background: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-primary .section-title {
  color: white;
}

.section-subtitle {
  color: #6b7280;
  max-width: 42rem;
  line-height: 1.6;
}

.section-primary .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Tour Cards */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.tour-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border-color: rgba(216, 27, 96, 0.2);
}

.tour-card-image {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

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

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

.tour-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0.6;
  transition: opacity 0.3s;
}

.tour-card:hover .tour-card-image-overlay {
  opacity: 0.4;
}

.tour-card-featured {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  background: var(--secondary);
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tour-card-location {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 20;
  color: white;
}

.tour-card-country {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.tour-card-country span:first-child {
  font-size: 1.25rem;
}

.tour-card-country span:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  opacity: 0.9;
}

.tour-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  line-height: 1.2;
}

.tour-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-card-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card-dates {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
  background: #f9fafb;
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.tour-card-dates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tour-card-date {
  font-weight: 500;
  color: #374151;
}

.tour-card-date-more {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  padding: 0.125rem 0.375rem;
  background: rgba(216, 27, 96, 0.1);
  border-radius: 9999px;
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.tour-card-price-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.tour-card-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.tour-card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.2s;
}

.tour-card:hover .tour-card-link {
  color: var(--secondary);
  gap: 0.75rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.service-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(216, 27, 96, 0.05);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
}

.service-title {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.service-description {
  color: #6b7280;
  line-height: 1.6;
}

/* Why Choose Us */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  text-align: center;
}

.why-choose-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.why-choose-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.why-choose-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  margin: 0 auto 1.5rem;
}

.why-choose-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.why-choose-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--foreground);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--secondary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.8;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Loading Skeleton */
.skeleton {
  background: white;
  border-radius: 1rem;
  height: 450px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-controls {
    bottom: 1rem;
    right: 1rem;
  }
  
  .hero-indicators {
    bottom: 1rem;
    left: 1rem;
  }
  
  .stats-section {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .tours-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 0;
  }
  
  .tour-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

.country-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--secondary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--secondary);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.no-tours-msg {
    color: var(--muted-foreground);
}