/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000000;
    background-color: #ffffff;
}

/* ========== NAVBAR ========== */
.navbar {
    font-family: 'Exo', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgb(0, 0, 0);
    backdrop-filter: blur(6px);
    padding: 18px 8%;
    position: sticky;
    top: 0;
    z-index: 3000;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 transparent;
}

/* Efekat kad se skroluje */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.97);
    padding: 12px 8%;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

.navbar .logo img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

.navbar.scrolled .logo img {
    height: 38px;
}

/* NAV LINKS */
.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #ccc;
}
.navbar .nav-links a:hover::after {
    width: 100%;
}

.navbar {
  backdrop-filter: blur(8px);
  transition: backdrop-filter 0.3s ease;
}

.lang-toggle {
  position: fixed;
  top: 25px;
  left: 25px;
  background: #000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 999999; /* ⬆️ povećano! iznad svega */
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0.95;
  pointer-events: auto; /* ✅ obavezno da klik radi */
}

.lang-toggle a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.lang-toggle .lang-flag {
  width: 28px;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

/* 📱 Na mobilnom - pomeramo dole */
@media (max-width: 768px) {
  .lang-toggle {
    top: auto;
    bottom: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
  }

  .lang-toggle .lang-flag {
    width: 25px;
  }
}


/* === MOBILNI PRIKAZ: DOLE LEVO === */
@media (max-width: 768px) {
  .lang-toggle {
    top: auto;       /* ❌ isključujemo poziciju gore */
    bottom: 15px;    /* ✅ sad je dole */
    left: 15px;      /* ✅ ostaje levo */
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3000;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

#mainHeader.hidden {
  transform: translateY(-100%);
}


/* ========== HERO SEKCIJA ========== */
.hero {
    position: relative;
    background: url('../images/hero1.jpg') center center/cover no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    transition: background-image 1s ease-in-out;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
}

.hero-logo {
    width: 250px;
    max-width: 65%;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
    animation: fadeInDown 1.2s ease forwards, floatLogo 2s ease-in-out infinite;
}

/* lebdenje gore-dole */
@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ulaz logoa */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Fade-in odozdo za tekst */
.hero h1,
.hero p,
.hero .btn {
    opacity: 0;
    animation: fadeInUp 1.5s ease forwards;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 15px;
    font-weight: 700;
    animation-delay: 0.5s;
}

.hero p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #f0f0f0;
    line-height: 1.6;
    animation-delay: 1s;
}

.hero .btn {
    font-family: Poppins, sans-serif;
    animation-delay: 1.2s;
}

/* Fade-in efekat */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dugme */
.btn {
    background: #fff;
    color: #000;
    padding: 10px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}
.btn:hover {
    background: #ccc;
}

.pattern-bg {
  background-color: #fff;
  background-image: 
    linear-gradient(135deg, rgba(0,0,0,0.03) 25%, transparent 15%),
    linear-gradient(225deg, rgba(0,0,0,0.03) 25%, transparent 15%),
    linear-gradient(45deg, rgba(0,0,0,0.03) 25%, transparent 15%),
    linear-gradient(315deg, rgba(0,0,0,0.03) 25%, transparent 15%);
  background-position: 10px 0, 10px 0, 0 0, 0 0;
  background-size: 20px 20px;
  background-repeat: repeat;
}

/* ========================= O NAMA SEKCIJA ========================= */
.about_section {
    padding: 100px 8%;
    background: #fff;
    border-bottom: 2px solid #eee;
    display: flex;
    justify-content: center;
}

.about_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    gap: 50px;
}

/* Tekstualni deo */
.about_content {
    flex: 1 1 500px;
    text-align: center;
}

.about_content h3 {
    font-size: 1.2rem;
    color: #696969;
    font-weight: 500;
    margin-bottom: 10px;
}

.about_content h2 {
    font-size: 3.2rem;
    line-height: 1.3;
    color: #000000;
    font-weight: 700;
    margin-bottom: 25px;
}

.about_logo {
    width: 160px;
    height: auto;
    margin: 15px 0 25px;
}

.about_content p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 25px;
}

.about_btn {
    font-family: Poppins, sans-serif;
    position: relative;
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
    transition: background 0.3s ease;
}

