/*!
Theme Name: Tude Ameland
Theme URI: http://underscores.me/
Author: Hanna Valverde
Author URI: http://underscores.me/
Description: Custom WordPress theme for Tude Ameland holiday houses
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tude_ameland
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Tude Ameland is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* ===================== */
/* RESET */
/* ===================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-inverse);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

:root {
  --bg-main: #f7f5f1;
  --bg-soft: #ffffff;
  --bg-accent: #f2eee6;
  --bg-muted: #ebe5db;

  --text-main: #1a1a1a;
  --text-secondary: #6b6a63;
  --text-light: #a8a39b;
  --text-inverse: #0d472a;

  --accent: #2f4f3e;
  --accent-hover: #243c30;
  --accent-soft: #e6efe9;

  --secondary: #c2a46d;
  --secondary-hover: #a88c5a;
  --secondary-soft: #f3ead9;

  --accent-dark: #2a2a2a;

  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.05);

  --success: #4caf50;
  --warning: #c2a46d;
  --error: #e53935;
}

/* ===================== */
/* CONTAINER */
/* ===================== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.container.small {
  max-width: 700px;
  text-align: center;
}

/* ===================== */
/* SPACING SYSTEM */
/* ===================== */

section {
  padding: 120px 0;
}

section {
  scroll-margin-top: 100px;
}

section.reviews {
  scroll-margin-top: 140px;
}

section.booking-section {
  scroll-margin-top: 50px;
}

section.about {
  scroll-margin-top: 20px;
}

section.location-section {
  scroll-margin-top: 60px;
}

section.contact {
  scroll-margin-top: 0;
}

@media (max-width: 768px) {
  section {
    padding: 80px 16px !important;
  }
	section.booking-section {
  scroll-margin-top: 80px;
}
	section.about {
  scroll-margin-top: 70px;
}
	section.location-section {
scroll-margin-top: 80px;
}
	section.why {
  scroll-margin-top: 80px;
}
}

/* ===================== */
/* TYPOGRAPHY */
/* ===================== */

h1 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
}

h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
}

h3 {
  font-size: 20px;
  font-weight: 500;
}

p {
  font-size: 16px;
  color: #444;
  margin-bottom: 15px;
}

/* MOBILE TYPOGRAPHY */
@media (max-width: 768px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
}

/* ===================== */
/* BUTTONS */
/* ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  border: transparent;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
  margin-top: 10px;
  width: max-content;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0px 6px 10px rgb(0 0 0 / 19%);
}


/* ===================== */
/* GRID SYSTEM */
/* ===================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* RESPONSIVE GRID */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .container .grid,
  .about-grid,
  .booking-grid,
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===================== */
/* FLEX UTILITIES */
/* ===================== */

.flex {
  display: flex;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}



































/* ===================== */
/* HEADER */
/* ===================== */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 15px 0;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 14px;
  color: #111;
  transition: 0.3s;
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.menu {
  display: flex;
  gap: 30px;
}

nav.menu {
    list-style: none;
}

.menu a {
  text-decoration: none;
  color: #111;
  font-size: 16px;
  position: relative;
  opacity: 0.8;
  transition: 0.3s;
}

.menu a:hover {
  opacity: 1;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
 height: 1px;
  background: var(--accent);
  transition: 0.5s;
}

.menu a:hover::after {
  width: 100%;
}

.menu a.active {
  opacity: 1;
}

.menu a.active::after {
  width: 100%;
}

.menu-cta {
  padding: 8px 16px;
  background: var(--accent);
  color: white;
  border-radius: 20px;
  margin-left: 10px;
}

.right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switch {
  display: flex;
  gap: 10px;
}

.lang-switch a {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #111;
  opacity: 0.5;
  transition: 0.3s;
  text-decoration: none;
}

.lang-switch a.active {
  opacity: 1;
  font-weight: 500;
}

.lang-switch a {
  text-transform: uppercase;
}

.lang-switch a:hover {
  opacity: 1;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background: #111;
  transition: 0.8s;
}









/* ===================== */
/* HERO FULL */
/* ===================== */
.hero-full {
  position: relative;
  height: 100%;
  overflow: hidden;
  padding: 110px 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      #2f3d2ed9,
      #3a4a38cc,
      #3a4a3880);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 55px;
  box-sizing: border-box;
}

.hero-inner .container {
 /* width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;*/
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.hero-content {
  max-width: 100%;
  color: #f4f1ea;
}

.hero-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.7);
}

