/* ===== RESET I OSNOVNI STILOVI ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background: #0a0f1c;
    color: #fff;
}

section {
    position: relative;
    margin: 0;
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0f1c;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo-icon {
    margin-bottom: 1rem;
    animation: float-icon 2s ease-in-out infinite;
}

.preloader-logo-icon svg {
    filter: drop-shadow(0 0 20px rgba(0, 168, 255, 0.5));
}

.preloader-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    background: linear-gradient(45deg, #fff, #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00a8ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== NAVIGACIJA ===== */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2%;
    background: rgba(10, 30, 60, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 168, 255, 0.1);
}

.nav.scrolled {
    padding: 0.7rem 2%;
    background: rgba(10, 30, 60, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    animation: float-icon 3s ease-in-out infinite;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    color: #00a8ff;
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.5));
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-icon svg {
    color: #fff;
    filter: drop-shadow(0 0 20px rgba(0, 168, 255, 0.8));
    transform: rotateY(180deg);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #fff, #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

.logo-sub {
    font-size: 1.1rem;
    font-weight: 500;
    color: #00a8ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    animation: glow 2s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 5px rgba(0, 168, 255, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.6); }
}

.logo-waves {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 3px;
}

.logo-waves span {
    width: 3px;
    height: 20px;
    background: linear-gradient(to top, transparent, #00a8ff);
    border-radius: 3px;
    animation: wave-animation 1.5s ease-in-out infinite;
}

.logo-waves span:nth-child(1) { animation-delay: 0s; }
.logo-waves span:nth-child(2) { animation-delay: 0.2s; height: 25px; }
.logo-waves span:nth-child(3) { animation-delay: 0.4s; height: 15px; }

@keyframes wave-animation {
    0%, 100% { 
        transform: scaleY(0.5);
        opacity: 0.5;
    }
    50% { 
        transform: scaleY(1);
        opacity: 1;
    }
}

/* Navigation Wrapper */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    position: relative;
    padding: 6px 10px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.2px;
    border-radius: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    box-sizing: border-box;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 168, 255, 0.3);
}

.nav-links a.active {
    color: #ffffff;
    background: rgba(0, 168, 255, 0.8);
    border: 1px solid rgba(0, 168, 255, 0.6);
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(0, 168, 255, 0.4);
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    position: relative;
}

.language-selector::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 400% 400%;
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    animation: gradientShift 4s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.language-selector:hover::before {
    opacity: 0.2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.lang-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    animation: langFadeIn 0.8s ease-out forwards;
}

.lang-btn:nth-child(1) { animation-delay: 0.2s; }
.lang-btn:nth-child(2) { animation-delay: 0.4s; }
.lang-btn:nth-child(3) { animation-delay: 0.6s; }
.lang-btn:nth-child(4) { animation-delay: 0.8s; }

@keyframes langFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.lang-btn[href*="index.html"]::before { 
    background: radial-gradient(circle, #ff4757 0%, #ff3742 100%);
}

.lang-btn[href*="en/"]::before { 
    background: radial-gradient(circle, #3742fa 0%, #2f3542 100%);
}

.lang-btn[href*="de/"]::before { 
    background: radial-gradient(circle, #ffa502 0%, #ff6348 100%);
}

.lang-btn[href*="it/"]::before { 
    background: radial-gradient(circle, #2ed573 0%, #1e90ff 100%);
}

.lang-btn:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.lang-btn:hover::before {
    width: 100px;
    height: 100px;
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.3), rgba(0, 168, 255, 0.1));
    border-color: #00a8ff;
    color: #ffffff;
    animation: langPulse 2s ease-in-out infinite;
}

@keyframes langPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 168, 255, 0.6);
        transform: scale(1.05);
    }
}

/* Dropdown Styles - Desktop */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 30, 60, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background: rgba(0, 168, 255, 0.2);
    color: #ffffff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    perspective: 1500px;
	background: transparent;
    /* background: linear-gradient(rgba(10, 15, 28, 0.4), rgba(10, 15, 28, 0.6)); */
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Slideshow */
.slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
	background: transparent;
     /* position: absolute; */
     /* top: 0; */
     /* left: 0; */
     /* width: 100%; */
     /* height: 100%; */
     /* background: linear-gradient(135deg, rgba(0, 30, 60, 0.7) 0%, rgba(0, 102, 204, 0.5) 100%); */
}

.slide-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animated seagulls */
.seagull {
    position: absolute;
    animation: fly 20s infinite ease-in-out;
}

.seagull svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    animation: bird-sway 3s ease-in-out infinite;
}

.seagull svg path {
    transform-origin: center;
    animation: seagull-wings 0.8s ease-in-out infinite;
}

.seagull:nth-child(2) svg {
    transform: scale(0.85);
}

.seagull:nth-child(3) svg {
    transform: scale(1.1);
}

@keyframes fly {
    0% { transform: translateX(110vw) translateY(0); }
    25% { transform: translateX(80vw) translateY(-50px); }
    50% { transform: translateX(50vw) translateY(20px); }
    75% { transform: translateX(20vw) translateY(-30px); }
    100% { transform: translateX(-100px) translateY(0); }
}

@keyframes bird-sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes seagull-wings {
    0%, 100% { 
        transform: scaleY(1) translateY(0);
    }
    50% { 
        transform: scaleY(0.7) translateY(-3px);
    }
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    opacity: 0.95;
    font-weight: 300;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
    opacity: 0.8;
}

.hero-features {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-feature span:first-child {
    font-size: 1.5rem;
}

/* Booking Award in Hero */
.booking-award-hero {
    position: absolute;
    top: 10px;
    right: 1px;
    z-index: 100;
    animation: fadeInRight 1s ease-out 1.5s both;
}

.award-badge-hero {
    position: relative;
    width: 170px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.award-badge-hero:hover {
    transform: translateY(-5px) scale(1.05);
}

.award-badge-hero img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.3));
}

.award-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: rgba(0, 168, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: pulse-effect 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse-effect {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1200px) {
    .booking-award-hero {
        right: 20px;
        top: 80px;
    }
    
    .award-badge-hero {
        width: 130px;
    }
}

@media (max-width: 992px) {
    .booking-award-hero {
        right: 15px;
        top: auto;
        bottom: 100px;  /* premjesti ga dolje */
    }
}

/* Waves */
.waves {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 100px;
    min-height: 80px;
    max-height: 100px;
    z-index: 5;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 20s;
    fill: rgba(255,255,255,0.1);
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 25s;
    fill: rgba(255,255,255,0.15);
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 30s;
    fill: rgba(255,255,255,0.2);
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 35s;
    fill: rgba(255,255,255,0.4);
}

@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

/* ===== OCEAN TRANSITION ===== */
.ocean-transition {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin-top: -2px;
    margin-bottom: 0;
    background: transparent;
    z-index: 10;
}

.ocean-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0.15) 20%,
        rgba(0,102,204,0.1) 50%,
        rgba(0,102,204,0.25) 80%,
        rgba(0,102,204,0.4) 100%
    );
    animation: gradient-shift 8s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        opacity: 0.8;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.6;
        transform: scaleY(1.05);
    }
}

.ocean-foam {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 40%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.3) 0%, transparent 50%);
    animation: foam-move 15s ease-in-out infinite;
}

@keyframes foam-move {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateX(-20px) scale(1.1);
        opacity: 0.4;
    }
    50% {
        transform: translateX(20px) scale(0.9);
        opacity: 0.7;
    }
    75% {
        transform: translateX(-10px) scale(1.05);
        opacity: 0.5;
    }
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #0066cc 0%, #004499 100%);
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    padding-bottom: 50px;
}