.about_btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgba(255,255,255,0));
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.about_btn:hover::before {
    left: 125%;
}

.about_btn:hover {
    background: #1a1a1a;
}

/* Deo sa slikama */
.about_images {
    flex: 1 1 500px;
    position: relative;
    min-height: 420px;
}

.about_img {
    width: 60%;
    border-radius: 8px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.about_img:hover {
    transform: scale(1.05);
}

/* Raspored i preklapanje slika */
.about_img_1 {
    position: absolute;
    top: 0;
    left: 20%;
    z-index: 3;
}

.about_img_2 {
    position: absolute;
    top: 100px;
    right: 0;
    z-index: 2;
}

.about_img_3 {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.about_cards {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    margin: 35px auto;
    flex-wrap: wrap;
    max-width: 700px;
}

.about_card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 20px 20px;
    flex: 1 1 200px;
    text-align: center;
    transition: all 0.3s ease;
}

.about_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.about_card i {
    font-size: 2rem;
    color: #000;
    background: #f0f0f0;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.about_card:hover i {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

.about_card h4 {
    font-family: Poppins, sans-serif;
    font-size: 1.0rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.about_card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Mobilni prikaz */
@media (max-width: 768px) {
    .about_cards {
        flex-direction: column;
        gap: 20px;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about_container {
        flex-direction: column;
        text-align: center;
    }

    .about_images {
        margin-top: 60px;
        min-height: auto;
    }

    .about_img {
        position: static;
        width: 80%;
        margin: 20px auto;
        display: block;
    }
}



/* ========================= AUTOMOBILI ========================= */
.vehicles {
    padding: 100px 8%;
    text-align: center;
}

.vehicles-header h2 {
    font-size: 2.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.vehicles-header p {
    color: #555;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

/* Grid prikaz automobila */
.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

/* Kartice */
.vehicle-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Slika */
.vehicle-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

/* Tekstualni deo */
.vehicle-info {
    padding: 20px 25px 30px;
}

.vehicle-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
}

.vehicle-info .details {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.vehicle-info .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
}

.vehicle-info .price span {
    color: #555;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Dugme */
.rent-btn {
    font-family: Poppins, sans-serif;
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Shine efekat */
.rent-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.rent-btn:hover::before {
    left: 125%;
}

.rent-btn:hover {
    background: #1a1a1a;
}

/* ========================= DUGME: POGLEDAJ SVA VOZILA ========================= */
.vehicles-footer {
    text-align: center;
    margin-top: 60px;
}

.view-all-btn {
    font-family: Poppins, sans-serif;
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 14px 40px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

/* Shine efekat */
.view-all-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.view-all-btn:hover::before {
    left: 125%;
}

.view-all-btn:hover {
    background: #1a1a1a;
}



/* ========================= KOMBI I PRIKOLICE SHOWCASE ========================= */
.kombi-showcase {
    background: #ffffff;
    padding: 120px 8%;
}

.kombi-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.kombi-text {
    flex: 1 1 420px;
}

.kombi-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.kombi-text p {
    color: #444;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 600px;
}

.kombi-text .about_btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

/* shine efekat */
.kombi-text .about_btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}
.kombi-text .about_btn:hover::before {
    left: 125%;
}
.kombi-text .about_btn:hover {
    background: #1a1a1a;
}

/* slike */
.kombi-images {
    position: relative;
    flex: 1 1 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.kombi-images img {
    width: 100%;
    max-width: 380px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transition: transform 0.4s ease;
}

.kombi-images .img-main {
    position: relative;
    z-index: 3;
}

.kombi-images .img-side {
    position: absolute;
    z-index: 2;
}

.kombi-images .img1 {
    top: -30px;
    left: -70px;
    transform: rotate(-5deg);
}

.kombi-images .img2 {
    bottom: -30px;
    right: -70px;
    transform: rotate(6deg);
}

/* efekat pri hoveru */
.kombi-images:hover .img-main img {
    transform: scale(1.05);
}
.kombi-images:hover .img-side img {
    transform: scale(1.08);
}

/* mobilni */
@media (max-width: 900px) {
    .kombi-content {
        flex-direction: column;
        text-align: center;
    }
    .kombi-images {
        margin-top: 40px;
    }
    .kombi-images .img1,
    .kombi-images .img2 {
        display: none;
    }
    .kombi-images .img-main img {
        max-width: 90%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .vehicles-header h2 {
        font-size: 2rem;
    }

    .vehicle-image {
        height: 180px;
    }

    .vehicle-info {
        padding: 18px;
    }
}


/* ========================= VIP TRANSFERI ========================= */
.vip {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 220px 10%;
    overflow: hidden;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
}

/* Video pozadina */
.vip-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.6);
}

/* Desktop video */
.desktop-video {
    display: block;
}

/* Mobile video */
.mobile-video {
    display: none;
}

/* Tamni overlay preko videa */
.vip-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Samo GORNJI beli prelaz */
.vip::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -10%;
    width: 120%;
    height: 100px;
    background: #fff;
    z-index: 3;
    transform: rotate(-3deg);
}

/* Sadržaj */
.vip-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1.2s ease;
}

.vip h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #f5d47e;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.vip p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #eaeaea;
    margin-bottom: 45px;
}

/* Dugme */
.vip-btn {
    font-family: Poppins, sans-serif;
    display: inline-block;
    background: linear-gradient(90deg, #f5d47e, #d4af37);
    color: #000;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.vip-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.4), rgb(255, 255, 255));
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.vip-btn:hover::before {
    left: 125%;
}

.vip-btn:hover {
    background: linear-gradient(90deg, #eac65a, #b9971d);
}

.vip {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.vip-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Svadba slika (skrivena na početku) */
.vip-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../images/vid/svadba.jpeg") center center/cover no-repeat;
  opacity: 0;
  z-index: 2;
  transition: opacity 2s ease-in-out;
}

/* Kad se aktivira klasa 'show-image' — slika se pojavljuje */
.vip-image.show-image {
  opacity: 1;
}

.vip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.vip-content {  
  position: relative;
  z-index: 4;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 10%;
}

/* ================= Responsivnost ================= */
@media (max-width: 900px) {
    .desktop-video {
        display: none;
    }
    .mobile-video {
        display: block;
    }

    .vip {
        padding: 160px 8%;
        clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 100%);
    }

    .vip h2 {
        font-size: 2.2rem;
    }

    .vip p {
        font-size: 1rem;
    }
}

/* Efekat pojavljivanja */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================= USLOVI NAJMA ========================= */
.terms {
    background: #f8f8f8;
    padding: 100px 8%;
    text-align: center;
}

.terms-header {
    max-width: 700px;
    margin: 0 auto 50px;
}

.terms-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.terms-header p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-items: center;
}

.term-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    padding: 30px 25px;
    max-width: 330px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.term-icon {
    display: inline-block;
    font-size: 2rem;
    margin-bottom: 15px;
    color: #000;
    background: #eaeaea;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    transition: all 0.3s ease;
}

.term-card:hover .term-icon {
    background: #000;
    color: #fff;
}

.term-card p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Pozadinski handshake efekat */
.terms {
    position: relative;
    background: #f8f8f8;
    padding: 100px 8%;
    text-align: center;
    overflow: hidden;
}

.terms::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px; /* možeš povećati/smanjiti */
    height: 700px;
    background: url('../images/logoblack_transparent.png') center center/contain no-repeat;
    opacity: 0.06; 
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* Sve unutar sekcije iznad pozadine */
.terms * {
    position: relative;
    z-index: 2;
}

.term-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: #000;
    background: #f0f0f0;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.term-card:hover .term-icon {
    background: #000;
    color: #fff;
    transform: scale(1.1);
}

/* Mobilni */
@media (max-width: 900px) {
    .terms {
        padding: 80px 6%;
    }

    .terms-header h2 {
        font-size: 2rem;
    }
}


/* ========================= KONTAKT ========================= */
.contact {
    padding: 100px 8%;
    background: #fff;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.contact-header p {
    color: #555;
    font-size: 1.1rem;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    justify-content: center;
    align-items: flex-start;
}

/* Forma */
.contact-form {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #000;
    outline: none;
}

.contact-btn {
    position: relative;
    overflow: hidden;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.4),
        rgba(255, 255, 255, 0)
    );
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.contact-btn:hover::before {
    left: 125%;
}

.contact-btn:hover {
    background: #333;
}
/* Mapa */
.contact-map {
    flex: 1;
    min-width: 350px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}


.contact {
    position: relative;
    padding: 100px 8%;
    background: #fff;
    overflow: hidden;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: url('../images/map-pattern.png') center center/contain no-repeat;
    opacity: 0.08; 
    z-index: 0;
}

/* Sve unutar contact sekcije iznad pozadine */
.contact * {
    position: relative;
    z-index: 2;
}

/* Društvene mreže */
.social-links {
    margin-top: 25px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social {
    font-family: Poppins, sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px 18px;
    transition: 0.3s;
    color: #fff;
}

.social i {
    font-size: 1.3rem;
}

/* WhatsApp i Instagram boje */
.social.whatsapp {
    background: #25D366;
}
.social.whatsapp:hover {
    background: #1ebe5b;
}

.social.viber {
    background: #7360f2; /* ljubičasta */
}
.social.viber:hover {
    background: #5c4dc8;
}

.social.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}
.social.instagram:hover {
    filter: brightness(1.1);
}

/* Mobilni prikaz */
@media (max-width: 900px) {
  .contact-wrapper {
      flex-direction: column;
  }
  .contact-map {
      height: 300px;
  }
}

/* Popravka contact sekcije na mobilnom */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }

  .contact-form {
    width: 100%;
    max-width: 95%;
  }

  .contact-map {
    width: 100%;
    max-width: 95%;
    height: 300px;
  }

  .contact-map iframe {
    width: 100% !important;
    height: 300px !important;
  }

  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .social {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ========== SEKCIJE ========== */
section {
    padding: 80px 8%;
    text-align: center;
}
@keyframes sectionFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
}
section p {
    line-height: 1.6;
    font-size: 1rem;
    max-width: 850px;
    margin: 0 auto 20px;
    color: #333;
}


/* ================= FADE-IN SCROLL EFEKTI ================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ========================= FOOTER ========================= */
.footer {
    background: #000;
    color: #fff;
    padding: 70px 8% 40px;
    font-family: 'Exo', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 40px;
}

.footer-col {
    flex: 1 1 250px;
}

.footer-logo {
    width: 250px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

.footer h4::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Ikonice */
.footer-socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.footer-socials .whatsapp {
    background: #25D366;
}
.footer-socials .whatsapp:hover {
    background: #1ebe5b;
}

.footer-socials .viber {
    background: #9537d3;
}
.footer-socials .viber:hover {
    background: #8d0e99;
}

.footer-socials .instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}
.footer-socials .instagram:hover {
    filter: brightness(1.2);
}

.footer-socials .email {
    background: #444;
}
.footer-socials .email:hover {
    background: #666;
}

/* Donji deo */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom .footer-links {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}



/* ================= COOKIE POPUP ================= */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 0.95rem;
    color: #333;
    z-index: 9999;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.4s ease;
}

.cookie-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-popup a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-popup button {
    font-family: Poppins, sans-serif;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 18px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s ease;
}

.cookie-popup button:hover {
    background: #333;
}

@media (max-width: 600px) {
    .cookie-popup {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}



/* ========================= BURGER MENI ========================= */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 6px;
    z-index: 4000;
    transition: transform 0.3s ease;
}

.burger span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: transform 0.4s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Lep i vidljiv X */
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ========== STRELICA NA VRH ========== */
#backToTop {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 45px;
    height: 45px;
    background: #000;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    z-index: 2500;
}

#backToTop:hover {
    background: #333;
    transform: translateY(-3px);
}

#backToTop.show {
    opacity: 1;
    pointer-events: all;
}

/* ========================= MOBILNI ========================= */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(5px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 3500;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        list-style: none;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeMenu 0.4s ease forwards;
    }

    .nav-links.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-links.active li:nth-child(6) { animation-delay: 0.6s; }
    .nav-links.active li:nth-child(7) { animation-delay: 0.7s; }

    @keyframes fadeMenu {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links a {
        font-size: 1.6rem;
        font-weight: 500;
        color: #fff;
        text-decoration: none;
        transition: 0.3s;
    }
    .nav-links a:hover {
        color: #ccc;
    }
}
