/* Belgrade 2026 - The Phoenix & Confluence Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');

:root {
  --brick-red: #B7410E;
  --danube-blue: #2A52BE;
  --stone-white: #F5F5F5;
  --copper-gold: #C5832B;
  --dark-gray: #333;
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--stone-white);
  color: var(--dark-gray);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Header & Navigation */
header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--brick-red);
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
}

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

.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brick-red);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--brick-red);
  transition: right 0.3s ease;
  z-index: 2000;
  padding: 20px;
}

.mobile-drawer.open {
  right: 0;
}

.close-drawer {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-nav {
  list-style: none;
  margin-top: 80px;
}

.mobile-nav a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: padding-left 0.3s;
}

.mobile-nav a:hover {
  padding-left: 20px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232A52BE" width="1200" height="600"/><circle cx="600" cy="300" r="100" fill="%23C5832B" opacity="0.3"/></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  max-width: 800px;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section {
  margin-bottom: 80px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--brick-red);
  margin-bottom: 30px;
  text-align: center;
}

.intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  border: 4px solid var(--copper-gold);
  padding: 30px;
  text-decoration: none;
  color: var(--dark-gray);
  transition: transform 0.3s, box-shadow 0.3s;
  border-image: repeating-linear-gradient(45deg, var(--copper-gold) 0, var(--copper-gold) 10px, transparent 10px, transparent 20px) 4;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card h3 {
  font-size: 1.8rem;
  color: var(--brick-red);
  margin-bottom: 15px;
}

.card p {
  line-height: 1.6;
}

/* Widget Boxes */
.widget {
  background: white;
  border-left: 6px solid var(--danube-blue);
  padding: 30px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.widget h3 {
  color: var(--danube-blue);
  margin-bottom: 20px;
}

.temperature-display {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.temp-box {
  text-align: center;
  padding: 20px;
  background: var(--stone-white);
  border-radius: 10px;
  flex: 1;
  min-width: 150px;
}

.temp-box h4 {
  color: var(--danube-blue);
  margin-bottom: 10px;
}

.temp-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brick-red);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--brick-red);
}

.timeline-item {
  position: relative;
  margin: 50px 0;
  padding: 0 40px;
}

.timeline-item:nth-child(odd) {
  text-align: right;
  padding-right: calc(50% + 60px);
}

.timeline-item:nth-child(even) {
  text-align: left;
  padding-left: calc(50% + 60px);
}

.timeline-content {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  border-left: 4px solid var(--copper-gold);
}

.timeline-content h3 {
  color: var(--brick-red);
  margin-bottom: 10px;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--copper-gold);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--brick-red);
  top: 0;
}

/* Interactive Elements */
.interactive-tool {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 40px auto;
}

.toggle-container {
  text-align: center;
  margin: 30px 0;
}

.toggle-btn {
  background: var(--brick-red);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}

.toggle-btn:hover {
  background: var(--danube-blue);
}

.view-display {
  margin-top: 30px;
  padding: 30px;
  background: var(--stone-white);
  border-radius: 8px;
  min-height: 200px;
}

.view-display h4 {
  color: var(--brick-red);
  margin-bottom: 15px;
}

/* Vibe Picker */
.vibe-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}

.vibe-btn {
  padding: 20px 30px;
  background: white;
  border: 3px solid var(--danube-blue);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 8px;
}

.vibe-btn:hover, .vibe-btn.active {
  background: var(--danube-blue);
  color: white;
}

.venue-list {
  margin-top: 30px;
}

.venue-item {
  background: var(--stone-white);
  padding: 20px;
  margin: 15px 0;
  border-left: 4px solid var(--copper-gold);
  border-radius: 4px;
}

.venue-item h4 {
  color: var(--brick-red);
  margin-bottom: 10px;
}

/* Masonry Layout */
.masonry-grid {
  column-count: 1;
  column-gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 30px;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.masonry-item h3 {
  color: var(--brick-red);
  margin-bottom: 15px;
}

/* Split Screen */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.split-panel {
  padding: 30px;
  border-radius: 8px;
}

.split-panel.classic {
  background: linear-gradient(135deg, #f5f5dc 0%, #deb887 100%);
}

.split-panel.brutalist {
  background: linear-gradient(135deg, #808080 0%, #505050 100%);
  color: white;
}

.split-panel h3 {
  margin-bottom: 15px;
}

/* Rakija Roulette */
.roulette-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px 0;
}

.shot-glass {
  width: 80px;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  border: 3px solid var(--copper-gold);
  border-radius: 0 0 40% 40%;
  cursor: pointer;
  transition: transform 0.3s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shot-glass:hover {
  transform: scale(1.1) rotate(5deg);
}

.flavor-reveal {
  text-align: center;
  margin-top: 30px;
  padding: 20px;
  background: var(--stone-white);
  border-radius: 8px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brick-red);
}

/* Quiz */
.quiz-container {
  max-width: 800px;
  margin: 0 auto;
}

.question {
  background: white;
  padding: 30px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.question h4 {
  color: var(--brick-red);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  padding: 15px;
  background: var(--stone-white);
  border: 2px solid var(--danube-blue);
  text-align: left;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s;
  font-size: 1rem;
}

.option-btn:hover {
  background: var(--danube-blue);
  color: white;
}

.option-btn.correct {
  background: #4CAF50;
  color: white;
  border-color: #4CAF50;
}

.option-btn.incorrect {
  background: #f44336;
  color: white;
  border-color: #f44336;
}

.score-display {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 10px;
  margin-top: 30px;
}

.score-display h3 {
  font-size: 2.5rem;
  color: var(--brick-red);
  margin-bottom: 20px;
}

.score-title {
  font-size: 1.5rem;
  color: var(--danube-blue);
  margin-top: 15px;
}

/* Footer */
footer {
  background: var(--danube-blue);
  color: white;
  padding: 40px 20px 20px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

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

.copyright {
  margin-top: 20px;
  opacity: 0.8;
}

/* Page-specific styles */
.freshness-badge {
  display: inline-block;
  background: var(--copper-gold);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  margin: 10px 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero {
    height: 50vh;
    min-height: 300px;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    padding-left: 60px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  .split-screen {
    grid-template-columns: 1fr;
  }
  
  .masonry-grid {
    column-count: 1;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (min-width: 1025px) {
  .masonry-grid {
    column-count: 3;
  }
}