/* ============================================
   Colours & fonts — the palette from design 3a.
   Change a colour here and it changes everywhere.
   ============================================ */
:root {
  --peach-bg: #f6ecd6;      /* page background */
  --title-brown: #5e4a3c;   /* main title */
  --accent: #b58463;        /* italic names, hover colour */
  --text-dark: #3d2f25;     /* menu text */
  --line: rgba(94, 74, 60, 0.2); /* thin lines between menu rows */
  --yellow: #ffcb69;        /* photo-sharing button */
  --orange: #e8ac65;        /* button when hovered */

  /* Text sizes used on the Informace page */
  --size-page-title: 60px;
  --size-section: 32px;
  --size-text: 17px;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;
}

/* ============================================
   Page basics
   ============================================ */
body {
  margin: 0;                    /* browsers add a default margin; remove it */
  background: var(--peach-bg);  /* var(...) = "use the colour named above" */
}

/* The phone-width column. On a big screen it stays narrow and centered. */
.page {
  max-width: 390px;
  margin: 0 auto;               /* "auto" left/right margins = centered */
  min-height: 100vh;            /* at least the full screen height */
  display: flex;
  flex-direction: column;       /* stack children top-to-bottom */
}

/* ============================================
   Title
   ============================================ */
.hero {
  padding: 60px 28px 32px;      /* top, left/right, bottom */
}

.title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 60px;
  line-height: 0.95;            /* lines tightly packed, like the mockup */
  letter-spacing: -0.01em;
  color: var(--title-brown);
}

.title em {                     /* only the <em> parts inside the title */
  color: var(--accent);
}

/* ============================================
   Photo placeholder (diagonal stripes)
   ============================================ */
.photo {
  aspect-ratio: 1 / 1;          /* always a perfect square */
  background: repeating-linear-gradient(135deg, #ecdcbd 0 10px, #e4d0ac 10px 20px);
  display: flex;
  align-items: center;          /* center the label vertically... */
  justify-content: center;      /* ...and horizontally */
}

.photo-label {
  font: 500 11px var(--font-mono);
  color: #997b66;
  background: var(--peach-bg);
  padding: 4px 8px;
  border-radius: 3px;
}

/* ============================================
   Menu
   ============================================ */
.menu {
  padding: 20px 28px 52px;
  display: flex;
  flex-direction: column;
}

/* One menu row: laid out left-to-right (flex's default direction) */
.menu-item {
  display: flex;
  align-items: center;
  gap: 16px;                    /* space between circle, name, arrow */
  min-height: 64px;             /* big enough to tap comfortably with a thumb */
  border-bottom: 1px solid var(--line);
  text-decoration: none;        /* remove the default link underline */
  color: var(--text-dark);
}

.menu-item:hover {              /* ":hover" = while the mouse is over it */
  color: var(--accent);
}

.menu-name {
  flex: 1;                      /* take all leftover space, pushing the arrow right */
  font: 500 26px var(--font-serif);
}

.arrow {
  font: 400 18px var(--font-sans);
}

/* The numbered circles */
.dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;         /* huge rounding = perfect circle */
  font: 500 11px var(--font-mono);
}

/* Each circle gets its own colour from the palette */
.dot-1 { background: #9b9b7a; color: #23241b; }
.dot-2 { background: #baa587; color: #2b241b; }
.dot-3 { background: #d9ae94; color: #33241b; }
.dot-4 { background: #e8ac65; color: #33241b; }

/* ============================================
   "Sdílej fotky" button
   ============================================ */
.share-button {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  margin-top: 20px;
  padding: 0 20px;
  border-radius: 999px;         /* pill shape */
  background: var(--yellow);
  text-decoration: none;
  color: #33291b;
}

.share-button:hover {
  background: var(--orange);
}

.share-text {
  flex: 1;
  font: 500 15px var(--font-sans);
  letter-spacing: 0.04em;
}

/* ============================================
   Informace page
   ============================================ */
.back-link {
  align-self: flex-start;       /* don't stretch across the whole width */
  margin: 24px 28px 0;
  padding: 8px 0;               /* bigger tap area without looking bigger */
  font: 500 15px var(--font-sans);
  letter-spacing: 0.04em;
  color: var(--text-dark);
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

.info-hero {
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;                    /* space between the "01" circle and the title */
}

.info-title {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--size-page-title);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--title-brown);
}

.info-content {
  padding: 0 28px 64px;
  color: var(--text-dark);
}

/* Section heading, e.g. "Harmonogram" */
.info-heading {
  margin: 28px 0 12px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--size-section);
  line-height: 1.1;
  color: var(--accent);
}

/* Normal paragraph */
.info-text {
  margin: 0 0 12px;
  font: 400 var(--size-text)/1.6 var(--font-sans);
  white-space: pre-line;        /* keep the line breaks exactly as typed */
}

/* One schedule line: time on the left, description on the right */
.info-item {
  display: flex;
  align-items: baseline;        /* line up the bottoms of the letters */
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font: 400 var(--size-text)/1.4 var(--font-sans);
}

.info-time {
  flex: none;                   /* never shrink */
  width: 56px;                  /* fixed width so all descriptions line up */
  font: 500 15px var(--font-mono);
  color: var(--accent);
}

.info-desc {
  flex: 1;
}

/* Divider between sections */
.info-divider {
  margin: 36px 0 8px;
  border: none;                 /* remove the browser's default 3D line... */
  border-top: 1px solid var(--line);  /* ...and draw our own thin one */
}

/* A divider right after a schedule line would make a double line,
   because the schedule line already has one underneath. Hide the
   schedule line's one, so the divider (maybe recoloured in the sheet) stays. */
.info-item:has(+ .info-divider) {
  border-bottom-color: transparent;
}
