/* Osnovne postavke i varijable temeljene na dizajnu */
:root {
   --primary-dark: #0a1425;
   /* Tamna boja za footer i badgeve */
   --primary-blue: #2563eb;
   /* Plava za ikone */
   --primary-green: #22c55e;
   /* Zelena za ikone */
   --bg-gray: #f9fafb;
   /* Svijetlosiva pozadina za sekcije */
   --text-dark: #111827;
   --text-gray: #6b7280;
   --border-radius-card: 16px;
   --border-radius-img: 12px;
   --section-spacing: 80px 0;
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
   font-family: 'Inter', sans-serif;
   color: var(--text-dark);
   line-height: 1.5;
   scroll-behavior: smooth;
   background-color: #fff;
   /* Osigurava bijelu pozadinu iza svega */
}

a {
   text-decoration: none;
   color: inherit;
}

ul {
   list-style: none;
}

/* --- KLJUČNA PROMJENA: Centriranje i sužavanje sadržaja --- */
.container {
   max-width: 1100px;
   /* Smanjeno sa 1280px da bi se dobio prostor lijevo i desno */
   width: 100%;
   margin: 0 auto;
   /* Centriranje kontejnera */
   padding: 0 32px;
   /* Malo više unutarnjeg prostora od rubova na manjim ekranima */
}

.container-nav {
   max-width: 1200px;
   /* Smanjeno sa 1280px da bi se dobio prostor lijevo i desno */
   width: 100%;
   margin: 0 auto;
   /* Centriranje kontejnera */
   padding: 0 32px;
   /* Malo više unutarnjeg prostora od rubova na manjim ekranima */
}

/* --- HEADER & NAVIGACIJA --- */
.header {
   /* Glassmorphism efekt */
   background: rgba(255, 255, 255, 0.7);
   backdrop-filter: blur(15px);
   -webkit-backdrop-filter: blur(15px);

   padding: 12px 0;
   /* Malo uža navigacija za moderan izgled */
   position: sticky;
   top: 0;
   z-index: 1000;
   border-bottom: 1px solid rgba(255, 255, 255, 0.3);
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
   /* Vrlo lagana sjena */
   transition: all 0.3s ease;
}

.nav-container {
   display: flex;
   justify-content: space-between;
   /* Osigurava maksimalni razmak između tri glavna dijela */
   align-items: center;
}

.logo {
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--text-dark);
   /* Dodaj ove dvije linije ispod: */
   position: relative;
   display: inline-block;
   padding-bottom: 5px;
}

/* Ovo je cijeli novi blok koji moraš zalijepiti ispod .logo selektora */
.logo::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   height: 3px;
   /* Debljina crte */
   width: 90%;
   /* Duljina crte */
   /* Gradijent koji polako nestaje prema desno */
   background: linear-gradient(to right, var(--text-dark) 0%, rgba(17, 24, 39, 0.5) 60%, transparent 100%);
   border-radius: 2px;
}

.nav-menu {
   /* Ovo gura izbornik u sredinu, ali ostavlja dovoljno prostora sa strana */
   flex: 1;
   display: flex;
   justify-content: center;
}

.nav-links {
   display: flex;
   gap: 30px;
   /* Povećan razmak između linkova: Početna, Sadržaj... */
}

.nav-links a {
   font-weight: 500;
   color: var(--text-gray);
   font-size: 0.95rem;
   transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
   color: var(--text-dark);
}

.nav-contact-info {
   display: flex;
   gap: 20px;
   color: var(--text-gray);
   font-size: 0.9rem;
   flex: 0 0 auto;
}

.contact-item {
   display: flex;
   align-items: center;
   gap: 8px;
}

.contact-item i {
   color: var(--text-dark);
}

.hamburger {
   display: none;
   cursor: pointer;
}

.hamburger.active .bar:nth-child(1) {
   transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
   opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
   transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SEKCIJA --- */
.hero {
   position: relative;
   height: 600px;
   display: flex;
   align-items: center;
   color: white;
}

.hero-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   object-fit: cover;
   z-index: -2;
}

.hero-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.5);
   z-index: -1;
}

/* Sadržaj unutar hero sekcije je sada u užem kontejneru */
.hero-content h1 {
   font-size: 3.5rem;
   font-weight: 700;
   margin-bottom: 16px;
   position: relative;
   display: inline-block;
   padding-bottom: 10px;
}

.hero-content h1::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   height: 3px;
   width: 90%;
   background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.5) 60%, transparent 100%);
   border-radius: 2px;
}