.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.container {
    width: 90%; /* 90% širine prozora */
    margin: 0 auto;
    padding: 0 2%; /* Smanji padding */
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
    background: linear-gradient(45deg, #fff, #00a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00a8ff, transparent);
}

/* Flying Birds */
.flying-birds {
    position: absolute;
    top: 10%;
    right: -150px;
    z-index: 1;
    animation: fly-across 25s linear infinite;
    transform: scaleX(-1);
}

.bird-svg {
    display: inline-block;
    margin: 0 15px;
    animation: flap 0.8s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.bird-svg:nth-child(2) { 
    animation-delay: 0.2s; 
    transform: scale(0.85);
}
.bird-svg:nth-child(3) { 
    animation-delay: 0.4s;
    transform: scale(0.7);
}

@keyframes fly-across {
    to {
        right: 110%;
        transform: scaleX(-1) translateY(-30px);
    }
}

@keyframes flap {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-2deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(2deg); }
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    position: relative;
    height: 520px;          /* povećana visina */
    padding: 28px;          /* dodatni prostor oko teksta */
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    perspective: 1000px;
}

.feature-card-front,
.feature-card-back {
    height: 100%;
}

/* Kad je kliknuta, uvijek okreni karticu */
.feature-card.flipped {
    transform: rotateY(180deg);
}

/* Ako je kliknuta i prelaziš mišem, samo dodaj lagani lift */
.feature-card.flipped:hover {
    transform: rotateY(180deg) translateY(-5px);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.card-front {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-back {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 66, 153, 0.9) 100%);
    transform: rotateY(180deg);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card.flipped:hover {
    transform: translateY(-5px) rotateY(180deg);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card:nth-child(odd) .feature-icon {
    animation-delay: 0.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #fff;
}

.feature-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #fff;
}

.card-back .feature-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.95;
}

.back-icon {
    font-size: 2.5rem;
    margin-top: 1.5rem;
    opacity: 0.5;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.card-front::after {
    content: '👆 Kliknite za više';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.9rem;
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== GALLERY TRANSITION - POLAROID ===== */
.gallery-transition {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: linear-gradient(180deg, #004499 0%, #0a0f1c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.polaroid-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.polaroid {
    position: absolute;
    width: 70px;    
    height: 85px;
    background: rgba(255,255,255,0.55); /* prozirnije */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px); /* lagani blur za moderni efekt */
    border-radius: 8px; /* mekši rubovi */
    transform: rotate(var(--rotation)) translateY(18px);
    animation: float-polaroid 4s ease-in-out infinite;
    animation-delay: var(--delay);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.polaroid:nth-child(1) { left: 10%; }
.polaroid:nth-child(2) { left: 25%; }
.polaroid:nth-child(3) { left: 50%; transform: translateX(-50%) rotate(var(--rotation)) translateY(20px); }
.polaroid:nth-child(4) { right: 25%; }
.polaroid:nth-child(5) { right: 10%; }

.polaroid:hover {
    transform: rotate(0deg) scale(1.2) translateY(0);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.polaroid-image {
    width: 85%;     /* was 90% */
    height: 62%;    /* was 70% */
    margin: 7% 7% 0;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.9;
}

.polaroid-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.1) brightness(0.95) sepia(0.1);
    transition: filter 0.3s ease;
}

.polaroid:hover .polaroid-image img {
    filter: none;
}

.polaroid-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
    animation-delay: var(--delay);
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.polaroid-text {
    text-align: center;
    font-size: 0.65rem; /* manji tekst */
    opacity: 0.55;      /* prozirniji */
    color: #222;        /* blaža boja */
    margin-top: 3px;
    font-family: 'Courier New', monospace;
    padding: 2px 4px;
    background: rgba(255,255,255,0.4); /* lagana prozirna pozadina */
    border-radius: 4px;
    backdrop-filter: blur(2px); 
}

@keyframes float-polaroid {
    0%, 100% { 
        transform: rotate(var(--rotation)) translateY(20px);
    }
    50% { 
        transform: rotate(var(--rotation)) translateY(0);
    }
}

.camera-icon {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.2);
    animation: camera-click 5s infinite;
    z-index: 0;
}

.camera-icon svg {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

@keyframes camera-click {
    0%, 90%, 100% { 
        transform: translateY(-50%) scale(1);
        opacity: 0.2;
    }
    95% { 
        transform: translateY(-50%) scale(0.9);
        opacity: 0.4;
    }
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: 5rem 5%;
    background: #0a0f1c;
    position: relative;
    background: linear-gradient(180deg, #004499 0%, #0a0f1c 10%);
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, 
        rgba(0, 168, 255, 0.1) 0%, 
        transparent 100%
    );
    opacity: 0.5;
    animation: gentle-pulse 4s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% { 
        opacity: 0.6;
        transform: scaleY(1.1);
    }
}

.ships {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.ship {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: sail 40s linear infinite;
    transform: scaleX(-1);
}

.ship-1 {
    top: 20%;
    animation-duration: 35s;
}

.ship-2 {
    top: 60%;
    animation-duration: 45s;
    animation-delay: -20s;
}

@keyframes sail {
    from {
        right: -100px;
    }
    to {
        right: 110%;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: all 0.5s ease;
    transform-style: preserve-3d;
}

.gallery-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.4),
                0 0 80px rgba(0, 168, 255, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.6);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.3) 60%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    z-index: 10;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    pointer-events: all;
}

.gallery-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    z-index: 11;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-description {
    color: #ffffff;
    font-size: 1.1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
    z-index: 11;
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-title {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.gallery-item:hover .gallery-description {
    transform: translateY(0);
    opacity: 0.95;
    transition-delay: 0.2s;
}

.gallery-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #004499 0%, #003366 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 2rem;
    text-align: center;
}

.gallery-fallback h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-fallback p {
    opacity: 0.8;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 5%;
    background: linear-gradient(180deg, #0a0f1c 0%, #001e3c 50%, #0a0f1c 100%);
    text-align: center;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 168, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(0, 102, 204, 0.05) 0%, transparent 40%);
    animation: underwater-light 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes underwater-light {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 2rem auto;
    opacity: 0.9;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    color: #00a8ff;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 5%;
    background: #001e3c;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0f1c 0%, #001e3c 20%, #001e3c 100%);
}

.contact-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.3),
                0 0 60px rgba(0, 168, 255, 0.1);
    border-color: #00a8ff;
}

.card-hover-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.contact-item:hover .card-hover-effect {
    transform: scale(1);
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.contact-item-header svg {
    width: 32px;
    height: 32px;
    color: #00a8ff;
    transition: all 0.3s ease;
}

.contact-item-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
}

.contact-item:hover .contact-item-header svg {
    transform: scale(1.2) rotate(-10deg);
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.8));
}

/* Floating particles */
.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-50px) translateX(-50px); }
    75% { transform: translateY(-150px) translateX(30px); }
}

/* Animated fish */
.fishes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.fish {
    position: absolute;
    font-size: 2rem;
    opacity: 0.15;
    animation: swim 25s ease-in-out infinite;
}

.fish-1 {
    bottom: 20%;
    animation-delay: 0s;
}

.fish-2 {
    bottom: 40%;
    animation-delay: -10s;
    animation-duration: 30s;
}

@keyframes swim {
    0%, 100% {
        right: -50px;
        transform: scaleX(-1);
    }
    50% {
        right: 110%;
        transform: scaleX(1);
    }
}

/* Lighthouse effect */
.lighthouse {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 30px;
    height: 30px;
    background: #ffeb3b;
    border-radius: 50%;
    box-shadow: 0 0 30px #ffeb3b;
    z-index: 1;
}

.lighthouse::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100px;
    width: 200px;
    height: 30px;
    background: linear-gradient(90deg, transparent, rgba(255, 235, 59, 0.3), transparent);
    animation: lighthouse-beam 4s ease-in-out infinite;
    transform-origin: right center;
}

@keyframes lighthouse-beam {
    0%, 100% { transform: rotate(-45deg); }
    50% { transform: rotate(45deg); }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 80%;
    max-height: 70%;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(0, 168, 255, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    object-fit: contain;
    z-index: 10000;
    position: relative;
    cursor: default;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: Arial, sans-serif;
    user-select: none;
}

.lightbox-close:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: scale(1.1);
    color: #fff;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    font-size: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: Arial, sans-serif;
    user-select: none;
    outline: none;
}

.lightbox-nav:hover {
    background: rgba(0, 168, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
    color: #fff;
}

.lightbox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.image-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    z-index: 10001;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}

.lightbox-info {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 25px 35px;
    border-radius: 15px;
    text-align: center;
    max-width: 85%;
    min-width: 350px;
    z-index: 10001;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 600;
    color: #00a8ff;
    font-family: Arial, sans-serif;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-description {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-style: italic;
}

.lightbox-description:not(:empty)::before {
    content: "•";
    color: #00a8ff;
    font-size: 20px;
    display: block;
    text-align: center;
    margin: 8px 0;
}

.lightbox.active .lightbox-close {
    animation: fadeInScale 0.4s ease 0.1s both;
}

.lightbox.active .lightbox-nav {
    animation: slideInFromSide 0.4s ease 0.2s both;
}

.lightbox.active .image-counter {
    animation: fadeInDown 0.4s ease 0.3s both;
}

.lightbox.active .lightbox-info {
    animation: fadeInUp 0.4s ease 0.4s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromSide {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== FOOTER TRANSITION ===== */
.footer-transition {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, 
        #001e3c 0%, 
        #001a33 30%,
        #001529 60%,
        #0a1929 100%
    );
    overflow: hidden;
}

.horizon-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 255, 0.6) 20%, 
        rgba(0, 168, 255, 0.6) 80%, 
        transparent
    );
    animation: horizon-glow 4s ease-in-out infinite;
}

@keyframes horizon-glow {
    0%, 100% { 
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 30px rgba(0, 168, 255, 0.8);
    }
}

.horizon-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, 
        rgba(0, 168, 255, 0.2) 0%, 
        transparent 70%
    );
    filter: blur(20px);
    animation: horizon-pulse 3s ease-in-out infinite;
}

@keyframes horizon-pulse {
    0%, 100% { transform: translateX(-50%) scaleX(1); }
    50% { transform: translateX(-50%) scaleX(1.2); }
}

.horizon-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
}

.horizon-stars span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.horizon-stars span:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.horizon-stars span:nth-child(2) { top: 30%; left: 50%; animation-delay: 0.5s; }
.horizon-stars span:nth-child(3) { top: 15%; left: 70%; animation-delay: 1s; }
.horizon-stars span:nth-child(4) { top: 40%; left: 30%; animation-delay: 1.5s; }
.horizon-stars span:nth-child(5) { top: 25%; left: 80%; animation-delay: 2s; }

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
    }
}

.horizon-boat {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: sail-horizon 30s linear infinite;
    opacity: 0.6;
}

@keyframes sail-horizon {
    to {
        left: calc(100% + 50px);
    }
}

/* ===== FOOTER ===== */
footer {
    width: 90%; /* 90% širine prozora */
    margin: 0 auto; /* Centriranje */
    background: #0a1929;
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: radial-gradient(ellipse at center top, 
        rgba(0, 168, 255, 0.1) 0%, 
        transparent 70%
    );
    animation: wave-fade 8s ease-in-out infinite;
}

@keyframes wave-fade {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-20px); }
}

.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 168, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 168, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 168, 255, 0.03) 0%, transparent 50%);
    animation: particles-float 20s ease-in-out infinite;
}

@keyframes particles-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -20px) scale(1.1); }
    66% { transform: translate(20px, -10px) scale(0.9); }
}

footer .container {
    width: 90% !important; /* 90% širine prozora */
    max-width: none !important; /* Uklanja ograničenje */
    margin: 0 auto !important;
    padding: 0 2% !important;
}

.footer-hero {
    text-align: center;
    margin-bottom: 80px;
}

.footer-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.word-animate {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: word-appear 0.8s ease-out forwards;
}

.word-animate:nth-child(1) { animation-delay: 0.2s; }
.word-animate:nth-child(2) { animation-delay: 0.4s; }
.word-animate:nth-child(3) { animation-delay: 0.6s; }
.word-animate:nth-child(4) { animation-delay: 0.8s; }

.word-animate.highlight {
    color: #00a8ff;
    position: relative;
}

.word-animate.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: #00a8ff;
    transform: scaleX(0);
    animation: underline-draw 0.8s ease-out 1.2s forwards;
}

@keyframes word-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underline-draw {
    to { transform: scaleX(1); }
}

.footer-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fade-in 1s ease-out 1s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

.footer-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: default;
}

.badge:hover {
    background: rgba(0, 168, 255, 0.2);
    border-color: #00a8ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

.badge-icon {
    font-size: 1.5rem;
    animation: icon-bounce 2s ease-in-out infinite;
}

.badge:nth-child(1) .badge-icon { animation-delay: 0s; }
.badge:nth-child(2) .badge-icon { animation-delay: 0.2s; }
.badge:nth-child(3) .badge-icon { animation-delay: 0.4s; }
.badge:nth-child(4) .badge-icon { animation-delay: 0.6s; }

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.footer-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-card:hover .card-icon {
    background: rgba(0, 168, 255, 0.2);
    transform: rotate(-10deg);
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: #00a8ff;
}

.card-header h3 {
    font-size: 1.25rem;
    color: #00a8ff;
    margin: 0;
}

.card-content {
    color: rgba(255, 255, 255, 0.8);
}

.footer-cta {
    text-align: center;
    padding: 4rem;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 30px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.05) 0%, transparent 70%);
    animation: cta-rotate 20s linear infinite;
}

@keyframes cta-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #00a8ff;
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00a8ff;
    border: 2px solid #00a8ff;
}