span.hero-label {
    max-width: 425px !important;
    display: block;
}

.hero-content h1 {
  font-size: 105px;
  font-weight: 500;
  margin: 12px 0 14px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(244, 241, 234, 0.9);
  margin-bottom: 26px;
max-width: 430px;
}

.hero-meta {
  display: flex;
  gap: 22px;
  margin-bottom: 30px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(244, 241, 234, 0.85);
  transition: 0.2s;
}

.meta-item:hover {
  transform: translateY(-1px);
  color: #ffffff;
}

.meta-item svg {
  width: 40px;
  height: 40px;
  stroke: #d6c7a3;
  stroke-width: 1.6;
  fill: none;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.btn-primary {
  background: #f4f1ea;
  color: #2f2a22;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: #e8dfd2;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f4f1ea;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-calendar {
  background: var(--secondary);
  color: #1a1a1a;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.btn-calendar svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 0.1px;
  fill: none;
}

.btn-calendar:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-media {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;

  box-shadow: var(--shadow-soft);
  transition: 0.4s;
}

.hero-main-img:hover {
  transform: scale(1.02);
}

.hero-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-image-side {
  position: relative;
  isolation: isolate;
}

.hero-image-side img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  filter:
    brightness(0.96) contrast(0.95) saturate(1.2) sepia(0.05);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.45s ease;
}

.hero-image-side img:hover {
  transform: scale(1.02);
}

.hero-image-side::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.12),
      transparent 40%);
  opacity: 0.6;
  pointer-events: none;
}



/* ===================== */
/* MOBILE */
/* ===================== */

@media (max-width: 991px) {

  .hero-full {
    height: auto;
    min-height: 100vh;
  }

  .hero-inner {
	padding-top: 50px;
    align-items: flex-start;
  }

  .hero-inner .container {
    grid-template-columns: 1fr;
    gap: 32px;
 /*   padding: 0 16px;*/
  }

  .hero-image-side {
    order: -1;
  }

  .hero-image-side img {
    height: 460px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero-meta {
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
  }

  .meta-item {
    font-size: 13px;
  }

  .meta-item svg {
    width: 18px;
    height: 18px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-actions a,
  .hero-actions button {
    width: 100%;
    justify-content: center;
  }

  .btn-primary,
  .btn-secondary,
  .btn-calendar {
    width: 100%;
    text-align: center;
    padding: 14px;
  }
	
	.btn-secondary {
    margin-top: 10px;
	}
}

@media (max-width: 768px) {
	.hero-image-side img {
    height: 300px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  }
}









/* ===================== */
/* GALLERY SECTION */
/* ===================== */
.gallery-clean * {
  box-sizing: border-box;
}

.gc-wrap {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: stretch;
}

.gc-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.gc-left {
  position: relative;
}

.gc-left {
  position: relative;
  overflow: hidden; /* важливо */
}

/* сам трикутник */
.gc-ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 160px;
  height: 160px;
  overflow: hidden;
  z-index: 5;
}

.gc-ribbon span {
  position: absolute;
  display: block;
  width: 240px;
  padding: 10px 0;
  background: var(--accent);
  color: #fff;
  font-size: 14px;  
  font-weight: 600;  
  letter-spacing: 0.02em;
  text-align: center;
  transform: rotate(-45deg);
  top: 40px;
  left: -58px;  
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

#gc-main {
  width: 100%;
  height: 385px;
  object-fit: cover;
  border-radius: 16px;
}

.gc-thumbs {
  padding: 30px 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
  user-select: none;
}

.gc-thumbs.dragging {
  cursor: grabbing;
}

.gc-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gc-thumbs::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.gc-thumbs img {
  width: 108px;
  height: 78px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
  -webkit-user-drag: none;
  user-select: none;
}

.gc-thumbs img.active {
  opacity: 1;
  outline: 2px solid #2f5d4e;
}

.gc-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.btn-availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
  border: none;
  width: max-content;
  margin-top: 10px;
}

.btn-availability:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0px 6px 10px rgb(0 0 0 / 19%);
}

.calendar-prices {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.price-item {
  flex: 1;
  min-width: 120px;
  padding: 12px;
  border-radius: 12px;
  background: #f8f8f8;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 12px;
  color: #888;
}

.price-value {
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}

.price-item.highlight {
  background: #e8f5e9;
  border-color: #c8e6c9;
}

/* MOBILE */
@media (max-width: 991px) {
  .gc-wrap {
    grid-template-columns: 1fr;
  }

  #gc-main {
   height: 460px!important;
  }

  .gc-wrap {
    gap: 32px;
  }

  .gc-ribbon span {
    font-size: 11px;
    padding: 6px 0;
    top: 34px;
    left: -70px;

  }
}

