/*!
Theme Name: vdtheme
Theme URI: https://virtus-dizajn.com/
Author: Virtus dizajn
Author URI: https://virtus-dizajn.com/
Description: Design theme for Virtus dizajn.
Version: 1.0.0
Tested up to: 6.8.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: vdtheme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Screenshot: https://virtus-dizajn.com/wp-content/themes/vdtheme/screenshot.png

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

vdtheme 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.
*/

@import url('fonts/fonts.css');
/*===================== TABLE OF CONTENT =======================
0. CSS Variables
1. Reset
2. Body Style
3. Placeholders & Highlights
4. Container & Grid
5. Headings
6. Buttons
7. Form
8. Paddings & Margins
9. Breadcrumbs
10. Custom Style
11. Cookies
12. Pagination
13. Slider
14. Header
15. Animations
16. Intro
17. Features
18. About
19. Apartments
20. Pool
21. Island
22. Family
23. Reviews
24. Pricing
25. FAQ
26. Contact
27. Footer
28. Page Intro
29. Apartments Page
30. Apartment Page
31. Popup
32. Island Page
33. Api-Komerc Page
34. Gallery Page
35. Contact Page
36. About Page
37. Text Page

=============================================================*/

/* ==================================================================================
0. CSS Variables
===================================================================================== */
:root {
  --color-primary:#4E5838;
  --color-secondary: #2D2924;
  --color-secondary-darker: #1E1B17;
  --color-primary-darker: #343B26;

  --cream:#F6F1E8;
  --cream-light:#FBF8F2;
  --sand:#ECE3D4;
  --stone:#D9CFBF;
  --wood:#9C7A55;
  --text-soft:#4A443C;
  --line:rgba(45,41,36,.14);

  --dark-grey:#58636F;
  --light-grey:#f2f4f7;
  --white:#fff;
  --bg-light-grey:#f3f3f3;
  --bg-light:#fdfcfd;
  --color-text-on-dark: rgba(246,241,232,.8);
  --radius-xs: 0.2rem;
  --radius-sm: 0.8rem;
  --radius-md: 1.2rem;
  --radius-lg: 2rem;
  --radius-full: 10rem;

  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans: 'Outfit', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-slow: cubic-bezier(.16,1,.3,1);
  --transition-base: all .3s ease-in-out;
  --transition-slow: all .7s cubic-bezier(.22,.61,.36,1);
}

