/*
  Theme Name: TheEvent
  Theme URL: https://bootstrapmade.com/theevent-conference-event-bootstrap-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

html {
  overflow-x: hidden;
  background: #101522;
}

body {
  background: #101522;
  color: #2f3138;
  font-family: "Open Sans", sans-serif;
  overflow-x: hidden;
}

a {
  color: #4fc0a6;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #f8234a;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
  color: #0e1b4d;
}

.main-page {
  margin-top: 70px;
}

.wow {
  visibility: hidden;
}

/* Prelaoder */

#preloader {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #fff url("../img/preloader.svg") no-repeat center center;
}

/* Floating action buttons */
#back-to-top-fixed {
  position: fixed;
  display: none;
  background: #4fc0a6;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  border-radius: 50px;
  right: 15px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 67px);
  transition: background 0.5s ease-in-out;
  z-index: 2147483000;
}

#back-to-top-fixed i {
  font-size: 24px;
  padding-top: 8px;
}

#back-to-top-fixed:focus {
  background: #101522;
  color: #fff;
  outline: none;
}

#back-to-top-fixed:hover {
  background: #101522;
  color: #fff;
}

#whatsapp-fixed-btn {
  position: fixed !important;
  width: 44px;
  height: 44px;
  right: 15px !important;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 36px) !important;
  background: #4fc0a6;
  color: #fff;
  border-radius: 50%;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 2147483647 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: background 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  isolation: isolate;
  mix-blend-mode: normal;
}

#whatsapp-fixed-btn:hover,
#whatsapp-fixed-btn:focus {
  background: #101522;
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
  outline: none;
}

/* Sections Header
--------------------------------*/

.section-header {
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-header::before {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 5px;
  background: #4fc0a6;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-header h2 {
  font-size: 36px;
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header p {
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  color: #9195a2;
}

.section-with-bg {
  background-color: #f6f7fd;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  height: 90px;
  padding: 25px 0;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
}

#header.header-scrolled,
#header.header-fixed {
  background: rgba(6, 12, 34, 0.98);
  height: 70px;
  padding: 15px 0;
  transition: all 0.5s;
}

#header #logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 6px 0;
  line-height: 1;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header #logo h1 span {
  color: #4fc0a6;
}

#header #logo h1 a,
#header #logo h1 a:hover {
  color: #fff;
}

#header #logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Nav Menu Essentials */

.nav-menu,
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu ul {
  position: absolute;
  display: none;
  top: 100%;
  left: 0;
  z-index: 99;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu > li {
  float: left;
}

.nav-menu li:hover > ul,
.nav-menu li.sfHover > ul {
  display: block;
}

.nav-menu ul ul {
  top: 0;
  left: 100%;
}

.nav-menu ul li {
  min-width: 180px;
}

/* Nav Menu Arrows */

.sf-arrows .sf-with-ul {
  padding-right: 30px;
}

.sf-arrows .sf-with-ul:after {
  content: "\f107";
  position: absolute;
  right: 15px;
  font-family: FontAwesome;
  font-style: normal;
  font-weight: normal;
}

.sf-arrows ul .sf-with-ul:after {
  content: "\f105";
}

/* Nav Meu Container */

#nav-menu-container {
  float: right;
  margin: 0;
}

/* Nav Meu Styling */

.nav-menu a {
  padding: 8px;
  text-decoration: none;
  display: inline-block;
  color: rgba(202, 206, 221, 0.8);
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 14px;
  outline: none;
}

.nav-menu .menu-active a,
.nav-menu a:hover {
  color: #fff;
}

.nav-menu > li {
  margin-left: 8px;
}

.nav-menu > li > a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #4fc0a6;
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}

.nav-menu a:hover:before,
.nav-menu li:hover > a:before,
.nav-menu .menu-active > a:before {
  visibility: visible;
  width: 100%;
}

.nav-menu li.buy-tickets a {
  color: #fff;
  background: #4fc0a6;
  padding: 7px 22px;
  border-radius: 50px;
  border: 2px solid #4fc0a6;
  transition: all ease-in-out 0.3s;
  font-weight: 500;
  margin-left: 8px;
  margin-top: 2px;
  line-height: 1;
  font-size: 13px;
}

