/* Pixel Perk Internet Café: stylesheet */
:root {
  --blue: #1F3A5F;
  --blue-dark: #162b47;
  --amber: #F2A541;
  --bg: #FAF7F2;
  --text: #1A1A1A;
  --white: #ffffff;
  --line: #e6e0d6;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  --wrap: 68rem;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--amber); color: var(--text); padding: 0.7rem 1rem; font-weight: 700; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

/* Header */
.site-header { background: var(--blue); border-bottom: 4px solid var(--amber); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.brand { color: var(--white); font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: var(--amber); }
.brand:hover { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--white); color: var(--white);
  border-radius: 8px; padding: 0.45rem 0.8rem; font: inherit; font-weight: 600; cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.4rem; }
.site-nav a {
  display: block; color: var(--white); text-decoration: none; padding: 0.55rem 0.9rem;
  border-radius: 999px; font-weight: 600;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.site-nav a[aria-current="page"] { background: var(--amber); color: var(--text); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  border-radius: 16px;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 3.5rem);
  margin-top: 1.5rem;
  box-shadow: 0 10px 28px rgba(31, 58, 95, 0.25);
}
.hero h1 { color: var(--white); font-size: clamp(2rem, 5.5vw, 3.4rem); max-width: 18ch; margin: 0 0 1rem; }
.hero p { font-size: 1.2rem; max-width: 40rem; margin: 0 0 1.75rem; }

.hero-image { margin-top: 1.5rem; border-radius: 16px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

h1, h2, h3 { color: var(--blue); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); margin: 2rem 0 1rem; }
h2 { font-size: 1.6rem; margin: 2.4rem 0 1rem; padding-bottom: 0.7rem; background: linear-gradient(var(--amber), var(--amber)) no-repeat left bottom / 3.5rem 4px; }
h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }

main { padding-bottom: 3rem; }
.lead { font-size: 1.15rem; max-width: 42rem; }

/* Buttons */
.btn {
  display: inline-block; background: var(--amber); color: var(--text); font: inherit; font-weight: 700;
  text-decoration: none; border: 0; border-radius: 999px; padding: 0.8rem 1.8rem; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: var(--text); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; margin: 2rem 0; padding: 0; list-style: none; }
.card { background: var(--white); border-top: 5px solid var(--amber); border-radius: 10px; padding: 1.25rem 1.4rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
.card p { margin: 0; }

/* Opening hours */
.hours { background: var(--white); border: 2px solid var(--blue); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin: 2rem 0; }
.hours h2 { margin-top: 0; }
.hours ul { margin: 0; padding-left: 1.25rem; }

/* Services */
.service { display: grid; gap: 1.5rem; align-items: center; margin: 2.5rem 0; }
.service h2 { margin-top: 0; }
.service img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 52rem) {
  .service { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .service:nth-of-type(even) .service-text { order: 2; }
}

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1rem; border-radius: var(--radius); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
caption { text-align: left; }
th { background: var(--blue); color: var(--white); text-align: left; padding: 0.8rem 1rem; }
td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: var(--bg); }
th:last-child, td:last-child { text-align: right; white-space: nowrap; }
.note { color: #444; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }
address { font-style: normal; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }
.storefront { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; max-height: 520px; object-fit: cover; margin-top: 2rem; }

form label { display: block; font-weight: 600; color: var(--blue); margin-bottom: 0.3rem; }
form .field { margin-bottom: 1.1rem; }
form input, form textarea {
  width: 100%; max-width: 32rem; font: inherit; padding: 0.7rem 0.9rem; border: 2px solid var(--blue);
  border-radius: 8px; background: var(--white); color: var(--text);
}
form input[aria-invalid="true"], form textarea[aria-invalid="true"] { border-color: #7F1D1D; }
.error { color: #7F1D1D; font-weight: 600; margin: 0.3rem 0 0; min-height: 0; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 0.9rem 1.1rem; border-radius: 8px; font-weight: 600; max-width: 32rem; margin: 0 0 1rem; }
.notice--ok { background: #E6F4EA; color: #14532D; border: 2px solid #14532D; }
.notice--error { background: #FDECEA; color: #7F1D1D; border: 2px solid #7F1D1D; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { background: var(--blue); color: var(--white); padding: 2rem 0; margin-top: 2rem; text-align: center; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--amber); }

/* Mobile navigation */
@media (max-width: 40rem) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--blue); border-bottom: 4px solid var(--amber); padding: 0.5rem 1.25rem 1rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .hero-image { aspect-ratio: 4 / 3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