/* ==================================================================================
1. Reset
===================================================================================== */
*, *::after, *::before { margin: 0; padding: 0; -webkit-box-sizing: inherit; box-sizing: inherit; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; }  a, a:active, a:hover, a:focus { outline: none;text-decoration: none; } abbr[title] { border-bottom: 1px dotted; } dfn { font-style: italic; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; max-width: 100%; } svg:not(:root) { overflow: hidden; } hr { -webkit-box-sizing: content-box; box-sizing: content-box; height: 0; margin-top: 30px; margin-bottom: 35px; border-width: 0; border-top: 1px solid #000; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; }
 strong { font-weight: 700; }

.fancybox__button--zoo, .fancybox__button--slideshow, .fancybox__button--fullscreen, .fancybox__button--thumbs, .fancybox__button--zoom{
  display: none;
}
input[type="button"], input[type="submit"]{
  width: auto;
  transition: all .4s ease-in-out;
}
.none{
  display: none;
}
ul, ol { margin: 2rem 0; }
a{
  text-decoration: underline;
  color: inherit;
}
.go-back {
	position: fixed;
	right: 2rem;
	bottom: 5rem;
	width: 4rem;
	height: 4rem;
	border-radius: 10rem;
	background-color: #000;
	background-image: url(images/arrow-up-white.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 2rem;
	z-index: 10;
	display: none;
	cursor: pointer;
}
header a{
  text-decoration: none;
}
.image-404 img{
  display: block;
  width: 100;
  max-width: 80rem;
  height: auto;
  margin: 0 auto;

}
.image-404{
  margin-bottom: 5rem;
}

/* ==================================================================================
2. Body Style
===================================================================================== */
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 56.25%;
  word-wrap: break-word;
  scroll-behavior: smooth;
}
@media only screen and (min-width: 80.0625em) {
  /*1281px*/
  html {
    font-size: 62.5%;
  }
}
body {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-secondary);
  background-color: var(--white);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 1.7rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main{
  position: relative;
}
img{
  display: block;
}
figure{
  margin: 0;
}
/*----cookie----*/
.cky-btn-revisit-wrapper,
.grecaptcha-badge {
	display: none !important;
}
/* ==================================================================================
3. Placeholders & Highlights
===================================================================================== */
::-webkit-input-placeholder { color: inherit; opacity: 1 !important; }
:-moz-placeholder { color: inherit; opacity: 1; }
::-moz-placeholder { color: inherit; opacity: 1; }
:-ms-input-placeholder { color: inherit; }
::-moz-selection { background-color: var(--color-primary);  color: #fff; }
::selection { background-color: var(--color-primary); color: #fff }
/* ==================================================================================
4. Container & Grid
===================================================================================== */
.container {
  position: relative;
  width: 100%;
  max-width: 136rem;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0 2rem;
}
.container-lg{
  max-width: 180rem;
}
.container-2xl{
  max-width: 192rem;
  padding: 0;
}
.container-fluid{
  max-width: 100%;
}
.container-md{
  max-width: 120rem
}
.container-sm{
  max-width: 100rem;
}
.container-xl{
  max-width: 160rem;
  padding: 0;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .container{
    padding: 0 4rem;
  }
}
@media only screen and (min-width: 75.0625em) {
  /*1201px*/
  .container{
    padding: 0 6rem;
  }
}
/* ==================================================================================
5. Headings
===================================================================================== */

h1, h2, h3, h4, h5, h6 { margin-bottom: 2rem; font-weight: 400;margin-top:1rem; font-family: var(--font-serif); }
h1 { font-size: 4.8rem; line-height: 1.3; }
h2 { font-size: 3.4rem; line-height: 1.2; }
h3 { font-size: 2.3rem; line-height: 1.3; }
h4 { font-size: 2.2rem; line-height: 1.4; }
h5 { font-size: 1.8rem; line-height: 1.5; }
h6 { font-size: 1.6rem; line-height: 1.5; }
h1 {
  font-size: clamp(3.2rem, 4vw + 1rem, 4.8rem);
  line-height: 1.3;
}

h2 {
  font-size: clamp(2.4rem, 3vw + 0.8rem, 4rem);
  line-height: 1.2;
}
h1 em, h2 em{
  font-style: italic;
}

.title h1, .title h2{
  font-size: clamp(4.4rem, 5.4vw + 1rem, 9.2rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
}
.intro .title h1{
  font-size: clamp(4.8rem, 6.4vw + 1rem, 11.2rem);
  line-height: 1.04;
}
p {   margin-bottom: 1.6rem; }
.title{ margin-bottom:4rem; }
.title-center{text-align: center;max-width: 70rem;width: 100%; margin-left: auto;margin-right: auto;}

/* subtitle je apsolutan - svaka sekcija ga smješta na svoje mjesto (vidi sekcije 16-23) */
.subtitle {
	position: absolute;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 1.4rem;
	font-family: var(--font-sans);
	font-size: 1.2rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .34em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wood);
	top: -5.6rem;
	right: 2rem;
}
.subtitle em{
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.subtitle em::after{
  content: '';
  display: block;
  width: 4.8rem;
  height: 1px;
  background-color: currentColor;
  opacity: .5;
}
.subtitle-light{
  color: var(--cream);
}
.subtitle-stone{
  color: var(--stone);
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .subtitle{
    right: 4rem;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .subtitle-vertical{
    writing-mode: vertical-rl;
  }
  .subtitle-vertical em::after{
    width: 1px;
    height: 4.8rem;
  }
}
@media only screen and (min-width: 75.0625em) {
  /*1201px*/
  .subtitle{
    right: 6rem;
  }
}
.text-top{
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 1vw + 1.6rem, 2.8rem);
  line-height: 1.45;
}
.text-soft{
  color: var(--text-soft);
}
/* ==================================================================================
6. Buttons
===================================================================================== */

.btn {
	display: inline-block;
	padding: 1.7rem 3.4rem;
	font-family: var(--font-sans);
	font-weight: 400;
  text-decoration: none;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  transition: var(--transition-slow);
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  margin-top: 3rem;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary{
  background-color: var(--color-primary);
  color: var(--cream);
}
.btn-primary:hover{
  background-color: var(--color-primary-darker);
  color: var(--cream);
}
.btn-light{
  background-color: var(--cream);
  color: var(--color-secondary);
}
.btn-light:hover{
  background-color: var(--color-primary);
  color: var(--cream);
}
.btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 1rem;
	padding: 1.2rem 2.2rem;
	background-color: transparent;
	border: 1px solid currentColor;
	color: inherit;
	font-weight: 400;
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: .2em;
	text-decoration: none;
	border-radius: var(--radius-xs);
	transition: var(--transition-slow);
}
.btn-outline:hover {
	background-color: rgba(255,255,255,0.08);
}

.btn-outline-light{
  color: var(--cream);
  border-color: rgba(246,241,232,.5);
}
.btn-outline-light:hover{
  background-color: var(--cream);
  border-color: var(--cream);
  color: var(--color-primary-darker);
}
.btn-outline svg{
  width: 1.6rem;
  height: 1.6rem;
  transition: transform .6s var(--ease-slow);
}
.btn-outline:hover svg{
  transform: translateX(4px);
}

.section-btn{
  margin-top: 4rem;
}
.section-btn-center{
  text-align: center;
  margin-top: 7.2rem;
}
.btn svg{
  width: 1.4rem;
  height: 1.4rem;
  transition: var(--transition-base);
}
.btn-sm{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--color-primary);
  text-decoration: none;
  padding: .6rem 0;
}
.btn-sm::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(.35);
  transform-origin: left;
  opacity: .6;
  transition: transform .7s var(--ease-slow), opacity .7s var(--ease-slow);
}
.btn-sm:hover::after{
  transform: scaleX(1);
  opacity: 1;
}
.btn-sm-light{
  color: var(--cream);
}
.btn-sm svg{
  width: 1.6rem;
  height: 1.6rem;
  transition: transform .6s var(--ease-slow);
}
.btn-sm:hover svg{
  transform: translateX(6px);
}
.btn-send {
	background-image: url(images/arrow-right-white.svg);
	background-repeat: no-repeat;
	background-size: 1rem;
	background-position: right 2rem center;
	padding-right: 5rem;
	padding-left: 2rem;
  cursor: pointer;
  margin-top: 0;
}
/* ==================================================================================
7. Form
===================================================================================== */
form p{
  margin-bottom: 0;
}
input,
textarea, select {
  display: block;
  width: 100%;
  border: 1px solid #000;
  padding: 0.8rem 1rem;
  outline: none;
  background-color: #fff;
  font-family: inherit;
   border-color: #d8dbe0;
  border-radius: var(--radius-sm);
  font-size: 1.4rem;
  padding: 1.2rem 1.5rem;

}
textarea{
  resize: vertical;
  height: 19rem;
}
input:focus,
textarea:focus, select:focus {
  border-color: var(--color-secondary);

}
input[type="button"]{
  width: auto;
}
label {
  display: block;
  margin-bottom: 0.5rem;
}
button {
  transition: all .4s ease-in-out;
  border:0;
  font-family: inherit;
  font-size: 1.6rem;
  width: auto;
}
fieldset{
  border: 0;
  margin-bottom: 0;
}

/* ==================================================================================
8. Paddings & Margins
===================================================================================== */
.space {
  padding: 4rem 0;
}
.space-lg {
  padding: 9rem 0;
}
.mt-5{
  margin-top: 4rem;
}
.no-pt{
  padding-top: 0 !important;
}
.no-pb{
  padding-bottom: 0 !important;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .space-lg {
    padding: 13rem 0;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .space {
     padding: 6rem 0;
  }
  .space-lg {
    padding: 18rem 0;
  }
}

/* .menu-item-has-children za wp sub parent*/
/* .current_page_item za wp active link u navigaciji*/
/* ==================================================================================
9. Breadcrumbs
===================================================================================== */
.breadcrumbs{
  padding: 1rem 0;
  font-size: 1.4rem;
}
.breadcrumbs ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.breadcrumbs ul li{
  display: inline-block;
  font-weight: 600;
  color: var(--color-primary);

}
.breadcrumbs ul li::after{
  content: '/';
  display: inline-block;
  margin: 0 1rem;
}
.breadcrumbs ul li a{
  display: inline-block;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
}
.breadcrumbs ul li:last-child:after{
  content: none;
}
/* ==================================================================================
10. Custom Style
===================================================================================== */
.list ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.list ul li{
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
}
.list  ul li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 2rem;
  height: 2rem;
  background-image: url(images/check-icon.svg);
  background-repeat: no-repeat;
  background-size: 2rem;
}
.bg-sand{
  background-color: var(--sand);
}
.bg-olive{
  background-color: var(--color-primary-darker);
  color: var(--color-text-on-dark);
}
.bg-olive h2{
  color: var(--cream);
}
/* slika koja se otkriva unutar okvira */
.image{
  overflow: hidden;
}
.image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
figcaption{
  margin-top: 1.6rem;
  font-size: 1.1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft);
}
/* tanka lista s linijama */
.lined-list{
  list-style: none;
  margin: 0;
}
.lined-list li{
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
  font-size: 1.6rem;
  letter-spacing: .08em;
  color: var(--text-soft);
}
.lined-list li:last-child{
  border-bottom: 1px solid var(--line);
}
/* ==================================================================================
11. Cookies
===================================================================================== */
.cky-btn-accept {
	background: var(--color-secondary)!important;
	border: 2px solid var(--color-secondary)!important;
}
.cky-btn-reject,  .cky-btn-customize, .cky-btn-preferences {
	color: var(--color-secondary)!important;
	border: 2px solid var(--color-secondary)!important;
}
button.cky-show-desc-btn:not(:hover):not(:active){
  color: var(--color-secondary)!important;
  font-weight: 600;
}
.cky-btn-revisit-wrapper{
  background-color: var(--color-secondary)!important;
}
/* ==================================================================================
12. Pagination
===================================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0;
    width: 100%;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #ccc;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--color-secondary);
    font-weight: 500;
    transition: all .2s ease;
}

.pagination .page-numbers:hover {
    background: #fff;
    border-color: var(--color-secondary);
}

.pagination .page-numbers.current {
    background: var(--color-secondary);
    color: #fff;
    border-color: var(--color-secondary);
}

.pagination .next , .pagination .prev {
    width: 14rem;
}

/* ==================================================================================
13. Slider
===================================================================================== */
.custom-arrow{
  width: 4rem;
  height: 4rem;
  border-radius: 10rem;
  border:1px solid #ccc;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.8rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  z-index: 2;
}
.custom-next{
  background-image: url(images/next.svg);
  right: 1rem;
}
.custom-prev{
  background-image: url(images/prev.svg);
  left: 1rem;
}

@media only screen and (min-width: 100.0625em) {
  /*1601px*/
  .custom-next{
    right: -4rem;
  }
  .custom-prev{
    left: -4rem;
  }

}
/* pagination custom 1 */
.custom-pagination{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:2rem;
  margin-top: 3rem
}
.swiper-pagination-bullet{
  width: 3rem;
  height: 3rem;
  border-radius: 10rem;
  background-color: transparent;
  border:1px solid transparent;
  position: relative;
  cursor: pointer;
  transition: all .4s ease-in-out;
}
.swiper-pagination-bullet::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 10rem;
  background-color: #fff;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active{
  border-color: #fff;

}
/* pagination custom 2 */
.custom-pagination{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:2rem;
  margin-top: 3rem
}
.swiper-pagination-bullet{
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 10rem;
  background-color: #ccc;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active{
  background-color: #000;

}
/* ==================================================================================
14. Header
===================================================================================== */

/*--------*/
.social{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap:1rem
}
.social a{
  display: block;
}
.social a img{
  display: block;
  width: 3.3rem;
  height: auto;
}
/*---------*/
 .menu-btn {
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 3;
  z-index: 15;
}

.dot {
  width: 28px;
  height: 1px;
  background: var(--cream);
  border-radius: 10px;
  position: absolute;
  transition: all .35s ease;
}

.dot:nth-child(1) {
  transform: translateY(-5px);
}

.dot:nth-child(2) {
  display: none;
}

.dot:nth-child(3) {
  transform: translateY(5px);
}

.dot:nth-child(4) {
  display: none;
}


/* active - X */
.menu-btn.active .dot{
  background: var(--color-secondary);
}
.menu-btn.active .dot:nth-child(1) {
  transform: rotate(45deg);
}

.menu-btn.active .dot:nth-child(2) {
  opacity: 0;
}