.nav-menu li.buy-tickets a:hover {
  background: none;
}

.nav-menu li.buy-tickets:hover a:before,
.nav-menu li.buy-tickets.menu-active a:before {
  visibility: hidden;
}

.nav-menu ul {
  margin: 4px 0 0 0;
  padding: 10px;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  background: #fff;
  border-radius: 3px;
}

.nav-menu ul li {
  transition: 0.3s;
}

.nav-menu ul li a {
  padding: 10px;
  color: #060c22;
  transition: 0.3s;
  display: block;
  font-size: 13px;
  text-transform: none;
  border-radius: 3px;
}

.nav-menu ul li:hover > a {
  background: #4fc0a6;
  color: #fff;
}

.nav-menu ul ul {
  margin: 0;
}

/* Mobile Nav Toggle */

#mobile-nav-toggle {
  position: fixed;
  right: 14px;
  top: 12px;
  z-index: 999;
  margin: 0;
  border: 0;
  background: none;
  width: 48px;
  height: 48px;
  font-size: 0;
  line-height: 0;
  display: none;
  transition: all 0.4s;
  outline: none;
  cursor: pointer;
}

#mobile-nav-toggle i {
  color: transparent;
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto;
}

#mobile-nav-toggle i.fa-bars::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 7px;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 8px 0 #fff, 0 16px 0 #fff;
}

#mobile-nav-toggle i.fa-times::before,
#mobile-nav-toggle i.fa-times::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 15px;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

#mobile-nav-toggle i.fa-times::before {
  transform: rotate(45deg);
}

#mobile-nav-toggle i.fa-times::after {
  transform: rotate(-45deg);
}

/* Mobile Nav Styling */

#mobile-nav {
  position: fixed;
  top: 0;
  padding: 22px 0;
  bottom: 0;
  z-index: 998;
  background: rgba(6, 12, 34, 0.9);
  left: -100%;
  width: 100%;
  overflow-y: auto;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#mobile-nav ul {
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  text-align: center;
}

#mobile-nav ul li {
  position: relative;
}

#mobile-nav ul li a {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  overflow: hidden;
  padding: 16px 20px;
  position: relative;
  text-decoration: none;
  width: 100%;
  display: block;
  outline: none;
  line-height: 1.35;
  text-align: center;
}

#mobile-nav ul li a:hover {
  color: #4fc0a6;
}

#mobile-nav ul li li {
  padding-left: 0;
}

#mobile-nav ul .menu-has-children i {
  position: absolute;
  right: 0;
  z-index: 99;
  padding: 15px;
  cursor: pointer;
  color: #fff;
}

#mobile-nav .mobile-nav-logo {
  text-align: center;
  padding: 0 16px 8px;
}

#mobile-nav .mobile-nav-logo img {
  max-height: 38px;
  width: auto;
}

#mobile-nav ul .menu-has-children i.fa-chevron-up {
  color: #4fc0a6;
}

#mobile-nav ul .menu-item-active {
  color: #4fc0a6;
}

#mobile-body-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(6, 12, 34, 0.8);
  display: none;
}

/* Mobile Nav body classes */

body.mobile-nav-active {
  overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
  left: 0;
}

body.mobile-nav-active #mobile-nav-toggle {
  color: #fff;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/

#intro {
  width: 100%;
  height: 100vh;
  background: url(../img/intro-apartments-caric-dugi-otok-soline.jpg) top center;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

#intro:before {
  content: "";
  background: rgba(6, 12, 34, 0.8);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#intro .intro-container {
  position: absolute;
  bottom: 0;
  left: 0;
  top: 90px;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
}

#intro h1 {
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 56px;
  font-weight: 600;
  text-transform: uppercase;
}

#intro h1 span {
  color: #4fc0a6;
}

#intro p {
  color: #ebebeb;
  font-weight: 700;
  font-size: 20px;
}

#intro .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(#4fc0a6 50%, rgba(101, 111, 150, 0.15) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

#intro .play-btn::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-40%) translateY(-50%);
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

