/* Reset i osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    background-color: #fff8f0;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER */
header {
    background-color: #C0C0C0;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.center-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.center-nav a {
    font-weight: 400;
    font-size: 18px;
    color: #222;
    padding: 5px 10px;
    transition: all 0.3s ease;
    position: relative;
}

.center-nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #bfa06e;
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 0;
}

.center-nav a:hover::after {
    width: 100%;
}

.center-nav a:hover {
    color: #bfa06e;
}

/* HERO */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.hero-text {
    position: relative;
    z-index: 1;
    color: #C0C0C0;
}

.hero-text h1 {
    font-size: 35px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-text p {
    color: #fff8f0;
    font-size: 22px;
}

/* MAIN CONTENT */
.content-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-size: 18px;
    line-height: 1.8;
}

.scroll-tekst {
    overflow-y: auto;
    max-height: 500px;
    padding-left: 15px;
    padding-right: 10px;
    border-left: 3px solid #C0C0C0;
}

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px;
}

.gallery img {
    width: 100%;
    display: block;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transition: transform 0.4s, box-shadow 0.4s;
}

.gallery img:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

/* LIGHTBOX */
#lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid #C0C0C0;
    border-radius: 10px;
}

/* VIDEO SECTIONS */
.video-background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlay-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 220px);
    gap: 20px;
    margin-top: 20px;
}

.video-item {
    text-decoration: none;
    color: #000;
    text-align: center;
}

.video-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.video-item img:hover {
    transform: scale(1.05);
}

.video-item span {
    display: block;
    margin-top: 8px;
    font-size: 14px;
}

/* POZADINA ISPOD IKONA */
.gallery-bg {
    position: relative;
    background-image: url("images/pozadina.jpg"); /* ← tvoja fotografija */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* opcionalno – luksuzni efekt */
    padding: 80px 0;
}

/* Lagani tamni overlay (da ikone bolje "iskoče") */
.gallery-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* Ikone iznad pozadine */
.gallery-section {
    position: relative;
    z-index: 2;
}

.gallery-item {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(3px);
}

.gallery-item p {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.contact-form {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(4px);
}

/* FOOTER */
footer {
    background-color: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
    border-top: 3px solid #C0C0C0;
}

footer .footer-info p {
    margin: 5px 0;
}

footer .footer-copy {
    margin-top: 20px;
    font-size: 14px;
    color: #C0C0C0;
}

/* COOKIE BANNER */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

#cookie-banner button {
    background-color: #C0C0C0;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    color: #222;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}

#cookie-banner button:hover {
    background-color: #bfa06e;
    color: #fff;
}

/* SOCIAL FIXED */
.social-fixed {
    position: fixed;
    left: 16px;
    bottom: 16px;
    display: flex;
    gap: 14px;
    z-index: 999;
}

.social-fixed a {
    width: 44px;
    height: 44px;
    background: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-fixed svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.social-fixed a.fb:hover {
    background: #1877f2;
    transform: translateY(-3px);
}

.social-fixed a.ig:hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .center-nav {
        flex-direction: column;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 200px);
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .social-fixed {
        left: 10px;
        bottom: 10px;
        gap: 10px;
    }

    .social-fixed a {
        width: 36px;
        height: 36px;
    }

    .social-fixed svg {
        width: 16px;
        height: 16px;
    }
}
.contact-form {
    max-width: 600px;
    margin: 60px auto;
    padding: 30px;
}
@media (max-width: 600px) {
  .contact-form {
    margin: 20px 10px;
    padding: 20px;
  }
}
