/* ==========================================================================
   KADLIA Group – Landing page
   ========================================================================== */

:root {
  --text: #ede6df;
  --text-muted: rgba(237, 230, 223, 0.72);
  --accent: #c48e6e;
  --line: rgba(237, 230, 223, 0.16);
  --font: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max-width: 1200px;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background-color: #1e1712;
  -webkit-font-smoothing: antialiased;
}

/* Full-screen fixed background.
   Uses a fixed pseudo-element instead of background-attachment: fixed,
   which is unsupported / janky on iOS Safari. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../images/background.jpg") center / cover no-repeat;
}

/* Subtle darkening for text legibility */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.35) 0%, rgba(20, 14, 10, 0.55) 100%);
}

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

a {
  color: inherit;
}

/* Layout
   ========================================================================== */

.page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 9rem) clamp(1.5rem, 5vw, 3rem) 3rem;
}

/* Intro
   ========================================================================== */

.intro {
  text-align: center;
  margin-bottom: clamp(5rem, 12vh, 8rem);
}

.intro__title {
  margin: 0 0 2.5rem;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.intro__text {
  max-width: 46rem;
  margin: 0 auto;
}

.intro__text p {
  margin: 0 0 1.25em;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 300;
  color: var(--text-muted);
}

.intro__text p:last-child {
  margin-bottom: 0;
}

/* Venues
   ========================================================================== */

.venues__title {
  margin: 0 0 3.5rem;
  text-align: center;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}

.venues__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.venue {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 2rem 2.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.3s ease;
}

.venue:hover {
  background-color: rgba(20, 14, 10, 0.35);
}

/* Logo box: fixed height so names/addresses line up across a row */
.venue__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
  margin-bottom: 2rem;
}

.venue__logo img {
  width: auto;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Per-logo optical sizing – logos have very different proportions */
.venue__logo--koto img      { max-height: 128px; }
.venue__logo--kazan img     { max-width: 210px; }
.venue__logo--inka img      { max-height: 92px; }
.venue__logo--azima img     { max-height: 110px; width: 154px; }
.venue__logo--thainabox img { max-height: 112px; }
.venue__logo--mugen img     { max-width: 220px; width: 220px; }

.venue__name {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venue__address {
  margin: 0 0 1rem;
  font-style: normal;
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}

.venue__link {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.venue__link:hover,
.venue__link:focus-visible {
  color: var(--text);
  border-bottom-color: currentColor;
}

.venue__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.venue__badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--accent);
  border-radius: 999px;
}

/* Footer
   ========================================================================== */

.footer {
  margin-top: 5rem;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .venues__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .venues__grid {
    grid-template-columns: 1fr;
  }

  .venue {
    padding: 2.5rem 1.5rem;
  }

  .venue__logo {
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