.hero-subtitle {
   font-size: 1.125rem;
   max-width: 580px;
   margin-bottom: 32px;
   color: #e5e7eb;
}

.hero-chips {
   display: flex;
   flex-wrap: wrap;
   gap: 12px;
}

.chip {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 8px 16px;
   border-radius: 50px;
   font-size: 0.9rem;
   font-weight: 500;
   background: rgba(255, 255, 255, 0.1);
   backdrop-filter: blur(4px);
   border: 1px solid rgba(255, 255, 255, 0.2);
}

.chip-dark {
   background: rgba(0, 0, 0, 0.3);
   border: none;
}

/* Stil za Bazen (Plavo) */
.chip-bazen {
   background: rgba(37, 99, 235, 0.25) !important;
   /* Prozirna plava */
   border: 1px solid rgba(37, 99, 235, 0.6) !important;
   /* Tamnije plavi obrub */
   box-shadow: inset 0 0 10px rgba(37, 99, 235, 0.2);
   color: #bfdbfe;
   /* Svijetlo plavi tekst */
}

.chip-bazen i {
   color: #60a5fa;
   /* Izraženija plava za ikonu */
}

/* Stil za Saunu (Narančasto) */
.chip-sauna {
   background: rgba(249, 115, 22, 0.25) !important;
   /* Prozirna narančasta */
   border: 1px solid rgba(249, 115, 22, 0.6) !important;
   /* Tamnije narančasti obrub */
   box-shadow: inset 0 0 10px rgba(249, 115, 22, 0.2);
   color: #ffedd5;
   /* Svijetlo narančasti tekst */
}

.chip-sauna i {
   color: #fb923c;
   /* Izraženija narančasta za ikonu */
}

/* Zajednički efekt za moderniji izgled */
.chip-bazen,
.chip-sauna {
   backdrop-filter: blur(8px);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chip-bazen:hover,
.chip-sauna:hover {
   transform: translateY(-3px);
   box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- ZAJEDNIČKI STILOVI SEKCIJA --- */
.section-padding {
   padding: var(--section-spacing);
}

.section-gray {
   background-color: var(--bg-gray);
}

.text-center {
   text-align: center;
}

.text-right {
   text-align: right;
}

.section-badge {
   display: inline-block;
   background-color: var(--primary-dark);
   color: white;
   padding: 6px 16px;
   border-radius: 50px;
   font-size: 0.875rem;
   font-weight: 600;
   margin-bottom: 16px;
   text-transform: uppercase;
}

.section-title {
   font-size: 2.25rem;
   font-weight: 700;
   margin-bottom: 16px;
}

.section-desc {
   color: var(--text-gray);
   max-width: 700px;
   margin: 0 auto 48px auto;
}

/* --- SADRŽAJ SEKCIJA (Ažurirano za horizontalni raspored) --- */
.amenities-grid {
   display: grid;
   /* Definiramo 20 stupaca kako bismo lakše podijelili redove na 4 i 5 dijelova */
   grid-template-columns: repeat(20, 1fr);
   gap: 16px;
   margin-top: 48px;
}

/* Prve 4 kartice zauzimaju po 5 stupaca (4 * 5 = 20) */
.amenity-card:nth-child(-n+4) {
   grid-column: span 5;
}

/* Ostalih 5 kartica zauzimaju po 4 stupca (5 * 4 = 20) */
.amenity-card:nth-child(n+5) {
   grid-column: span 4;
}

.amenity-card {
   background: white;
   padding: 20px 10px;
   border-radius: var(--border-radius-card);
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 8px;
   transition: all 0.3s ease;
   border: 1px solid #f3f4f6;
   min-height: 110px;
   /* Kontrolira visinu kućica */
}

.amenity-card i {
   font-size: 2.5rem;
   margin-bottom: 2px;
}

.amenity-card img {
   width: 50px;
   /* 2.5rem je otprilike 40px, prilagodi po potrebi */
   height: 50px;
   object-fit: contain;
   /* Osigurava da se slika ne rastegne čudno */
   margin-bottom: 2px;
}

.amenity-card h3 {
   font-size: 1rem;
   font-weight: 500;
   color: var(--text-dark);
   text-align: center;
   line-height: 1.2;
}

.icon-blue {
   color: var(--primary-blue);
}

.icon-orange {
   color: #f97316;
   /* Narančasta za saunu */
}

.icon-red {
   color: #ef4444;
   /* Crvena za vatru/roštilj */
}

.icon-indigo {
   color: #6366f1;
   /* Indigo za glavne sobe */
}

.icon-violet {
   color: #8b5cf6;
   /* Ljubičasta za dječju sobu */
}

.icon-amber {
   color: #f59e0b;
   /* Žuta/Amber za kauč */
}

.icon-cyan {
   color: #06b6d4;
   /* Cijan za kupaonicu */
}

.icon-slate {
   color: #64748b;
   /* Siva za WC */
}

/* --- GALERIJA SEKCIJA --- */
.gallery-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   grid-auto-rows: 250px;
   /* Osnovna visina reda */
   grid-auto-flow: dense;
   /* Popunjava praznine manjim slikama */
   gap: 16px;
}

/* Novi stil za element galerije */
.gallery-item {
   position: relative;
   cursor: pointer;
   overflow: hidden;
   border-radius: var(--border-radius-img);
}

.gallery-item img {
   width: 100%;
   height: 100%;
   /* Slika sada popunjava cijelu ćeliju, bez obzira na veličinu */
   object-fit: cover;
   transition: transform 0.5s ease;
   display: block;
}

/* Hover efekt: slika se malo zumira */
.gallery-item:hover img {
   transform: scale(1.1);
}

/* Overlay s ikonom oka */
.gallery-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.4);
   /* Tamna pozadina */
   display: flex;
   justify-content: center;
   align-items: center;
   opacity: 0;
   transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
   opacity: 1;
}

