/* Global Styles */
:root {
  --primary-color: #0b132b;
  --secondary-color: #5bc0be;
  --accent-color: #7b68ee;
  --text-color: #f5f5f5;
  --dark-text: #0b132b;
  --background-color: #0f1c2e;
  --card-bg: #1a2639;
  --light-card-bg: #2a3950;
  --gradient-1: linear-gradient(135deg, #7b68ee, #5bc0be);
  --gradient-2: linear-gradient(135deg, #5bc0be, #3a506b);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  --glow: 0 0 15px rgba(91, 192, 190, 0.5);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Space Grotesk', sans-serif;
  --border-glow: 1px solid rgba(91, 192, 190, 0.3);
}

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

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(91, 192, 190, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(123, 104, 238, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-secondary);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  font-weight: 300;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--accent-color);
}

a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: var(--gradient-1);
  transition: var(--transition);
}

a:hover::after {
  width: 100%;
}

/* Header */
.header {
  background-color: rgba(15, 28, 46, 0.95);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border-bottom: var(--border-glow);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  font-size: 1.75rem;
  margin-bottom: 0;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  padding: 0.5rem 0;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(15, 28, 46, 0.8), rgba(15, 28, 46, 0.9)), url('https://images.unsplash.com/photo-1572206912757-5a78ff4d79be?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(91, 192, 190, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(123, 104, 238, 0.15) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: var(--glow);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: var(--gradient-1);
  color: var(--text-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-2);
  z-index: -1;
  transition: var(--transition);
  opacity: 0;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(91, 192, 190, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--secondary-color);
  color: var(--dark-text);
}

/* Section Styles */
.section {
  padding: 8rem 0;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(91, 192, 190, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(123, 104, 238, 0.05) 0%, transparent 30%);
  z-index: -1;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 3px;
}

/* Card Styles */
.card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  border: var(--border-glow);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), var(--glow);
}

.card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, var(--card-bg) 100%);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.75rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card-text {
  color: var(--text-color);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.card-price {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(245, 245, 245, 0.7);
  font-size: 0.875rem;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
}

/* Itinerary Styles */
.itinerary-day {
  margin-bottom: 3.5rem;
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: var(--border-glow);
  position: relative;
  overflow: hidden;
}

.itinerary-day::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-1);
}

.itinerary-day h3 {
  border-bottom: 2px solid rgba(91, 192, 190, 0.3);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--gradient-1);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-1);
  box-shadow: var(--glow);
}

.timeline-time {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-secondary);
}

.timeline-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.timeline-details {
  color: rgba(245, 245, 245, 0.8);
  font-weight: 300;
}

.timeline-cost {
  font-weight: 600;
  color: var(--secondary-color);
  margin-top: 0.75rem;
}

/* Budget Summary */
.budget-summary {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-top: 3.5rem;
  box-shadow: var(--shadow);
  border: var(--border-glow);
}

.budget-summary h3 {
  margin-bottom: 2rem;
}

.budget-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(245, 245, 245, 0.1);
}

.budget-item:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--secondary-color);
  padding-top: 1.5rem;
}

/* Interactive Elements */
.tabs {
  display: flex;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245, 245, 245, 0.1);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) var(--card-bg);
}

.tabs::-webkit-scrollbar {
  height: 6px;
}

.tabs::-webkit-scrollbar-track {
  background: var(--card-bg);
}

.tabs::-webkit-scrollbar-thumb {
  background-color: var(--secondary-color);
  border-radius: 20px;
}

.tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
  box-shadow: 0 4px 10px -5px var(--secondary-color);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

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

.tab-content.active {
  display: block;
}

.accordion {
  margin-bottom: 1.5rem;
}

.accordion-header {
  background-color: var(--light-card-bg);
  padding: 1.25rem;
  cursor: pointer;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  border: 1px solid rgba(91, 192, 190, 0.1);
}

.accordion-header:hover {
  background-color: rgba(42, 57, 80, 0.8);
}