#intro .play-btn:before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
  -webkit-animation: pulsate-btn 2s;
  animation: pulsate-btn 2s;
  -webkit-animation-direction: forwards;
  animation-direction: forwards;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: steps;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 2px solid rgba(163, 163, 163, 0.4);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

#intro .play-btn:hover::after {
  border-left: 15px solid #4fc0a6;
  -webkit-transform: scale(20);
  transform: scale(20);
}

#intro .play-btn:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-40%) translateY(-50%);
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  -webkit-animation: none;
  animation: none;
  border-radius: 0;
}

#intro .about-btn {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  border: 2px solid #4fc0a6;
}

#intro .about-btn:hover {
  background: #4fc0a6;
  color: #fff;
}

@-webkit-keyframes pulsate-btn {
  0% {
    -webkit-transform: scale(0.6, 0.6);
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}

@keyframes pulsate-btn {
  0% {
    -webkit-transform: scale(0.6, 0.6);
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

#about {
  background: url("../img/about-bg.jpg");
  background-size: cover;
  overflow: hidden;
  position: relative;
  color: #fff;
  padding: 60px 0 40px 0;
}

#about:before {
  content: "";
  background: rgba(13, 20, 41, 0.8);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#about h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

#about h3 {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #fff;
}

#about p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #fff;
}

/*--------------------------------------------------------------
# Speakers Section
--------------------------------------------------------------*/

#speakers {
  padding: 60px 0 30px 0;
  background: #f6f7fd;
}

#speakers .speaker {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 8px;
  border: 1px solid #fff;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
  background: #e8ecf2;
}

#speakers .speaker .details {
  background: rgba(6, 12, 34, 0.76);
  position: absolute;
  left: 0;
  bottom: -30px;
  right: 0;
  text-align: center;
  padding-top: 10px;
  transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
}

#speakers .speaker .details h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
}

#speakers .speaker .details p {
  color: #fff;
  font-size: 15px;
  margin-bottom: 10px;
  font-style: italic;
}

#speakers .speaker .details .social {
  height: 30px;
}

#speakers .speaker .details a {
  color: #fff;
}

#speakers .speaker .details a:hover {
  color: #4fc0a6;
}

#speakers .speaker:hover .details {
  bottom: 0;
}

#speakers-details {
  padding: 60px 0;
}

#speakers-details .details h2 {
  color: #112363;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

#speakers-details .details .social {
  margin-bottom: 15px;
}

#speakers-details .details .social a {
  background: #e9edfb;
  color: #112363;
  line-height: 1;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding-top: 9px;
}

#speakers-details .details .social a:hover {
  background: #4fc0a6;
  color: #fff;
}

#speakers-details .details .social a i {
  font-size: 18px;
}

#speakers-details .details p {
  color: #112363;
  font-size: 15px;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Schedule Section
--------------------------------------------------------------*/

#schedule {
  padding: 60px 0 60px 0;
}

#schedule .nav-tabs {
  text-align: center;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  column-gap: 12px;
  row-gap: 12px;
  padding: 0 12px;
  box-sizing: border-box;
  border-bottom: 0;
  list-style: none;
  max-width: 100%;
}

#schedule .nav-tabs li {
  display: block;
  margin: 0;
  min-width: 0;
}

#schedule .nav-tabs a,
#schedule .nav-tabs .nav-link {
  border: none;
  border-radius: 50px;
  font-weight: 600;
  background-color: #0e1b4d;
  color: #fff;
  padding: 10px 36px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}

#schedule .nav-tabs a.active,
#schedule .nav-tabs .nav-link.active {
  background-color: #4fc0a6;
  color: #fff;
}

#schedule .sub-heading {
  text-align: center;
  font-size: 18px;
  font-style: italic;
  margin: 0 auto 30px auto;
}

#schedule .tab-pane {
  transition: ease-in-out .2s;
}

#schedule .schedule-item {
  border-bottom: 1px solid #cad4f6;
  padding-top: 10px;
  padding-bottom: 10px;
  transition: background-color ease-in-out 0.3s;
}

#schedule .schedule-item:hover {
  background-color: #fff;
}