.menu-btn.active .dot:nth-child(3) {
  transform: rotate(-45deg);
}
/*-----------*/
header{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: transparent;
  z-index: 10;
  padding: 2rem 0;
  color: var(--cream);
  transition: background-color .7s var(--ease), padding .7s var(--ease), box-shadow .7s var(--ease), color .7s var(--ease);
}
header.scrolled{
  background-color: rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--color-secondary);
  padding: 1.2rem 0;
}
header.scrolled .dot{
  background: var(--color-secondary);
}
header .container{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
header ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.header-logo{
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: inherit;
  position: relative;
  z-index: 15;
}
.header-logo span{
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  padding-left: .2rem;
}
.header-logo strong{
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.header-logo img{
  display: block;
  width: 10rem;
  height: auto;
}
body.menu-open .header-logo{
  color: var(--color-secondary);
}
nav {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  background-color: var(--white);
  color: var(--color-secondary);
  padding: 12rem 2.5rem 3rem;

  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);

  transition:
    transform .45s cubic-bezier(.77,0,.18,1),
    opacity .35s ease,
    visibility 0s linear .45s;

  z-index: 12;
  overflow-y: auto;
}

nav.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);

  transition:
    transform .45s cubic-bezier(.77,0,.18,1),
    opacity .35s ease;
}


nav li a {
  position: relative;
  display: block;
  padding: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
}
nav li{
  display: block;
}


nav li a:hover, nav li.current_page_item a{
  color: var(--color-primary);
  transition: var(--transition-base);
}



.mobile-info{
  margin-top: 3rem;
  padding-top: 3rem;
  display: flex;
  flex-direction: column;
  font-size: 1.5rem;
}

.menu-item-has-children{
  position: relative;
}

.menu-item-has-children::after {
  content: "";
  position: absolute;
  right: 0;
  top: 2rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  transform: rotate(45deg);
  transition: transform .3s ease;
}

.menu-item-has-children.active::after {
  transform: rotate(225deg);
}


.sub-menu {
  display: none;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.sub-menu li a {
  font-size: 1.4rem;
  padding: 1rem 0;
  border: 0;
}
header .btn{
  margin-top: 0;
}
body.menu-open {
  overflow: hidden;
}
body.menu-open header{
  z-index: 12;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,27,23,.45);
  opacity: 0;
  visibility: hidden;
  transition: all .4s ease;
  z-index: 11;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
header .btn{
  display: none;
  margin-left: auto;
  margin-right: 2rem;
  padding: 1rem 2rem;
}
.lang-switch{
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  position: relative;
  z-index: 15;
}
.lang-switch a{
  color: inherit;
  opacity: .55;
  padding: .6rem .2rem;
  transition: opacity .4s var(--ease);
}
.lang-switch a + a::before{
  content: '/';
  display: inline-block;
  margin: 0 .6rem 0 .4rem;
  opacity: .55;
}
.lang-switch a:hover, .lang-switch a.active{
  opacity: 1;
}
body.menu-open .lang-switch{
  color: var(--color-secondary);
}
@media only screen and (min-width: 30.0625em) {
  /*481px*/
  nav{
    width: 40rem;
  }
  header .btn{
    display: inline-flex;
  }
  .lang-switch{
    margin-left: 0;
  }
}
@media only screen and (min-width: 75.0625em) {
  /*1201px*/
  .lang-switch{
    margin: 0 0 0 2.4rem;
    font-size: 1.3rem;
  }
}

@media only screen and (min-width: 75.0625em) {
  /*1201px*/
header{
  padding: 2.6rem 0;
}
header .btn{
 margin: 0;
 padding: 1.2rem 2.2rem;
}
header .btn:hover{
  background-color: var(--cream);
  color: var(--color-secondary);
  border-color: var(--cream);
}
header.scrolled .btn{
  color: var(--color-primary);
}
header.scrolled .btn:hover{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--cream);
}
 .menu-btn{
    display: none;
  }
  .menu-overlay{
    display: none;
  }
  nav{
    position: static;
    top: auto;
    right: auto;
    width: auto;
    height: auto;
    min-height: auto;
    overflow-y: visible;
    transform: none;
    transition: none;
    padding: 0;
    background-color: transparent;
    color: inherit;
    opacity: 1;
    visibility: visible;
    margin-left: auto;
    margin-right: 3rem;

  }
  nav li{
    display: inline-block;
  }
  nav li a{
    display: inline-block;
    padding: .6rem 0;
    margin: 0 1rem;
    border: 0;
    font-family: var(--font-sans);
    font-size: 1.3rem;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  nav li a::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .7s var(--ease-slow);
  }
  nav li a:hover{
    color: inherit;
  }
  nav li a:hover::after{
    transform: scaleX(1);
    transform-origin: left;
  }
.menu-item-has-children{
  margin-right: 1rem;
}
.menu-item-has-children::after {
	top: 47%;
	transform: translateY(-50%) rotate(45deg);
	width: 8px;
	height: 8px;
}
  .mobile-info{display: none;}
  .sub-menu{
    position: absolute;
    left: 0;
    top: 6rem;
    width: 30rem;
    background-color: #fff;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    display: block;
    padding-top: 0;
  }
  .menu-item-has-children:hover .sub-menu{
    opacity: 1;
    visibility: visible;
  }
}
@media only screen and (min-width: 90em) {
  /*1440px*/
  nav li a{
    margin: 0 1.3rem;
  }
}
.mobile-info a{
 border: 0;
 text-transform: none;
 padding: 0;
 margin-bottom: 1rem;
 font-family: var(--font-sans);
 font-size: 1.5rem;
}
.mobile-info .footer-icon{
  background-color: var(--color-primary);
}
/*--------header top-------*/
.header-top{
  background-color: #000;
  color: #fff;
  font-size: 1.4rem;
  padding: 1rem 0;

}
.header-top .container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.header-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.secondary-nav{
  margin-right: auto;
}
.secondary-nav li{
  display: inline-block;
  margin-right: 1.5rem;
}
.secondary-nav li a{
  display: inline-block;
  text-decoration: none;
}
.header-search input {
	background-color: #fff;
	color: #000;
	font-size: 1.4rem;
	height: 4.2rem;
	border-color: transparent;
	border-radius: 1rem;
	padding: 0 2rem;
	box-sizing: border-box;
	width: 100%;
}
.header-search input:focus{
border-color: #000;
}
.header-search form{
  position: relative;
  max-width: 28rem;
  width: 100%;
}
.btn-search{
  border: 0;
  width: 2rem;
  height: 3.5rem;
  padding: 0;
  background-color: transparent;
  background-image: url(images/search-white.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5rem;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  cursor: pointer;
}
.lang{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap:0.5rem;
  margin-left: 4rem;
}
.lang a{
  text-decoration: none;
}
/* ==================================================================================
15. Animations
===================================================================================== */
.overflow-hidden{
  overflow: hidden;
}
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: transform 1.4s var(--ease-slow), opacity 1.2s var(--ease-slow);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Za scale-in efekat */
[data-animate="scale"] {
  transform: scale(0.8);
}
[data-animate="scale"].visible {
  transform: scale(1);
}

/* Za slide-left efekat */
[data-animate="slide-left"] {
  transform: translateX(-50px);
}
[data-animate="slide-left"].visible {
  transform: translateX(0);
}

/* Za slide-right efekat */
[data-animate="slide-right"] {
  transform: translateX(50px);
}
[data-animate="slide-right"].visible {
  transform: translateX(0);
}

/* Za slide-top efekat */
[data-animate="slide-top"] {
  transform: translateY(50px);
}
[data-animate="slide-top"].visible {
  transform: translateY(0);
}
/* Za slide-bottom efekat */
[data-animate="slide-bottom"] {
  transform: translateY(-50px);
}
[data-animate="slide-bottom"].visible {
  transform: translateY(0);
}
/* Za otkrivanje fotografije - fade + vrlo blagi zoom-out slike unutar okvira */
[data-animate="fade"],
[data-animate="fade"].visible {
  transform: none;
}
[data-animate="image"] {
  transform: none;
  transition: opacity 1.6s var(--ease);
}
[data-animate="image"] img {
  transform: scale(1.06);
  transition: transform 2.4s var(--ease-slow);
}
[data-animate="image"].visible img {
  transform: scale(1);
}
/* uvodna animacija prvog ekrana */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slowZoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}
@keyframes scrollLine {
  0% { top: -100%; }
  60%, 100% { top: 100%; }
}
@keyframes honeyDraw {
  0% { stroke-dashoffset: 240; }
  30%, 70% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -240; }
}
@keyframes honeyFill {
  0%, 100% { fill-opacity: 0; }
  50% { fill-opacity: .16; }
}
@keyframes waveMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .honeycomb path { animation: none !important; stroke-dashoffset: 0; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
/* ==================================================================================
16. Intro
===================================================================================== */
.intro{
  position: relative;
  color: var(--cream);
  padding: 12rem 0 11rem;
  min-height: 56rem;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #1f2328;
}
.intro-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 30% 60%;
	z-index: 0;
  animation: fadeIn 2.2s var(--ease) both, slowZoom 14s var(--ease-slow) both;
}
.intro-video{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  container-type: size;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
}
.intro-video.is-playing{
  opacity: 1;
}
.intro-video iframe{
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%) scale(1.4);
  border: 0;
  pointer-events: none;
}
.intro-overlay{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(20,22,18,.38) 0%, rgba(20,22,18,0) 22%),
    linear-gradient(0deg, rgba(24,22,18,.62) 0%, rgba(24,22,18,.18) 45%, rgba(24,22,18,0) 70%),
    linear-gradient(90deg, rgba(24,22,18,.28) 0%, rgba(24,22,18,0) 60%);
}
.intro-inner{
  position: relative;
  max-width: 90rem;
  width: 100%;
}
.intro .title{
  margin-bottom: 2.6rem;
}
.intro .subtitle{
  top: 11rem;
  right: auto;
  left: 2rem;
  animation: fadeIn 1.6s var(--ease) .5s both;
}
.intro h1{
  animation: fadeUp 1.8s var(--ease-slow) .8s both;
}
.intro p{
  max-width: 40ch;
  font-size: clamp(1.6rem, .4vw + 1.4rem, 1.9rem);
  opacity: .92;
  margin-bottom: 1rem;
  animation: fadeUp 1.6s var(--ease-slow) 1.15s both;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .intro .subtitle{
    left: 4rem;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .intro .subtitle{
    left: auto;
    right: 6.4rem;
    top: 16rem;
  }
}
.intro-btns{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 3.6rem;
  animation: fadeUp 1.6s var(--ease-slow) 1.5s both;
}
.intro-btns .btn-sm{
  margin-top: 3rem;
}
.scroll-hint{
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  font-size: 1rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(246,241,232,.8);
  text-decoration: none;
  animation: fadeIn 1.6s var(--ease) 2s both;
}
.scroll-hint span{
  display: none;
  writing-mode: vertical-rl;
}
.scroll-hint i{
  position: relative;
  display: block;
  width: 1px;
  height: 5.6rem;
  background-color: rgba(246,241,232,.25);
  overflow: hidden;
}
.scroll-hint i::after{
  content: '';
  position: absolute;
  left: 0;
  top: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--cream);
  animation: scrollLine 2.8s var(--ease) infinite;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .intro{
    padding-bottom: 14rem;
  }
  .intro-bg{
    object-position: 50% 60%;
  }
  .scroll-hint{
    left: auto;
    right: 6rem;
    bottom: 4rem;
    transform: none;
  }
  .scroll-hint span{
    display: block;
  }
}
/* ==================================================================================
17. Features
===================================================================================== */
.features{
  border-bottom: 1px solid var(--line);
}
.features ul{
  list-style: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.features li{
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 2.8rem 0 2.8rem 2rem;
  border-left: 1px solid var(--line);
}
.features li:nth-child(odd){
  border-left: 0;
  padding-left: 0;
}
.features li:nth-child(n+3){
  border-top: 1px solid var(--line);
}
.features strong{
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-primary);
}
.features span{
  font-size: 1.3rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-soft);
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .features ul{
    grid-template-columns: repeat(4, 1fr);
  }
  .features li{
    flex-direction: row;
    align-items: baseline;
    gap: 1.4rem;
    padding: 3.8rem 2.8rem;
  }
  .features li:nth-child(odd){
    border-left: 1px solid var(--line);
    padding-left: 2.8rem;
  }
  .features li:first-child{
    border-left: 0;
    padding-left: 0;
  }
  .features li:nth-child(n+3){
    border-top: 0;
  }
}
/* ==================================================================================
18. About
===================================================================================== */

