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

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

:root {
  --cream: #faf6f0;
  --warm-brown: #6b4c2a;
  --gold: #c8973a;
  --gold-light: #e8c068;
  --sand: #e8dcc8;
  --dark: #2a1f14;
  --text: #3d2e1e;
  --text-light: #8a7060;
  --border: #d6c8b0;
  --white: #ffffff;
  --tag-bg: #f0e8d8;
  --shadow: 0 4px 24px rgba(107, 76, 42, 0.10);
  --radius: 10px;
  --radius-card: 18px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  min-height: 100vh;
}

/* ─── HEADER ─── */
.site-header {
  background: var(--dark);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(200, 151, 58, 0.2);
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--gold-light);
  letter-spacing: -0.01em;
  text-decoration: none;
}

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

.nav-tabs { display: flex; gap: 8px; }

.nav-tab {
  padding: 8px 20px;
  border: 1.5px solid rgba(200, 151, 58, 0.3);
  border-radius: 50px;
  background: transparent;
  color: rgba(232, 192, 104, 0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-tab:hover { border-color: var(--gold); color: var(--gold-light); }

.nav-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 600;
}

/* ─── HERO BANNER ─── */
.dest-hero {
  background: linear-gradient(135deg, #e8d5a3 0%, #c8b87a 100%);
  padding: 72px 48px 60px;
  position: relative;
  overflow: hidden;
}

.dest-hero::before {
  content: '🏛️';
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9rem;
  opacity: 0.18;
  pointer-events: none;
}

.dest-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--warm-brown);
  margin-bottom: 20px;
  opacity: 0.85;
}

.breadcrumb a {
  color: var(--warm-brown);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb-sep { opacity: 0.5; }

.dest-hero-badge {
  display: inline-block;
  background: var(--dark);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.dest-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.dest-hero-sub {
  font-size: 1.05rem;
  color: var(--warm-brown);
  margin-bottom: 28px;
  opacity: 0.9;
}

.dest-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(107, 76, 42, 0.18);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dark);
  backdrop-filter: blur(4px);
}

.meta-pill-icon { font-size: 1rem; }

/* ─── LAYOUT ─── */
.plan-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ─── MAIN CONTENT ─── */
.plan-main { display: flex; flex-direction: column; gap: 32px; }

/* Section card */
.plan-section {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeUp 0.5s ease both;
}

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

.plan-section:nth-child(1) { animation-delay: 0.05s; }
.plan-section:nth-child(2) { animation-delay: 0.12s; }
.plan-section:nth-child(3) { animation-delay: 0.19s; }
.plan-section:nth-child(4) { animation-delay: 0.26s; }
.plan-section:nth-child(5) { animation-delay: 0.33s; }

.section-header {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--sand);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--dark);
  font-weight: 600;
}

.section-body { padding: 24px 28px; }

/* Uvod */
.intro-text {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--text);
}

/* ─── ITINERAR ─── */
.day-list { display: flex; flex-direction: column; gap: 0; }

.day-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 20px;
  position: relative;
}

.day-item:not(:last-child) .day-line { display: block; }

.day-num-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.day-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.day-line {
  display: none;
  width: 2px;
  flex: 1;
  background: var(--sand);
  margin: 6px 0;
}

.day-content { padding-bottom: 28px; }

.day-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 10px;
}

.day-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-light);
}

.day-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.highlight-tag {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--tag-bg);
  color: var(--warm-brown);
  font-weight: 500;
}

/* ─── PRIPOROCILA ─── */
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tip-card {
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 18px;
}

.tip-icon { font-size: 1.4rem; margin-bottom: 8px; }

.tip-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 5px;
}

.tip-text {
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-light);
}

/* ─── SIDEBAR ─── */
.plan-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--sand);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: fadeUp 0.5s ease 0.3s both;
}

.sidebar-card-header {
  padding: 16px 20px;
  background: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold-light);
  font-weight: 600;
}

.sidebar-card-body { padding: 18px 20px; }

/* Budget tabela */
.budget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--sand);
  font-size: 0.88rem;
}

.budget-row:last-child { border-bottom: none; }

.budget-row-label { color: var(--text-light); }

.budget-row-value {
  font-weight: 600;
  color: var(--dark);
}

.budget-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 0;
  margin-top: 4px;
}

.budget-total-label {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
}

.budget-total-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

/* Info list */
.info-list { display: flex; flex-direction: column; gap: 12px; }

.info-item { display: flex; gap: 12px; align-items: flex-start; }

.info-item-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.info-item-text { font-size: 0.86rem; line-height: 1.6; color: var(--text-light); }

.info-item-text strong { color: var(--text); font-weight: 600; display: block; }

/* CTA button */
.sidebar-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: var(--gold-light);
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}

.sidebar-cta:hover {
  background: var(--warm-brown);
  transform: translateY(-1px);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .plan-layout {
    grid-template-columns: 1fr;
    padding: 36px 24px 60px;
  }

  .plan-sidebar { order: -1; }

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

  .dest-hero { padding: 48px 24px 44px; }
  .dest-hero::before { display: none; }

  .site-header { padding: 16px 24px; }
}

@media (max-width: 600px) {
  .site-header { flex-direction: column; gap: 12px; align-items: flex-start; }
  .nav-tabs { flex-wrap: wrap; }
  .dest-hero-meta { flex-direction: column; }
  .section-body { padding: 18px 20px; }
  .section-header { padding: 18px 20px 14px; }
}
