/* ---------- Basis ---------- */

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

:root {
  --bg: #3a3a3a;
  --text: #ffffff;
  --booking: #f39313;
  --promotion: #fabb03;
  --column-width: 410px;
  --photo-size: 270px;
}

html,
body {
  min-height: 100%;
}

body {
  background: var(--bg) url("assets/tnt-productions.jpg") center / cover no-repeat;
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Layout ---------- */

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5rem;
  padding: 4rem 1rem;
  text-align: center;
}

.landing__title {
  font-size: clamp(1.125rem, 2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  text-wrap: balance;
}

.landing__links {
  display: grid;
  grid-template-columns: repeat(2, var(--column-width));
  column-gap: clamp(3rem, 12vw, 12rem);
  row-gap: 4rem;
}

/* ---------- Service (Foto + Text + Button) ---------- */

.service--booking   { --accent: var(--booking); }
.service--promotion { --accent: var(--promotion); }

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.service__photo {
  display: block;
  width: var(--photo-size);
  height: var(--photo-size);
  object-fit: cover;
  border: 5px solid var(--accent);
}

.service__text {
  flex: 1;
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  padding-inline: 0.75rem;
}

/* ---------- Links (Foto & Logo-Button) ---------- */

.photo-link {
  display: block;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-link:hover,
.logo-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.logo-button {
  display: block;
  width: 100%;
  margin-top: 1rem;
  line-height: 0;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.logo-button img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

/* ---------- Tablet & Mobil ---------- */

@media (max-width: 900px) {
  :root {
    --column-width: min(340px, 100%);
    --photo-size: 220px;
  }

  .landing {
    gap: 3rem;
    padding: 3rem 1rem;
  }

  .landing__links {
    grid-template-columns: var(--column-width);
    justify-content: center;
  }

  .service {
    gap: 1.5rem;
  }

  .service__text {
    font-size: 1rem;
  }

  .logo-button {
    margin-top: 0;
  }
}