@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .about .container > .subtitle{
    top: 9rem;
    right: auto;
    left: 1.2rem;
  }
}
.about-text p{
  max-width: 46ch;
}
.about-detail{
  display: none;
}
.about-image{
  margin-top: 5.6rem;
}
.about-image .image{
  aspect-ratio: 4 / 4.6;
}
.about-image img{
  object-position: 38% 50%;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .about .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .about-text{
    grid-column: 1 / span 5;
    padding-top: 9rem;
    padding-left: 14rem;
  }
  .about .title{
    margin-bottom: 4.8rem;
  }
  .about-detail{
    display: block;
    width: 62%;
    margin: 7.2rem 0 0 22%;
    aspect-ratio: 4 / 5;
  }
  .about-image{
    grid-column: 7 / span 6;
    margin-top: 0;
  }
  .about-image .image{
    aspect-ratio: 4 / 5.6;
  }
}
/* ==================================================================================
19. Apartments
===================================================================================== */
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .apartments .container > .subtitle{
    top: .6rem;
  }
}
.apartments .title p{
  max-width: 60rem;
  margin: 2.4rem 0 0;
}
.apartments-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 5.6rem;
}
.apartment-box{
  display: block;
  text-decoration: none;
  color: inherit;
}
.apartment-box .image{
  aspect-ratio: 4 / 3.4;
  background-color: var(--sand);
}
.apartment-box img{
  filter: saturate(.86) brightness(1.02);
  transition: transform 1.6s var(--ease-slow), filter 1.6s var(--ease-slow);
}
.apartment-box:hover img{
  transform: scale(1.045);
  filter: saturate(.95) brightness(1.03);
}
.apartment-info{
  padding-top: 2.2rem;
}
.apartment-info .app-info{
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--wood);
  margin-bottom: .4rem;
}
.apartment-info h3{
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 .8rem;
}
.apartment-info p{
  font-size: 1.4rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}
