/* ==========================================
   DESIGN SYSTEM & CSS VARIABLES
   ========================================== */

:root {
  /* Color Palette */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --warm-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);

  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4facfe;
  --text-dark: #1a202c;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: rgba(0, 0, 0, 0.1);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition-base);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Language Switcher */
.language-switcher {
  position: relative;
  margin-left: var(--spacing-md);
}

.current-lang {
  background: var(--bg-white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: 0.9rem;
}

.current-lang:hover {
  background: var(--primary-color);
  color: white;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: var(--spacing-xs);
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-base);
  z-index: 100;
}

.language-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown a {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-dark);
  transition: var(--transition-fast);
  border-radius: var(--radius-sm);
}

.lang-dropdown a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.lang-dropdown a:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.lang-dropdown a:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}


/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: var(--spacing-lg);
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-button {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background: var(--bg-white);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-base);
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   DESTINATION GRID
   ========================================== */

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

.destination-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  cursor: pointer;
}

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

.destination-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

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

.destination-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

.destination-description {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition-base);
}

.read-more:hover {
  gap: var(--spacing-sm);
}

/* ==========================================
   DESTINATION PAGE
   ========================================== */

.destination-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.destination-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.destination-hero-title {
  position: relative;
  z-index: 10;
  font-family: var(--font-display);
  font-size: 4rem;
  color: white;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.destination-content-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.content-section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.content-section-text {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

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

.highlight-item {
  background: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition-base);
}

.highlight-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-sm);
}

.highlight-title {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--primary-gradient);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  transition: var(--transition-base);
}

.back-button:hover {
  transform: translateX(-4px);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--text-dark);
  color: white;
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--spacing-md);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition-base);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-4px);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .destination-hero-title {
    font-size: 2.5rem;
  }

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

  .nav-links {
    gap: var(--spacing-md);
  }

  .container {
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .nav-container {
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

/* ==========================================
   LONG-FORM CONTENT TYPOGRAPHY
   ========================================== */

.long-form-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--text-dark);
}

.long-form-content p {
  margin-bottom: 2rem;
}

.long-form-content h3 {
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--secondary-color);
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}

.long-form-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.long-form-content ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.long-form-content li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

/* Enhanced Meta Box */
.article-meta {
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 16px;
  margin-bottom: 4rem;
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.article-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4a5568;
  margin: 1.5rem 0;
}

/* Feature Boxes */
.expert-insight {
  background: linear-gradient(to right, #eef2f5, #fff);
  padding: 2rem;
  border-radius: 12px;
  font-style: italic;
  margin: 3rem 0;
  border-left: 5px solid var(--primary-color);
  color: #2d3748;
}

.section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #e2e8f0, transparent);
  margin: 4rem 0;
}

/* FAQ Styling */
.faq-accordion p {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 1.5rem;
  border: 1px solid #edf2f7;
  transition: transform 0.2s ease;
}

.faq-accordion p:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}