#schedule .schedule-item time {
  padding-bottom: 5px;
  display: inline-block;
}

#schedule .schedule-item .speaker {
  width: 60px;
  height: 60px;
  overflow: hidden;
  border-radius: 50%;
  float: left;
  margin: 0 10px 10px 0;
}

#schedule .schedule-item .speaker img {
  height: 100%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  margin-left: 50%;
  transition: all ease-in-out 0.3s;
}

#schedule .schedule-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

#schedule .schedule-item h4 span {
  font-style: italic;
  color: #19328e;
  font-weight: normal;
  font-size: 16px;
}

#schedule .schedule-item p {
  font-style: italic;
  color: #152b79;
  margin-bottom: 0;
}

/* Apartment amenities list: fixed icon column (left), text column, shortened dividers */
#schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item.row {
  justify-content: flex-start;
  align-items: center;
  position: relative;
  border-bottom: none;
  padding-bottom: 12px;
  margin-bottom: 0;
}

#schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item.row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 92%;
  height: 1px;
  background: #cad4f6;
}

#schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item.row:hover {
  background-color: #fff;
}

#schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item .col-md-2 {
  flex: 0 0 34px;
  width: 34px;
  max-width: 34px;
  padding-left: 0;
  padding-right: 10px;
  text-align: left;
}

#schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item .col-md-10 {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  padding-left: 0;
}

#schedule .tab-pane > .row > .col-sm-6:first-child .apartment-amenity-check {
  font-size: 1.35rem;
  line-height: 1;
  vertical-align: middle;
}

/* Apartments 1 / 2 tab galleries — gutters (no-gutters removed spacing between thumbs) */
#schedule .apartment-tab-gallery .venue-gallery-container .row.no-gutters {
  margin-left: -6px;
  margin-right: -6px;
}

#schedule .apartment-tab-gallery .venue-gallery-container .row.no-gutters > [class*="col-"] {
  padding: 6px;
}

/*--------------------------------------------------------------
# Venue Section
--------------------------------------------------------------*/

#venue {
  padding: 60px 0;
}

#venue .container-fluid {
  margin-bottom: 0;
}

#venue .venue-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

#venue .venue-info {
  background: url("../img/contact-bg-apartmants-caric-dugi-otok-soline.jpg") top center no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 60px;
  padding-bottom: 60px;
}

#venue .venue-info:before {
  content: "";
  background: rgba(13, 20, 41, 0.8);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#venue .venue-info h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
}

#venue .venue-info p {
  color: #fff;
  margin-bottom: 0;
}

#venue .venue-gallery-container {
  padding-right: 12px;
}

/* Legacy / reuse — same tile chrome as other galleries */
#venue .venue-gallery {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #fff;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
  background: #e8ecf2;
}

#venue .venue-gallery img {
  transition: transform 0.35s ease;
}

#venue .venue-gallery:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* Island photo gallery — light strip + uniform CSS grid (fixes misaligned Bootstrap cols) */
#venue.venue-section-split {
  padding: 0;
  background: #f6f7fd;
}

.venue-gallery-light-wrap {
  background: #f4f6fa;
  padding: 48px 0 72px;
  border-bottom: 1px solid #e2e8f0;
}

.venue-gallery-section-header {
  margin-bottom: 36px;
}

.venue-gallery-inner {
  max-width: 1140px;
}

.dugi-otok-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.venue-gallery-cell {
  margin: 0;
  min-width: 0;
}

/* Prevent wide images from blowing grid tracks (mobile + desktop) */
.gallery-thumb-link,
.gallery-thumb-link img {
  min-width: 0;
  max-width: 100%;
}

/* Unified thumbnail tiles — island grid + Apartments 1 & 2 */
.gallery-thumb-link,
#schedule .apartment-tab-gallery .venue-gallery {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #fff;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.07);
  background: #e8ecf2;
}

.gallery-thumb-link {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
}

#schedule .apartment-tab-gallery .venue-gallery a {
  display: block;
  line-height: 0;
}

.gallery-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

#schedule .apartment-tab-gallery .venue-gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-thumb-link:hover img,
#schedule .apartment-tab-gallery .venue-gallery:hover img {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