.gallery-overlay i {
   color: white;
   font-size: 2rem;
   background: rgba(255, 255, 255, 0.2);
   padding: 15px;
   border-radius: 50%;
   backdrop-filter: blur(4px);
   transform: translateY(20px);
   transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
   transform: translateY(0);
}

/* --- MOZAIK RASPORED (Samo za veće ekrane) --- */
@media (min-width: 769px) {

   /* 1. Velika slika (10.jpeg) - OSTAJE ISTO */
   /* Nakon dodavanja novih slika, ovo je sada prva slika (17.png) */
   .gallery-item:nth-child(1) {
      grid-column: span 2;
      grid-row: span 2;
   }

   /* 7. Slika (4.jpeg - Landscape) */
   .gallery-item:nth-child(7) {
      grid-column: span 2;
   }

   /* 9. Slika (13.jpeg) - Visoka */
   .gallery-item:nth-child(9) {
      grid-row: span 2;
   }

   /* 15. Slika (9.jpeg - Visoka) */
   .gallery-item:nth-child(15) {
      grid-row: span 2;
   }
}

/* --- VIDEO U GALERIJI --- */
.gallery-video {
   grid-column: span 2;
   grid-row: span 2;
   border-radius: var(--border-radius-img);
   overflow: hidden;
   position: relative;
   background: #000;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-video video {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

/* Stil za fullscreen video da se ne "reže" */
.gallery-video video:fullscreen {
   object-fit: contain;
}

/* Oznaka "Video" na elementu u galeriji */
.video-label {
   position: absolute;
   top: 12px;
   left: 12px;
   background: rgba(0, 0, 0, 0.65);
   color: white;
   padding: 5px 10px;
   border-radius: 8px;
   font-size: 0.8rem;
   font-weight: 500;
   z-index: 10;
   pointer-events: none;
   /* Da ne ometa klik na video */
}

/* --- LOKACIJA SEKCIJA --- */
.location-flex {
   display: flex;
   gap: 32px;
   margin-top: 48px;
   position: relative;
}

.location-box {
   flex: 1;
}

.location-box h3 {
   font-size: 1.5rem;
   margin-bottom: 8px;
}

.location-box p {
   color: var(--text-gray);
   margin-bottom: 24px;
}

.map-placeholder {
   height: 400px;
   border-radius: var(--border-radius-card);
   overflow: hidden;
   position: relative;
   background-color: #e5e7eb;
}

.map-placeholder img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.map-marker-card {
   position: absolute;
   top: 30%;
   left: 40%;
   background: white;
   padding: 8px 16px;
   border-radius: 8px;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
   font-weight: 600;
}

.map-marker-card::after {
   content: '';
   position: absolute;
   top: 100%;
   left: 50%;
   transform: translateX(-50%);
   border-width: 8px;
   border-style: solid;
   border-color: white transparent transparent transparent;
}

/* --- PORUKA ZA KOLAČIĆE NA KARTI --- */
.cookie-consent-msg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   background-color: #e5e7eb;
   color: var(--text-gray);
   z-index: 1;
   transition: opacity 0.3s ease;
   text-align: center;
}