.btn-secondary:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.2);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
    position: relative;
    overflow: hidden;
    width: 90%; /* 90% širine umjesto 100vw */
    border-radius: 0 0 20px 20px; /* Dodaj zaobljene uglove */
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 255, 0.5) 20%, 
        rgba(0, 168, 255, 0.5) 80%, 
        transparent
    );
    animation: glow-line 3s ease-in-out infinite;
}

@keyframes glow-line {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-modern {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.footer-logo-modern svg {
    color: #00a8ff;
    filter: drop-shadow(0 0 15px rgba(0, 168, 255, 0.4));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { 
        filter: drop-shadow(0 0 15px rgba(0, 168, 255, 0.4));
    }
    50% { 
        filter: drop-shadow(0 0 25px rgba(0, 168, 255, 0.6));
    }
}

.logo-text-footer {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #00a8ff 0%, #0066cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.footer-copyright {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0;
    text-align: center;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.made-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.heart-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.heart-icon {
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.5));
}

@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1);
    }
    10% { 
        transform: scale(1.2);
    }
    20% { 
        transform: scale(1);
    }
    30% { 
        transform: scale(1.15);
    }
    40% { 
        transform: scale(1);
    }
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    align-items: center;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 168, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.social-link:hover {
    background: #00a8ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link svg {
    width: 20px;
    height: 20px;
    z-index: 1;
    position: relative;
}

/* Image loading animation */
img {
    opacity: 1;
    transition: opacity 0.5s ease;
    object-fit: cover;
}

img.loaded {
    opacity: 1;
}

/* Scroll animations */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background Particles */
.bg-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    bottom: -10px;
    animation: rise linear infinite;
}

@keyframes rise {
    to {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Ripple Effect */
.ripple {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(0, 168, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-animation 1s ease-out;
    pointer-events: none;
    z-index: 9998;
}

@keyframes ripple-animation {
    to {
        transform: translate(-50%, -50%) scale(10);
        opacity: 0;
    }
}

/* Bubbles */
.bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: bubble-rise 8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bubble-rise {
    0% {
        bottom: -50px;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        bottom: 100%;
        opacity: 0;
    }
}

/* Clickable styles */
.clickable-polaroid {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-polaroid:hover {
    transform: rotate(0deg) scale(1.3) translateY(-10px);
    z-index: 20;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.clickable-award {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable-award:hover {
    transform: translateY(-8px) scale(1.1);
    filter: drop-shadow(0 10px 30px rgba(0, 168, 255, 0.5));
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and Medium Screens */
@media (max-width: 1024px) {
    .nav-links a {
        padding: 5px 8px;
        font-size: 0.75rem;
        min-height: 30px;
    }
    
    .nav-links {
        gap: 0.2rem;
    }
    
    .lang-btn {
        width: 35px;
        height: 35px;
        font-size: 0.7rem;
    }
}

@media (max-width: 900px) {
    .nav-links a {
        padding: 4px 6px;
        font-size: 0.7rem;
        min-height: 28px;
    }
    
    .nav-links {
        gap: 0.1rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav {
        padding: 0.8rem 4%;
    }
    
    .nav.scrolled {
        padding: 0.6rem 4%;
    }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1002;
        order: 2;
    }
    
    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: white;
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-container {
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(0, 30, 60, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1001;
        transition: right 0.4s ease;
        padding: 100px 30px 30px;
        overflow-y: auto;
        flex-direction: column;
        gap: 2rem;
        border-left: 1px solid rgba(0, 168, 255, 0.3);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav-wrapper.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
        display: block;
        visibility: visible;
        opacity: 1;
        margin: 0;
        padding: 0;
    }
    
    .nav-links a {
        display: flex;
        visibility: visible;
        opacity: 1;
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        border-radius: 12px;
        text-align: left;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: all 0.3s ease;
        align-items: center;
        min-height: 48px;
        position: static;
        transform: none;
        text-transform: none;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
        color: #ffffff;
    }
    
    .nav-links a.active {
        background: rgba(0, 168, 255, 0.8);
        color: #ffffff;
        font-weight: 600;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu a {
        padding: 12px 25px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .dropdown-menu a:hover {
        background: rgba(0, 168, 255, 0.3);
        color: #ffffff;
        transform: translateX(10px);
    }
    
    .language-selector {
        margin-top: 2rem;
        margin-left: 0;
        justify-content: center;
        gap: 1rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        order: -1;
    }
    
    .language-selector a {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .language-selector a:hover {
        background: rgba(0, 168, 255, 0.3);
        border-color: #00a8ff;
        transform: scale(1.1);
    }
    
    /* Hero responsive */
    .hero-title { 
        font-size: 3rem; 
        letter-spacing: -1px;
    }
    .hero-subtitle { font-size: 1rem; }
    .hero-text { font-size: 1rem; }
    .hero-content { 
        left: 1%; 
        right: 5%;
        padding: 1.5rem;
    }
    
    /* Gallery responsive */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .gallery-item {
        height: 300px;
    }
    
    /* Contact responsive */
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    /* Features responsive */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .feature-card {
        height: 320px;
    }
    
    /* About responsive */
    .about-stats {
        gap: 2rem;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Ocean transition responsive */
    .ocean-transition {
        height: 100px;
    }
    
    /* Gallery transition responsive */
    .polaroid-container {
        gap: 1rem;
    }
    
    .polaroid {
        width: 80px;
        height: 100px;
    }
    
    .polaroid:nth-child(1),
    .polaroid:nth-child(5) {
        display: none;
    }
    
    .polaroid:nth-child(2) { left: 15%; }
    .polaroid:nth-child(4) { right: 15%; }
    
    .camera-icon {
        display: none;
    }
    
    /* Hide animations on mobile for better performance */
    .ships, .flying-birds, .fishes, .lighthouse {
        display: none;
    }
    
    /* Logo mobile adjustments */
    .logo-main {
        font-size: 1.2rem;
    }
    
    .logo-sub {
        font-size: 0.9rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .logo-waves {
        display: none;
    }
    
    /* Lightbox mobile */
    .lightbox img {
        max-width: 95%;
        max-height: 60%;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 35px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .image-counter {
        top: 15px;
        left: 15px;
        font-size: 14px;
        padding: 8px 16px;
    }
    
    .lightbox-info {
        bottom: 20px;
        left: 20px;
        right: 20px;
        transform: none;
        max-width: none;
        min-width: auto;
        padding: 15px 20px;
    }
    
    .lightbox-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .lightbox-description {
        font-size: 14px;
    }
    
    /* Footer responsive */
    .footer-title {
        font-size: 2rem;
    }
    
    .footer-badges {
        gap: 1rem;
    }
    
    .badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-transition {
        height: 150px;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .nav {
        padding: 0.8rem 3%;
    }
    
    .nav.scrolled {
        padding: 0.6rem 3%;
    }
    
    .nav-wrapper {
        width: 100%;
        padding: 80px 20px 20px;
    }
    
    .nav-links a {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .language-selector a {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    /* Ocean transition for small screens */
    .ocean-transition {
        height: 80px;
    }
    
    /* Gallery transition for small screens */
    .gallery-transition {
        height: 100px;
    }
    
    .polaroid {
        width: 60px;
        height: 75px;
    }
    
    .polaroid-text {
        font-size: 0.6rem;
    }
    
    .polaroid:nth-child(2),
    .polaroid:nth-child(4) {
        display: none;
    }
    
    .polaroid:nth-child(3) {
        position: relative;
        left: auto;
        right: auto;
        transform: rotate(0deg);
    }
    
    /* Lightbox for very small screens */
    .lightbox img {
        max-height: 50%;
    }
    
    .lightbox-close {
        width: 45px;
        height: 45px;
        font-size: 30px;
    }
    
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .lightbox-info {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 12px 15px;
    }
    
    .lightbox-title {
        font-size: 16px;
    }
    
    .lightbox-description {
        font-size: 13px;
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ===== FOOTER PRIJELAZ ===== */
.footer-transition {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, 
        #001e3c 0%, 
        #001a33 30%,
        #001529 60%,
        #0a1929 100%
    );
    overflow: hidden;
}

/* Horizont linija */
.horizon-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 255, 0.6) 20%, 
        rgba(0, 168, 255, 0.6) 80%, 
        transparent
    );
    animation: horizon-glow 4s ease-in-out infinite;
}

@keyframes horizon-glow {
    0%, 100% { 
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
    }
    50% { 
        opacity: 1;
        box-shadow: 0 0 30px rgba(0, 168, 255, 0.8);
    }
}

/* Sjaj horizonta */
.horizon-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, 
        rgba(0, 168, 255, 0.2) 0%, 
        transparent 70%
    );
    filter: blur(20px);
    animation: horizon-pulse 3s ease-in-out infinite;
}

@keyframes horizon-pulse {
    0%, 100% { transform: translateX(-50%) scaleX(1); }
    50% { transform: translateX(-50%) scaleX(1.2); }
}

/* Zvijezde */
.horizon-stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
}

.horizon-stars span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.horizon-stars span:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.horizon-stars span:nth-child(2) { top: 30%; left: 50%; animation-delay: 0.5s; }
.horizon-stars span:nth-child(3) { top: 15%; left: 70%; animation-delay: 1s; }
.horizon-stars span:nth-child(4) { top: 40%; left: 30%; animation-delay: 1.5s; }
.horizon-stars span:nth-child(5) { top: 25%; left: 80%; animation-delay: 2s; }

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(1);
    }
    50% { 
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Jedrilica na horizontu */
.horizon-boat {
    position: absolute;
    top: 50%;
    left: -50px;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: sail-horizon 30s linear infinite;
    opacity: 0.6;
}

@keyframes sail-horizon {
    to {
        left: calc(100% + 50px);
    }
}

/* ===== FOOTER ===== */
footer {
    background: #0a1929;
    position: relative;
    overflow: hidden;
    padding: 80px 0 0;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

/* Animirana pozadina */
.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: radial-gradient(ellipse at center top, 
        rgba(0, 168, 255, 0.1) 0%, 
        transparent 70%
    );
    animation: wave-fade 8s ease-in-out infinite;
}

@keyframes wave-fade {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-20px); }
}

.footer-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(0, 168, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 168, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 168, 255, 0.03) 0%, transparent 50%);
    animation: particles-float 20s ease-in-out infinite;
}

@keyframes particles-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -20px) scale(1.1); }
    66% { transform: translate(20px, -10px) scale(0.9); }
}

/* Container */
footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}

/* Responsive za manje ekrane */
@media (max-width: 768px) {
    footer .container {
        width: 95% !important;
        padding: 0 2.5% !important;
    }
    
    .footer-bottom {
        width: 95% !important;
    }
}

@media (max-width: 480px) {
    footer .container {
        width: 98% !important;
        padding: 0 1% !important;
    }
    
    .footer-bottom {
        width: 98% !important;
    }
}

/* Footer Hero */
.footer-hero {
    text-align: center;
    margin-bottom: 80px;
}

.footer-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Animacija riječi */
.word-animate {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: word-appear 0.8s ease-out forwards;
}

.word-animate:nth-child(1) { animation-delay: 0.2s; }
.word-animate:nth-child(2) { animation-delay: 0.4s; }
.word-animate:nth-child(3) { animation-delay: 0.6s; }
.word-animate:nth-child(4) { animation-delay: 0.8s; }

.word-animate.highlight {
    color: #00a8ff;
    position: relative;
}

.word-animate.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: #00a8ff;
    transform: scaleX(0);
    animation: underline-draw 0.8s ease-out 1.2s forwards;
}

@keyframes word-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes underline-draw {
    to { transform: scaleX(1); }
}

.footer-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fade-in 1s ease-out 1s forwards;
}

@keyframes fade-in {
    to { opacity: 1; }
}

/* Footer Badges */
.footer-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: default;
}

.badge:hover {
    background: rgba(0, 168, 255, 0.2);
    border-color: #00a8ff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.3);
}

.badge-icon {
    font-size: 1.5rem;
    animation: icon-bounce 2s ease-in-out infinite;
}

.badge:nth-child(1) .badge-icon { animation-delay: 0s; }
.badge:nth-child(2) .badge-icon { animation-delay: 0.2s; }
.badge:nth-child(3) .badge-icon { animation-delay: 0.4s; }
.badge:nth-child(4) .badge-icon { animation-delay: 0.6s; }

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.badge-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Nova sekcija - Zašto odabrati nas */
.why-choose-us {
	max-width: 1400px;
    margin-top: 80px;
    padding: 60px 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%; /* Koristi punu širinu container-a */
    margin: 0 auto;
}

.why-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(0, 168, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
}

.why-card:hover .why-icon {
    transform: translateY(-10px) scale(1.1);
    filter: drop-shadow(0 10px 20px rgba(0, 168, 255, 0.5));
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: float-icon 3s ease-in-out infinite;
}

.why-card:nth-child(2) .why-icon { animation-delay: 0.5s; }
.why-card:nth-child(3) .why-icon { animation-delay: 1s; }
.why-card:nth-child(4) .why-icon { animation-delay: 1.5s; }

.why-card h4 {
    color: #00a8ff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.why-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Footer Content Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Footer Cards */
.footer-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.footer-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
}

/* Card hover effect */
.card-hover-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.footer-card:hover .card-hover-effect {
    transform: scale(1);
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-card:hover .card-icon {
    background: rgba(0, 168, 255, 0.2);
    transform: rotate(-10deg);
}

.card-icon svg {
    width: 30px;
    height: 30px;
    color: #00a8ff;
}

.card-header h3 {
    font-size: 1.25rem;
    color: #00a8ff;
    margin: 0;
}

/* Card Content */
.card-content {
    color: rgba(255, 255, 255, 0.8);
}

/* Location Card */
.location-card address {
    font-style: normal;
    line-height: 1.8;
  
}

.location-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.location-features span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 15px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-basis: 100%;
    margin-top: 0.25rem !important; /* !important da prepiše sve ostalo */
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.location-features span:first-child {
    margin-top: 0 !important;
}

/* Eksplicitno resetuj zadnji element */
.location-features span:last-child {
    margin-top: 0.25rem !important; /* Isti kao ostali */
    flex-basis: 100% !important;
    padding-top: 0.5rem !important; /* Reset padding-top ako je dodano */
    border-top: none !important; /* Ukloni border-top ako je dodano */
}

.location-features span:hover {
    background: rgba(0, 168, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.location-features span svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #00a8ff;
    transition: all 0.3s ease;
}

.location-features span:hover svg {
    transform: scale(1.2);
    color: #fff;
}

/* Contact Card */
.contact-item {
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    width: 100%;
}

.contact-link:hover {
    color: #00a8ff;
    transform: translateX(5px);
}

.contact-link .icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0, 168, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-link .icon svg {
    width: 20px;
    height: 20px;
    color: #00a8ff;
}

.contact-link:hover .icon {
    background: rgba(0, 168, 255, 0.2);
    transform: rotate(10deg);
}

.contact-link:hover .icon svg {
    color: #fff;
}

.contact-text {
    font-size: 0.95rem;
    word-break: break-word;
    flex: 1;
}

/* Schedule Card */
.schedule-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-label {
    color: rgba(255, 255, 255, 0.6);
}

.schedule-time {
    color: #00a8ff;
    font-weight: 500;
}

.schedule-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.booking-info {
    text-align: left;
}

.booking-info h4 {
    color: #00a8ff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.booking-rules {
    list-style: none;
    padding: 0;
    margin: 0;
}

.booking-rules li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.booking-rules li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #00a8ff;
}

.booking-rules li strong {
    color: #00a8ff;
    font-weight: 500;
}

.schedule-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* Extra services */
.extra-services {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.extra-services h4 {
    color: #00a8ff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.service-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background: rgba(0, 168, 255, 0.05);
    border: 1px solid rgba(0, 168, 255, 0.15);
    border-radius: 10px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.service-badge:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 168, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
}

.service-badge i {
    color: #00a8ff;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Payment methods */
.payment-methods {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.payment-methods h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.payment-icon {
    width: 50px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-icon:hover {
    background: rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 168, 255, 0.3);
    color: #00a8ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
}

/* CTA Section - PROŠIRENO */
/* CTA Section - PROŠIRENO na 90% širine - Kompatibilno s preglednicima */
.footer-cta {
    text-align: center;
    padding: 3rem 2rem; /* Smanjeni padding */
    background: rgba(0, 168, 255, 0.05);
    background: -webkit-linear-gradient(rgba(0, 168, 255, 0.05), rgba(0, 168, 255, 0.05)); /* Fallback za starije preglednike */
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    width: 90%; /* Prošireno na 90% širine */
    max-width: 1800px; /* Maksimalna širina za vrlo velike ekrane */
    margin-left: auto;
    margin-right: auto;
    /* Dodati vendor prefixe za box-sizing */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.05) 0%, transparent 70%);
    background: -webkit-radial-gradient(circle, rgba(0, 168, 255, 0.05) 0%, transparent 70%);
    background: -moz-radial-gradient(circle, rgba(0, 168, 255, 0.05) 0%, transparent 70%);
    -webkit-animation: cta-rotate 20s linear infinite;
    -moz-animation: cta-rotate 20s linear infinite;
    animation: cta-rotate 20s linear infinite;
}

@-webkit-keyframes cta-rotate {
    0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@-moz-keyframes cta-rotate {
    0% { -moz-transform: rotate(0deg); transform: rotate(0deg); }
    100% { -moz-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes cta-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* Booking Steps - Optimizirano za jedan red - Kompatibilno s preglednicima */
.booking-steps {
    /* Flexbox s vendor prefixima */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    
    /* Justify content s vendor prefixima */
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    
    /* Align items s vendor prefixima */
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    
    gap: 0.5rem;
    margin: 2.5rem auto;
    
    /* Flex wrap s vendor prefixima */
    -webkit-flex-wrap: nowrap;
    -moz-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    
    /* Box sizing za sve preglednike */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.step {
    background: rgba(255, 255, 255, 0.05);
    /* Fallback za starije preglednike */
    background: -webkit-linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05));
    
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    
    padding: 1.5rem 1rem;
    text-align: center;
    
    /* Flex s vendor prefixima */
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    
    min-width: 180px;
    max-width: 280px;
    
    /* Transition s vendor prefixima */
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Box sizing */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.step:hover {
    background: rgba(255, 255, 255, 0.08);
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -o-transform: translateY(-5px);
    transform: translateY(-5px);
    
    -webkit-box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
    -moz-box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2);
    
    border-color: rgba(0, 168, 255, 0.3);
}

.step-number {
    width: 45px;
    height: 45px;
    background: #00a8ff;
    color: white;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    
    /* Flexbox za centriranje */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    
    -webkit-box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3);
    -moz-box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3);
    
    -webkit-animation: pulse-number 2s ease-in-out infinite;
    -moz-animation: pulse-number 2s ease-in-out infinite;
    animation: pulse-number 2s ease-in-out infinite;
}

.step:nth-child(1) .step-number { animation-delay: 0s; }
.step:nth-child(3) .step-number { animation-delay: 0.5s; }
.step:nth-child(5) .step-number { animation-delay: 1s; }
.step:nth-child(7) .step-number { animation-delay: 1.5s; }

@-webkit-keyframes pulse-number {
    0%, 100% { 
        -webkit-transform: scale(1); 
        transform: scale(1); 
        -webkit-box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3);
        box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3);
    }
    50% { 
        -webkit-transform: scale(1.1); 
        transform: scale(1.1); 
        -webkit-box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5);
        box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5);
    }
}

