  <style>
    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
    }
    body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
      background-color: #pink;
      color: #1a1a1a;
      overflow-x: hidden;
    }
    header {
      /*background-image: url('main.jpg');*/
      background-size: cover;
      background-position: center;
      min-height: 85vh;
      height: auto;
      position: relative;
      color: white;
    }
    nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      padding: 1rem;
      background-color: rgba(0, 32, 45, 0.8);
      position: absolute;
      top: 0;
      width: 100%;
      box-sizing: border-box;
    }
    nav a {
      color: white;
      text-decoration: none;
      font-weight: 500;
    }
    .hero-title {
      position: absolute;
      bottom: 2rem;
      left: 2rem;
      font-size: 3rem;
      background-color: rgba(0, 32, 45, 0.5);
      padding: 1rem;
      border-radius: 0.5rem;
    }
    section {
      max-width: 900px;
      margin: 2rem auto;
      padding: 0 1rem;
      box-sizing: border-box;
    }
    p {
      text-align: justify;
    }
    .airbnb-link {
      display: inline-block;
      background-color: #003B4A;
      color: white;
      padding: 1rem 2rem;
      text-decoration: none;
      border-radius: 0.5rem;
      margin-top: 2rem;
    }
    .swiper {
      width: 100%;
    }
    .swiper-slide {
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .swiper-slide img {
      width: 100%;
      max-height: 500px;
      object-fit: cover;
      border-radius: 0.5rem;
    }
    .swiper-pagination {
      margin-top: 1rem;
      position: relative !important;
    }
    .reviews {
      background-color: #e8f1f3;
      padding: 2rem;
      border-radius: 0.5rem;
    }
    .review {
      background-color: white;
      padding: 1rem;
      margin-bottom: 1rem;
      border-left: 4px solid #003B4A;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    iframe {
      width: 100%;
      height: 400px;
      border: none;
      border-radius: 0.5rem;
    }
    footer {
      background-color: #003B4A;
      color: white;
      text-align: center;
      padding: 2rem 1rem;
      margin-top: 4rem;
    }
    @media (max-width: 600px) {
      .hero-title {
        font-size: 2rem;
        bottom: 1rem;
        left: 1rem;
      }
    }
    .scroll-avatar {
      position: fixed;
      bottom: -200px;
      right: 30px;
      width: 180px;
      transition: bottom 0.8s ease;
      z-index: 1000;
    }
    body.scrolled .scroll-avatar {
      bottom: 20px;
    }

    .hero-overlay {
      position: absolute;
      top: 47%;
      left: 5%;
      transform: translateY(-50%);
      color: white;
      max-width: 800px;
      background-color: rgba(0, 32, 45, 0.5);
      padding: 1rem;
      border-radius: 0.5rem;
    }
    .hero-sub {
      text-transform: uppercase;
      font-size: 0.9rem;
      letter-spacing: 2px;
      opacity: 0.8;
    }
    .hero-headline {
      font-size: clamp(2rem, 6vw, 3.5rem);
      font-weight: 700;
      margin: 1rem 0;
      line-height: 1.3;
    }
    .hero-title {
      position: absolute;
      bottom: 2rem;
      left: 2rem;
      font-size: 3rem;
      background-color: rgba(0, 32, 45, 0.5);
      padding: 1rem;
      border-radius: 0.5rem;
    }
    @media (max-width: 768px), (max-height: 650px) {
      .hero-overlay {
        position: static !important; 
        transform: none !important;
        max-width: 900px !important;
        margin: 1rem auto !important;
        padding: 1.5rem !important;
        background-color: rgba(0, 32, 45, 0.7) !important;
      }
    
      .hero-headline {
        font-size: 2rem;
      }
    }

    .hero-overlay-libo {
      position: absolute;
      top: 32%;
      left: 5%;
      transform: translateY(-50%);
      color: white;
      max-width: 800px;
      background-color: rgba(0, 32, 45, 0.5);
      padding: 1rem;
      border-radius: 0.5rem;
    }
    .hero-sub-libo {
      text-transform: uppercase;
      font-size: 0.7rem;
      letter-spacing: 2px;
      opacity: 0.8;
    }
    .hero-headline-libo {
      font-size: clamp(1rem, 3vw, 2.5rem);
      font-weight: 700;
      margin: 1rem 0;
      line-height: 1.3;
    }
     @media (max-width: 768px), (max-height: 650px) {
      .hero-overlay-libo {
        position: static !important; 
        transform: none !important;
        max-width: 900px !important;
        margin: 1rem auto !important;
        padding: 1.5rem !important;
        background-color: rgba(0, 32, 45, 0.7) !important;
      }
    
      .hero-headline-libo {
        font-size: 2rem;
      }
    }

    .info-buttons {
      padding: 1rem 1rem;
      background-color: #e9f4f6;
      text-align: center;
      border-radius: 0.5rem;
    }
    
    .info-buttons-container {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      max-width: 900px;
      margin: 0 auto;
    }
    
    .info-button {
      flex: 1 1 200px;
      background-color: #004452;
      color: white;
      text-decoration: none;
      padding: 2rem;
      font-size: 1.25rem;
      font-weight: 500;
      border-radius: 8px;
      transition: background-color 0.3s ease;
      text-align: center;
    }
    
    .info-button:hover {
      background-color: #006d7e;
    }

    .city-section {
      max-width: 900px;
      margin: 0 auto;
    }
    .city-section p {
      text-align: justify;
    }
    .city-image-float {
      float: right;
      margin: 0 0 1rem 2rem;
      width: 200px;
    }
    .city-image-float img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    h2 {
      color: #003B4A;
    }
    @media (max-width: 768px) {
      .city-image-float {
        float: none;
        display: block;
        margin: 1rem auto;
        text-align: center;
      }
    }

    .main-footer {
      background-color: #004452; /* если используешь фон */
      width: 100%;
      box-sizing: border-box;
    }
    
    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 2rem;
      max-width: 900px;
      margin: 0 auto;
    }
    
    .footer-column {
      flex: 1 1 220px;
      min-width: 200px;
    }
    
    .footer-column h3 {
      margin-bottom: 1rem;
      color: #fff;
      text-align: left;
    }
    
    .footer-column p,
    .footer-column li,
    .footer-column a {
      color: #ccc;
      line-height: 1.6;
      text-decoration: none;
    }
    
    .footer-column ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .footer-icons a img {
      width: 24px;
      margin-right: 0.5rem;
      vertical-align: middle;
    }
    .footer-column:first-child {
      flex: 2 1 300px;
    }
    .footer-bottom {
      text-align: center;
      max-width: 900px;
	  width: 100%;
      color: #fff;
      margin-top: 2rem;
      font-size: 0.85rem;
    }

    /* libochovice.html */
    .city-header {
      background-image: url('5927176322021442929.jpg'); /* можешь заменить на вид города */
      background-size: cover;
      background-position: center;
      height: 50vh;
      position: relative;
      display: flex;
      align-items: flex-end;
      padding: 2rem;
      color: white;
    }
    
    .city-header-title h1 {
      font-size: clamp(2rem, 6vw, 3.5rem);
      background-color: rgba(0, 32, 45, 0.5);
      padding: 1rem 2rem;
      border-radius: 0.5rem;
      margin: 0;
    }
    
    .city-content {
      max-width: 800px;
      margin: 4rem auto;
      padding: 0 1.5rem;
      font-size: 1.1rem;
      line-height: 1.8;
      color: #1a1a1a;
    }

    .opening-hours-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
      margin-bottom: 2rem;
      font-size: 0.95rem;
    }
    
    .opening-hours-table th, .opening-hours-table td {
      border: 1px solid #ccc;
      padding: 0.6rem 1rem;
      text-align: left;
    }
    
    .opening-hours-table thead {
      background-color: #f0f4f6;
      font-weight: bold;
    }

    .wedding-dates-table.grouped {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }
    
    .wedding-dates-table.grouped th,
    .wedding-dates-table.grouped td {
      border: 1px solid #ccc;
      padding: 0.5rem 0.7rem;
      text-align: left;
    }
    
    .wedding-dates-table.grouped thead th {
      background-color: #f0f4f6;
      font-weight: bold;
    }
    
    /* Цветовые группы — каждые 3 колонки */
    .wedding-dates-table.grouped tbody td:nth-child(1),
    .wedding-dates-table.grouped tbody td:nth-child(2),
    .wedding-dates-table.grouped tbody td:nth-child(3) {
      background-color: #fdfdfd;
    }
    
    .wedding-dates-table.grouped tbody td:nth-child(4),
    .wedding-dates-table.grouped tbody td:nth-child(5),
    .wedding-dates-table.grouped tbody td:nth-child(6) {
      background-color: #f3f9fb;
    }
    
    .wedding-dates-table.grouped tbody td:nth-child(7),
    .wedding-dates-table.grouped tbody td:nth-child(8),
    .wedding-dates-table.grouped tbody td:nth-child(9) {
      background-color: #fdfdfd;
    }

    .airbnb-button-wrapper {
      text-align: center;
      /*margin-top: 2rem;*/
    }
    
    .airbnb-link.large {
      display: inline-block;
      background-color: #003B4A;
      color: white;
      padding: 1rem 2.5rem;
      font-size: 1.15rem;
      font-weight: 600;
      border-radius: 0.7rem;
      text-decoration: none;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
      transition: background-color 0.3s, transform 0.2s;
    }
    
    .airbnb-link.large:hover {
      background-color: #005562;
      transform: translateY(-2px);
    }

    /* rules set */
   .rules-list ul {
     list-style: disc;
     padding-left: 1.5rem;
     margin-top: 1rem;
   }
   
   .rules-list li {
     margin-bottom: 0rem;
     line-height: 1.6;
   }

    .rules-grid {
      padding: 1rem 1rem;
      background: #f8f6f4;
      text-align: center;
    }
    
    .rules-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
      max-width: 1000px;
      margin: 2rem auto;
    }
    
    .rule {
      background: white;
      border-radius: 0.5rem;
      padding: 0.6rem;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
      transition: transform 0.2s;
    }
    
    .rule:hover {
      transform: translateY(-4px);
    }
    
    .rule img {
      width: 40px;
      margin-bottom: 1rem;
      opacity: 0.7;
    }
    
    .rule p {
      font-size: 0.75rem;
      line-height: 1.4;
      color: #333;
    }

    #house-rules h2 {
      cursor: pointer;
      user-select: none; /* опционально — отключает выделение текста при клике */
    }

    /* activities.html */
    .activities-section {
      max-width: 900px;
      margin: 0 auto;
    }
    .activities-section p {
      text-align: justify;
    }
    .activities-image-float {
      float: right;
      margin: 0 0 1rem 2rem;
      width: 200px;
    }
    .activities-image-float img {
      max-width: 100%;
      height: auto;
      display: block;
    }
    h2 {
      color: #003B4A;
    }
    @media (max-width: 768px) {
      .activities-image-float {
        float: none;
        display: block;
        margin: 1rem auto;
        text-align: center;
      }
    }

    .double-swiper-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      margin-top: 2rem;
    }
    
    .swiper-wrapper-block {
      max-width: 48%;
    }
    
    .swiper-wrapper-block h3 {
      text-align: center;
      margin-bottom: 0.5rem;
      font-size: 1.2rem;
      color: #003B4A;
    }
    
    .swiper-activities-a .swiper-slide,
    .swiper-activities-b .swiper-slide {
      text-align: center;
      display: flex;
      justify-content: center;
      flex-direction: column;
      align-items: center;
    }
    
    .swiper-activities-a .swiper-slide img,
    .swiper-activities-b .swiper-slide img {
      width: 100%;
      max-height: 278px;
      border-radius: 0.5rem;
      object-fit: cover;
    }

    .swiper-activities-b .swiper-button-prev,
    .swiper-activities-b .swiper-button-next,
    .swiper-activities-a .swiper-button-prev,
    .swiper-activities-a .swiper-button-next {
      top: 161px;
      transform: translateY(-50%);
    }
    
    .caption {
      margin-top: 0.5rem;
      font-size: 0.95rem;
      color: #444;
      text-align: center;
    }

    .caption em {
      font-style: italic;
    }

    @media (max-width: 850px) {
      .swiper-wrapper-block {
        max-width: 100%;
      }
    }
    @media (max-width: 300px) {
      .swiper-activities-b .swiper-button-prev,
      .swiper-activities-b .swiper-button-next,
      .swiper-activities-a .swiper-button-prev,
      .swiper-activities-a .swiper-button-next {
        top: 80px;
        transform: translateY(-50%);
      }

  </style>