@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;600;700&display=swap");

        html {
            scroll-behavior: smooth;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Roboto Condensed", Arial, sans-serif;
            font-style: normal;
            font-weight: 400;
            line-height: 1.5;
            color: #333;
            background-color: #fff;
            opacity: 0;
            transition: opacity 0.6s ease-in-out;
        }

        body.loaded {
            opacity: 1;
        }

        /* ======================
      NAVBAR
====================== */
        nav {
            background: #ffffff;
            padding: 15px 30px;
            position: relative;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
        }

        .navbar-container {
            max-width: 1600px;
            margin: auto;
            padding-inline: 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: nowrap;
        }

        .logo img {
            height: 55px;
        }

        @media (max-width: 480px) {
            .logo img {
                height: 45px;
            }
        }

        /* HAMBURGER ANIMACIJA */
        .menu-toggle {
            display: none;
            width: 30px;
            height: 22px;
            position: relative;
            cursor: pointer;
            z-index: 101;
        }

        .menu-toggle span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: #1b3b6f;
            border-radius: 2px;
            opacity: 1;
            left: 0;
            transition: all 0.3s ease-in-out;
        }

        .menu-toggle span:nth-child(1) {
            top: 0;
        }

        .menu-toggle span:nth-child(2) {
            top: 9px;
        }

        .menu-toggle span:nth-child(3) {
            top: 18px;
        }

        .menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg);
            top: 9px;
        }

        .menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg);
            top: 9px;
        }

        /* NAV LINKOVI */
        .nav-links {
            display: flex;
            gap: 25px;
            align-items: center;
            white-space: nowrap;
        }

        .nav-links a {
            color: #5e6366;
            text-decoration: none;
            font-size: 16px;
            text-transform: uppercase;
            transition: all 0.3s ease-in-out;
        }

        .cta-button {
            background-color: transparent;
            color: #5e6366;
            padding: 8px 20px;
            border: 2px solid #5e6366;
            border-radius: 25px;
            font-weight: bold;
            text-decoration: none;
            text-transform: uppercase;
            transition: all 0.3s ease-in-out;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        }

        @media (min-width: 1025px) {
            .nav-links a:hover {
                color: #2d9cdb;
                transform: scale(1.05);
            }

            .cta-button:hover {
                background-color: #1b3b6f;
                color: #fff;
                transform: scale(1.05);
            }
        }

        /* ======================
      MOBILE NAV
====================== */
        @media (max-width: 1024px) {
            .navbar-container {
                flex-direction: column;
                align-items: stretch;
                padding-inline: 20px;
            }

            .menu-toggle {
                display: block;
            }

            .top-bar {
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: #ffffff;
                padding: 0;
                gap: 0;
                text-align: left;
                border-top: 1px solid #e0e0e0;
                box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
                opacity: 0;
                transform: translateY(-10px);
                transition: all 0.3s ease;
                z-index: 99;
            }

            .nav-links.active {
                display: flex;
                opacity: 1;
                transform: translateY(0);
            }

            .nav-links a {
                width: 100%;
                padding: 18px 20px;
                font-size: 16px;
                border-bottom: 1px solid #f0f0f0;
            }

            .cta-button {
                display: block;
                width: 100%;
                padding: 18px 20px;
                font-size: 16px;
                border-radius: 0;
                border: none;
                background: transparent;
                text-align: left;
            }

            .nav-links a,
            .cta-button {
                transition: none !important;
            }

            .nav-links a:active,
            .cta-button:active {
                background-color: rgba(27, 59, 111, 0.05);
            }
        }

        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #1b3b6f;
            color: white;
            border: none;
            font-size: 22px;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            align-items: center;
            justify-content: center;
            display: flex;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 999;
            transition: opacity 0.4s ease, transform 0.3s ease;
        }

        .scroll-to-top.visible {
            opacity: 1;
            pointer-events: auto;
        }

        .scroll-to-top:hover {
            background-color: #2d9cdb;
            transform: scale(1.1);
        }

        @media (max-width: 480px) {
            .scroll-to-top {
                bottom: 20px;
                right: 20px;
                width: 40px;
                height: 40px;
                font-size: 18px;
            }
        }

        .contact-modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            justify-content: center;
            align-items: center;
        }

        .contact-modal.active {
            display: flex;
        }

        .contact-modal-content {
            background-color: #fff;
            padding: 40px 25px;
            border-radius: 8px;
            width: 100%;
            max-width: 460px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            position: relative;
            animation: scaleIn 0.4s ease;
        }

        @keyframes scaleIn {
            from {
                transform: scale(0.9);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .contact-modal-content h2 {
            margin-bottom: 15px;
            color: #1b3b6f;
        }

        .contact-modal-content p {
            margin: 10px 0;
            color: #333;
            font-size: 16px;
        }

        .contact-modal-content a {
            color: #2d9cdb;
            text-decoration: none;
        }

        .contact-modal-content a:hover {
            color: #1b3b6f;
        }

        .map-container {
            margin-top: 20px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            height: 350px;
        }

        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .social-icons {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 20px;
        }

        .social-icon img {
            width: 28px;
            height: 28px;
            transition: transform 0.3s ease;
        }

        .social-icon:hover img {
            transform: scale(1.2);
            filter: brightness(1.3);
        }

        .close-btn {
            position: absolute;
            right: 15px;
            top: 15px;
            font-size: 26px;
            color: #aaa;
            cursor: pointer;
            transition: color 0.3s;
        }

        .close-btn:hover {
            color: #000;
        }

        body.modal-open {
            overflow: hidden;
        }

        body.modal-open::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            backdrop-filter: blur(5px);
            background-color: rgba(0, 0, 0, 0.2);
            z-index: 9998;
            animation: fadeInBlur 0.3s ease-out forwards;
            opacity: 0;
        }

        @keyframes fadeInBlur {
            to {
                opacity: 1;
            }
        }

        .divider {
            border: none;
            height: 1px;
            background-color: #ccc;
            margin: 15px 0;
            opacity: 0.5;
        }

        /* Poravnaj mail i phone ikonice uz tekst */

        .social-icons {
            margin-top: 20px;
            display: flex;
            justify-content: center;
            gap: 24px;
        }

        .contact-modal-content svg {
            vertical-align: middle;
            margin-right: 8px;
            margin-top: -2px;
        }

        /* Povećaj Facebook i Instagram ikone */
        .social-icons svg {
            width: 32px;
            height: 32px;
            color: #1b3b6f;
            transition: transform 0.3s ease, color 0.3s ease;
        }

        .social-icon:hover svg {
            transform: scale(1.2);
            color: #2d9cdb;
        }

        @media (max-width: 480px) {
            .contact-modal-content {
                padding: 25px 15px;
                border-radius: 6px;
            }

            .contact-modal-content p {
                font-size: 14px;
            }

            .contact-modal-content h2 {
                font-size: 18px;
            }

            .map-container {
                height: 240px;
            }

            .social-icons svg {
                width: 38px;
                height: 38px;
            }

            .close-btn {
                font-size: 22px;
                top: 10px;
                right: 10px;
            }
        }

        /* Global styles for footer */
        footer {
            background-color: #f2f2f2;
            padding: 80px 0;
            color: #333;
            font-family: 'Roboto Condensed', Arial, sans-serif;
            border-top: 1px solid #e0e0e0;
        }

        .footer-container {
            display: flex;
            justify-content: space-between;
            gap: 50px;
            max-width: 1200px;
            margin: 0 auto;
            flex-wrap: wrap;
        }

        .footer-section {
            flex: 1 1 30%;
            min-width: 280px;
            padding: 25px;
            text-align: left;
        }

        .footer-section h3 {
            font-size: 1.7rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: #1b3b6f;
        }

        .footer-section p,
        .footer-section a {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #333;
            margin-bottom: 12px;
        }

        .footer-section a {
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-section a:hover {
            color: #0066cc;
        }

        /* Social media section */
        .social-media {
            display: flex;
            justify-content: center;
            /* Center the icons horizontally */
            gap: 25px;
            margin-top: 30px;
        }

        .social-media a {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 50px;
            height: 50px;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .social-media a:hover {
            transform: scale(1.15);
        }

        .social-media svg {
            width: 25px;
            height: 25px;
            transition: fill 0.3s ease;
        }

        .social-media a:hover svg {
            fill: #ffffff;
        }

        /* Google Map iframe style */
        footer iframe {
            width: 100%;
            height: 350px;
            border: none;
        }

        .footer-bottom {
            text-align: center;
            margin-top: 50px;
            font-size: 1.1rem;
            color: #666;
        }

        .footer-logo {
            max-width: 150px;
            margin-bottom: 20px;
        }

        .footer-bottom a {
            color: #0066cc;
            text-decoration: none;
        }

        /* Media Queries */

        /* For medium screens (tablets) */
        @media (max-width: 1024px) {
            .footer-container {
                flex-direction: column;
                align-items: center;
            }

            .footer-section {
                text-align: center;
                margin-bottom: 30px;
            }

            .footer-bottom {
                margin-top: 40px;
            }

            .footer-logo {
                max-width: 130px;
            }

            .social-media a {
                margin-right: 10px;
            }

            .social-media svg {
                width: 30px;
                height: 30px;
            }
        }

        /* For small screens (mobiles) */
        @media (max-width: 768px) {
            .footer-container {
                flex-direction: column;
                align-items: center;
                padding: 0 15px;
            }

            .footer-section {
                text-align: center;
                margin-bottom: 30px;
                width: 100%;
            }

            .footer-bottom {
                margin-top: 40px;
            }

            .footer-logo {
                max-width: 120px;
            }

            .social-media a {
                margin-right: 10px;
            }

            .social-media svg {
                width: 30px;
                height: 30px;
            }

            iframe {
                height: 300px;
            }
        }

        /* For extra small screens (extra small mobile devices) */
        @media (max-width: 480px) {
            .footer-container {
                padding: 0 10px;
            }

            .footer-section {
                padding: 10px;
                margin-bottom: 20px;
            }

            .footer-bottom {
                margin-top: 20px;
                font-size: 1rem;
            }

            .footer-logo {
                max-width: 100px;
            }

            .social-media svg {
                width: 25px;
                height: 25px;
            }
        }

/* ========== CORE LAYOUT ========== */
.carousel,
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Track / slides */
.carousel-track,
.slides {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
  width: 100%;
}

.carousel-slide,
.slides > * {
  flex: 0 0 100%;
}

/* Slike */
.carousel-slide img,
.slides img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

/* ========== ARROWS / BUTTONS ========== */
/* Jedinstveni stil za hero (.carousel .carousel-btn) i male (.slider .prev/.next) */
.carousel .carousel-btn,
.slider .prev,
.slider .next {
  --btn-size: 44px;
  --btn-offset: clamp(10px, 2vw, 18px);
  --btn-y-tweak: 0px; /* fino podešavanje po želji */

  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + var(--btn-y-tweak)));
  width: var(--btn-size);
  height: var(--btn-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,0.45);
  color: #fff;
  border: 0;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
  z-index: 10;

  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.carousel .carousel-btn:hover,
.slider .prev:hover,
.slider .next:hover {
  background: rgba(0,0,0,0.65);
}

.carousel .carousel-btn:active,
.slider .prev:active,
.slider .next:active {
  transform: translateY(calc(-50% + var(--btn-y-tweak))) scale(.96);
}

.carousel .carousel-btn.prev,
.slider .prev {
  left: max(var(--btn-offset), env(safe-area-inset-left));
}

.carousel .carousel-btn.next,
.slider .next {
  right: max(var(--btn-offset), env(safe-area-inset-right));
}

.carousel .carousel-btn svg,
.slider .prev svg,
.slider .next svg {
  width: 24px;
  height: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .carousel-slide img,
  .slides img {
    height: 50vh;
  }
}

@media (max-width: 640px) {
  .carousel .carousel-btn,
  .slider .prev,
  .slider .next {
    --btn-size: 38px;
  }
}

@media (max-width: 480px) {
  .carousel-slide img,
  .slides img {
    height: 40vh;
  }
}


  /* ======================
     INTRO TEXT
====================== */
.intro-text {
  background-color: #6c7a89;
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-wrapper {
  max-width: 950px;
  margin: 0 auto;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  line-height: 1.75;
  font-style: italic;
  font-weight: 400;
  color: #f1f1f1;
  letter-spacing: 0.15px;
  padding: 0 15px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.3s ease-out, transform 1.4s ease-out;
}

.text-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .text-wrapper {
    font-size: 1.3rem;
    line-height: 1.65;
  }
}

@media (max-width: 768px) {
  .text-wrapper {
    font-size: 1.2rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .text-wrapper {
    font-size: 1rem;
    line-height: 1.5;
  }
}

.quote {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Playfair Display", serif;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.2);
  z-index: 0;
  pointer-events: none;
  line-height: 1;
}

.quote-top {
  top: 40px;
}

.quote-bottom {
  bottom: 40px;
}

.book-now-btn {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 12px 32px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(30, 85, 180, 0.2); /* plava u skladu s temom */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  box-shadow: 0 6px 16px rgba(0, 50, 100, 0.15);
  text-decoration: none;
  transition: all 0.3s ease;
}

.book-now-btn:hover {
  background: rgba(30, 85, 180, 0.4);
  box-shadow: 0 8px 20px rgba(0, 50, 100, 0.25);
  transform: translateY(-2px) scale(1.03);
}

.book-now-btn:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(0, 50, 100, 0.15);
}

/* 📱 Responzivnost */
@media (max-width: 768px) {
  .book-now-btn {
    padding: 10px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .book-now-btn {
    padding: 8px 24px;
    font-size: 0.95rem;
  }
}
.room-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) clamp(14px, 3vw, 20px);
}
.room-card > * { min-width: 0; }

.room-media {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17,24,39,.10);
}
.room-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.price-flag {
  color: #0f172a;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .12rem;
  font-size: clamp(10px, 0.9vw, 12px);
  margin-bottom: 6px;
}
.room-title {
  margin: 0 0 10px 0;
  font-size: clamp(20px, 2.3vw, 26px);
  line-height: 1.25;
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(8px, 1.6vw, 18px);
  padding: 0;
  margin: 12px 0;
  list-style: none;
  color: #475569;
  font-weight: 500;
  font-size: clamp(14px, 1vw, 16px);
}
.meta li {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 1vw, 8px);
}
.meta svg {
  width: 1.1em;
  height: 1.1em;
  vertical-align: middle;
}
.desc {
  margin: 8px 0 18px;
  color: #374151;
  max-width: 70ch;
  font-size: clamp(14px, 1.1vw, 16px);
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: clamp(8px, 1vw, 10px) clamp(14px, 2vw, 20px);
  border: 1px solid #1f2937;
  color: #111827;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  z-index: 0;
  font-size: clamp(14px, 1vw, 16px);
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1b3b6f;
  transition: left 0.3s ease;
  z-index: -1;
}
.btn:hover::before { left: 0; }
.btn span { position: relative; z-index: 1; }
.btn:hover {
  color: #fff !important;
  border-color: #111827;
}

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: clamp(300px, 56vh, 560px);
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(17,24,39,.10);
  touch-action: pan-y;
}
.slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}
.slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: clamp(34px, 4vw, 42px);
  height: clamp(34px, 4vw, 42px);
  border: none;
  border-radius: 8px;
  background: rgba(0,0,0,0.35);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}