@media (max-width: 768px) {
    #gc-main {
        height: 300px!important;
    }
}






/* ===================== */
/* BOOKING */
/* ===================== */
.booking-section {
  background: var(--bg-soft);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: start;
}

/* LEFT */
.booking-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 500px;
}

.booking-info {
  display: flex;
  gap: 12px;
  margin: 15px 0;
}

.secondary-btn {
  background: #f4f7f4;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* hover */
.secondary-btn:hover {
  background: #f5f5f5;
}

.booking-item {
    display: flex;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
    align-items: center;
}

/* LEGEND */
.booking-item.available {
  background: #cfe8cf;
  color: #1b5e20;
}

.booking-item.booked {
  background: #f3b5b5;
  color: #b71c1c;
}

.booking-actions {
    display: flex;
    gap: 14px;
}

.booking-item.changeover {
  background: linear-gradient(135deg, #f3b5b5 50%, #cfe8cf 50%);
  color: #333;
}

/* RIGHT */
.booking-calendar {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* HEADER */
.calendar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

#monthLabel {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-inverse);
}

.calendar-header button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #111;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.calendar-header button:hover {
  background: #111;
  color: #fff;
}

/* WEEKDAYS */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.calendar-weekdays div {
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #999;
}

/* GRID */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

/* DAY BASE */
.calendar-day {
  position: relative;
  padding: 14px 0;
  border-radius: 14px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: all 0.2s ease;
}

.calendar-day span {
  position: relative;
  z-index: 2;
}

/* AVAILABLE */
.calendar-day.available {
  background: #cfe8cf;
  color: #1b5e20;
}

/* BOOKED */
.calendar-day.booked {
  background: #f3b5b5;
  color: #b71c1c;
}

/* 🔻 ARRIVAL (червоний → зелений) */
.calendar-day.arrival {
  background: #cfe8cf;
}

.calendar-day.arrival::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f3b5b5;

  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* 🔺 DEPARTURE (зелений → червоний) */
.calendar-day.departure {
  background: #cfe8cf;
}

.calendar-day.departure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f3b5b5;

  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* TODAY */
.calendar-day.today {
  border: 2px solid var(--accent);
}

/* HOVER */
.calendar-day:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

/* MODAL */
.prices-content {
      position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  max-width: 800px;
  width: 90%;
}

.prices-content h3 {
    padding-left: 14px;
}

/* WRAPPER */
.prices-table-wrapper {
  margin-top: 20px;
}

.prices-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.prices-modal.active {
  display: flex;
}

.close-modal {
  position: absolute;
  right: 40px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* hover */
.close-modal:hover {
  background: #111;
  color: #fff;
  transform: scale(1.05);
}

/* active */
.close-modal:active {
  transform: scale(0.95);
}

/* TABLE */
.prices-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

/* HEADER */
.prices-table th {
  text-align: left;
  padding: 14px;
  font-weight: 600;
  color: #555;
  border-bottom: 1px solid #eee;
}

/* ROWS */
.prices-table td {
  padding: 16px 14px;
  border-bottom: 1px solid #f2f2f2;
}

/* FIRST COLUMN */
.prices-table td:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prices-table td span {
  font-size: 12px;
  color: #888;
}

/* PRICE */
.prices-table td:not(:first-child) {
  font-weight: 500;
}

/* HIGHLIGHT */
.highlight-row {
  background: #f8faf8;
}

/* N/A */
.na {
  color: #bbb;
}

/* NOTE */
.prices-note {
  margin-top: 15px;
  font-size: 12px;
  color: #777;
}




.prices-table {
  width: 100%;
  border-collapse: collapse;
}

.prices-table th,
.prices-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
}

.prices-table th {
  font-weight: 500;
  color: #888;
}

.prices-table td {
  color: #333;
}

.na {
  opacity: 0.4;
}


.prices-table-wrapper {
  max-height: 400px; /* або 450px під твій дизайн */
  overflow-y: auto;
  overflow-x: auto;

  /* плавний вигляд */
  scrollbar-width: thin;
}

/* Chrome / Safari */
.prices-table-wrapper::-webkit-scrollbar {
  width: 6px;
}

.prices-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}


