@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;
            }
        }

        /* ===== Carousel core ===== */
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform .35s ease;
  will-change: transform;
  user-select: none;
  touch-action: pan-y; /* dozvoli vertikalni scroll */
}

.carousel-slide { flex: 0 0 100%; }

.carousel-slide img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
}

/* Strelice */
.carousel .carousel-btn {
  --btn-size: 44px;
  --btn-offset: clamp(10px, 2vw, 18px);
  --btn-y-tweak: 0px;

  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,.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,.25);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.carousel .carousel-btn:hover { background: rgba(0,0,0,.65); }
.carousel .carousel-btn:active { transform: translateY(calc(-50% + var(--btn-y-tweak))) scale(.96); }
.carousel .carousel-btn.prev { left: max(var(--btn-offset), env(safe-area-inset-left)); }
.carousel .carousel-btn.next { right: max(var(--btn-offset), env(safe-area-inset-right)); }
.carousel .carousel-btn svg { width: 24px; height: 24px; display:block; }
.carousel .carousel-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* (Opcionalno) točke, dodaj <div class="dots"></div> ako želiš */
.carousel .dots {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 9;
}
.carousel .dots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.5); cursor: pointer;
}
.carousel .dots button.active { background: #fff; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .carousel-slide img { height: 50vh; }
  .carousel .carousel-btn { --btn-size: 38px; }
}
@media (max-width: 480px) {
  .carousel-slide 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-section {
  background: #fff;
  color: #111827;
  padding: clamp(24px,3.5vw,48px) clamp(18px,4.5vw,32px); /* malo veći padding */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.room-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

.room-header {
  display: grid;
  gap: 10px; /* veći gap */
  margin-bottom: 12px; /* veći margin */
}

.room-title {
  margin: 0;
  font-weight: 800;
  letter-spacing: .2px;
  line-height: 1.15;
  font-size: clamp(24px, 3.2vw, 40px);
  color: #111827;
}

.best-price {
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(12px, 1.4vw, 14px);
  letter-spacing: .06em;
}

.info-chips {
  list-style: none;
  padding: 0;
  margin: clamp(10px,1.5vw,14px) 0 clamp(20px,2.5vw,28px); /* veći margini */
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(14px,2.2vw,24px); /* veći gap */
  align-items: center;
}

.chip {
  display: flex;
  align-items: center;
  gap: 12px; /* veći razmak ikona - tekst */
  font-size: clamp(14px, 1.6vw, 16px);
  color: #475569;
  min-height: 38px;
}

.chip .icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: 0 0 22px;
}

.room-content {
  font-size: clamp(14px, 1.7vw, 16px);
  line-height: 1.75; /* malo veći line-height */
  color: #374151;
  display: flex;
  flex-direction: column;
  gap: 16px; /* veći razmak između paragrafa */
  align-items: flex-start;
}

.room-content p {
  margin: 0;
}

.specs {
  margin-top: 6px;
  color: #111827;
  font-size: clamp(13.5px, 1.6vw, 15px);
}

.specs strong {
  letter-spacing: .5px;
}

/* BOOK NOW gumb */
.btn-book {
  display: inline-block !important;
  margin-top: clamp(14px, 2.2vw, 20px); /* veći razmak od teksta */
  padding: clamp(6px, 0.8vw, 8px) clamp(12px, 1.8vw, 16px);
  background: transparent;
  border: 1px solid #1f2937;
  color: #111827;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
  font-size: clamp(13px, 0.95vw, 15px);
  z-index: 0;
  width: auto !important;
  min-width: 140px;
  text-align: center;
}

.btn-book::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #1b3b6f;
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-book span {
  position: relative;
  z-index: 1;
}

.btn-book:hover::before {
  left: 0;
}

.btn-book:hover {
  color: #fff !important;
  border-color: #111827;
}

.btn-book:focus-visible {
  outline: 2px solid #9ec2a7;
  outline-offset: 2px;
}

/* RESPONSIVE */
@media (max-width: 640px) {
  .info-chips {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .chip {
    min-height: 40px;
  }
  .room-content {
    align-items: stretch;
  }
  .btn-book {
    width: 100% !important;
    text-align: center;
    padding: 10px 16px;
  }
}

@media (max-width: 360px) {
  .room-title {
    font-size: 22px;
  }
  .chip .icon {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-book {
    transition: none;
  }
}

/* Omot za amenities - koristi iste postavke kao gornja sekcija */
.amenities {
  background: #fff;
  padding: clamp(20px, 3vw, 40px) clamp(16px, 4vw, 28px);
}

.amenities-wrap {
  max-width: 1100px; /* isto kao .room-wrap */
  margin: 0 auto;
}

/* Naslov */
.amenities-title {
  margin: 0 0 clamp(14px, 2vw, 18px) 0;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 700;
  color: #111827;
}

/* Grid poravnat */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  column-gap: clamp(28px, 6vw, 80px);
  row-gap: clamp(10px, 1.6vw, 14px);
}

/* Stavka */
.amenity-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1.05vw, 16px);
  color: #374151;
}

.amenity-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .amenities-grid {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
}

.amenities img {
    width: 22px;       /* širina svih ikona */
    height: 22px;      /* visina svih ikona */
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px; /* razmak između ikone i teksta */
}

.amenities img {
    filter: brightness(0) saturate(100%);
}