/* Mobile / tablet: all galleries — 3 thumbs per row + visible gutters */
@media (max-width: 991px) {
  .dugi-otok-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
    row-gap: 8px;
    column-gap: 8px;
  }

  .venue-gallery-light-wrap .venue-gallery-inner.container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }

  /* Apartment tab grids: override Bootstrap flex row → 3 columns (images must not expand tracks) */
  #schedule .apartment-tab-gallery .venue-gallery-container {
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }

  /* Extra inset so tabs & lists aren’t flush to screen — container handles horizontal breathing room */
  #schedule > .container {
    padding-left: max(20px, env(safe-area-inset-left)) !important;
    padding-right: max(20px, env(safe-area-inset-right)) !important;
  }

  /* Keep ul.nav-tabs padding 0 12px (base) so buttons aren’t flush; strip only Bootstrap gutters below */

  /* Same horizontal origin as tab buttons: strip Bootstrap row/col gutters inside tab panels */
  #schedule .tab-content.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #schedule .tab-content > .tab-pane.col-lg-9 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #schedule .tab-pane > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #schedule .tab-pane > .row > .col-sm-6:first-child {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #schedule .tab-pane > .row > .col-sm-6:last-child {
    padding-right: 0 !important;
  }

  #schedule .apartment-tab-gallery .venue-gallery-container .row.no-gutters {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px;
    row-gap: 8px;
    column-gap: 8px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-wrap: unset !important;
  }

  #schedule .apartment-tab-gallery .venue-gallery-container .row.no-gutters > [class*="col-"] {
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    flex: none !important;
    float: none !important;
  }

  #schedule .apartment-tab-gallery .venue-gallery {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  #schedule .apartment-tab-gallery .venue-gallery a,
  #schedule .apartment-tab-gallery .venue-gallery img {
    min-width: 0;
    max-width: 100%;
  }

  #schedule .apartment-tab-gallery .venue-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: auto;
    display: block;
  }
}

@media (max-width: 575px) {
  .venue-gallery-light-wrap {
    padding: 32px 0 40px;
  }
}

/*--------------------------------------------------------------
# Hotels Section
--------------------------------------------------------------*/

#hotels {
  padding: 60px 0;
}

#hotels .hotel {
  border: 1px solid #e0e5fa;
  background: #fff;
  margin-bottom: 30px;
}

#hotels .hotel:hover .hotel-img img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

#hotels .hotel-img {
  overflow: hidden;
  margin-bottom: 15px;
}

#hotels .hotel-img img {
  transition: 0.3s ease-in-out;
}

#hotels h3 {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 5px;
  padding: 0 20px;
}

#hotels a {
  color: #152b79;
}

#hotels a:hover {
  color: #4fc0a6;
}

#hotels .stars {
  padding: 0 20px;
  margin-bottom: 5px;
}

#hotels .stars i {
  color: #ffc31d;
}

#hotels p {
  padding: 0 20px;
  margin-bottom: 20px;
  color: #060c22;
  font-style: italic;
  font-size: 15px;
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/

#gallery {
  padding: 60px;
  overflow: hidden;
}

#gallery .owl-nav,
#gallery .owl-dots {
  margin-top: 25px;
  text-align: center;
}

#gallery .owl-item {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

#gallery .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#gallery .owl-dot.active {
  background-color: #4fc0a6;
}

#gallery .gallery-carousel .owl-stage-outer {
  overflow: visible;
}

#gallery .gallery-carousel .center {
  border: 6px solid #4fc0a6;
  margin: -10px;
  box-sizing: content-box;
  padding: 4px;
  background: #fff;
  z-index: 1;
}

/*--------------------------------------------------------------
# supporters Section
--------------------------------------------------------------*/

#supporters {
  padding: 60px 0;
}

#supporters .supporters-wrap {
  border-top: 1px solid #e0e5fa;
  border-left: 1px solid #e0e5fa;
  margin-bottom: 30px;
}

#supporters .supporter-logo {
  padding: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-right: 1px solid #e0e5fa;
  border-bottom: 1px solid #e0e5fa;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  height: 160px;
}