/* ===================== */
/* MOBILE BOOKING FIX */
/* ===================== */
@media (max-width: 991px) {

  /* GRID → вертикально */
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  /* LEFT BLOCK */
  .booking-content {
    min-height: auto;
  }

  /* КНОПКИ */
  .booking-actions {
    flex-direction: column;
    gap: 10px;
  }

  .booking-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* КАЛЕНДАР */
  .booking-calendar {
    padding: 16px;
    border-radius: 16px;
  }

  /* HEADER */
  .calendar-header {
    margin-bottom: 10px;
  }

  .calendar-header button {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  #monthLabel {
    font-size: 15px;
  }

  /* WEEKDAYS */
  .calendar-weekdays {
    gap: 4px;
  }

  .calendar-weekdays div {
    font-size: 10px;
  }

  /* GRID */
  .calendar-grid {
    gap: 5px;
  }

  /* DAYS */
  .calendar-day {
    padding: 10px 0;
    font-size: 11px;
    border-radius: 10px;
  }

  /* PRICES BLOCK */
  .calendar-prices {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .price-item {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
  }

  /* MODAL */
  .prices-content {
    padding: 20px;
    border-radius: 16px;
  }

  .close-modal {
    right: 15px;
    top: 15px;
    width: 32px;
    height: 32px;
  }

  /* TABLE → scroll */
  .prices-table-wrapper {
    overflow-x: auto;
  }

  .prices-table {
    min-width: 500px;
  }

  .prices-table th,
  .prices-table td {
    padding: 10px;
    font-size: 12px;
  }

  .prices-note {
    font-size: 11px;
  }
}

@media (max-width: 991px) {

  /* MODAL */
  .prices-content {
    padding: 20px;
    border-radius: 16px;
    width: 95%;
  }

  .close-modal {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
  }

  .prices-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .prices-table {
    min-width: 520px;
  }

  .prices-table th,
  .prices-table td {
    padding: 10px;
    font-size: 12px;
  }

  .prices-table td:first-child {
    min-width: 100px;
  }

  .prices-note {
    font-size: 11px;
  }
}







/* ===================== */
/* ABOUT */
/* ===================== */

.about {
  padding: 150px 20px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  height: 460px;
  object-position: center;
  object-fit: cover;
}

.about-slider {
  height: 100%;
}

.about-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.about-slides {
position: relative;
  height: 460px;
  border-radius: 20px;
  overflow: hidden;
}

.about-slides img {
  position: absolute;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.about-slides img.active {
  opacity: 1;
}

.about-slider-wrapper {
  position: relative;
  overflow: hidden;
}

.about-slides {
  height: 400px; 
  position: relative;
}

.about-slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.about-slides img.active {
  opacity: 1;
  position: relative;
}

.about-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  
  width: 42px;
  height: 42px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);

  box-shadow: 0 4px 12px rgba(0,0,0,0.15);

  cursor: pointer;
  z-index: 10;

  transition: all 0.3s ease;
}

.about-arrow.prev { left: 16px; }
.about-arrow.next { right: 16px; }

.about-arrow:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-50%) scale(1.05);
}

.about-arrow svg {
  width: 18px;
  height: 18px;
  stroke: white;
  opacity: 0.9;
}

.about-slides img {
  pointer-events: none;
}