.apartment .btn-sm{
  font-size: 1.2rem;
  opacity: .55;
  transition: opacity .8s var(--ease);
}
.apartment-box .btn-sm::after{
  display: none;
}
.apartment-box:hover .btn-sm{
  opacity: 1;
}
.apartment-box:hover .btn-sm svg{
  transform: translateX(6px);
}
.apartments-grid .apartment-box:nth-child(2){ transition-delay: .12s; }
.apartments-grid .apartment-box:nth-child(3){ transition-delay: .24s; }
.apartments-grid .apartment-box:nth-child(4){ transition-delay: .36s; }
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .apartments-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 5.6rem 2.4rem;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .apartments .title{
    align-items: end;
    margin-bottom: 10rem;
  }
  .apartments .title h2{
    margin-bottom: 3rem;
  }
  
}
@media only screen and (min-width: 75.0625em) {
  /*1201px*/
  .apartments-grid{
    grid-template-columns: repeat(4, 1fr);
    gap: 2.8rem;
  }
  .apartment-box:nth-child(even){
    margin-top: 7.2rem;
  }
  .apartment-box .image{
    aspect-ratio: 3 / 4;
  }
}
/* ================================================================================== 20. Pool ===================================================================================== */
.pool{
  position: relative;
}
.pool::before{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 16rem;
  background: linear-gradient(var(--white), var(--sand));
}
.pool-image .subtitle{
  top: auto;
  right: auto;
  left: 2rem;
  bottom: 2.4rem;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .pool-image .subtitle{
    left: 4.8rem;
    bottom: 4.4rem;
  }
}
.pool-image{
  --grow: 1;
  position: relative;
  height: 70vh;
  min-height: 42rem;
  clip-path: inset(calc((1 - var(--grow)) * 22%) calc((1 - var(--grow)) * 30%));
  will-change: clip-path;
}
.pool-image img{
  object-position: 50% 70%;
  transform: scale(calc(1.18 - var(--grow) * .18));
  will-change: transform;
}
.pool-image .subtitle{
  opacity: calc(var(--grow) * 3 - 2);
}
.pool-content{
  padding-top: 7.2rem;
}
.pool-text{
  padding-top: 3.2rem;
}
.pool-text .text-top{
  margin-bottom: 4.4rem;
}
.pool{
  overflow: hidden;
}
.pool-content > *:not(.pool-waves){
  position: relative;
  z-index: 1;
}
.pool-waves{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4rem;
  height: 22rem;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 70%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 70%, transparent 100%);
}
.wave{
  position: absolute;
  left: 0;
  width: 200%;
  height: 4.8rem;
  fill: none;
  stroke: var(--wood);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  animation: waveMove 28s linear infinite;
}
.wave path{
  vector-effect: non-scaling-stroke;
}
.wave-1{ top: 2rem; opacity: .55; }
.wave-2{ top: 6rem; opacity: .4; animation-duration: 36s; animation-direction: reverse; }
.wave-3{ top: 10rem; opacity: .28; animation-duration: 44s; }
.wave-4{ top: 14rem; opacity: .18; animation-duration: 52s; animation-direction: reverse; }
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .pool-waves{
    right: 50%;
    bottom: -9rem;
    height: 22rem;
  }
}
.pool .lined-list li{
  display: flex;
  align-items: center;
  gap: 1.8rem;
  color: var(--color-secondary);
}
.pool .lined-list img{
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
}
/* galerija */
.gallery{
  margin-top: 8rem;
}
.gallery-slider,
.gallery-tab-slider{
  overflow: visible;
}
.gallery-item .image{
  aspect-ratio: 4 / 5;
}
.gallery-item img{
  transition: transform 1.6s var(--ease-slow);
}
.gallery-item:hover img{
  transform: scale(1.04);
}
.gallery-nav{
  display: flex;
  align-items: center;
  gap: 3.2rem;
  margin-top: 4rem;
}
.gallery-progress.swiper-pagination-progressbar{
  position: relative;
  flex: 1;
  height: 1px;
  background-color: var(--line);
}
.gallery-progress .swiper-pagination-progressbar-fill{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-secondary);
  transform-origin: left top;
}
.gallery-arrows{
  display: flex;
  gap: 1.2rem;
}
.gallery-nav .custom-arrow{
  position: static;
  transform: none;
  width: 5.2rem;
  height: 5.2rem;
  background-color: transparent;
  border-color: rgba(45,41,36,.3);
  background-size: .7rem;
  transition: var(--transition-slow);
}
.gallery-nav .custom-arrow:hover{
  background-color: var(--white);
  border-color: var(--white);
}
.gallery-nav .swiper-button-disabled{
  opacity: .35;
  pointer-events: none;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .pool-image{
    height: 88vh;
    max-height: 92rem;
    margin: 0 3.6rem;
  }
  .pool-content{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
    padding-top: 14rem;
  }
  .pool-heading{
    grid-column: 1 / span 5;
  }
  .pool-text{
    grid-column: 7 / span 5;
    padding-top: 1.2rem;
  }
  .gallery{
    margin-top: 14rem;
  }
}
/* ==================================================================================
21. Island
===================================================================================== */
.island-image{
  position: relative;
}
.island-image .subtitle{
  right: 0;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .island-image .subtitle{
    top: 0;
    right: -4.6rem;
  }
}
.island-image .image{
  aspect-ratio: 4 / 4.4;
}
.island img{
  filter: saturate(.82) contrast(.98);
}
.island-text{
  padding-top: 7.2rem;
  color: var(--text-soft);
}
.island-text .title{
  color: var(--color-secondary);
}
.island-places{
  margin-top: 3.6rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 2.1;
}
.island-places span{
  display: inline-block;
}
.island-places span:not(:last-child)::after{
  content: "·";
  color: var(--wood);
  padding: 0 .8rem;
}
.island-detail{
  width: 62%;
  margin: 5.6rem 0 0 auto;
}
.island-detail .image{
  aspect-ratio: 4 / 3;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .island .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .island-image{
    grid-column: 1 / span 7;
    grid-row: 1 / span 2;
  }
  .island-text{
    grid-column: 9 / span 4;
    padding-top: 9rem;
  }
  .island-detail{
    grid-column: 9 / span 3;
    width: auto;
    margin: 6.4rem 0 0;
  }
}
/* ==================================================================================
22. Family
===================================================================================== */
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .family .container > .subtitle{
    top: 0;
    right: 1.2rem;
  }
}
.family{
  position: relative;
  overflow: hidden;
}
.family .container{
  z-index: 1;
}
.family-text{
  max-width: 62ch;
}
.family-image{
  margin-top: 5.6rem;
  aspect-ratio: 4 / 3.4;
}
.family-detail{
  position: relative;
  z-index: 2;
  width: 60%;
  margin: -8rem 0 0 auto;
  aspect-ratio: 4 / 3;
  border: .8rem solid var(--color-primary-darker);
}
.family img{
  filter: saturate(.9) sepia(.08);
}
/* animirano saće u pozadini - ćelije se polako iscrtavaju, neke se pune bojom meda */
.honeycomb{
  position: absolute;
  z-index: 0;
  top: 2rem;
  right: -14rem;
  width: 36rem;
  height: auto;
  pointer-events: none;
}
.honeycomb path{
  fill: #C9A24E;
  fill-opacity: 0;
  stroke: var(--stone);
  stroke-width: 1;
  stroke-opacity: .32;
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: honeyDraw 14s var(--ease) infinite;
  animation-delay: var(--d, 0s);
}
.honeycomb .honey{
  animation: honeyDraw 14s var(--ease) infinite, honeyFill 9s ease-in-out infinite;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + 2s);
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .family.space-lg{
    padding: 12rem 0;
  }
  .family .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .family-text{
    grid-column: 1 / span 6;
    grid-row: 1;
    padding-top: 0;
  }
  .family-image{
    grid-column: 8 / span 5;
    grid-row: 1;
    margin-top: 0;
    aspect-ratio: 4 / 3.8;
  }
  .family-detail{
    grid-column: 7 / span 3;
    grid-row: 2;
    width: auto;
    margin: -12rem 0 0 -4rem;
    aspect-ratio: 4 / 2.8;
  }
  .honeycomb{
    top: auto;
    right: auto;
    left: -8rem;
    bottom: -6rem;
    width: 70rem;
  }
}
/* ==================================================================================
23. Reviews
===================================================================================== */
.reviews{
  position: relative;
  background-color: var(--cream);
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .reviews .container > .subtitle{
    top: 0;
    right: 1.2rem;
  }
}
.reviews .title{
  margin-bottom: 4rem;
}
.reviews-slider-wrap{
  position: relative;
  text-align: center;
}
.review-mark{
  display: block;
  height: 7rem;
  font-family: var(--font-serif);
  font-size: 14rem;
  line-height: 1;
  color: var(--wood);
  opacity: .45;
}
.review{
  background-color: var(--cream);
  padding: 0 1rem;
}
.review blockquote p{
  max-width: 28ch;
  margin: 0 auto 3.6rem;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 2.2vw + 1.6rem, 4.4rem);
  line-height: 1.3;
}
.review cite{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-style: normal;
}
.review cite strong{
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.review cite span{
  font-size: 1.4rem;
  color: var(--text-soft);
}
.reviews-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
  margin-top: 5.6rem;
}
.reviews-nav .custom-arrow{
  position: static;
  transform: none;
  width: 5.2rem;
  height: 5.2rem;
  background-color: transparent;
  border-color: rgba(45,41,36,.3);
  background-size: .7rem;
  transition: var(--transition-slow);
}
.reviews-nav .custom-arrow:hover{
  background-color: var(--white);
  border-color: var(--white);
}
.reviews-pagination{
  min-width: 8rem;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--text-soft);
}
.reviews-pagination .swiper-pagination-current{
  color: var(--color-secondary);
}
/* ==================================================================================
24. Pricing
===================================================================================== */
.pricing{
  position: relative;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .pricing .container > .subtitle{
    top: 0;
    right: auto;
    left: 1.2rem;
  }
}
.pricing-text p{
  max-width: 46ch;
}
.pricing-notes ul{
  list-style: none;
  margin: 3.2rem 0 0;
  max-width: 50ch;
}
.pricing-notes li{
  position: relative;
  padding-left: 3.2rem;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  color: var(--text-soft);
}
.pricing-notes li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 1.8rem;
  height: 1px;
  background-color: var(--wood);
}
.pricing-list{
  list-style: none;
  margin: 6.4rem 0 0;
}
.pricing-list li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.8rem 0;
  border-top: 1px solid var(--line);
  transition: padding .7s var(--ease-slow), background-color .7s var(--ease);
}
.pricing-list li:last-child{
  border-bottom: 1px solid var(--line);
}
.pricing-season h3{
  margin: 0 0 .4rem;
  font-size: clamp(2.4rem, 1vw + 1.8rem, 3rem);
  line-height: 1.1;
}
.pricing-season span,
.pricing-price span{
  font-size: 1.3rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.pricing-price{
  display: flex;
  align-items: baseline;
  gap: 1rem;
  white-space: nowrap;
}
.pricing-price strong{
  font-family: var(--font-serif);
  font-variant-numeric: lining-nums;
  font-size: clamp(3.2rem, 1.6vw + 2.4rem, 4.8rem);
  font-weight: 400;
  line-height: 1;
}
.pricing-list .pricing-featured{
  background-color: var(--cream);
  padding-left: 2rem;
  padding-right: 2rem;
}
.pricing-list .pricing-featured strong{
  color: var(--color-primary);
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .pricing .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .pricing-text{
    grid-column: 1 / span 5;
  }
  .pricing-list{
    grid-column: 7 / span 6;
    margin-top: 1rem;
  }
  .pricing-list li:hover{
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
/* ==================================================================================
25. FAQ
===================================================================================== */
.faq{
  position: relative;
  background-color: var(--cream);
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .faq .container > .subtitle{
    top: 0;
    right: auto;
    left: 1.2rem;
  }
}
.faq-text p{
  max-width: 40ch;
}
.accordion{
  margin-top: 6.4rem;
  border-top: 1px solid var(--line);
}
.accordion-item{
  border-bottom: 1px solid var(--line);
}
.accordion-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  width: 100%;
  padding: 2.6rem 0;
  background: none;
  text-align: left;
  color: var(--color-secondary);
  cursor: pointer;
}
.accordion-head span{
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, .8vw + 1.8rem, 2.8rem);
  line-height: 1.25;
  transition: color .5s var(--ease);
}
.accordion-head:hover span,
.accordion-item.active .accordion-head span{
  color: var(--color-primary);
}
/* plus koji postaje minus */
.accordion-head i{
  position: relative;
  flex-shrink: 0;
  width: 4.4rem;
  height: 4.4rem;
  border: 1px solid rgba(45,41,36,.25);
  border-radius: var(--radius-full);
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.accordion-head i::before,
.accordion-head i::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.4rem;
  height: 1px;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .6s var(--ease-slow);
}
.accordion-head i::after{
  transform: translate(-50%, -50%) rotate(90deg);
}
.accordion-item.active .accordion-head i{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--cream);
}
.accordion-item.active .accordion-head i::after{
  transform: translate(-50%, -50%) rotate(0deg);
}
/* glatko otvaranje bez računanja visine */
.accordion-body{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .7s var(--ease-slow);
}
.accordion-item.active .accordion-body{
  grid-template-rows: 1fr;
}
.accordion-content{
  overflow: hidden;
}
.accordion-content p{
  max-width: 62ch;
  padding-right: 6.8rem;
  color: var(--text-soft);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.accordion-content p:last-child{
  padding-bottom: 2.4rem;
  margin-bottom: 0;
}
.accordion-item.active .accordion-content p{
  opacity: 1;
  transition-delay: .15s;
}
.accordion-content a{
  color: var(--color-primary);
  text-underline-offset: .3rem;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .faq .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .faq-text{
    grid-column: 1 / span 4;
  }
  .accordion{
    grid-column: 6 / span 7;
    margin-top: 1rem;
  }
}
/* ==================================================================================
26. Contact
===================================================================================== */
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .contact .container > .subtitle{
    top: 0;
    right: auto;
    left: 1.2rem;
  }
}
.contact{
  background: linear-gradient(var(--white), var(--cream));
  text-align: center;
}
.contact .title h2{
  font-size: clamp(5.2rem, 7vw + 1rem, 12.4rem);
}
.contact .title{
  margin-bottom: 3.6rem;
}
.contact p{
  color: var(--text-soft);
}
.contact-links{
  margin-top: 5.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 4rem;
  font-size: 1.6rem;
  letter-spacing: .08em;
  color: var(--text-soft);
}
.contact-links a{
  text-decoration: none;
  transition: var(--transition-slow);
}
.contact-links a:hover{
  color: var(--color-primary);
}
/* ==================================================================================
27. Footer
===================================================================================== */
.footer-waves{
  position: relative;
  height: 14rem;
  overflow: hidden;
  background-color: var(--cream);
}
footer .header-logo{
  z-index: 0;
}
.footer-waves .wave-1{ top: 1.6rem; opacity: .5; }
.footer-waves .wave-2{ top: 4rem; opacity: .35; }
.footer-waves .wave-3{ top: 6.4rem; opacity: .22; }
.footer-wave-fill{
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 200%;
  height: 6rem;
  fill: var(--color-secondary);
  animation: waveMove 40s linear infinite reverse;
}
.footer-links{
  list-style: none;
  margin: 0;
}
.footer-links a{
  position: relative;
}
.footer-links a::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: -.2rem;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease-slow);
}
.footer-links a:hover::after{
  transform: scaleX(1);
  transform-origin: left;
}