.cookie-consent-msg i {
   font-size: 2rem;
   margin-bottom: 12px;
   opacity: 0.6;
}

.cookie-consent-msg p {
   font-size: 0.95rem;
   font-weight: 500;
   padding: 0 20px;
}

.map-marker-satellite {
   position: absolute;
   bottom: 24px;
   left: 24px;
   background: rgba(255, 255, 255, 0.9);
   padding: 12px 24px;
   border-radius: 50px;
   display: flex;
   align-items: center;
   gap: 8px;
   font-weight: 600;
}

.map-marker-satellite i {
   color: #ef4444;
}

/* --- KONEKTOR IZMEĐU MAPA --- */
.location-connector {
   position: absolute;
   left: 50%;
   top: 58%;
   /* Centrirano na visinu mapa (ispod teksta) */
   transform: translate(-50%, -50%);
   width: 60px;
   height: 60px;
   background: white;
   border-radius: 50%;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 6px;
   z-index: 10;
}

.location-connector span {
   width: 8px;
   height: 8px;
   border-radius: 50%;
   animation: pulse 1.5s infinite ease-in-out;
}

.location-connector span:nth-child(1) {
   background-color: var(--primary-blue);
   animation-delay: 0s;
}

.location-connector span:nth-child(2) {
   background-color: var(--primary-green);
   animation-delay: 0.2s;
}

.location-connector span:nth-child(3) {
   background-color: #ef4444;
   animation-delay: 0.4s;
}

@keyframes pulse {

   0%,
   100% {
      transform: scale(0.8);
      opacity: 0.6;
   }

   50% {
      transform: scale(1.2);
      opacity: 1;
   }
}


/* --- KONTAKT SEKCIJA --- */
.contact-section {
   padding: 80px 0;
   background-color: #ffffff;
}

.contact-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   max-width: 900px;
   margin: 48px auto 0;
   background: white;
   border-radius: 20px;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-card {
   padding: 40px;
   display: flex;
   flex-direction: column;
   align-items: flex-start;
}

/* Lijeva strana */
.call-card {
   background: white;
}

/* Desna strana */
.fb-card {
   background: #edf3ff;
   /* Svijetlo plava pozadina za FB dio */
   align-items: center;
   /* Centrirano kao na slici */
   justify-content: center;
   text-align: center;
}

/* Ikone i kutije */
.icon-box-blue,
.icon-box-fb {
   width: 50px;
   height: 50px;
   border-radius: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 1.5rem;
   margin-bottom: 20px;
}

.icon-box-blue {
   background: #f0f6ff;
   color: #2563eb;
}

.icon-box-fb {
   background: #dbeafe;
   color: #1877f2;
}

/* Tekstovi */
.contact-card h3 {
   font-size: 1.5rem;
   margin-bottom: 10px;
   color: #1f2937;
}

.phone-number {
   font-size: 2rem;
   font-weight: 700;
   color: #2563eb;
   text-decoration: none;
   margin-bottom: 5px;
}

.availability,
.fb-description {
   color: #6b7280;
   font-size: 0.95rem;
   margin-bottom: 30px;
}

/* Plava kutija za cijenu */
.price-info-box {
   background: #eff6ff;
   border-radius: 15px;
   padding: 20px;
   display: flex;
   gap: 15px;
   width: 100%;
   margin-bottom: 30px;
   border: 1px solid #dbeafe;
}

.euro-icon {
   background: #dbeafe;
   color: #2563eb;
   width: 35px;
   height: 35px;
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   font-weight: bold;
   flex-shrink: 0;
}

.price-text strong {
   display: block;
   color: #1e40af;
   font-size: 1rem;
}

.price-text p {
   font-size: 0.85rem;
   color: #3b82f6;
   margin: 0;
}

/* Gumbi */
.btn-call-now {
   background: #05051a;
   /* Skoro crna kao na slici */
   color: white;
   width: 100%;
   padding: 15px;
   border-radius: 10px;
   text-align: center;
   text-decoration: none;
   font-weight: 600;
   transition: 0.3s;
}

.btn-fb-follow {
   background: white;
   color: #1f2937;
   padding: 12px 30px;
   border-radius: 10px;
   text-decoration: none;
   font-weight: 600;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
   transition: 0.3s;
}