.accordion-header h4 {
  margin-bottom: 0;
}

.accordion-icon {
  transition: var(--transition);
  color: var(--secondary-color);
}

.accordion.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
  background-color: var(--card-bg);
  border: 1px solid rgba(91, 192, 190, 0.1);
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.accordion.active .accordion-content {
  max-height: 1000px;
  padding: 1.5rem;
  transition: max-height 1s ease-in-out;
}

/* Restaurant and Attraction Cards */
.option-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.option-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: var(--border-glow);
}

.option-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), var(--glow);
}

.option-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.option-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, var(--card-bg) 100%);
}

.option-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.option-card:hover .option-img img {
  transform: scale(1.05);
}

.option-content {
  padding: 1.75rem;
}

.option-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.option-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: rgba(245, 245, 245, 0.7);
}

.option-description {
  color: var(--text-color);
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  font-weight: 300;
}

.option-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.option-price {
  font-weight: 700;
  color: var(--secondary-color);
}

.option-select {
  display: flex;
  align-items: center;
}

.option-select input[type="checkbox"] {
  margin-right: 0.75rem;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--secondary-color);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.option-select input[type="checkbox"]:checked {
  background-color: var(--secondary-color);
}

.option-select input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--dark-text);
  font-size: 14px;
  font-weight: bold;
}

.option-select input[type="radio"] {
  margin-right: 0.75rem;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.option-select input[type="radio"]:checked {
  border: 2px solid var(--secondary-color);
}

.option-select input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary-color);
}

.option-select label {
  cursor: pointer;
}

/* Footer */
.footer {
  background-color: var(--card-bg);
  color: var(--text-color);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-1);
}

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo h3 {
  color: var(--text-color);
  margin-bottom: 0.75rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-links h4 {
  color: var(--text-color);
  margin-bottom: 1.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: rgba(245, 245, 245, 0.7);
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid rgba(245, 245, 245, 0.1);
  font-size: 0.875rem;
  color: rgba(245, 245, 245, 0.7);
}

/* Loading Spinner */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(91, 192, 190, 0.3);
  border-radius: 50%;
  border-top-color: var(--secondary-color);
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

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

/* Glassmorphism Effects */
.glass-card {
  background: rgba(26, 38, 57, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(91, 192, 190, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Neon Effects */
.neon-text {
  text-shadow: 0 0 5px rgba(91, 192, 190, 0.7), 0 0 10px rgba(91, 192, 190, 0.5);
}

.neon-border {
  box-shadow: 0 0 5px rgba(91, 192, 190, 0.7), 0 0 10px rgba(91, 192, 190, 0.5);
  border: 1px solid rgba(91, 192, 190, 0.7);
}

/* Futuristic UI Elements */
.progress-bar {
  height: 8px;
  background: rgba(91, 192, 190, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gradient-1);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.stat-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: var(--border-glow);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(245, 245, 245, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
  }
  
  .nav-links {
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links li {
    margin: 0.5rem 1rem;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 8rem 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .tabs {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    flex: 1 0 auto;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  
  .option-cards {
    grid-template-columns: 1fr;
  }
}

/* Print Styles */
@media print {
  .header, .footer, .btn, .nav-links {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    background: #fff;
    color: #000;
  }
  
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  
  h1, h2, h3, h4, h5 {
    color: #000;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
  }
  
  .card, .option-card, .itinerary-day, .budget-summary {
    break-inside: avoid;
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
    background: #fff;
  }
  
  .section {
    padding: 20pt 0;
  }
  
  a {
    text-decoration: none;
    color: #000;
  }
  
  .timeline::before {
    display: none;
  }
  
  .timeline-item::before {
    display: none;
  }
  
  .timeline {
    padding-left: 0;
  }
  
  .card-img::after, .option-img::after {
    display: none;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(91, 192, 190, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(91, 192, 190, 0); }
  100% { box-shadow: 0 0 0 0 rgba(91, 192, 190, 0); }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}