#supporters .supporter-logo:hover img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

#supporters img {
  transition: all 0.4s ease-in-out;
}

/*--------------------------------------------------------------
# F.A.Q Section
--------------------------------------------------------------*/

#faq {
  padding: 60px 0;
  background: #f6f7fd;
}

#faq #faq-list {
  padding: 0;
  list-style: none;
}

#faq #faq-list li {
  border-bottom: 1px solid #ddd;
}

#faq #faq-list a {
  padding: 18px 0;
  display: block;
  position: relative;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  padding-right: 20px;
}

#faq #faq-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 16px;
}

#faq #faq-list p {
  margin-bottom: 20px;
}

/* Open accordion row — site teal (not global link pink on :focus/:hover) */
#faq #faq-list a:not(.collapsed) {
  color: #4fc0a6;
}

#faq #faq-list a.collapsed {
  color: #000;
}

#faq #faq-list a:hover,
#faq #faq-list a:focus,
#faq #faq-list a:active {
  color: #4fc0a6;
}

#faq #faq-list a.collapsed:hover,
#faq #faq-list a.collapsed:focus,
#faq #faq-list a.collapsed:active {
  color: #4fc0a6;
}

#faq #faq-list a i {
  color: inherit;
}

#faq #faq-list a.collapsed i::before {
  content: "\f055" !important;
}

/*--------------------------------------------------------------
# Subscribe Section
--------------------------------------------------------------*/

#subscribe {
  padding: 110px 0;
  background: url("../img/dugi-otok/apartmani_apartments_soline_long_island_beach_dugi_otok_telascica_booking_summer_reservation_caric_veli_rat_5.jpeg")
    center center no-repeat;
  background-size: cover;
  overflow: hidden;
  position: relative;
}

#subscribe:before {
  content: "";
  background: rgba(6, 12, 34, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#subscribe .section-header h2,
#subscribe p {
  color: #fff;
}

@media (max-width: 767px) {
  #subscribe {
    padding: 70px 0;
  }

  #subscribe .container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
  }

  #subscribe .section-header p {
    font-weight: 400;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  /* Jednaka veličina opisnih tekstova (naslovi sekcija, o točki, FAQ odgovori, kontakt, sadržaj uz ikone) */
  #main .section-header p,
  #about p,
  #faq #faq-list p,
  #contact .contact-info address,
  #contact .contact-info p,
  #venue .venue-info p,
  #schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item p,
  #footer .footer-info p,
  #footer .footer-contact p {
    font-size: 15px;
    line-height: 1.6;
  }
}

#subscribe input {
  background: #fff;
  color: #060c22;
  border: 0;
  outline: none;
  margin: 0;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 14px;
}

#subscribe button {
  border: 0;
  padding: 9px 25px;
  cursor: pointer;
  background: #4fc0a6;
  color: #fff;
  transition: all 0.3s ease;
  outline: none;
  font-size: 14px;
  border-radius: 50px;
}

#subscribe button:hover {
  background: #101522;
}

/*--------------------------------------------------------------
# Buy Tickets Section
--------------------------------------------------------------*/

#buy-tickets {
  padding: 60px 0;
}

#buy-tickets .card {
  border: none;
  border-radius: 5px;
  transition: all  0.3s ease-in-out;
  box-shadow: 0 10px 25px 0 rgba(6, 12, 34, 0.1);
}

#buy-tickets .card:hover {
  box-shadow: 0 10px 35px 0 rgba(6, 12, 34, 0.2);
}

#buy-tickets .card hr {
  margin: 25px 0;
}

#buy-tickets .card .card-title {
  margin: 10px 0;
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: bold;
}

#buy-tickets .card .card-price {
  font-size: 48px;
  margin: 0;
}

#buy-tickets .card ul li {
  margin-bottom: 20px;
}

#buy-tickets .card .text-muted {
  opacity: 0.7;
}

#buy-tickets .card .btn {
  font-size: 15px;
  border-radius: 50px;
  padding: 10px 40px;
  transition: all 0.2s;
  background-color: #4fc0a6;
  border: 0;
  color: #fff;
}

#buy-tickets .card .btn:hover {
  background-color: #101522;
}

