/* Tartalmi szekciók: pályák + helyszínrajz, galéria, árak, mi a padel, helyszín. */

/* ===== Pályák ===== */
.courts {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.plan {
  margin: 0;
}
.plan svg {
  width: 100%;
  height: auto;
  max-width: 300px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: drop-shadow(0 14px 28px rgba(0, 58, 63, 0.18));
}
.plan figcaption {
  margin-top: 0.8rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.p-ground {
  fill: #e9eeec;
}
.p-padel {
  fill: var(--court-blue);
}
.p-padel.p-padel--terracotta {
  fill: var(--court-terracotta);
}
.p-turf {
  fill: var(--turf);
}
.p-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.5;
}
.p-glass {
  fill: none;
  stroke: #d6f0ff;
  stroke-width: 4;
  stroke-linecap: square;
}
.p-mesh {
  fill: none;
  stroke: rgba(10, 30, 30, 0.55);
  stroke-width: 2.5;
  stroke-dasharray: 2 2;
}
.p-net {
  fill: none;
  stroke: var(--green-deep);
  stroke-width: 2.5;
}
.p-goal {
  fill: none;
  stroke: #ffffff;
  stroke-width: 4;
  stroke-linecap: round;
}
.p-tag {
  fill: rgba(0, 58, 63, 0.82);
}
.p-label {
  fill: #ffffff;
  font: 800 13px var(--font);
  text-anchor: middle;
  letter-spacing: 0.02em;
}
.p-entry {
  fill: var(--muted);
  font: 700 9px var(--font);
  text-anchor: middle;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.plan__court {
  cursor: pointer;
}
.plan__court rect:first-child {
  transition: filter 0.2s ease;
}
.plan__court:hover rect:first-child,
.plan__court:focus-visible rect:first-child {
  filter: brightness(1.12);
}
.plan__court:hover .p-tag {
  fill: var(--coral);
}
.plan__court:focus {
  outline: none;
}
.plan__court:focus-visible .p-tag {
  fill: var(--coral);
}

.court-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.court-list li {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.court-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}
.court-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.court__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.6rem !important;
}
.court__tags span {
  padding: 0.15em 0.65em;
  border-radius: 999px;
  background: #eef4f4;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 700;
}
.court-list__link {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--coral-dark);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
}
.court-list__link:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  .courts {
    grid-template-columns: 1fr;
  }
  .plan svg {
    max-width: 260px;
  }
}

.rules a {
  color: var(--coral-dark);
  font-weight: 700;
}

/* ===== Galéria ===== */
.section--light {
  background: #f4f8f8;
}
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 1rem;
}
.gallery__item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.gallery__item:hover img {
  transform: scale(1.04);
}
.gallery__item--wide {
  grid-row: span 2;
}
.gallery__item--tall img {
  object-position: center 30%;
}
.gallery__item:last-child img {
  object-position: center 20%;
}

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 220px;
  }
  .gallery__item--wide {
    grid-column: span 2;
    grid-row: auto;
  }
}

/* ===== Árak ===== */
.prices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  max-width: 780px;
}
.price {
  position: relative;
  padding: 2rem 1.8rem 1.8rem;
  border-radius: var(--radius);
  background: var(--coral);
  box-shadow: var(--shadow);
}
.price--alt {
  background: var(--green-soft);
}
.price__badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25em 0.8em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price h3 {
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price__amount {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
}
.price__unit {
  margin: 0 0 1.4rem;
  opacity: 0.85;
  font-weight: 600;
}
.price .btn {
  background: var(--white);
  border-color: var(--white);
  color: var(--coral);
}
.price--alt .btn {
  color: var(--green);
}
.prices__note {
  margin-top: 1.8rem;
  opacity: 0.85;
}
.extras {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  max-width: 780px;
}
.extras li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  line-height: 1.35;
}
.extras span {
  font-size: 1.4rem;
}
.extras strong {
  display: block;
  font-size: 0.92rem;
}
@media (max-width: 820px) {
  .extras {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== Mi a padel ===== */
.padel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.padel p {
  color: var(--muted);
  font-size: 1.05rem;
}
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.facts li {
  display: flex;
  flex-direction: column;
  padding: 1.3rem;
  border-radius: var(--radius);
  background: var(--sky);
}
.facts li:nth-child(2),
.facts li:nth-child(3) {
  background: var(--coral-light);
}
.facts strong {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1.1;
}
.facts span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

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

/* ===== Helyszín ===== */
.location {
  display: grid;
  gap: 1.6rem;
}
.location__head h2 {
  margin-bottom: 1.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.action {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.action:hover {
  background: rgba(255, 255, 255, 0.1);
}
.action--primary {
  background: var(--white);
  border-color: var(--white);
  color: var(--green);
}
.action--primary:hover {
  background: var(--coral-light);
  border-color: var(--coral-light);
}
.action:focus-visible {
  outline: 3px solid var(--sky-strong);
  outline-offset: 3px;
}

.location__body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: stretch;
}

.map {
  position: relative;
  min-height: 340px;
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #1c2626;
  box-shadow: var(--shadow);
}
.map__frame,
.map__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* sötét térkép-hangulat a Google beágyazásra */
.map__frame {
  filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.95) contrast(0.95);
}
.map__photo {
  object-fit: cover;
  object-position: center 35%;
}
.map__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.7em 1.2em;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: var(--shadow);
}
.map__label:hover {
  background: var(--coral-dark);
}
.map__label:focus-visible {
  outline: 3px solid var(--sky-strong);
  outline-offset: 3px;
}

.place {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
}
.place__status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.place__status::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); /* tartalék régi böngészőnek */
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent);
}
.place__status.is-open {
  color: #3c9a4b;
}
.place__status.is-closed {
  color: var(--coral-dark);
}
.place__status.is-soon {
  color: var(--green-soft);
}
.place h3 {
  margin: 0;
  font-size: 1.5rem;
}
.place__sub {
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}
.place__info {
  margin: 0;
  display: grid;
  gap: 0;
}
.place__info div {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.place__info dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-top: 0.15rem;
}
.place__info dd {
  margin: 0;
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}
.place__info a {
  color: var(--green);
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.socials a {
  padding: 0.5em 1.1em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--green);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s ease;
}
.socials a:focus-visible {
  outline: 3px solid var(--sky-strong);
  outline-offset: 2px;
}
.place .socials {
  margin-top: auto;
  padding-top: 1rem;
}
.place .socials a {
  border-color: var(--line);
  color: var(--green);
}
.place .socials a:hover {
  background: #eef4f4;
}

@media (max-width: 820px) {
  .location__body {
    grid-template-columns: 1fr;
  }
  .map {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 520px) {
  .actions {
    gap: 0.5rem;
  }
  .action {
    padding: 0.75em 1.1em;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }
  .action--primary {
    flex: 1 1 100%;
    justify-content: center;
  }
  .action:not(.action--primary) {
    flex: 1 1 0;
    justify-content: center;
  }
  .place__info div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .place__info dd {
    overflow-wrap: normal;
    word-break: normal;
  }
}
