/* ===== FestivalsRus Global Styles ===== */
:root {
  --primary: #4AB8E8;
  --primary-dark: #2A8BC2;
  --primary-light: #E8F6FC;
  --accent: #FF6B35;
  --accent-dark: #E55A25;
  --dark: #1A1A2E;
  --dark-light: #2D2D44;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFB;
  --bg-card: #FFFFFF;
  --border: #E5E7EB;
  --success: #22C55E;
  --warning: #F59E0B;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
  --transition: all 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Poppins', var(--font);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }

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

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

/* ===== Header / Nav ===== */
.header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

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

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

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

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

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

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,184,232,0.35);
}

.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-sm { padding: 8px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 50%, var(--primary-dark) 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(74,184,232,0.1)" d="M0,160L48,170.7C96,181,192,203,288,197.3C384,192,480,160,576,154.7C672,149,768,171,864,186.7C960,203,1056,213,1152,208C1248,203,1344,181,1392,170.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0;
}

/* ===== Section Styles ===== */
.section {
  padding: 80px 0;
}

.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* ===== How It Works ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.step-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===== Itinerary Cards ===== */
.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.itinerary-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.itinerary-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.itinerary-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.itinerary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.itinerary-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-music { background: #8B5CF6; color: white; }
.badge-food { background: #F59E0B; color: white; }
.badge-culture { background: #EC4899; color: white; }
.badge-adventure { background: #22C55E; color: white; }
.badge-wellness { background: #06B6D4; color: white; }

.itinerary-price {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

.itinerary-body {
  padding: 24px;
}

.itinerary-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.itinerary-body h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.itinerary-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.itinerary-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.itinerary-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.itinerary-tag {
  background: var(--bg-alt);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ===== Sneak Peek / Detail Page ===== */
.peek-section {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 24px 0;
  position: relative;
}

.peek-day {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.peek-day:last-child { border-bottom: none; }

.peek-day h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.peek-day p { color: var(--text-light); font-size: 0.95rem; }

.peek-locked {
  position: relative;
  overflow: hidden;
}

.peek-locked::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(transparent, var(--bg-alt));
  pointer-events: none;
}

.peek-unlock {
  text-align: center;
  padding: 32px;
  background: white;
  border-radius: var(--radius);
  border: 2px dashed var(--primary);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.peek-unlock h3 {
  margin-bottom: 8px;
  color: var(--dark);
}

.peek-unlock p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ===== Pricing Toggle ===== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
  border-color: var(--primary);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.pricing-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  margin: 16px 0;
}

.pricing-amount span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }

.pricing-features {
  list-style: none;
  text-align: left;
  margin: 24px 0;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* ===== Testimonials ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1rem;
}

.testimonial-info h4 { font-size: 0.95rem; color: var(--dark); }
.testimonial-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ===== Gift Voucher Banner ===== */
.gift-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #FF8F65 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.gift-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 12px;
}

.gift-banner p {
  font-size: 1.05rem;
  opacity: 0.9;
}

.gift-banner .btn {
  background: white;
  color: var(--accent);
  white-space: nowrap;
}
.gift-banner .btn:hover {
  background: var(--dark);
  color: white;
}

/* ===== Sponsors ===== */
.sponsors-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.5;
}

.sponsor-placeholder {
  width: 140px;
  height: 60px;
  background: var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== Newsletter ===== */
.newsletter {
  background: var(--dark);
  color: white;
  padding: 64px 0;
  text-align: center;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 12px;
}

.newsletter p {
  opacity: 0.7;
  margin-bottom: 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  font-size: 0.95rem;
  outline: none;
}

.newsletter-form button {
  padding: 14px 28px;
  border-radius: 50px;
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover { background: var(--primary-dark); }

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li { margin-bottom: 10px; }

.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}
.footer ul a:hover { color: var(--primary); }

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .nav-toggle { display: block; }

  .hero { padding: 60px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .steps-grid { grid-template-columns: 1fr; }
  .itinerary-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }

  .gift-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }

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

  .newsletter-form { flex-direction: column; }

  .section-header h2 { font-size: 1.8rem; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
