/* =========================
   OSNOVNI RESET
========================= */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: whitesmoke;
    color: #333;
}

/* =========================
   HEADER
========================= */
.header {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    background-color: #b8b4b4;
}

.header .logo {
    max-width: 200px;
    height: auto;
}

/* =========================
   MENU
========================= */
.menu {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 20px 0;
    background-color: #f7f5f5;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.menu a {
    position: relative;
    text-decoration: none;
    color: #222;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #d1913e;
}

.menu a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -6px;
    background-color: #d1913e;
    transition: width 0.4s ease;
}

.menu a:hover::after,
.menu a.active::after {
    width: 100%;
}

/* =========================
   INTRO SEKCIA
========================= */
.intro {
    max-width: 1000px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}

.intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #d1913e;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.intro2 {
    max-width: 1000px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}

.intro2 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #d1913e;
}

.intro2 p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
/* =========================
   KORACI IZRADE (NOVI DIZAJN)
========================= */
.steps {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steps:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.steps h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: #d1913e;
}

.steps ol {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.steps ol li {
    position: relative;
    padding-left: 70px;
    font-size: 1.15rem;
    line-height: 1.7;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 15px;
    padding: 20px 20px 20px 70px;
    background: linear-gradient(90deg, #fdf6ec, #f7ede1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.steps ol li:hover {
    transform: translateX(5px);
    background: linear-gradient(90deg, #fbe3c5, #f7d9b1);
}

.steps ol li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d1913e;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* =========================
   GRID KATEGORIJA
========================= */
.categories-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.category-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 200px;
}

.category-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

.category-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    background: rgba(0,0,0,0.3);
    padding: 5px 10px;
    border-radius: 5px;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
    display: none;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
}

.lightbox-content {
    position: relative;
    text-align: center;
}

.media-container img,
.media-container video {
    width: 80vw;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
}

.category-label-lightbox {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.lightbox .prev,
.lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 10px;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* =========================
   FOOTER
========================= */
footer {
    text-align: center;
    padding: 25px;
    background-color: #f7f5f5;
    color: black;
    margin-top: 50px;
}
.footer-content {
    display: flexbox;
    flex-direction: column;
    align-items: center;
    font-family: Arial, sans-serif; 
    color: #fff; 
    text-align: center;
    padding: 5px;
    background-color: #d1913e; 
    border-top: 3px solid #b88b3a; 
    box-shadow: 0 -3px 15px rgba(0,0,0,0.2);
    border-radius: 15px 15px 0 0; 
}

/* SIGNATURE */
.signature {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.signature a {
    color: #000; 
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.signature a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #000; 
    transition: width 0.3s ease;
}

.signature a:hover::after {
    width: 100%;
}

.signature a:hover {
    color: #fff;
    text-shadow: 0 0 8px #000;
}

.signature:hover {
    transform: translateY(-2px);
    opacity: 1;
}
/* =========================
   FADE-IN
========================= */
.intro,
.category-card,
.steps {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.intro.appear,
.category-card.appear,
.steps.appear {
    opacity: 1;
    transform: translateY(0);
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    position: absolute;
    right: 20px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #222;
    transition: 0.3s ease;
}

/* Animacija u X */
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* =================================
   RESPONSIVE MENU
================================= */

@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }
        .footer-content {
        padding: 20px 15px;
    }
    .signature {
        font-size: 13px;
    }

    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
        gap: 20px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }

    .menu.active {
        display: flex;
    }

    /* Grid 2 kolone na tabletu */
    .categories-overview {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =================================
   TELEFON
================================= */

@media (max-width: 600px) {

    /* Grid 1 kolona */
    .categories-overview {
        grid-template-columns: 1fr;
    }

    .intro h1 {
        font-size: 1.8rem;
    }

    .steps {
        padding: 25px;
    }

    .steps li {
        font-size: 1rem;
    }
}