/* Spoločné podstránky a nové sekcie. Deklarácie na jednom riadku podľa existujúceho projektu. */
.page-main {
  padding-top: calc(var(--header-height) + 28px);
}
.page-breadcrumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; color: var(--color-muted);
}
.page-breadcrumbs a:hover {
  text-decoration: underline; text-underline-offset: 4px;
}
.page-title {
  margin: 0; font-size: clamp(32px, 3vw, 48px); font-weight: 750; line-height: 1.18; letter-spacing: -0.04em;
}
.page-description {
  margin-top: 12px; font-size: 17px; color: var(--color-muted);
}
.page-main .home-title {
  font-size: clamp(28px, 2.2vw, 36px); text-wrap: wrap;
}
.nav-links > a[aria-current="page"]::after {
  transform: scaleX(1);
}
.footer-nav [aria-current="page"] {
  color: var(--color-accent-hover);
}
.footer-extras {
  display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-end; gap: 12px;
}
.footer-socials {
  display: flex; align-items: center; gap: 10px;
}
.social-link {
  display: grid; place-items: center; width: 38px; height: 38px; color: var(--color-ink); border: 1px solid var(--color-line); border-radius: 50%; transition: color 160ms ease, background 160ms ease;
}
.social-link:hover {
  color: #fff; background: var(--color-accent); border-color: var(--color-accent);
}
.social-link .icon {
  width: 23px; height: 23px;
}
.gallery-section, .price-section, .activity-photos, .contact-page-grid {
  margin-top: 30px;
}
.gallery-tabs {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
}
.gallery-tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 24px; font-size: 16px; font-weight: 650; color: var(--color-ink); background: transparent; border: 1px solid var(--color-line); border-radius: 999px;
}
.gallery-tab span {
  font-size: 12px; opacity: 0.8;
}
.gallery-tab[aria-selected="true"] {
  color: #fff; background: var(--color-accent); border-color: var(--color-accent);
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
}
.gallery-tile {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #eadfd3; border-radius: 20px;
}
.gallery-tile img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease;
}
.gallery-tile:hover img {
  transform: scale(1.035);
}
.gallery-tile span, .activity-photo span {
  position: absolute; right: 0; bottom: 0; left: 0; padding: 40px 20px 18px; font-size: 15px; font-weight: 650; line-height: 1.4; color: #fff; background: linear-gradient(transparent, rgba(30, 22, 17, 0.7));
}
.price-table-wrap, .activity-table-wrap {
  overflow-x: auto; border: 1px solid var(--color-line); border-radius: 22px;
}
.price-table, .activity-table {
  width: 100%; border-collapse: collapse; text-align: left;
}
.price-table th, .price-table td {
  padding: 26px 30px; border-bottom: 1px solid var(--color-line);
}
.price-table thead th {
  font-size: 16px; font-weight: 750; background: #f7eee6;
}
.price-table thead th:first-child {
  width: 44%;
}
.price-table thead th:not(:first-child), .price-table td {
  text-align: center;
}
.price-table tbody th {
  font-size: 19px; font-weight: 750;
}
.price-table tbody th span {
  display: block; margin-top: 5px; font-size: 14px; font-weight: 450; color: var(--color-muted);
}
.price-table td strong {
  font-size: 30px; font-weight: 750; white-space: nowrap; letter-spacing: -0.035em;
}
.price-table .price-long-stay {
  background: #faf0e7;
}
.price-table tr:last-child th, .price-table tr:last-child td, .activity-table tr:last-child th, .activity-table tr:last-child td {
  border-bottom: 0;
}
.price-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 26px;
}
.activity-photos {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
}
.activity-photo {
  height: 230px; border-radius: 20px;
}
.activity-photo span {
  font-size: 19px;
}
.activity-section {
  margin-top: 36px;
}
.table-note {
  margin: 10px 0 22px; font-size: 14px; color: var(--color-muted);
}
.activity-table th, .activity-table td {
  padding: 17px 24px; font-size: 16px; line-height: 1.5; border-bottom: 1px solid #ecdfd3;
}
.activity-table thead th {
  font-weight: 750; background: #f7eee6;
}
.activity-table tbody th {
  width: 44%; font-weight: 650;
}
.activity-table tbody tr:nth-child(even) {
  background: #fdf7f0;
}
.activity-table th:last-child, .activity-table td:last-child {
  width: 160px; text-align: right; white-space: nowrap;
}
.contact-page-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px;
}
.contact-page-card, .contact-social-card {
  min-width: 0; padding: 34px 38px; background: #faf2ea; border: 1px solid #eee3d7; border-radius: 24px;
}
.contact-property-name {
  margin-bottom: 24px; font-size: 26px; font-weight: 750; line-height: 1.3; letter-spacing: -0.03em;
}
.contact-page-address {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; font-size: 18px; font-style: normal;
}
.contact-page-address .icon {
  margin-top: 3px; color: var(--color-accent-hover);
}
.contact-page-phone, .contact-page-email {
  display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin-top: 16px; line-height: 1.4; overflow-wrap: anywhere;
}
.contact-page-phone {
  font-size: clamp(25px, 2.3vw, 38px); font-weight: 750; letter-spacing: -0.035em;
}
.contact-page-email {
  font-size: 19px;
}
.contact-page-phone .icon, .contact-page-email .icon {
  width: 25px; height: 25px; color: var(--color-accent-hover);
}
.contact-page-card > .text-link {
  margin-top: 22px; font-size: 15px;
}
.contact-social-link {
  display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 20px; background: rgba(255, 253, 250, 0.8); border: 1px solid var(--color-line); border-radius: 18px; transition: background 160ms ease;
}
.contact-social-link:hover {
  background: #fff;
}
.contact-social-link > .icon:first-child {
  width: 36px; height: 36px; color: var(--color-accent-hover);
}
.contact-social-link > .icon:last-child {
  margin-left: auto;
}
.contact-social-link strong {
  display: block; font-size: 19px; font-weight: 750;
}
.contact-social-link small {
  display: block; margin-top: 3px; font-size: 14px; color: var(--color-muted);
}
.contact-page-map {
  margin-top: 36px;
}
.contact-page-map h2 {
  margin-bottom: 22px;
}
@media (min-width: 1700px) {
  .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .activity-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-page-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-page-card, .contact-social-card { padding: 28px; }
  .footer-extras { margin-left: auto; }
}
@media (max-width: 760px) {
  .page-main { padding-top: calc(var(--header-height) + 22px); }
  .page-breadcrumbs { margin-bottom: 12px; }
  .page-description { margin-top: 10px; font-size: 15px; }
  .gallery-section, .price-section, .activity-photos, .contact-page-grid { margin-top: 24px; }
  .gallery-tabs { gap: 10px; margin-bottom: 20px; }
  .gallery-tab { padding: 10px 20px; font-size: 15px; }
  .gallery-grid { gap: 14px; }
  .gallery-tile { border-radius: 16px; }
  .price-table th, .price-table td { padding: 20px 12px; }
  .price-table thead th { font-size: 14px; }
  .price-table tbody th { font-size: 16px; }
  .price-table tbody th span { font-size: 12px; }
  .price-table td strong { font-size: 25px; }
  .activity-photo { height: 200px; }
  .activity-table th, .activity-table td { padding: 15px 14px; font-size: 14px; }
  .activity-table th:last-child, .activity-table td:last-child { width: auto; }
  .contact-page-card, .contact-social-card { padding: 24px; border-radius: 20px; }
  .contact-page-address { font-size: 16px; }
  .contact-page-email { font-size: 16px; }
  .contact-property-name { margin-bottom: 20px; font-size: 24px; }
  .contact-social-link { gap: 14px; padding: 17px; }
  .contact-social-link strong { font-size: 17px; }
  .contact-social-link small { font-size: 13px; }
  .footer-extras { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; margin-left: 0; }
  .site-footer .footer-nav { order: 0; }
}
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: minmax(0, 1fr); }
  .activity-photos { gap: 12px; }
  .activity-photo { height: 180px; border-radius: 16px; }
  .activity-photo span { padding: 35px 14px 14px; font-size: 16px; }
}