@media (max-width: 991px) {

  .about {
    padding: 60px 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image img {
    height: 100%;
    border-radius: 14px;
  }

  .about-content {
    text-align: left;
  }

  .lead {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .about-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .about .btn {
    margin-top: 10px;
    width: fit-content;
  }
	
	.about-image img {
  width: 100%;
  border-radius: 20px;
  height: 460px!important;
  object-position: center;
  object-fit: cover;
}
	
	.about-slides {
    position: relative;
    height: 460px!important;
    border-radius: 20px;
    overflow: hidden;
}

}

@media (max-width: 768px) {
		.about-image img {
  width: 100%;
  border-radius: 20px;
  height: 300px;
  object-position: center;
  object-fit: cover;
}
	
		.about-slides {
    position: relative;
    height: 300px!important;
    border-radius: 20px;
    overflow: hidden;
}
}







/* ===================== */
/* WHY */
/* ===================== */
.why {
  position: relative;
  text-align: center;
  background: var(--bg-main);
}

.why .container {
  position: relative;
  z-index: 2;
}

.subtitle {
  color: #111;
  margin-bottom: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-item {
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: 0.25s;
}

.why-item h4 {
  color: #111;
  margin-bottom: 10px;
}

.why-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.icon {
  width: 50px;
  height: 50px;
  background: var(--bg-accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.icon svg {
  stroke-width: 1.8;
  stroke: var(--accent);
}

/* MOBILE */
@media (max-width: 991px) {

  .why {
    padding: 60px 16px;
  }

  .why::before {
    filter: blur(2px);
  }

  .why::after {
    background: rgba(0, 0, 0, 0.5);
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .why-item {
    text-align: center;
    padding: 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
  }

  .why-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
    color: #111;
  }

  .why-item p {
    font-size: 13px;
    color: #555;
    max-width: 260px;
    margin: 0 auto;
  }

}







/* ===================== */
/* REVIEWS */
/* ===================== */
.reviews {
	text-align: center;
}

.reviews-title {
  margin-bottom: 8px;
}

.reviews-subtitle {
  margin-bottom: 50px;
}

.reviews-slider {
  overflow: hidden;
  width: 100%;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  background: var(--bg-soft);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: var(--shadow-soft);
}

.reviews-track {
  cursor: grab;
}

.reviews-track:active {
  cursor: grabbing;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f2f2;

  display: flex;
  align-items: center;
  justify-content: center;
}

.review-avatar svg {
  width: 18px;
  height: 18px;
  stroke: #888;
  stroke-width: 1.6;
  fill: none;
}

.review-stars {
  font-size: 12px;
  color: #f5a623;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
}

/* MOBILE */
@media (max-width: 992px) {
  .review-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 600px) {
  .review-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}









/* ===================== */
/* INSTAGRAM */
/* ===================== */
.instagram {
  text-align: center;
  background: #f8f9fb;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 30px;
}

.insta-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  transition: 0.3s;
  cursor: pointer;
}

.instagram p {
  color: var(--accent);
  font-weight: 500;
}

.insta-grid img:hover {
  transform: scale(1.05);
}


@media (max-width: 991px) {
  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}






/* ===================== */
/* CTA */
/* ===================== */
.cta {
  position: relative;
  padding: 120px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://tude-ameland.nl/wp-content/uploads/2026/03/modern-suburban-house-with-lush-green-lawn-blue-sky-scaled.jpg') center/cover no-repeat;
  filter: blur(4px);
  transform: scale(1.1);
  z-index: 0;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 24%), hwb(0deg 0% 100% / 65.1%));
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
}







/* ===================== */
/* MAP */
/* ===================== */
.location-section {
  background: #ffffff;
}

.location-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
 align-items: center;
}


.location-content .subtitle {
  font-size: 15px;
  color: var(--text-secondary);
}


.location-points {
  list-style: none;
  padding: 0;
}

.location-points li {
  margin-bottom: 10px;
  font-size: 15px;
}

.location-map {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.location-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-wrapper {
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.location-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 30px;

}

.location-features li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  transition: 0.3s;
}

.location-features li:hover {
  transform: translateX(4px);
}

.location-features .text {
    width: max-content;
    display: flex;
    flex-direction: column;
    padding-top: 4px;
}

.location-features .text strong {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
}

.location-features .text span {
  font-size: 14px;
  color: #777;
  margin-top: 4px;
  line-height: 1.5;
}



/* по дефолту */
.mobile-map {
  display: none;
}

.desktop-map {
  display: grid;
}


/* MOBILE */
@media (max-width: 991px) {
  .location-grid {
    grid-template-columns: 1fr;
	gap: 22px;
  }

	.subtitle {
    color: #111;
    margin-bottom: 15px;
}
	
  .location-map iframe {
    height: 100%;
  }

  .location-map {
    min-height: 460px!important;
}

	  .mobile-map {
    display: block;
  }

  .desktop-map {
    display: none;
  }
	
	.location-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: center;
}
	.location-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
    margin-top: 10px;

}
}

@media (max-width: 768px) {
    .location-map {
        min-height: 300px!important;
    }
	.desktop-map {
    display: none;
  }
}








/* ===================== */
/* CONTACT */
/* ===================== */

.contact-cta {
  padding: 0px 20px 100px 20px;
  background: var(--bg-soft);
}

section#contact {
  padding-top: 0 !important;
}

.cta-box {
  padding: 60px 70px;
  border-radius: 24px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-box {
  align-items: center;
}

.cta-text {
  max-width: 480px;
}

.cta-actions {
  justify-content: flex-end;
}

.cta-text h3 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 15px;
}

.cta-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
}

.cta-actions {
display: flex;
    gap: 14px;
}