.btn-call-now:hover,
.btn-fb-follow:hover {
   transform: translateY(-2px);
   box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}


/* --- FOOTER --- */
/* --- MODERAN FOOTER --- */
.main-footer {
   background-color: #0b1426;
   /* Tamna mornarsko plava/crna */
   color: #ffffff;
   padding: 60px 0 30px 0;
   padding: 40px 0 20px 0;
   text-align: center;
}

/* Logo i linija */
.footer-logo {
   display: inline-block;
   margin-bottom: 20px;
   margin-bottom: 15px;
}

.logo-text {
   font-size: 2rem;
   font-weight: 400;
   letter-spacing: 1px;
   position: relative;
   display: inline-block;
   padding-bottom: 5px;
}

.logo-text::after {
   content: "";
   position: absolute;
   left: 0;
   bottom: 0;
   height: 3px;
   width: 90%;
   background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0.5) 60%, transparent 100%);
   border-radius: 2px;
}

.footer-cta {
   font-size: 1.1rem;
   color: #e5e7eb;
   margin-bottom: 30px;
   margin-bottom: 25px;
}

/* Ikone */
.footer-socials {
   display: flex;
   justify-content: center;
   gap: 15px;
   margin-bottom: 40px;
   margin-bottom: 30px;
}

.social-icon {
   width: 45px;
   height: 45px;
   background-color: rgba(255, 255, 255, 0.05);
   /* Suptilna pozadina */
   border-radius: 10px;
   /* Zaobljeni kutovi */
   display: flex;
   align-items: center;
   justify-content: center;
   color: #ffffff;
   text-decoration: none;
   font-size: 1.2rem;
   transition: all 0.3s ease;
   border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
   background-color: rgba(255, 255, 255, 0.15);
   transform: translateY(-3px);
}

/* Linkovi */
.footer-links {
   display: flex;
   justify-content: center;
   gap: 30px;
   margin-bottom: 40px;
   margin-bottom: 30px;
   flex-wrap: wrap;
}

.footer-links a {
   color: #9ca3af;
   text-decoration: none;
   font-size: 0.9rem;
   transition: color 0.3s;
}

.footer-links a:hover {
   color: #ffffff;
}

/* Donja linija i Copyright */
.footer-divider {
   height: 1px;
   background: rgba(255, 255, 255, 0.3);
   max-width: 1000px;
   margin: 0 auto 30px auto;
   margin: 0 auto 20px auto;
}

.copyright {
   color: #6b7280;
   font-size: 0.85rem;
}

/* --- LEGAL MODALS (Privacy, Terms) --- */
.legal-modal {
   display: none;
   /* Skriveno po defaultu */
   position: fixed;
   z-index: 2100;
   /* Iznad svega ostalog */
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(17, 24, 39, 0.8);
   /* Tamnija pozadina usklađena s brendom */
   backdrop-filter: blur(5px);
   justify-content: center;
   align-items: center;
   padding: 20px;
}

.legal-modal.active {
   display: flex;
}

.legal-modal-content {
   background: white;
   padding: 30px 40px;
   border-radius: var(--border-radius-card);
   max-width: 800px;
   width: 100%;
   max-height: 90vh;
   overflow-y: auto;
   position: relative;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.legal-modal-content h2 {
   font-size: 1.75rem;
   margin-bottom: 20px;
   color: var(--text-dark);
}

.legal-modal-content p {
   color: var(--text-gray);
   margin-bottom: 15px;
   line-height: 1.6;
}

.legal-modal-close {
   position: absolute;
   top: 15px;
   right: 20px;
   color: var(--text-gray);
   font-size: 2.5rem;
   cursor: pointer;
   transition: color 0.3s;
   line-height: 1;
}

.legal-modal-close:hover {
   color: var(--text-dark);
}

.legal-modal-content h3 {
   font-size: 1.2rem;
   font-weight: 600;
   color: var(--text-dark);
   margin-top: 24px;
   margin-bottom: 12px;
}

.legal-modal-content ul {
   list-style-position: outside;
   padding-left: 20px;
   margin-bottom: 15px;
}

.legal-modal-content li {
   color: var(--text-gray);
   margin-bottom: 8px;
   line-height: 1.6;
}

.legal-modal-content li strong {
   color: var(--text-dark);
   font-weight: 600;
}

.legal-modal-content a {
   color: var(--primary-blue);
   text-decoration: underline;
   font-weight: 500;
}

/* --- LIGHTBOX (Velika slika) --- */
.lightbox {
   display: none;
   /* Skriveno po defaultu */
   position: fixed;
   z-index: 2000;
   /* Iznad svega */
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0, 0, 0, 0.9);
   justify-content: center;
   align-items: center;
   padding: 20px;
}