@-moz-keyframes pulse-number {
    0%, 100% { 
        -moz-transform: scale(1); 
        transform: scale(1); 
        -moz-box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3);
        box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3);
    }
    50% { 
        -moz-transform: scale(1.1); 
        transform: scale(1.1); 
        -moz-box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5);
        box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5);
    }
}

@keyframes pulse-number {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 20px rgba(0, 168, 255, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 8px 30px rgba(0, 168, 255, 0.5); }
}

.step h4 {
    color: #00a8ff;
    font-size: 1rem; /* Smanjeno s 1.1rem */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem; /* Smanjeno s 0.9rem */
    line-height: 1.4;
}

.step-arrow {
    font-size: 1.5rem;
    color: #00a8ff;
    opacity: 0.7;
    -webkit-animation: arrow-move 2s ease-in-out infinite;
    -moz-animation: arrow-move 2s ease-in-out infinite;
    animation: arrow-move 2s ease-in-out infinite;
    
    /* Flex shrink s vendor prefixima */
    -webkit-flex-shrink: 0;
    -moz-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

@-webkit-keyframes arrow-move {
    0%, 100% { -webkit-transform: translateX(0); transform: translateX(0); }
    50% { -webkit-transform: translateX(8px); transform: translateX(8px); }
}

@-moz-keyframes arrow-move {
    0%, 100% { -moz-transform: translateX(0); transform: translateX(0); }
    50% { -moz-transform: translateX(8px); transform: translateX(8px); }
}

@keyframes arrow-move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

/* CTA Actions - Kompatibilno s preglednicima */
.cta-actions {
    position: relative;
    z-index: 1;
    margin-top: 2rem;
}

.cta-buttons {
    /* Flexbox s vendor prefixima */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    
    gap: 1rem;
    /* Fallback za gap */
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    margin-bottom: 2rem;
}

.cta-buttons > * {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

/* Quick Contacts - Kompatibilno s preglednicima */
.quick-contacts {
    /* Flexbox s vendor prefixima */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    
    gap: 1.5rem;
    /* Fallback za gap */
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    
    margin-top: 2rem;
}

.quick-contacts > * {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
}

.quick-contact {
    /* Inline flexbox s vendor prefixima */
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-contact:hover {
    color: #00a8ff;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.3);
    
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    
    -webkit-box-shadow: 0 10px 20px rgba(0, 168, 255, 0.2);
    -moz-box-shadow: 0 10px 20px rgba(0, 168, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.2);
}

.quick-contact i {
    font-size: 1.2rem;
}

/* Price Guarantee - Kompaktniji dizajn - Kompatibilno s preglednicima */
.price-guarantee {
    /* Flexbox s vendor prefixima */
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    
    /* Background s vendor prefixima */
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    background: -webkit-linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    background: -moz-linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    
    border: 1px solid rgba(76, 175, 80, 0.3);
    position: relative;
    z-index: 1;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    
    /* Fallback za fit-content */
    width: auto;
    display: inline-flex;
    
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    
    /* Box sizing */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.guarantee-icon {
    font-size: 2.5rem;
    -webkit-animation: trophy-bounce 3s ease-in-out infinite;
    -moz-animation: trophy-bounce 3s ease-in-out infinite;
    animation: trophy-bounce 3s ease-in-out infinite;
}

@-webkit-keyframes trophy-bounce {
    0%, 100% { 
        -webkit-transform: translateY(0) rotate(0deg); 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        -webkit-transform: translateY(-5px) rotate(-5deg); 
        transform: translateY(-5px) rotate(-5deg); 
    }
    75% { 
        -webkit-transform: translateY(-5px) rotate(5deg); 
        transform: translateY(-5px) rotate(5deg); 
    }
}

@-moz-keyframes trophy-bounce {
    0%, 100% { 
        -moz-transform: translateY(0) rotate(0deg); 
        transform: translateY(0) rotate(0deg); 
    }
    25% { 
        -moz-transform: translateY(-5px) rotate(-5deg); 
        transform: translateY(-5px) rotate(-5deg); 
    }
    75% { 
        -moz-transform: translateY(-5px) rotate(5deg); 
        transform: translateY(-5px) rotate(5deg); 
    }
}

@keyframes trophy-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

.guarantee-content h4 {
    color: #4CAF50;
    font-size: 1.2rem; /* Smanjeno s 1.3rem */
    margin-bottom: 0.5rem;
}

.guarantee-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive adjustments - Kompatibilno s preglednicima - PROŠIRENO za manje rezolucije */

/* Veliki desktop - sve u jednom redu */
@media (min-width: 1401px) {
    .booking-steps {
        -webkit-flex-wrap: nowrap;
        -moz-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
}

/* Desktop - počinje wrap na manjim ekranima */
@media (max-width: 1400px) {
    .footer-cta {
        width: 95%;
        padding: 2.5rem 1.5rem;
    }
    
    .booking-steps {
        gap: 0.3rem;
        /* Fallback za starije preglednike bez gap podrške */
        margin-left: -0.15rem;
        margin-right: -0.15rem;
        
        /* Omogući wrap ako je potrebno */
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .booking-steps > * {
        margin-left: 0.15rem;
        margin-right: 0.15rem;
    }
    
    .step {
        min-width: 160px;
        padding: 1.2rem 0.8rem;
    }
    
    .step h4 {
        font-size: 0.95rem;
    }
    
    .step p {
        font-size: 0.8rem;
    }
}

/* Manji desktop/veliki tablet - prisilni wrap */
@media (max-width: 1300px) {
    .booking-steps {
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        
        gap: 0.8rem;
        /* Fallback za gap */
        margin-left: -0.4rem;
        margin-right: -0.4rem;
    }
    
    .booking-steps > * {
        margin-left: 0.4rem;
        margin-right: 0.4rem;
    }
    
    .step {
        /* Flex basis za 2 u redu */
        -webkit-flex: 1 1 calc(50% - 0.8rem);
        -moz-flex: 1 1 calc(50% - 0.8rem);
        -ms-flex: 1 1 calc(50% - 0.8rem);
        flex: 1 1 calc(50% - 0.8rem);
        
        /* IE fallback */
        width: calc(50% - 0.8rem);
        min-width: 250px;
        max-width: 400px;
    }
    
    /* Strelice između redova */
    .step-arrow:nth-of-type(2) {
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        
        width: 100%;
        -webkit-box-ordinal-group: 3;
        -moz-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        order: 3;
        margin: 1rem 0;
    }
}

@media (max-width: 1200px) {
    .footer-cta {
        width: 98%;
    }
    
    .step {
        min-width: 220px;
        max-width: 350px;
        padding: 1rem 0.6rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-arrow {
        font-size: 1.2rem;
    }
}

/* Tablet - 2x2 grid */
@media (max-width: 1024px) {
    .booking-steps {
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        
        gap: 1.2rem;
        /* Fallback za gap */
        margin-left: -0.6rem;
        margin-right: -0.6rem;
    }
    
    .booking-steps > * {
        margin-left: 0.6rem;
        margin-right: 0.6rem;
    }
    
    .step {
        /* 2 u redu */
        -webkit-flex: 1 1 calc(50% - 1.2rem);
        -moz-flex: 1 1 calc(50% - 1.2rem);
        -ms-flex: 1 1 calc(50% - 1.2rem);
        flex: 1 1 calc(50% - 1.2rem);
        
        /* IE fallback */
        width: calc(50% - 1.2rem);
        min-width: 200px;
        max-width: 300px;
    }
    
    /* Redefiniraj order za 2x2 layout */
    .step:nth-child(1) { 
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 1;
        order: 1; 
    }
    .step-arrow:nth-child(2) { 
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 2;
        order: 2; 
    }
    .step:nth-child(3) { 
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 3;
        order: 3; 
    }
    .step-arrow:nth-child(4) { 
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 4;
        order: 4;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        width: 100%;
        margin: 1rem 0;
    }
    .step:nth-child(5) { 
        -webkit-box-ordinal-group: 5;
        -ms-flex-order: 5;
        order: 5; 
    }
    .step-arrow:nth-child(6) { 
        -webkit-box-ordinal-group: 6;
        -ms-flex-order: 6;
        order: 6; 
    }
    .step:nth-child(7) { 
        -webkit-box-ordinal-group: 7;
        -ms-flex-order: 7;
        order: 7; 
    }
}

@media (max-width: 968px) {
    .booking-steps {
        -webkit-flex-wrap: wrap;
        -moz-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        
        gap: 1rem;
        /* Fallback za gap */
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .booking-steps > * {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .step {
        /* Flex basis umjesto flex za IE kompatibilnost */
        -webkit-flex: 1 1 calc(50% - 1rem);
        -moz-flex: 1 1 calc(50% - 1rem);
        -ms-flex: 1 1 calc(50% - 1rem);
        flex: 1 1 calc(50% - 1rem);
        
        /* IE fallback */
        width: calc(50% - 1rem);
        
        min-width: 180px;
        max-width: 280px;
    }
    
    .step-arrow:nth-of-type(2n) {
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        
        margin: 0.5rem 0;
        width: 100%;
        -webkit-box-ordinal-group: 100;
        -moz-box-ordinal-group: 99;
        -ms-flex-order: 99;
        -webkit-order: 99;
        order: 99;
    }
}

/* Mali tablet - svaki korak u novi red */
@media (max-width: 850px) {
    .booking-steps {
        /* Flex direction s vendor prefixima */
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        
        gap: 0.8rem;
        /* Fallback za gap */
        margin-left: 0;
        margin-right: 0;
    }
    
    .booking-steps > * {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0.8rem;
    }
    
    .step {
        width: 100%;
        max-width: 400px;
        /* Flex none umjesto flex: none */
        -webkit-flex: none;
        -moz-flex: none;
        -ms-flex: none;
        flex: none;
        
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-arrow {
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        
        margin: 0.5rem 0;
        width: auto;
        -webkit-box-ordinal-group: initial;
        -moz-box-ordinal-group: initial;
        -ms-flex-order: initial;
        -webkit-order: initial;
        order: initial;
    }
}

/* Mobile i mali ekrani */
@media (max-width: 768px) {
    .footer-cta {
        width: 95%;
        padding: 2rem 1rem;
    }
    
    .booking-steps {
        /* Flex direction s vendor prefixima */
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        
        gap: 0.5rem;
        /* Fallback za gap */
        margin-left: 0;
        margin-right: 0;
    }
    
    .booking-steps > * {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .step {
        width: 100%;
        max-width: 350px;
        /* Flex none umjesto flex: none */
        -webkit-flex: none;
        -moz-flex: none;
        -ms-flex: none;
        flex: none;
        
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-arrow {
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        
        margin: 0.5rem 0;
        width: auto;
        -webkit-box-ordinal-group: initial;
        -moz-box-ordinal-group: initial;
        -ms-flex-order: initial;
        -webkit-order: initial;
        order: initial;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .price-guarantee {
        /* Flex direction s vendor prefixima */
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        
        text-align: center;
        padding: 1.2rem 1.5rem;
        max-width: 90%;
    }
    
    .guarantee-icon {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-cta {
        width: 98%;
        padding: 1.5rem 0.8rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .step {
        padding: 1rem;
        max-width: 280px;
    }
    
    .step h4 {
        font-size: 0.9rem;
    }
    
    .step p {
        font-size: 0.8rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .step-arrow {
        font-size: 1rem;
    }
}

/* Vrlo mali ekrani */
@media (max-width: 360px) {
    .footer-cta {
        width: 100%;
        padding: 1.2rem 0.5rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .cta-subtitle {
        font-size: 0.9rem;
    }
    
    .step {
        padding: 0.8rem;
        max-width: 100%;
        min-width: auto;
    }
    
    .step h4 {
        font-size: 0.85rem;
    }
    
    .step p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .guarantee-content h4 {
        font-size: 1rem;
    }
    
    .guarantee-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

/* Internet Explorer specific fixes */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .booking-steps {
        display: -ms-flexbox;
        -ms-flex-pack: distribute;
        -ms-flex-align: center;
    }
    
    .step {
        -ms-flex: 1;
    }
    
    .step-number {
        display: -ms-flexbox;
        -ms-flex-align: center;
        -ms-flex-pack: center;
    }
}

/* Fallback za preglednike koji ne podržavaju flexbox */
.no-flexbox .booking-steps {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.no-flexbox .step {
    display: table-cell;
    vertical-align: top;
    text-align: center;
}

.no-flexbox .step-arrow {
    display: inline-block;
    vertical-align: middle;
}

/* 
=== BREAKPOINT SUMMARY ===
Responsive ponašanje za .step elemente:

> 1400px:  4 koraka u JEDNOM redu
1300-1400px: 4 koraka s wrap omogućenim (ako je potrebno)
1024-1299px: 2x2 grid (2 koraka po redu)
851-1023px:  2x2 grid (optimizirano)
768-850px:   Svaki korak u NOVOM redu (column layout)
481-767px:   Svaki korak u NOVOM redu (kompaktnije)
361-480px:   Svaki korak u NOVOM redu (vrlo malo)
≤ 360px:     Svaki korak u NOVOM redu (minimalno)

Strelice se automatski rotiraju (90°) između redova.
*/

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #00a8ff;
    color: white;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00a8ff;
    border: 2px solid #00a8ff;
}

.btn-secondary:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 255, 0.2);
}

.btn-primary svg, .btn-secondary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary:hover svg {
    transform: rotate(10deg);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
    position: relative;
    overflow: hidden;
    width: 100vw;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 168, 255, 0.5) 20%, 
        rgba(0, 168, 255, 0.5) 80%, 
        transparent
    );
    animation: glow-line 3s ease-in-out infinite;
}

@keyframes glow-line {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo-modern {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.footer-logo-modern svg {
    color: #00a8ff;
    filter: drop-shadow(0 0 15px rgba(0, 168, 255, 0.4));
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { 
        filter: drop-shadow(0 0 15px rgba(0, 168, 255, 0.4));
    }
    50% { 
        filter: drop-shadow(0 0 25px rgba(0, 168, 255, 0.6));
    }
}

.logo-text-footer {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #00a8ff 0%, #0066cc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.footer-copyright {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0;
    text-align: center;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.made-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.heart-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.heart-icon {
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 71, 87, 0.5));
}

@keyframes heartbeat {
    0%, 100% { 
        transform: scale(1);
    }
    10% { 
        transform: scale(1.2);
    }
    20% { 
        transform: scale(1);
    }
    30% { 
        transform: scale(1.15);
    }
    40% { 
        transform: scale(1);
    }
}

.heart-container::before,
.heart-container::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff4757;
    border-radius: 50%;
    opacity: 0;
}

.heart-container::before {
    animation: particle-left 3s ease-in-out infinite;
}

.heart-container::after {
    animation: particle-right 3s ease-in-out infinite;
}

@keyframes particle-left {
    0%, 100% { 
        opacity: 0;
        transform: translate(0, 0);
    }
    50% {
        opacity: 1;
        transform: translate(-20px, -20px);
    }
}

@keyframes particle-right {
    0%, 100% { 
        opacity: 0;
        transform: translate(0, 0);
    }
    50% {
        opacity: 1;
        transform: translate(20px, -20px);
    }
}

.footer-social {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    align-items: center;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 168, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.social-link:hover {
    background: #00a8ff;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

.social-link:hover::before {
    width: 100%;
    height: 100%;
}

.social-link svg {
    width: 20px;
    height: 20px;
    z-index: 1;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Decorations */
.footer-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

/* SVG Footer Waves */
.footer-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    min-height: 60px;
}

.wave-path-1 {
    animation: wave-morph-1 20s ease-in-out infinite;
}

.wave-path-2 {
    animation: wave-morph-2 15s ease-in-out infinite;
}

.wave-path-3 {
    animation: wave-morph-3 25s ease-in-out infinite;
}

@keyframes wave-morph-1 {
    0%, 100% {
        d: path("M0,40 C150,80 350,0 600,40 C850,80 1050,0 1300,40 L1440,40 L1440,120 L0,120 Z");
    }
    50% {
        d: path("M0,60 C200,20 400,100 650,60 C900,20 1100,100 1350,60 L1440,60 L1440,120 L0,120 Z");
    }
}

@keyframes wave-morph-2 {
    0%, 100% {
        d: path("M0,60 C200,20 400,100 700,60 C1000,20 1200,100 1440,60 L1440,120 L0,120 Z");
    }
    50% {
        d: path("M0,40 C250,80 450,0 750,40 C1050,80 1250,0 1440,40 L1440,120 L0,120 Z");
    }
}

@keyframes wave-morph-3 {
    0%, 100% {
        d: path("M0,80 C300,40 600,120 900,80 C1200,40 1350,100 1440,80 L1440,120 L0,120 Z");
    }
    50% {
        d: path("M0,100 C350,60 650,140 950,100 C1250,60 1400,120 1440,100 L1440,120 L0,120 Z");
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float-element 15s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(3) { top: 20%; left: 10%; }
.floating-element:nth-child(4) { top: 50%; right: 15%; }
.floating-element:nth-child(5) { bottom: 30%; left: 20%; }

@keyframes float-element {
    0%, 100% { 
        transform: translate(0, 0) rotate(0deg);
    }
    33% { 
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% { 
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Contact Item Headers */
.contact-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.contact-item-header svg {
    width: 32px;
    height: 32px;
    color: #00a8ff;
    transition: all 0.3s ease;
}

.contact-item-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
    font-weight: 600;
}

.contact-item:hover .contact-item-header svg {
    transform: scale(1.2) rotate(-10deg);
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.8));
}

/* Reservation Details */
.reservation-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.detail-value {
    color: #00a8ff;
    font-weight: 500;
}

/* Booking Policies */
.booking-policies {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-policies h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.policy-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-align: left;
}

.policy-item i {
    color: #00a8ff;
    font-size: 1rem;
    width: 20px;
    text-align: left;
}

.policy-item:hover {
    color: #00a8ff;
    transform: translateX(5px);
}

/* Reservation Tags */
.reservation-tags {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-flexible {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #4CAF50;
    transition: all 0.3s ease;
}

.tag-instant {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #FF9800;
    transition: all 0.3s ease;
}

.tag-secure {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #2196F3;
    transition: all 0.3s ease;
}

.reservation-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.2);
}

/* Included Items */
.included-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.included-item {
    display: flex;
    text-align: left;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.included-item i {
    color: #4CAF50;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Additional Fees */
.additional-fees {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.additional-fees h4 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.fee-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 0.5rem;
}

.fee-name {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.fee-price {
    color: #FF9800;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Language List */
.language-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.lang-item:hover {
    background: rgba(0, 168, 255, 0.1);
    transform: translateX(5px);
}

.lang-item .flag {
    font-size: 1.5rem;
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 768px) {
    .footer-title {
        font-size: 2rem;
    }
    
    .footer-badges {
        gap: 1rem;
    }
    
    .badge {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .footer-transition {
        height: 150px;
    }
    
    .horizon-boat {
        font-size: 1.5rem;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .why-card {
        padding: 1.5rem;
    }
    
    .why-icon {
        font-size: 2.5rem;
    }
    
    .booking-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step {
        width: 100%;
        max-width: 300px;
        padding: 1.5rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .quick-contacts {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .quick-contact {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .price-guarantee {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .guarantee-icon {
        font-size: 2.5rem;
    }
    
    @keyframes arrow-move {
        0%, 100% { transform: translateY(0) rotate(90deg); }
        50% { transform: translateY(10px) rotate(90deg); }
    }
}

@media (max-width: 480px) {
    .footer-hero {
        margin-bottom: 50px;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        max-width: 250px;
    }
    
    .footer-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 40px;
        height: 40px;
    }
    
    .card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .footer-cta {
        padding: 2rem 1.5rem;
    }
    
    .why-choose-us {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .why-card h4 {
        font-size: 1.1rem;
    }
    
    .why-card p {
        font-size: 0.9rem;
    }
    
    .booking-steps {
        margin: 2rem 0;
    }
    
    .step {
        min-width: 100%;
        padding: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step h4 {
        font-size: 1rem;
    }
    
    .step p {
        font-size: 0.85rem;
    }
    
    .quick-contact {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .quick-contact i {
        font-size: 1rem;
    }
    
    .guarantee-content h4 {
        font-size: 1.1rem;
    }
    
    .guarantee-content p {
        font-size: 0.9rem;
    }
    
    .footer-transition {
        height: 150px;
    }
    
    .horizon-boat {
        font-size: 1.5rem;
    }
    
    .included-items {
        grid-template-columns: 1fr;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-waves {
        height: 60px;
    }
    
    .floating-element {
        display: none;
    }
}
/* ===== LANGUAGE SELECTOR KOMPLETNA POPRAVKA ===== */

/* Desktop Language Selector */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    position: relative;
    z-index: 1005;
}

.language-selector::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7);
    background-size: 400% 400%;
    border-radius: 25px;
    opacity: 0;
    z-index: -1;
    animation: gradientShift 4s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.language-selector:hover::before {
    opacity: 0.2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.lang-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    cursor: pointer;
    opacity: 1;
    visibility: visible;
    z-index: 1006;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.lang-btn[href*="index.html"]::before { 
    background: radial-gradient(circle, #ff4757 0%, #ff3742 100%);
}

.lang-btn[href*="en/"]::before { 
    background: radial-gradient(circle, #3742fa 0%, #2f3542 100%);
}

.lang-btn[href*="de/"]::before { 
    background: radial-gradient(circle, #ffa502 0%, #ff6348 100%);
}

.lang-btn[href*="it/"]::before { 
    background: radial-gradient(circle, #2ed573 0%, #1e90ff 100%);
}

.lang-btn:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.lang-btn:hover::before {
    width: 100px;
    height: 100px;
}

.lang-btn.active {
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.3), rgba(0, 168, 255, 0.1));
    border-color: #00a8ff;
    color: #ffffff;
    animation: langPulse 2s ease-in-out infinite;
}

@keyframes langPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(0, 168, 255, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 168, 255, 0.6);
        transform: scale(1.05);
    }
}

/* ===== MOBILE NAVIGATION OVERRIDES ===== */
@media (max-width: 768px) {
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px; /* Malo smanji širinu */
        height: 100vh;
        background: rgba(0, 30, 60, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1001;
        transition: right 0.4s ease;
        padding: 80px 20px 30px; /* Smanji top padding */
        overflow-y: auto;
        flex-direction: column;
        gap: 1.5rem; /* Smanji gap */
        border-left: 1px solid rgba(0, 168, 255, 0.3);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        pointer-events: auto;
    }
    
    .nav-wrapper.active {
        right: 0;
        pointer-events: auto;
    }
    
    /* Navigation Links - kompaktnije */
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem; /* Manji gap */
        width: 100%;
        pointer-events: auto;
        margin-bottom: 1rem;
    }
    
    .nav-links a {
        padding: 12px 16px; /* Manji padding */
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    /* Language Selector - GLAVNA POPRAVKA */
    .language-selector {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 1rem;
        margin-left: 0;
        justify-content: center;
        gap: 0.8rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: auto;
        z-index: 1010;
        position: relative;
        width: 100%;
        /* Eksplicitno postavi da se vidi */
        max-height: none;
        overflow: visible;
        flex-shrink: 0;
    }
    
    .language-selector::before {
        display: none; /* Ukloni gradient na mobilu */
    }
    
    .language-selector .lang-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 1rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        pointer-events: auto !important;
        z-index: 1011 !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        /* Dodaj eksplicitno svojstva */
        min-width: 50px;
        max-width: 50px;
        flex-shrink: 0;
        cursor: pointer;
    }
    
    .language-selector .lang-btn:hover {
        background: rgba(0, 168, 255, 0.3) !important;
        border-color: #00a8ff !important;
        transform: scale(1.1) !important;
        color: #ffffff !important;
    }
    
    .language-selector .lang-btn.active {
        background: rgba(0, 168, 255, 0.8) !important;
        border-color: #00a8ff !important;
        color: #ffffff !important;
    }
    
    /* Osiguraj da se nav-wrapper prilagodi */
    .nav-wrapper .language-selector {
        order: 999; /* Postavi na kraj */
        margin-top: auto; /* Gurni na dno */
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
}

/* ===== ADDITIONAL MOBILE FIXES ===== */
@media (max-width: 480px) {
    .nav-wrapper {
        width: 280px;
        padding: 70px 15px 20px;
    }
    
    .language-selector {
        gap: 0.6rem;
        padding: 0.8rem 0;
    }
    
    .language-selector .lang-btn {
        width: 45px !important;
        height: 45px !important;
        font-size: 0.9rem !important;
    }
}
/* ===== MOBILNI MENI Z-INDEX POPRAVKA ===== */

/* Overlay - mora biti ISPOD nav-wrapper-a */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999; /* MANJI od nav-wrapper */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Nav wrapper - mora biti IZNAD overlay-a */
@media (max-width: 768px) {
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(0, 30, 60, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1001; /* VEĆI od overlay */
        transition: right 0.4s ease;
        padding: 100px 30px 30px;
        overflow-y: auto;
        flex-direction: column;
        gap: 2rem;
        border-left: 1px solid rgba(0, 168, 255, 0.3);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        /* KLJUČNO: eksplicitno postavi pointer-events */
        pointer-events: auto !important;
    }
    
    .nav-wrapper.active {
        right: 0;
        pointer-events: auto !important;
    }
    
    /* Svi elementi u nav-wrapper moraju imati pointer-events auto */
    .nav-wrapper * {
        pointer-events: auto !important;
    }
    
    /* Navigation linkovi */
    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
        pointer-events: auto !important;
        z-index: 1002;
        position: relative;
    }
    
    .nav-links li {
        width: 100%;
        display: block;
        pointer-events: auto !important;
        z-index: 1003;
        position: relative;
    }
    
    .nav-links a {
        display: flex;
        width: 100%;
        padding: 15px 20px;
        font-size: 1rem;
        border-radius: 12px;
        text-align: left;
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        transition: all 0.3s ease;
        align-items: center;
        min-height: 48px;
        /* KLJUČNO: eksplicitno postavi pointer-events i z-index */
        pointer-events: auto !important;
        z-index: 1004;
        position: relative;
        cursor: pointer;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
        color: #ffffff;
    }
    
    .nav-links a.active {
        background: rgba(0, 168, 255, 0.8);
        color: #ffffff;
        font-weight: 600;
    }
    
    /* Dropdown stilovi */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        margin-top: 0.5rem;
        box-shadow: none;
        border: none;
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        pointer-events: auto !important;
        z-index: 1005;
        position: relative;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }
    
    .dropdown-menu a {
        padding: 12px 25px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
        pointer-events: auto !important;
        z-index: 1006;
        position: relative;
    }
    
    .dropdown-menu a:hover {
        background: rgba(0, 168, 255, 0.3);
        color: #ffffff;
        transform: translateX(10px);
    }
    
    /* Language selector - NAJVEĆA PRIORITETA */
    .language-selector {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin-top: 2rem;
        margin-left: 0;
        justify-content: center;
        gap: 1rem;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        pointer-events: auto !important;
        z-index: 1010 !important;
        position: relative;
        width: 100%;
    }
    
    .language-selector .lang-btn {
        width: 50px !important;
        height: 50px !important;
        font-size: 1rem !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        pointer-events: auto !important;
        z-index: 1011 !important;
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        cursor: pointer !important;
    }
    
    .language-selector .lang-btn:hover {
        background: rgba(0, 168, 255, 0.3) !important;
        border-color: #00a8ff !important;
        transform: scale(1.1) !important;
        color: #ffffff !important;
    }
    
    .language-selector .lang-btn.active {
        background: rgba(0, 168, 255, 0.8) !important;
        border-color: #00a8ff !important;
        color: #ffffff !important;
    }
}

/* Menu toggle - mora biti iznad svega */
.menu-toggle {
    position: relative;
    z-index: 1020 !important;
    pointer-events: auto !important;
}

.menu-toggle span {
    pointer-events: none;
}
/* ===== MOBILNI DROPDOWN MENI POPRAVKE ===== */
@media (max-width: 768px) {
    /* Dropdown container na mobilu */
    .dropdown {
        width: 100%;
        margin-bottom: 0;
    }
    
    /* Dropdown toggle - glavna stavka */
    .dropdown .dropdown-toggle {
        width: 100% !important;
        padding: 15px 20px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        margin-bottom: 0.5rem !important;
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    /* Strelica za dropdown */
    .dropdown .dropdown-toggle::after {
        content: '▼' !important;
        display: inline-block !important;
        margin-left: auto !important;
        font-size: 0.8rem !important;
        transition: transform 0.3s ease !important;
        color: rgba(255, 255, 255, 0.7) !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Aktivni dropdown - rotiraj strelicu */
    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg) !important;
    }
    
    /* Dropdown hover efekt */
    .dropdown .dropdown-toggle:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(0, 168, 255, 0.3) !important;
        transform: translateX(5px) !important;
    }
    
    /* Dropdown meni - podmenije */
    .dropdown .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.3) !important;
        margin: 0.5rem 0 1rem 0 !important;
        box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 8px !important;
        padding: 0.5rem 0 !important;
        width: 100% !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease, margin 0.4s ease !important;
        backdrop-filter: blur(10px) !important;
    }
    
    /* Aktivni dropdown meni */
    .dropdown.active .dropdown-menu {
        max-height: 400px !important;
        margin: 0.5rem 0 1rem 0 !important;
    }
    
    /* Dropdown linkovi */
    .dropdown .dropdown-menu a {
        display: block !important;
        width: 100% !important;
        padding: 12px 20px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-decoration: none !important;
        font-size: 0.9rem !important;
        border-radius: 6px !important;
        margin: 2px 8px !important;
        width: calc(100% - 16px) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        pointer-events: auto !important;
        z-index: 1006 !important;
        background: transparent !important;
    }
    
    /* Dropdown link hover */
    .dropdown .dropdown-menu a:hover {
        background: rgba(0, 168, 255, 0.2) !important;
        color: #ffffff !important;
        transform: translateX(8px) !important;
        box-shadow: 0 2px 8px rgba(0, 168, 255, 0.3) !important;
    }
    
    /* Dropdown link ikonica */
    .dropdown .dropdown-menu a::before {
        content: '→' !important;
        margin-right: 8px !important;
        color: #00a8ff !important;
        transition: transform 0.3s ease !important;
    }
    
    .dropdown .dropdown-menu a:hover::before {
        transform: translateX(3px) !important;
    }
    
    /* Posebni stilovi za različite dropdown menije */
    .dropdown[data-dropdown="apartmani"] .dropdown-toggle {
        background: rgba(0, 168, 255, 0.1) !important;
        border-color: rgba(0, 168, 255, 0.3) !important;
    }
    
    .dropdown[data-dropdown="galerija"] .dropdown-toggle {
        background: rgba(76, 175, 80, 0.1) !important;
        border-color: rgba(76, 175, 80, 0.3) !important;
    }
    
    .dropdown[data-dropdown="info"] .dropdown-toggle {
        background: rgba(255, 152, 0, 0.1) !important;
        border-color: rgba(255, 152, 0, 0.3) !important;
    }
    
    /* Zatvoreni dropdown - sakrij sadržaj */
    .dropdown:not(.active) .dropdown-menu {
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Nav-links - osiguraj pravilno razmake */
    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.8rem !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .nav-links li {
        width: 100% !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Obični linkovi (ne dropdown) */
    .nav-links > li > a:not(.dropdown-toggle) {
        width: 100% !important;
        padding: 15px 20px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 12px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
    }
    
    .nav-links > li > a:not(.dropdown-toggle):hover {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(0, 168, 255, 0.3) !important;
        transform: translateX(5px) !important;
        color: #ffffff !important;
    }
    
    .nav-links > li > a.active:not(.dropdown-toggle) {
        background: rgba(0, 168, 255, 0.8) !important;
        border-color: #00a8ff !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }
    
    /* Debugging - dodatna osiguranja */
    .nav-wrapper.active .dropdown .dropdown-menu a {
        pointer-events: auto !important;
        display: block !important;
        visibility: visible !important;
        z-index: 1050 !important;
    }
    
    /* Language selector - drži na dnu */
    .language-selector {
        order: 999 !important;
        margin-top: auto !important;
        padding-top: 2rem !important;
        border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
}

/* ===== DODATNE POPRAVKE ZA VRLO MALE EKRANE ===== */
@media (max-width: 480px) {
    .dropdown .dropdown-toggle {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }
    
    .dropdown .dropdown-menu a {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
    }
    
    .nav-links > li > a:not(.dropdown-toggle) {
        padding: 12px 16px !important;
        font-size: 0.9rem !important;
    }
}
/* ========================================
   SEARCH POPRAVCI - DODAJTE U style.css
   ======================================== */

/* Search Toggle Button - Poboljšanja */
.search-toggle {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-left: 0.5rem;
}

.search-toggle:hover,
.search-toggle.active {
    background: var(--primary-blue);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.5);
}

.search-toggle svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Floating Search Container - Popravke */
.floating-search {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    background: rgba(10, 15, 28, 0.98);
    border: 2px solid var(--shadow-blue);
    border-radius: 25px;
    padding: 25px;
    backdrop-filter: blur(25px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 168, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 400px;
    max-width: 450px;
    z-index: 1100;
    pointer-events: none;
}

.floating-search.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Search Container */
.search-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

/* Search Input Improvements */
.search-input {
    width: 100%;
    padding: 15px 120px 15px 20px; /* Space for both buttons */
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-size: 16px; /* Prevent zoom on mobile */
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-blue);
    box-shadow: 
        0 0 25px rgba(0, 168, 255, 0.4),
        inset 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* Search Button */
.search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-blue);
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.search-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.6);
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

/* Voice Search Button */
.voice-search-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.voice-search-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.4);
}

.voice-search-btn.listening {
    background: #ff4757 !important;
    border-color: #ff4757 !important;
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.5) !important;
    animation: voicePulse 1s infinite;
}

@keyframes voicePulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.15); }
}

.voice-search-btn svg {
    width: 16px;
    height: 16px;
}

/* Autocomplete Dropdown - DODANO */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.98);
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 0 0 15px 15px;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1200;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: none;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
    background: rgba(0, 168, 255, 0.1);
    border-color: rgba(0, 168, 255, 0.3);
}

.autocomplete-icon {
    font-size: 1rem;
    opacity: 0.7;
    min-width: 20px;
}

.autocomplete-text {
    flex: 1;
    font-size: 0.9rem;
    color: white;
}

.autocomplete-text mark {
    background: var(--primary-blue);
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
}

.autocomplete-type {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 60px;
    text-align: right;
}

/* Search Results */
.search-results {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-results h4 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-results h4::before {
    content: '🔍';
    font-size: 1rem;
}

/* Result Items */
.result-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.result-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.3);
}

.result-item:hover::before {
    left: 100%;
}

.result-title {
    font-size: 1rem;
    color: var(--light-blue);
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.result-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 6px;
}

.result-url {
    font-size: 0.7rem;
    color: rgba(0, 168, 255, 0.8);
    font-family: 'Consolas', 'Monaco', monospace;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Search Loading */
.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin: 10px 0;
}

.search-loading::before {
    content: '';
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Suggestions List Improvements */
.suggestions-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.suggestion-tag {
    background: rgba(0, 168, 255, 0.15);
    color: var(--light-blue);
    padding: 8px 14px;
    border-radius: 18px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 168, 255, 0.4);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.suggestion-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.suggestion-tag:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 168, 255, 0.4);
}

.suggestion-tag:hover::before {
    left: 100%;
}

/* Search Shortcuts Info */
.search-shortcuts {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.7;
    font-size: 0.75rem;
}

.search-shortcuts small {
    color: rgba(255, 255, 255, 0.6);
}

.search-shortcuts kbd {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.7rem;
    margin: 0 2px;
    font-family: monospace;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Custom Scrollbar for Search Results */
.search-results::-webkit-scrollbar,
.autocomplete-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track,
.autocomplete-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb,
.autocomplete-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover,
.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .floating-search {
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        min-width: auto;
        max-width: none;
        margin-top: 0;
        padding: 20px;
        border-radius: 20px;
    }
    
    .search-input {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px 100px 12px 16px;
    }
    
    .voice-search-btn {
        right: 45px;
        width: 30px;
        height: 30px;
    }
    
    .search-btn {
        width: 34px;
        height: 34px;
        right: 6px;
    }
    
    .autocomplete-dropdown {
        max-height: 200px;
    }
    
    .autocomplete-item {
        padding: 10px 12px;
    }
    
    .search-shortcuts {
        display: none; /* Hide on mobile to save space */
    }
    
    .floating-search {
        z-index: 9999; /* Higher than mobile nav */
    }
}

@media (max-width: 480px) {
    .floating-search {
        padding: 15px;
        border-radius: 15px;
    }
    
    .search-input {
        padding: 10px 85px 10px 14px;
        font-size: 16px;
    }
    
    .voice-search-btn {
        right: 40px;
        width: 28px;
        height: 28px;
    }
    
    .search-btn {
        width: 32px;
        height: 32px;
        right: 4px;
    }
    
    .suggestion-tag {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .result-item {
        padding: 12px;
    }
    
    .result-title {
        font-size: 0.95rem;
    }
    
    .result-description {
        font-size: 0.8rem;
    }
}

/* High Performance Mode */
@media (prefers-reduced-motion: reduce) {
    .floating-search,
    .result-item,
    .suggestion-tag,
    .autocomplete-item,
    .voice-search-btn,
    .search-btn {
        transition: none !important;
        animation: none !important;
    }
    
    .floating-search::before,
    .result-item::before,
    .suggestion-tag::before {
        display: none !important;
    }
}

/* Focus Indicators for Accessibility */
.search-toggle:focus,
.voice-search-btn:focus,
.search-btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.search-input:focus {
    outline: none; /* Already has custom focus styles */
}

.autocomplete-item:focus,
.result-item:focus,
.suggestion-tag:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: -2px;
}

/* Print Styles */
@media print {
    .floating-search,
    .search-toggle,
    .autocomplete-dropdown {
        display: none !important;
    }
}

/* Error States */
.search-error {
    padding: 15px;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 10px;
    color: rgba(255, 150, 150, 0.9);
    text-align: center;
    margin: 10px 0;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    margin: 10px 0;
}

/* Success Animation */
@keyframes searchSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.search-success {
    animation: searchSuccess 0.3s ease;
}

/* Loading State for Voice Search */
.voice-search-btn.loading {
    animation: voicePulse 1s infinite;
}

.voice-search-btn.error {
    background: rgba(255, 100, 100, 0.3) !important;
    border-color: rgba(255, 100, 100, 0.5) !important;
}

/* Search Stats Display */
.search-stats {
    padding: 10px 15px;
    background: rgba(0, 168, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-stats .stats-icon {
    color: var(--primary-blue);
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .floating-search {
        background: rgba(5, 10, 20, 0.98);
        border-color: rgba(0, 168, 255, 0.4);
    }
    
    .search-input {
        background: rgba(255, 255, 255, 0.03);
    }
    
    .autocomplete-dropdown {
        background: rgba(5, 10, 20, 0.98);
    }
}

/* Compatibility fixes */
.floating-search * {
    box-sizing: border-box;
}

/* Z-index layering */
.search-toggle { z-index: 1005; }
.floating-search { z-index: 1100; }
.autocomplete-dropdown { z-index: 1200; }
.search-results { z-index: 1150; }

/* Animation delays for staggered appearance */
.suggestion-tag:nth-child(1) { animation-delay: 0.1s; }
.suggestion-tag:nth-child(2) { animation-delay: 0.2s; }
.suggestion-tag:nth-child(3) { animation-delay: 0.3s; }
.suggestion-tag:nth-child(4) { animation-delay: 0.4s; }
.suggestion-tag:nth-child(5) { animation-delay: 0.5s; }
.suggestion-tag:nth-child(6) { animation-delay: 0.6s; }


/* ========================================
   HOVER EFEKAT ZA "MADE WITH LOVE" - POPRAVLJENA VERZIJA
   Tooltip se automatski prilagođava veličini ekrana
   ======================================== */

/* Osnovni stilovi za tooltip */
.footer-made-with-tooltip {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-made-with-tooltip .tooltip {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    background: linear-gradient(135deg, rgba(0, 168, 255, 0.95) 0%, rgba(0, 102, 204, 0.95) 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    box-shadow: 0 15px 40px rgba(0, 168, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    
    /* KLJUČNE PROMJENE - prilagođava se ekranu */
    max-width: 280px;
    width: max-content;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
    word-wrap: break-word;
    
    /* Osiguraj da se tooltip ne vidi izvan ekrana */
    max-width: calc(100vw - 40px);
}

/* Automatsko pozicioniranje ovisno o mjestu na ekranu */
.footer-made-with-tooltip:hover .tooltip {
    /* Provjeri je li tooltip blizu desnog ruba */
    right: auto;
    left: 50%;
}

/* Za slučaj da je parent element blizu ruba ekrana */
.footer-made-with-tooltip .tooltip {
    margin-left: 0;
    margin-right: 0;
}

/* Glow efekat oko tooltip-a */
.footer-made-with-tooltip .tooltip::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00a8ff, #0066cc, #00a8ff);
    border-radius: 12px;
    z-index: -1;
    animation: tooltipGlow 2s ease-in-out infinite;
}

/* Strelica ispod tooltip-a */
.footer-made-with-tooltip .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(0, 168, 255, 0.95);
    z-index: 1000;
}

/* Hover efekti */
.footer-made-with-tooltip:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.footer-made-with-tooltip:hover {
    transform: translateY(-3px);
}

/* Animacija srca na hover */
.footer-made-with-tooltip:hover .heart-icon {
    animation: heartPulse 1s ease infinite;
}

/* ========================================
   ANIMACIJE
   ======================================== */

@keyframes heartPulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.2);
    }
}

@keyframes tooltipGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.9;
    }
}

/* ========================================
   RESPONSIVE DESIGN - POBOLJŠANO
   ======================================== */

/* Desktop - veliki ekrani */
@media (min-width: 1200px) {
    .footer-made-with-tooltip .tooltip {
        max-width: 320px;
        font-size: 0.9rem;
        padding: 14px 18px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .footer-made-with-tooltip .tooltip {
        font-size: 0.8rem;
        padding: 10px 14px;
        max-width: 250px;
        bottom: 120%;
    }
    
    .footer-made-with-tooltip:hover .tooltip {
        transform: translateX(-50%) scale(1);
    }
}

/* Mali tablet / veliki mobitel */
@media (max-width: 600px) {
    .footer-made-with-tooltip .tooltip {
        font-size: 0.75rem;
        padding: 8px 12px;
        max-width: 220px;
        border-radius: 10px;
    }
    
    .footer-made-with-tooltip .tooltip::after {
        border-width: 6px;
    }
}

/* Mobitel */
@media (max-width: 480px) {
    .footer-made-with-tooltip .tooltip {
        font-size: 0.7rem;
        padding: 8px 10px;
        max-width: 200px;
        bottom: 110%;
        /* Na malom ekranu koristi cijelu širinu s paddingom */
        left: 20px;
        right: 20px;
        transform: translateX(0) scale(0.8);
        width: auto;
        margin: 0;
    }
    
    .footer-made-with-tooltip:hover .tooltip {
        transform: translateX(0) scale(1);
    }
    
    /* Strelica u sredini na mobilu */
    .footer-made-with-tooltip .tooltip::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Vrlo mali mobitel */
@media (max-width: 360px) {
    .footer-made-with-tooltip .tooltip {
        font-size: 0.65rem;
        padding: 6px 8px;
        max-width: 180px;
        left: 10px;
        right: 10px;
    }
}

/* ========================================
   ALTERNATIVNO RJEŠENJE ZA KRATKI TEKST
   ======================================== */

/* Klasa za kraći tekst koji stane u jednu liniju */
.footer-made-with-tooltip.short-text .tooltip {
    white-space: nowrap;
    width: auto;
    max-width: none;
    min-width: 200px;
}

/* Klasa za duži tekst */
.footer-made-with-tooltip.long-text .tooltip {
    white-space: normal;
    max-width: 280px;
    line-height: 1.4;
}