.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
 	padding: 12px 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.cta-btn:hover {
  background: #f3f3f3;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 0.1px;
  fill: none;
}

.cta-btn:active {
  transform: translateY(0);
}




.page-text a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(107, 175, 146, 0.4);
  transition: all 0.3s ease;
}

.page-text a:hover {
  color: #000;
  border-bottom: 1px solid #000;
}

.page-content ul {
    margin-left: 38px;
}
.page-content ul li{
    list-style:circle;
}

.page-content h1 {
    margin-bottom: 20px;
	    margin-top: 30px;
}




/* ===================== */
/* MOBILE */
/* ===================== */
@media (max-width: 991px) {

  .contact-cta {
    padding: 0 16px 80px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    border-radius: 18px;
    gap: 20px;
  }

  

  .cta-text h3 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .cta-text p {
    font-size: 14px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 14px;
  }

  .cta-btn svg {
    width: 20px;
    height: 20px;
  }

}

/* ===================== */
/* CTA MOBILE */
/* ===================== */
@media (max-width: 768px) {

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 20px;
  }

  .cta-text {
    max-width: 100%;
  }

  .cta-text h3 {
    font-size: 24px;
  }

  .cta-text p {
    font-size: 14px;
    line-height: 1.5;
  }

  .cta-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }

}







/* ===================== */
/* FOOTER */
/* ===================== */
.footer {
  padding: 100px 24px 40px;
  background: var(--bg-accent);
}

.footer-inner {
  margin: 0 auto;
  grid-template-columns: 2.5fr 1fr 1fr 1.2fr;
  gap: 70px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-block {
  margin-left: auto; 
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

/* text */
.footer-tagline {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.footer-location {
  font-size: 13px;
  color: #888;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-block a {
  font-size: 14px;
  color: #333;
  text-decoration: none;
  margin-bottom: 10px;
  transition: 0.2s;
}

.footer-block a:hover {
  color: var(--accent);
}

.footer-note {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-cta {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* текст + іконка */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

/* соц. блок */
.footer-social {
  display: flex;
    gap: 14px;
}

/* іконки */
.footer-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.footer-icon-link:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  margin: 80px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #717171;
}

.footer-bottom p {
  margin: 0;
  letter-spacing: 0.02em;
}

.footer-bottom a,
.footer-bottom p {
  text-decoration: none;
  color: #9a9a9a;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #444;
}

.footer-bottom div {
      display: grid;
    gap: 10px;
      grid-auto-flow: column;
  
}


/* ===================== */
/* FOOTER MOBILE */
/* ===================== */
@media (max-width: 768px) {

  .footer {
    padding: 60px 20px 30px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  /* прибираємо пуш вправо */
  .footer-block {
    margin-left: 0;
    width: 100%;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-logo {
    height: 50px;
  }

  /* текст */
  .footer-tagline {
    font-size: 13px;
  }

  .footer-location {
    font-size: 12px;
  }

  .footer-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  /* контакти */
  .footer-contact-item {
    font-size: 14px;
  }

  /* соц іконки */
  .footer-social {
    gap: 12px;
  }

  .footer-icon-link {
    width: 36px;
    height: 36px;
  }

  /* bottom */
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    margin-top: 50px;
  }

  .footer-bottom div {
    display: flex;
    gap: 12px;
  }

}






/* ===================== */
/* TABLET */
/* ===================== */

@media (max-width: 1024px) {

  .menu {
    gap: 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

}

/* ===================== */
/* MOBILE */
/* ===================== */

@media (max-width: 991px) {

  .header {
    padding: 15px 0;
  }

  .logo {
    font-size: 13px;
  }

  .menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: 0.4s;
  }

  .burger {
    display: flex;
  }

  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger.active span:nth-child(2) {
    opacity: 0;
  }

  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .menu {
    position: fixed;
    top: 90px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgb(255, 255, 255);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: 0.4s;
  }

  .menu.active {
    right: 0;
  }

  .menu a {
    color: #111;
    font-size: 20px;
    opacity: 0.8;
  }

  .menu a:hover {
    opacity: 1;
  }

  .menu a::after {
    background: #111;
  }

  .lang-switch {
    gap: 6px;
  }

  .lang-switch button {
    font-size: 12px;
  }


}

/* ===================== */
/* SMALL MOBILE */
/* ===================== */

@media (max-width: 480px) {

  .hero h1 {
    font-size: 26px;
  }

  .hero-text {
    font-size: 13px;
  }

  .menu a {
    font-size: 16px;
  }

}