footer{
  background-color: var(--color-secondary);
  color: rgba(246,241,232,.66);
  padding: 8rem 0 5rem;
  font-size: 1.6rem;
  line-height: 1.9;
}
footer .container{
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
  text-align: center;
}
footer .header-logo{
  color: var(--cream);
}
footer h4{
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 0 0 1.4rem;
}
footer p{
  margin: 0;
}
footer a, .copyright a{
  text-decoration: none;
  transition: var(--transition-slow);
}
footer a:hover{
  color: var(--cream);
}
.copyright{
  background-color: var(--color-secondary);
  color: rgba(246,241,232,.66);
  font-size: 1.2rem;
  letter-spacing: .08em;
}
.copyright .container{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding-top: 2.8rem;
  padding-bottom: 2.8rem;
  border-top: 1px solid rgba(246,241,232,.12);
}
.copyright img{
  opacity: .55;
  transition: var(--transition-slow);
}
.copyright a:hover img{
  opacity: 1;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  footer .container{
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .copyright .container{
    flex-direction: row;
    justify-content: space-between;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  footer{
    padding-top: 9.6rem;
  }
  footer .container{
    grid-template-columns: 1.6fr repeat(4, 1fr);
    gap: 4rem;
  }
}
/* ==================================================================================
28. Page Intro
===================================================================================== */
.page-intro{
  height: 72vh;
  height: 72svh;
  min-height: 52rem;
  padding-bottom: 8rem;
}
.page-intro .breadcrumbs{
  padding: 0;
  margin-bottom: 2.4rem;
  font-size: 1.1rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  animation: fadeIn 1.6s var(--ease) .6s both;
}
.page-intro .breadcrumbs ul li{
  font-weight: 400;
  color: var(--cream);
}
.page-intro .breadcrumbs ul li::after{
  opacity: .5;
}
.page-intro .breadcrumbs ul li a{
  color: inherit;
  opacity: .7;
  transition: var(--transition-slow);
}
.page-intro .breadcrumbs ul li a:hover{
  opacity: 1;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .page-intro{
    padding-bottom: 12rem;
  }
}
/* ==================================================================================
29. Apartments Page
===================================================================================== */
.apartments-top-text .text-top p{
  margin-bottom: 2.4rem;
}
.apartments-top-text .text-soft p{
  max-width: 52ch;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .apartments-top .container > .subtitle,
  .amenities .container > .subtitle,
  .good-to-know .container > .subtitle{
    top: 0;
    right: auto;
    left: 1.2rem;
  }
  .apartments-top .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .apartments-top .title{
    grid-column: 1 / span 5;
    margin-bottom: 0;
  }
  .apartments-top-text{
    grid-column: 7 / span 5;
    padding-top: 1.2rem;
  }
}
.apartment-row{
  display: grid;
  gap: 4rem;
}
.apartment-row + .apartment-row{
  margin-top: 9rem;
}
.apartment-row-media{
  position: relative;
}
.apartment-row-media > .image{
  aspect-ratio: 4 / 3.4;
  background-color: var(--sand);
}
.apartment-row img{
  filter: saturate(.86) brightness(1.02);
}
.apartment-row-detail{
  display: none;
}
.apartment-row .app-number{
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(6rem, 4vw + 3rem, 10rem);
  line-height: 1;
  color: var(--wood);
  opacity: .55;
}
.apartment-row-text h2{
  font-size: clamp(3.6rem, 2.4vw + 2rem, 6rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 1.2rem 0 1.6rem;
}
.apartment-row-text .text-soft p{
  max-width: 46ch;
}
.apartment-row-small{
  font-size: 1.3rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 2rem;
}
.apartment-row-small span{
  display: inline-block;
}
.apartment-row-small span + span::before{
  content: "·";
  color: var(--wood);
  padding: 0 .8rem;
}
.apartment-row-btns{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem 3.2rem;
  margin-top: 3.2rem;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .apartment-row{
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    row-gap: 0;
    align-items: center;
  }
  .apartment-row + .apartment-row{
    margin-top: 18rem;
  }
  .apartment-row-media{
    grid-column: 1 / span 7;
    grid-row: 1;
  }
  .apartment-row-text{
    grid-column: 9 / span 4;
    grid-row: 1;
  }
  .apartment-row:nth-child(even) .apartment-row-media{
    grid-column: 6 / span 7;
  }
  .apartment-row:nth-child(even) .apartment-row-text{
    grid-column: 1 / span 4;
  }
  .apartment-row-media > .image{
    aspect-ratio: 4 / 3.2;
  }
  .apartment-row-detail{
    display: block;
    position: absolute;
    right: -6%;
    bottom: -12%;
    width: 32%;
    aspect-ratio: 4 / 5;
    border: .8rem solid var(--white);
  }
  .apartment-row:nth-child(even) .apartment-row-detail{
    right: auto;
    left: -6%;
  }
}
.amenities-text p{
  max-width: 40ch;
}
.amenities-lists{
  display: grid;
  gap: 4.8rem;
}
.amenities-box h3{
  font-family: var(--font-sans);
  font-size: 1.2rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--wood);
  margin: 0 0 1.6rem;
}
.amenities .lined-list li{
  display: flex;
  align-items: center;
  gap: 1.8rem;
  color: var(--color-secondary);
}
.amenities .lined-list img,
.amenities .lined-list svg{
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
}
.amenities-box:nth-child(2){
  transition-delay: .12s;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .amenities-lists{
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .amenities .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .amenities-text{
    grid-column: 1 / span 4;
  }
  .amenities-lists{
    grid-column: 6 / span 7;
    margin-top: 1rem;
  }
}
.good-to-know-list ul{
  list-style: none;
  margin: 0;
  display: grid;
  border-bottom: 1px solid var(--line);
  counter-reset: good-to-know;
}
.good-to-know-list li{
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
  counter-increment: good-to-know;
}
.good-to-know-list li::before{
  content: counter(good-to-know, decimal-leading-zero);
  display: block;
  line-height: 1.75;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  color: var(--wood);
}
.good-to-know-list h3{
  margin: .6rem 0 1.2rem;
  font-size: clamp(2.4rem, 1vw + 1.8rem, 3rem);
  line-height: 1.1;
}
.good-to-know-list p{
  max-width: 42ch;
  margin: 0;
  font-size: 1.6rem;
  color: var(--text-soft);
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .good-to-know-list ul{
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .good-to-know .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .good-to-know-text{
    grid-column: 1 / span 4;
  }
  .good-to-know-list{
    grid-column: 6 / span 7;
    margin-top: 1rem;
  }
}
.apartment-row-media > a.image{
  display: block;
}
.apartment-row-media > a.image img{
  transition: transform 1.6s var(--ease-slow), filter 1.6s var(--ease-slow);
}
.apartment-row-media > a.image:hover img{
  transform: scale(1.045);
  filter: saturate(.95) brightness(1.03);
}
.apartment-row-text h2 a{
  text-decoration: none;
  transition: color .7s var(--ease);
}
.apartment-row-text h2 a:hover{
  color: var(--color-primary);
}
/* ==================================================================================
30. Apartment Page
===================================================================================== */
.apartment-specs{
  margin: 3.2rem 0 0;
  max-width: 46rem;
  border-top: 1px solid var(--line);
}
.apartment-specs div{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.apartment-specs span:nth-child(1){
  font-size: 1.2rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.apartment-specs span:nth-child(2){
  margin: 0;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.3;
  text-align: right;
  font-variant-numeric: lining-nums;
}
.apartment-gallery{
  overflow: hidden;
}
.apartment-gallery .gallery{
  margin-top: 0;
}
.gallery-item a.image{
  display: block;
  cursor: zoom-in;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .apartment-gallery .container > .subtitle{
    top: 0;
    right: auto;
    left: 1.2rem;
  }
}
@media only screen and (min-width: 75.0625em) {
  /*1201px*/
  .apartments-grid-3{
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}

.gallery-tabs{
  display: flex;
  gap: 2.4rem;
  margin: 0 -2rem 5.6rem;
  padding: 0 2rem;
  justify-content: flex-start;
  overflow-x: auto;
  margin-bottom: 5rem;
  scrollbar-width: none;
}
.gallery-tabs::-webkit-scrollbar{
  display: none;
}
.gallery-tab{
  position: relative;
  flex-shrink: 0;
  padding: .8rem 0;
  background: none;
  font-size: 1.2rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-soft);
  cursor: pointer;
  transition: color .7s var(--ease);
}
.gallery-tab::after{
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .7s var(--ease-slow);
}
.gallery-tab:hover,
.gallery-tab.active{
  color: var(--color-secondary);
}
.gallery-tab.active::after{
  transform: scaleX(1);
  transform-origin: left;
}
.gallery-panel{
  display: none;
}
.gallery-panel.active{
  display: block;
  animation: fadeIn 1s var(--ease) both;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .gallery-tabs{
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem 3.2rem;
    margin: 0 0 6.4rem;
    margin-bottom: 5rem;
    padding: 0;
    overflow: visible;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/

  .gallery-tabs{
    justify-content: center;
    max-width: 140rem;
    margin: 0 auto;
    margin-bottom: 5rem;
  }
}
/* ==================================================================================
31. Popup
===================================================================================== */
body.popup-open{
  overflow: hidden;
}
.popup{
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.popup.open{
  opacity: 1;
  visibility: visible;
  transition: opacity .5s var(--ease);
}
.popup-overlay{
  position: absolute;
  inset: 0;
  background-color: rgba(30,27,23,.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.popup-box{
  position: relative;
  width: 100%;
  max-width: 76rem;
  max-height: calc(100vh - 4rem);
  max-height: calc(100svh - 4rem);
  overflow-y: auto;
  background-color: var(--cream-light);
  padding: 5.6rem 2.4rem 4rem;
  transform: translateY(30px);
  transition: transform .9s var(--ease-slow);
}
.popup.open .popup-box{
  transform: translateY(0);
}
.popup-close{
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 4.4rem;
  height: 4.4rem;
  background: none;
  cursor: pointer;
}
.popup-close::before,
.popup-close::after{
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2rem;
  height: 1px;
  background-color: var(--color-secondary);
  transition: transform .7s var(--ease-slow);
}
.popup-close::before{
  transform: translate(-50%, -50%) rotate(45deg);
}
.popup-close::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}
.popup-close:hover::before{
  transform: translate(-50%, -50%) rotate(135deg);
}
.popup-close:hover::after{
  transform: translate(-50%, -50%) rotate(45deg);
}
.popup-label{
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--wood);
}
.popup-box h2{
  font-size: clamp(3.6rem, 3vw + 2rem, 5.6rem);
  line-height: 1.08;
  margin: 1.6rem 0;
}
.popup-box > p{
  max-width: 50ch;
}
.inquiry-form{
  display: grid;
  gap: 2.8rem 3.2rem;
  margin-top: 4rem;
}
.inquiry-form fieldset{
  min-width: 0;
}
.inquiry-form label{
  margin-bottom: .2rem;
  font-size: 1.1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea{
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(45,41,36,.3);
  border-radius: 0;
  background-color: transparent;
  font-size: 1.6rem;
  color: var(--color-secondary);
  transition: border-color .5s var(--ease);
}
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus{
  border-color: var(--color-primary);
}
.inquiry-form select{
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232D2924' stroke-width='1.2'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 1.4rem;
  cursor: pointer;
}
.inquiry-form textarea{
  height: 12rem;
}
.inquiry-form-footer{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: .8rem;
  font-size: 1.3rem;
  color: var(--text-soft);
}
.inquiry-form-footer .btn{
  margin-top: 0;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .popup-box{
    padding: 7.2rem 6.4rem 6.4rem;
  }
  .popup-close{
    top: 2.4rem;
    right: 2.4rem;
  }
  .inquiry-form{
    grid-template-columns: repeat(2, 1fr);
  }
  .inquiry-form .fieldset-full,
  .inquiry-form-footer{
    grid-column: 1 / -1;
  }
}
.inquiry-form .flatpickr-wrapper{
  display: block;
  width: 100%;
}
.inquiry-form .date-input{
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D2924' stroke-width='1.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='1.2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 1.8rem;
  cursor: pointer;
}
.flatpickr-calendar{
  font-family: var(--font-sans);
  border-radius: var(--radius-xs);
  background-color: var(--white);
  box-shadow: 0 2rem 5rem rgba(30,27,23,.16);
}
.flatpickr-calendar.static{
  top: calc(100% + .8rem);
  z-index: 5;
}
.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after{
  display: none;
}
.flatpickr-months{
  padding: .6rem 0;
}
.flatpickr-current-month{
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
}
.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year{
  font-weight: 500;
}
.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month{
  top: .6rem;
}
.flatpickr-months .flatpickr-prev-month:hover svg,
.flatpickr-months .flatpickr-next-month:hover svg{
  fill: var(--color-primary);
}
span.flatpickr-weekday{
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.flatpickr-day{
  border-radius: var(--radius-xs);
  color: var(--color-secondary);
}
.flatpickr-day:hover,
.flatpickr-day:focus{
  background-color: var(--sand);
  border-color: var(--sand);
}
.flatpickr-day.today{
  border-color: var(--wood);
}
.flatpickr-day.today:hover{
  background-color: var(--sand);
  border-color: var(--wood);
  color: var(--color-secondary);
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover,
.flatpickr-day.selected:focus{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--cream);
}
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay{
  color: rgba(45,41,36,.25);
}
.inquiry-form .flatpickr-calendar select,
.inquiry-form .flatpickr-calendar input{
  display: inline-block;
  width: auto;
  padding: 0 0 0 .5ch;
  border: 0;
  background: transparent;
  font-size: inherit;
  color: inherit;
}
.inquiry-form .flatpickr-calendar .numInputWrapper input{
  width: 100%;
}
/* ==================================================================================
32. Island Page
===================================================================================== */
.verunic-text p{
  max-width: 46ch;
}
.verunic-quote{
  margin: 5.6rem 0 0;
  padding-left: 2.8rem;
  border-left: 1px solid var(--wood);
}
.verunic-quote p{
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(2.6rem, 1.4vw + 2rem, 3.8rem);
  line-height: 1.35;
  color: var(--cream);
}
.verunic-quote cite{
  display: block;
  margin-top: 2.4rem;
  font-size: 1.2rem;
  font-style: normal;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--stone);
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .verunic .container > .subtitle{
    top: 0;
    right: 1.2rem;
  }
  .verunic .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: center;
  }
  .verunic-text{
    grid-column: 1 / span 5;
  }
  .verunic-quote{
    grid-column: 7 / span 5;
    margin: 0;
    padding-left: 4.8rem;
  }
}
.island-about{
  position: relative;
  overflow: hidden;
}
.island-about .about-text,
.island-about .about-image,
.island-about-detail{
  position: relative;
  z-index: 1;
}
.island-about .text-top p{
  margin-bottom: 2.4rem;
}
.island-about-detail{
  width: 62%;
  margin: 5.6rem 0 0 auto;
}
.island-about-detail .image{
  aspect-ratio: 4 / 3;
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .island-about .about-text{
    grid-row: 1 / span 2;
  }
  .island-about .about-image{
    grid-row: 1;
  }
  .island-about-detail{
    grid-column: 9 / span 4;
    grid-row: 2;
    width: auto;
    margin: 6.4rem 0 0;
  }
  .island-about .pool-waves{
    right: 50%;
    bottom: -9rem;
  }
}
/* ==================================================================================
33. Api-Komerc Page
===================================================================================== */
.videos-list{
  display: grid;
  gap: 4rem;
}
.video{
  margin: 0;
}
.video-play{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  overflow: hidden;
  background-color: var(--color-secondary);
  cursor: pointer;
}
.video-play img,
.video-play iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-play img{
  object-fit: cover;
  filter: saturate(.85) brightness(.85);
  transition: transform 1.6s var(--ease-slow), filter 1.6s var(--ease-slow);
}
.video-play:hover img{
  transform: scale(1.045);
  filter: saturate(.95) brightness(.95);
}
.video-icon{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(246,241,232,.7);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: background-color .7s var(--ease), border-color .7s var(--ease);
}
.video-icon::after{
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  border-style: solid;
  border-width: .9rem 0 .9rem 1.5rem;
  border-color: transparent transparent transparent var(--cream);
  transform: translate(-50%, -50%);
}
.video-play:hover .video-icon{
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.video.playing .video-play{
  cursor: default;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .videos-list{
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.4rem;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .videos .container > .subtitle{
    top: 0;
    right: auto;
    left: 1.2rem;
  }
  .videos-list{
    column-gap: 4rem;
    padding: 0 4rem;
  }
  .video:nth-child(2){
    margin-top: 8rem;
  }
}
/* ==================================================================================
34. Gallery Page
===================================================================================== */

.gallery-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-flow: dense;
  gap: 1.2rem;
}
.gallery-grid .gallery-item{
  margin: 0;
}
.gallery-grid .gallery-item .image{
  height: 100%;
  aspect-ratio: 4 / 3;
}
.gallery-grid .gallery-item:nth-child(10n+1),
.gallery-grid .gallery-item:nth-child(10n+7){
  grid-column: span 2;
}
.gallery-grid .gallery-item:nth-child(10n+1) .image,
.gallery-grid .gallery-item:nth-child(10n+7) .image{
  aspect-ratio: 8 / 3;
}
.gallery-grid .gallery-item.is-hidden{
  display: none;
}
.gallery-grid .gallery-item.is-revealed{
  animation: fadeUp 1s var(--ease-slow) both;
}
.gallery-tab-count{
  margin-left: .4rem;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  letter-spacing: 0;
  color: var(--wood);
}
/* učitaj više */
.gallery-more{
  margin-top: 5.6rem;
  text-align: center;
}
.gallery-more-btn{
  font-family: inherit;
  color: var(--color-secondary);
  border-color: rgba(45,41,36,.3);
  cursor: pointer;
}
.gallery-more-btn:hover{
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--cream);
}
.gallery-more-btn:hover svg{
  transform: translateY(4px);
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .gallery-grid{
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .gallery-grid{
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
  }
}
/* ==================================================================================
35. Contact Page
===================================================================================== */

.contact-page .apartment-specs a{
  text-decoration: none;
  transition: color .5s var(--ease);
}
.contact-page .apartment-specs a:hover{
  color: var(--color-primary);
}
.contact-page-form{
  margin-top: 6.4rem;
  padding: 4rem 2.4rem;
  background-color: var(--cream-light);
}
.contact-page-form h3{
  font-size: clamp(3.6rem, 3vw + 2rem, 5.6rem);
  line-height: 1.08;
  margin: 1.6rem 0 3.2rem;
}
/* karta */
.contact-map-frame{
  aspect-ratio: 4 / 3;
  background-color: var(--sand);
}
.contact-map-frame iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.6) sepia(.15);
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .contact-page-form{
    padding: 6.4rem;
  }
  .contact-map-frame{
    aspect-ratio: 16 / 7;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .contact-page .container > .subtitle{
    top: 0;
    right: auto;
    left: 1.2rem;
  }
  .contact-page .container{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 2.4rem;
    align-items: start;
  }
  .contact-page-info{
    grid-column: 1 / span 5;
    position: sticky;
    top: 12rem;
  }
  .contact-page-form{
    grid-column: 7 / span 6;
    margin-top: 0;
  }
}
/* ==================================================================================
36. About Page
===================================================================================== */

.panorama .title-center p{
  margin: 0 auto 5.6rem;
  max-width: 50ch;
}
.panorama-frame{
  aspect-ratio: 4 / 5;
  background-color: var(--sand);
}
.panorama-frame iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
@media only screen and (min-width: 48.0625em) {
  /*769px*/
  .panorama-frame{
    aspect-ratio: 16 / 9;
  }
}
@media only screen and (min-width: 64.0625em) {
  /*1025px*/
  .panorama .container > .subtitle{
    top: 0;
    right: auto;
    left: 1.2rem;
  }
  .panorama-frame{
    aspect-ratio: 16 / 7;
    margin: 0 3.6rem;
  }
}
/* ==================================================================================
37. Text Page
===================================================================================== */
.page-intro-sm{
  height: 56vh;
  height: 56svh;
  min-height: 42rem;
}
.page-content-inner{
  max-width: 76rem;
  margin: 0 auto;
  color: var(--text-soft);
}
.page-content-date{
  font-size: 1.2rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wood);
}
.page-content-inner .text-top{
  margin-bottom: 3.2rem;
  color: var(--color-secondary);
}
.page-content-inner h2{
  margin: 6.4rem 0 2.4rem;
  padding-top: 3.2rem;
  border-top: 1px solid var(--line);
  font-size: clamp(3rem, 1.6vw + 2.2rem, 4.2rem);
  line-height: 1.1;
  color: var(--color-secondary);
}
.page-content-inner h3{
  margin: 3.2rem 0 1.2rem;
  font-size: clamp(2.2rem, .8vw + 1.8rem, 2.6rem);
  color: var(--color-secondary);
}
.page-content-inner ul{
  list-style: none;
  margin: 0 0 2.4rem;
  padding: 0;
}
.page-content-inner li{
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 1rem;
}
.page-content-inner li::before{
  content: '';
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 1.2rem;
  height: 1px;
  background-color: var(--wood);
}
.page-content-inner strong{
  font-weight: 500;
  color: var(--color-secondary);
}
.page-content-inner a{
  color: var(--color-primary);
  text-underline-offset: .3rem;
}