.prev:hover, .next:hover { background: rgba(0,0,0,0.55); }
.prev:active, .next:active { transform: translateY(-50%) scale(0.98); }
.prev { left: 10px; }
.next { right: 10px; }

.dots {
  position: absolute;
  bottom: clamp(8px, 1.2vw, 10px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: clamp(6px, 1vw, 8px);
  z-index: 2;
}
.dots button {
  width: clamp(8px, 1.2vw, 10px);
  height: clamp(8px, 1.2vw, 10px);
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.dots button:hover { transform: scale(1.1); }
.dots button.active { background: #fff; }

@media (max-width: 1024px) {
  .slider { aspect-ratio: 4 / 3; max-height: clamp(280px, 60vh, 520px); }
}
@media (max-width: 820px) {
  .room-card {
    grid-template-columns: 1fr;
    gap: clamp(14px, 3vw, 20px);
    padding: clamp(18px, 4vw, 28px) clamp(12px, 3vw, 16px);
  }
  .slider { aspect-ratio: 4 / 3; max-height: clamp(260px, 54vh, 480px); }
}
@media (max-width: 480px) {
  .slider { aspect-ratio: 3 / 4; max-height: clamp(240px, 55vh, 420px); }
}
@media (hover: none) {
  .prev, .next { width: clamp(36px, 6vw, 44px); height: clamp(36px, 6vw, 44px); }
}
@media (prefers-reduced-motion: reduce) {
  .slides, .prev, .next { transition: none; }
}