#buy-tickets #buy-ticket-modal input,
#buy-tickets #buy-ticket-modal select {
  border-radius: 0;
}

#buy-tickets #buy-ticket-modal .btn {
  font-size: 15px;
  border-radius: 50px;
  padding: 10px 40px;
  transition: all 0.2s;
  background-color: #4fc0a6;
  border: 0;
  color: #fff;
}

#buy-tickets #buy-ticket-modal .btn:hover {
  background-color: #101522;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

#contact {
  padding: 60px 0;
}

#contact .contact-info {
  margin-bottom: 20px;
  text-align: center;
}

#contact .contact-info i {
  font-size: 48px;
  display: inline-block;
  margin-bottom: 10px;
  color: #4fc0a6;
}

#contact .contact-info address,
#contact .contact-info p {
  margin-bottom: 0;
  color: #112363;
}

#contact .contact-info h3 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #112363;
}

#contact .contact-info a {
  color: #4869df;
}

#contact .contact-info a:hover {
  color: #4fc0a6;
}

#contact .contact-address,
#contact .contact-phone,
#contact .contact-email {
  margin-bottom: 20px;
}

#contact .form #sendmessage {
  color: #4fc0a6;
  border: 1px solid #4fc0a6;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #sendmessage.show,
#contact .form #errormessage.show,
#contact .form .show {
  display: block;
}

#contact .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

#contact .form input,
#contact .form textarea {
  padding: 10px 14px;
  border-radius: 0;
  box-shadow: none;
  font-size: 15px;
}

#contact .form button[type="submit"] {
  background: #4fc0a6;
  border: 0;
  padding: 10px 40px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
  cursor: pointer;
}

#contact .form button[type="submit"]:hover {
  background: #101522;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  background: #101522;
  padding: 0 0 25px 0;
  color: #eee;
  font-size: 14px;
}

#footer .footer-top {
  background: #040919;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 26px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  color: #fff;
}

#footer .footer-top .footer-info img {
  height: 40px;
  margin-bottom: 10px;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #222636;
  color: #eee;
  line-height: 1;
  padding: 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #4fc0a6;
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 2px solid #4fc0a6;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 5px;
  color: #4fc0a6;
  font-size: 18px;
}

#footer .footer-top .footer-links ul li {
  border-bottom: 1px solid #262c44;
  padding: 10px 0;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #eee;
}

#footer .footer-top .footer-links ul a:hover {
  color: #4fc0a6;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

#footer .footer-top .footer-newsletter {
  margin-bottom: 30px;
}

#footer .footer-top .footer-newsletter input[type="email"] {
  border: 0;
  padding: 6px 8px;
  width: 65%;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
  background: #4fc0a6;
  border: 0;
  width: 35%;
  padding: 6px 0;
  text-align: center;
  color: #fff;
  transition: 0.3s;
  cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
  background: #101522;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Keeps “Developed by” aligned while the button scales on hover (no layout shift) */
.credits-footer-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.credits-dev-label {
  flex-shrink: 0;
}

/* Developer credit — green shimmer “live” button (index #footer + PHP footer) */
@keyframes dev-credit-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

a.dev-credit-btn {
  display: inline-block;
  padding: 3px 8px 4px;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(79, 192, 166, 0.55);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  background: linear-gradient(
    110deg,
    #0d6b47 0%,
    #1a9d6e 18%,
    #4fc0a6 36%,
    #2ecc71 52%,
    #4fc0a6 68%,
    #168a5c 86%,
    #0d6b47 100%
  );
  background-size: 220% 100%;
  animation: dev-credit-shimmer 2.8s ease-in-out infinite;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease,
    filter 0.28s ease, color 0.28s ease;
  /* Grow toward the right so “Developed by” stays fixed on the left */
  transform-origin: left center;
}

