/* Louvre Tickets Guide - Light theme (Tiqets-inspired) */
:root {
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #e63946;
  --accent-hover: #c1121f;
  --cta-bg: #e63946;
  --cta-text: #fff;
  --border: #e5e7eb;
  --header-bg: #fff;
  --footer-bg: #f1f3f5;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

/* Header */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}
.site-logo img { height: 40px; width: auto; }
.nav-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.nav-main a {
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.nav-main a:hover { background: var(--bg-soft); color: var(--accent); }
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--cta-bg);
  color: var(--cta-text) !important;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { background: var(--accent-hover); color: var(--cta-text) !important; }

/* Language switcher */
.lang-switcher {
  position: relative;
}
.lang-switcher summary {
  list-style: none;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: var(--bg);
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary::after { content: ' ▼'; font-size: 0.7em; }
.lang-switcher[open] summary::after { content: ' ▲'; }
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 180px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 0.5rem 0;
}
.lang-dropdown a {
  display: block;
  padding: 0.4rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}
.lang-dropdown a:hover { background: var(--bg-soft); }

/* Hero */
.hero {
  background: var(--bg-soft);
  padding: 2rem 1.25rem 2.5rem;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero-content h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
}
.hero-content .lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--cta-bg);
  color: var(--cta-text);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.hero-cta:hover { background: var(--accent-hover); color: var(--cta-text); }
.hero-widget { min-height: 120px; }
.hero-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-widget-right { order: 1; }
.hero-media .hero-image { order: 2; }
.hero-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (max-width: 900px) {
  .hero-image { height: 220px; }
}

/* Main content */
.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}
.main-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.5rem; }
.main-content h3 { margin-top: 1.5rem; margin-bottom: 0.5rem; font-size: 1.2rem; }
.main-content p { margin-bottom: 1rem; }
.main-content ul, .main-content ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.main-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 1rem 0;
}
.widget-block { margin: 2.5rem 0; }
.cta-block {
  background: var(--bg-soft);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}
.cta-block a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--cta-bg);
  color: var(--cta-text);
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.cta-block a:hover { background: var(--accent-hover); color: var(--cta-text); }

/* Cards / sections */
.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.section-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.section-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.section-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.section-card p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 2rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.footer-disclaimer strong { color: var(--text); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* Utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