.lightbox.active {
   display: flex;
}

.lightbox-img {
   max-width: 90%;
   max-height: 90vh;
   border-radius: 8px;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
   user-select: none;
   -webkit-user-select: none;
}

.lightbox-video {
   display: none;
   /* Skriveno po defaultu */
   max-width: 90%;
   max-height: 90vh;
   border-radius: 8px;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
   position: absolute;
   top: 20px;
   right: 30px;
   color: white;
   font-size: 3rem;
   cursor: pointer;
   transition: 0.3s;
}

.lightbox-close:hover {
   color: var(--primary-blue);
}

/* Strelice za navigaciju */
.lightbox-btn {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   color: white;
   font-size: 2rem;
   padding: 20px;
   cursor: pointer;
   transition: 0.3s;
   z-index: 2001;
   background: rgba(0, 0, 0, 0.2);
   /* Blaga pozadina za bolju vidljivost */
   border-radius: 50%;
}

.lightbox-btn:hover {
   background: rgba(255, 255, 255, 0.2);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
   position: fixed;
   bottom: 24px;
   left: 24px;
   background: rgba(11, 20, 38, 0.95);
   /* Tamna tema */
   color: white;
   padding: 16px 20px;
   border-radius: 12px;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
   display: flex;
   align-items: center;
   gap: 20px;
   z-index: 9999;
   backdrop-filter: blur(10px);
   border: 1px solid rgba(255, 255, 255, 0.1);
   transform: translateY(150%);
   /* Skriveno ispod ekrana */
   transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
   max-width: 380px;
}

.cookie-banner.show {
   transform: translateY(0);
}

.cookie-banner p {
   font-size: 0.9rem;
   margin: 0;
   color: #e5e7eb;
   line-height: 1.4;
}

.btn-cookie {
   background: var(--primary-blue);
   color: white;
   border: none;
   padding: 8px 20px;
   border-radius: 8px;
   font-size: 0.9rem;
   font-weight: 500;
   cursor: pointer;
   white-space: nowrap;
   transition: all 0.2s;
}

.btn-cookie:hover {
   background: #1d4ed8;
   transform: translateY(-1px);
}

.lightbox-prev {
   left: 20px;
}

.lightbox-next {
   right: 20px;
}

/* --- RESPONSIVE DIZAJN --- */
@media (max-width: 1024px) {
   .container {
      /* Na srednjim ekranima još malo smanjujemo da ne bude preblizu ruba */
      padding: 0 24px;
   }

   .gallery-grid {
      grid-template-columns: repeat(3, 1fr);
   }

   .nav-menu {
      display: none;
   }

   .hide-mobile {
      display: none;
   }

   .nav-contact-info {
      display: none;
   }

   .hamburger {
      display: block;
      z-index: 101;
   }

   .bar {
      display: block;
      width: 25px;
      height: 3px;
      margin: 5px auto;
      background-color: var(--text-dark);
      transition: 0.3s;
   }

   /* Mobilni meni */
   .nav-menu.active {
      display: flex;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: white;
      padding: 24px 0;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
   }

   .nav-links {
      flex-direction: column;
      align-items: center;
      gap: 24px;
   }

   .cookie-banner {
      left: 16px;
      right: 16px;
      bottom: 16px;
      max-width: none;
      justify-content: space-between;
   }
}

@media (max-width: 768px) {
   .hero h1 {
      font-size: 2.5rem;
   }

   .hero-chips {
      justify-content: center;
   }

   .section-title {
      font-size: 1.75rem;
   }

   .amenities-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .amenity-card:nth-child(n) {
      grid-column: span 1;
   }

   .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
   }

   .gallery-video {
      grid-row: span 1;
      /* Manja visina videa na mobitelu */
   }

   .location-connector {
      display: none;
   }

   .location-flex,
   .contact-grid {
      flex-direction: column;
      grid-template-columns: 1fr;
   }

   .contact-card {
      padding: 30px;
   }

   .phone-number {
      font-size: 1.75rem;
   }

   .map-placeholder {
      height: 300px;
   }
}

@media (max-width: 480px) {
   .container {
      padding: 0 16px;
      /* Manji padding na mobitelima */
   }

   .amenities-grid {
      grid-template-columns: 1fr;
   }
}
