@import url(https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&display=swap);

:root {
  --text: #58595b;
  --text-dark: #212529;
  --text-heading: #3d3d3f;
  --text-section: #585a61;
  --link-blue: #0071bc;
  --btn-blue: #0a71b3;
  --page-bg: #eef2f6;
  --white: #ffffff;
  --footer-bg: #1a2b34;
  --footer-text: #d8dee3;
  --biodome: #008bd1;
  --biosphere: #00879e;
  --insectarium: #f2643a;
  --planetarium: #4a3695;
  --jardinbotanique: #009d49;
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito Sans', proxima-nova-soft, Arial, sans-serif;
  font-size: 14px; line-height: 1.5; color: var(--text);
  background: var(--page-bg);
}

a { color: var(--link-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============================================================
   HEADER
   ============================================================ */
.section-header { background: var(--white); border-bottom: 1px solid #ddd; }

.zone-user { background: #000; padding: 6px 0; }
.zone-user .container { display: flex; justify-content: space-between; align-items: center; }

.museum-nav { display: flex; gap: 18px; }
.museum-nav a { color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.museum-nav a:hover { text-decoration: underline; }

/* Language switch button */
.lang-switch {
  background: transparent; border: 1px solid rgba(255,255,255,.5);
  color: #fff; font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 3px; cursor: pointer;
  font-family: inherit; transition: all 0.2s;
}
.lang-switch:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.zone-branding { padding: 14px 0; }
.branding-row {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 24px;
}
.logo { height: 54px; width: auto; }

.util-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.util-links a { color: var(--text); font-size: 13px; }

.header-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

.my-passport {
  background: #58595b; color: #fff; padding: 6px 12px;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  text-decoration: none; border-radius: 3px;
}
.my-passport i { margin-left: 6px; }

.cart-header-link {
  background: var(--btn-blue); color: #fff; padding: 6px 12px;
  font-size: 12px; font-weight: 700; text-decoration: none; border-radius: 3px;
}
.cart-header-link:hover { background: #086099; text-decoration: none; }
.cart-header-link #cart-count-top {
  display: inline-block; background: #fff; color: var(--btn-blue);
  border-radius: 50%; min-width: 18px; height: 18px;
  text-align: center; font-size: 11px; line-height: 18px; margin-left: 3px;
}

.online-ticketing { color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; }
.online-ticketing.active { color: var(--link-blue); }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.zone-content { padding: 24px 0 48px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 13px; }
.breadcrumb a { color: var(--link-blue); }
.breadcrumb .active { color: var(--text); pointer-events: none; }

.page-title {
  font-size: 35px; font-weight: 600; color: var(--text-heading);
  margin-bottom: 28px;
}

.section-title {
  font-size: 21px; font-weight: 500; color: var(--text-section);
  margin-bottom: 18px;
}

/* ============================================================
   PASSPORT BANNER
   ============================================================ */
.passport-banner {
  display: grid; grid-template-columns: 300px 1fr auto;
  gap: 24px; align-items: center;
  background: var(--white); padding: 20px; margin-bottom: 36px;
  border: 1px solid #e3e8ee;
}
.passport-image img { display: block; width: 100%; height: auto; }
.passport-title { font-size: 27px; font-weight: 400; color: var(--text-dark); margin-bottom: 8px; }
.passport-desc { font-size: 14px; color: var(--text); }
.passport-actions { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }

.btn-arrow {
  display: inline-block; background: var(--btn-blue); color: #fff;
  padding: 8px 28px 8px 12px; border-radius: 5px;
  font-size: 14px; text-decoration: none; position: relative;
}
.btn-arrow::after {
  content: '›'; position: absolute; right: 12px; font-size: 18px; line-height: 1;
}
.btn-arrow:hover { background: #086099; text-decoration: none; }

/* ============================================================
   MUSEUM CARDS
   ============================================================ */
.museum-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-bottom: 40px;
}

.museum-card {
  background: var(--white); border: 1px solid #e3e8ee;
  overflow: hidden; border-radius: 4px;
  transition: box-shadow 0.2s;
}
.museum-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

.museum-header {
  display: flex; align-items: center; justify-content: center;
  min-height: 120px; padding: 30px 18px;
  color: #fff; font-size: 28px; font-weight: 700;
  text-transform: lowercase; text-align: center;
}
.museum-header.biodome { background: var(--biodome); }
.museum-header.biosphere { background: var(--biosphere); }
.museum-header.insectarium { background: var(--insectarium); }
.museum-header.planetarium { background: var(--planetarium); }
.museum-header.jardinbotanique { background: var(--jardinbotanique); }

.museum-links { list-style: none; padding: 0; }
.museum-links li { border-top: 1px solid #e8ecf0; }
.museum-links a {
  display: block; padding: 14px 16px; font-size: 16px;
  font-weight: 600; color: var(--link-blue); text-decoration: none;
}
.museum-links a:hover { background: #f7f9fb; text-decoration: none; }
.museum-links .cmm-line { font-size: 14px; font-weight: 600; line-height: 1.3; }

/* ============================================================
   EVENT CARDS — 3-column grid (same as museums)
   Matches original: group-bill-event-multiple inside grid-12
   ============================================================ */
.event-card {
  background: var(--white); border: 1px solid #e3e8ee;
  overflow: hidden; border-radius: 4px;
  transition: box-shadow 0.2s;
}
.event-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.08); }

.event-card .event-img { width: 100%; height: 200px; object-fit: cover; display: block; }

.event-body { padding: 16px 20px; display: flex; flex-direction: column; }

/* The "belt" — colored museum tag */
.event-tag {
  display: inline-block; padding: 5px 12px; color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  margin-bottom: 10px; letter-spacing: .5px; border-radius: 2px;
  align-self: flex-start;
}
.event-tag.planetarium { background: var(--planetarium); }
.event-tag.biosphere { background: var(--biosphere); }
.event-tag.biodome { background: var(--biodome); }
.event-tag.insectarium { background: var(--insectarium); }
.event-tag.jardinbotanique { background: var(--jardinbotanique); }

.event-title {
  font-size: 27px; font-weight: 400; color: var(--text-dark);
  line-height: 1.1; margin-bottom: 10px;
}
.event-date { font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.event-time { font-size: 14px; color: var(--text); margin-bottom: 10px; }
.event-desc { font-size: 14px; color: var(--text); margin-bottom: 12px; }

.event-links { list-style: none; margin-top: auto; padding: 0; }
.event-links li { border-top: 1px solid #e8ecf0; }
.event-links a {
  display: block; padding: 14px 0 14px 0; font-size: 16px;
  font-weight: 600; color: var(--link-blue); text-decoration: none;
}
.event-links a:hover { background: #f7f9fb; text-decoration: none; padding-left: 8px; }

/* ============================================================
   CMM NOTICE
   ============================================================ */
.cmm-notice {
  background: #f4f6f8; border: 1px dashed #c5ced8;
  padding: 18px 20px; text-align: center; margin-bottom: 0;
}
.cmm-notice h4 { font-size: 16px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.cmm-notice a { font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer-bg); color: var(--footer-text);
  padding: 28px 0 36px;
}
.footer-disclaimer {
  text-align: center; font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 24px;
}
.footer-columns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 520px; margin: 0 auto;
}
.footer-col h5 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: var(--footer-text); text-decoration: underline; font-size: 14px; }
.footer-col a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .passport-banner { grid-template-columns: 1fr; }
  .museum-grid { grid-template-columns: repeat(2, 1fr); }
  .branding-row { grid-template-columns: 1fr; text-align: center; }
  .header-actions { align-items: center; }
}

@media (max-width: 640px) {
  .museum-grid { grid-template-columns: 1fr; }
  .museum-nav { display: none; }
  .footer-columns { grid-template-columns: 1fr; text-align: center; }
}