a.dev-credit-btn:hover,
a.dev-credit-btn:focus {
  transform: scale(1.18);
  animation: none;
  font-weight: 400;
  color: #040919;
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.18), 0 4px 14px rgba(0, 0, 0, 0.2);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.72) 45%,
    rgba(248, 253, 250, 0.85) 55%,
    rgba(224, 247, 239, 0.65) 100%
  ),
    linear-gradient(110deg, #168a5c 0%, #3dd68a 50%, #168a5c 100%);
  filter: brightness(1.08);
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/

@media (min-width: 767px) {
  #subscribe input {
    min-width: 400px;
  }
}

@media (min-width: 768px) {
  #contact .contact-address,
  #contact .contact-phone,
  #contact .contact-email {
    padding: 20px 0;
  }

  #contact .contact-phone {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }
}

@media (min-width: 992px) {
  #schedule .nav-tabs a,
  #schedule .nav-tabs .nav-link {
    padding: 10px 72px;
  }
}

@media (min-width: 1200px) {
  #schedule .nav-tabs a,
  #schedule .nav-tabs .nav-link {
    padding: 10px 100px;
  }
}

@media (min-width: 991px) {
  #schedule .sub-heading {
    width: 75%;
  }
}

@media (min-width: 1024px) {
  #intro {
    background-attachment: fixed;
  }

  #about {
    background-attachment: fixed;
  }

  #subscribe {
    background-attachment: fixed;
  }
}

@media (max-width: 1199px) {
  #header .container {
    max-width: 100%;
  }

  .nav-menu a {
    padding: 8px 4px;
  }
}

@media (max-width: 991px) {
  #header {
    background: rgba(6, 12, 34, 0.98);
    height: 70px;
    padding: 15px 0;
    transition: all 0.5s;
  }

  #nav-menu-container {
    display: none;
  }

  #mobile-nav-toggle {
    display: inline;
  }

  #intro .intro-container {
    top: 70px;
  }

  #intro h1 {
    font-size: 34px;
  }

  #intro p {
    font-size: 16px;
  }

  #schedule .nav-tabs a,
  #schedule .nav-tabs .nav-link {
    padding: 9px 14px !important;
    font-size: 12px;
  }

  #whatsapp-fixed-btn {
    display: flex !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 36px) !important;
  }

  #back-to-top-fixed {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 88px);
  }
}

@media (min-width: 992px) {
  #whatsapp-fixed-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #faq #faq-list a {
    font-size: 18px;
  }

  #faq #faq-list i {
    top: 13px;
  }
}

@media (max-width: 767px) {
  #schedule .nav-tabs a,
  #schedule .nav-tabs .nav-link {
    padding: 8px 8px !important;
    font-size: 11px;
  }

  /* Amenity list: two columns (gap matches #schedule .nav-tabs column-gap) */
  #schedule .tab-pane > .row > .col-sm-6:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    align-items: start;
  }

  /* Keep hover background away from neighboring content */
  #schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item.row {
    padding: 8px 10px 10px;
    border-radius: 10px;
  }

  #schedule .tab-pane > .row > .col-sm-6:last-child {
    padding-left: 0 !important;
  }

  #schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item.row:not(:last-child)::after {
    left: 10px;
    width: calc(100% - 20px);
  }

  #schedule .tab-pane > .row > .col-sm-6:first-child .schedule-item .col-md-2 {
    padding-right: 8px;
  }
}

@media (max-width: 574px) {
  #venue .venue-info h3 {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  #schedule .nav-tabs a,
  #schedule .nav-tabs .nav-link {
    padding: 7px 6px !important;
    font-size: 10px;
  }
}

@media (max-width: 460px) {
  #subscribe button {
    margin-top: 10px;
  }
}

/*--------------------------------------------------------------
# Venobox — fit lightbox to viewport (no vertical scroll)
--------------------------------------------------------------*/

html.vbox-html-lock {
  overflow: hidden;
}

html:has(body.vbox-open) {
  overflow: hidden;
}

.vbox-overlay {
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
}

.vbox-container {
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vbox-content {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 56px 44px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.vbox-container img,
.vbox-content img.figlio {
  max-width: calc(100% - 72px) !important;
  max-height: calc(100vh - 120px) !important;
  max-height: calc(100dvh - 120px) !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.vbox-container .venoframe {
  max-width: calc(100% - 72px) !important;
  max-height: calc(100dvh - 120px) !important;
}
