@import url('https://fonts.googleapis.com/css2?family=Marck+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Marck+Script&display=swap');
:root {
    --primary-color:#FAF9F6;
    --secondary-color:#333333;
    /* --accent-color: #FFD700; */
    --accent-color: #BEA77E;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--primary-color);
}

.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.container-header{
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header {
    background-color: var(--secondary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.5s;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    max-height: 60px;
    height: auto;
}

header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

header nav a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

header nav a:hover {
    color: var(--secondary-color);
}

.dropdown-main {
    display: none;
    position: absolute;
    list-style-type: none;
    padding-left: 0;
    background-color: var(--secondary-color);
    border: 1px solid var(--accent-color);
    border-top: none;
    z-index: 1000;
    margin-top: 24px;
}

.dropdown-main.show {
    display: block;
}

.dropdown-main li {
    padding: 0px 0px;
}

.dropdown-main li a {
    display: block;
    text-decoration: none;
    padding: 5px;
}

.dropdown-main li a:hover {
    background-color: #ddd;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 10rem 0;
    text-align: center;
    /* margin-top: 80px; */
    animation: fadeIn 1s ease-in;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-buttons .button {
    margin-right: 10px; /* Možete promeniti vrednost prema potrebi */
}

.hero-buttons .button:last-child {
    margin-right: 0; /* Uklanja desni margine sa zadnjeg dugmeta */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

section {
    padding: 4rem 0;
}

.about, .products, .references, .traditionals {
    background: var(--primary-color);
    margin: 2rem 0;
    /* padding: 4rem; */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-in;
    position: relative;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.about {
    background: #f9f9f9;
}

.about h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.about p {
    color: #666;
    line-height: 1.8;
}

.products {
    background: #fff;
}

.products h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.proizvod {
    background: #f4f4f4;
    padding: 1rem;
    border: 1px solid #ddd;
    text-align: center;
    flex: 1 1 calc(33.333% - 2rem);
    box-sizing: border-box;
    transition: transform 0.3s;
    animation: fadeIn 1s ease-in;
}

.proizvod:hover {
    transform: translateY(-10px);
}

.proizvod img {
    max-width: 100%;
    height: auto;
}

.references {
    background: #f9f9f9;
}

.references h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #FFFFFF, #f0f0f0); /* Gradijentna pozadina */
    color: #333;
    z-index: 999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.5s ease-in;
    border-radius: 10px; /* Dodajemo zaobljenost ivica */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Dodajemo senku */
    padding: 15px; /* Razmak oko navigacije */
    max-width: 300px; /* Maksimalna širina za bolji izgled */
    margin: auto; /* Centriranje navigacije */
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav ul {
    list-style-type: none;
    display: flex;
    flex-direction: column; /* Vertikalni prikaz */
    padding: 0;
    opacity: 0; /* Početna nevidljivost */
    animation: fadeIn 1s forwards; /* Animacija za fade in */
}

.mobile-nav li {
    margin: 10px 0;
}

.dropdown {
    /* display: none; */
    position: relative;
    list-style-type: none;
    padding-left: 0;
    /* background-color: transparent; */
    /* border: 1px solid var(--accent-color); */
    /* border-top: none; */
    margin-left: 6px;
    margin-right: -4px;
    margin-top: -4px;
    margin-bottom: 5px;
}

.dropdown.show {
    display: block;
}

.dropdown li {
    padding: px 0;
}

.dropdown li a {
    display: block;
    text-decoration: none;
    padding: 10px;
}

.dropdown li a:hover {
    background-color: #ddd;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.mobile-nav a i {
    margin-right: 10px; /* Razmak između ikone i teksta */
}

.mobile-nav a:hover {
    color: var(--primary-color);
    background-color: var(--accent-color);
    transform: translateX(5px);
}

.mobile-nav a.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Ikone i animacija */
.mobile-nav a::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.mobile-nav a:hover::before, 
.mobile-nav a.active::before {
    background-color: var(--accent-color); /* Zlatna boja za hover i aktivnu stavku */
}

.page-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.page-overlay.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    header nav {
        display: none;
    }

    .products .galerija {
        flex-direction: column;
    }

    .proizvod {
        flex: 1 1 100%;
    }

    header .logo img {
        max-height: 50px;
        max-width: 140px;
        height: auto;
    }
}



/* About HTML */

.about {
    padding: 4rem 0;
    text-align: center;
}

.about h2 {
    margin-bottom: 2rem;
}

.about p {
    margin-bottom: 2rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.image-gallery img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}


/*Index.html*/

        /* Dodani stilovi */
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #f2f2f2;
            color: #333;
            margin: 0;
            padding: 0;
            overflow-x: hidden;
        }
        /* header {
            background-color: #007bff;
            color: #fff;
            padding: 20px 0;
            position: fixed;
            width: 100%;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            transition: background-color 0.3s ease;
        }
        header.sticky {
            background-color: #0056b3;
        } */
        .container {
            width: 90%;
            /* margin: auto; */
            /* overflow: hidden; */
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .logo img {
            width: 150px;
            height: auto;
        }
        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
        }
        /* nav ul li {
            margin-left: 20px;
        } */
        nav ul li a {
            text-decoration: none;
            font-size: 15px;
            font-weight: 800;
            color: var(--primary-color);
            transition: color 0.3s ease;
        }
        nav ul li a:hover {
            color: var(--accent-color);
            /* background-color: rgba(0, 0, 0, 0.1); */
        }

        nav ul li a.active {
            /* background-color: var(--accent-color); */
            border: 1px solid var(--accent-color);
            border-radius: 5px;
            color: var(--primary-color);
        }

        header {
            background-color: var(--secondary-color);
        }
        
        .hero {
            background-image: url('hero-image.jpg');
            background-size: cover;
            background-position: center;
            color: #fff;
            text-align: center;
            padding: 100px 0;
        }
        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
        }
        .hero p {
            font-size: 24px;
        }
        .products {
            background-color: #fff;
            padding: 50px 0;
            text-align: center;
        }
        .products h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }
        .galerija {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }
        .proizvod {
            flex: 0 0 300px;
            text-align: center;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .proizvod img {
            width: 100%;
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
        }
        .proizvod p {
            font-size: 18px;
            padding: 20px 0;
        }
        .references {
            background-color: #f2f2f2;
            padding: 50px 0;
            text-align: center;
        }
        .references h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }
        .contact {
            padding: 168px 0;
            background-color:  #3D3D3D;
            /* text-align: center; */
        }

        @media (max-width: 768px) {
            .contact {
                padding: 0px 0;
            }
        }

        .contact h2 {
            font-size: 36px;
            margin-bottom: 20px;
        }
        .contact form {
            margin-top: 20px;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }
        .contact form label {
            display: block;
            margin-bottom: 10px;
            text-align: left;
        }
        .contact form input[type="text"],
        .contact form input[type="email"],
        .contact form textarea {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            box-sizing: border-box;
        }
        .contact form button {
            background-color: var(--secondary-color);
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .contact form button:hover {
            background-color: var(--secondary-color);
        }

        footer {
            /* background-color: #333; */
            color: #fff;
            padding: 20px 0;
            text-align: center;
            width: 100%;
        }
        footer p {
            margin: 0;
        }
        footer .social-icons {
            margin-top: 10px;
        }
        footer .social-icons a {
            color: #fff;
            font-size: 24px;
            margin-right: 10px;
            transition: color 0.3s ease;
        }
        footer .social-icons a:hover {
            color: #ffd700;
        }  
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        #pocetna.hero {
            background-image: url('../images/stepenice-min.webp');
            background-color: transparent;
            background-size: cover;
            background-position: center;
            color: #000;
            background-color: var(--primary-color);
            text-align: center;
            padding: 100px 0;
            height: 100vh;
        }

        #pocetna {
            position: relative;
            color: #ffffff;
        }
        
        #pocetna::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.85); /* Postavljamo prozirnu crnu boju */
            z-index: 0;
        }
        
        #pocetna .container {
            position: relative;
            z-index: 1;
        }
        
        
        .hero-content {
            position: relative;
            z-index: 1;
        }

        .highlight{
            font-family: "Marck Script", cursive;
            font-weight: 400;
            font-style: normal;
        }
        
        .hero-content h1 {
            font-size: 48px;
            margin-bottom: 20px;
        }

        .hero-content span {
            font-size: 120px;
            margin-bottom: 20px;
            color: var(--secondary-color);
            font-weight: 800;
        }
        
        .hero-content p {
            font-size: 24px;
        }

        .hero-buttons {
            margin-top: 20px;
        }
        
        .button {
            border: 2px solid var(--accent-color);;
            border-radius: 5px;
            display: inline-block;
            padding: 10px 20px;
            text-decoration: none;
            color: var(--secondary-color);
            background: linear-gradient(to right, var(--accent-color) 50%, var(--primary-color) 50%);
            background-size: 200% 100%;
            background-position: right bottom;
            transition: all .5s ease-out;
            cursor: pointer;
        }
        
        .button:hover {
            background-position: left bottom;
            color: #fff;
            transform: scale(1.1) perspective(1px)
        }

        info-container{
            width: 90%;
            margin: 0 auto;
            max-width: 1200px;
            display: flex;
            flex-wrap: wrap;
        }


        .contact-info {
            /* background-color: #f9f9f9; */
            padding: 20px 0;
            text-align: center;
        }

        .contact-column i{
            font-size: 30px !important;
            color:var(--accent-color)
        }
        
        .contact-column {
            /* flex: 1; */
            max-width: 33%; /* Podijeli stupce u tri kolone */
            padding: 0 10px;
            box-sizing: border-box;
        }
        
        .contact-column h3 {
            font-size: 20px;
            color: var(--secondary-color);
        }
        
        .contact-column p {
            font-size: 16px;
        }

        .contact-column p a {
            color: var(--secondary-color); 
            text-decoration: none;
        }
    
        .contact-column p a:hover {
            color: var(--accent-color);
        }

        #pocetna hr {
            margin: 20px auto;
            border: none;
            border: 2px solid var(--secondary-color);
            border-radius: 5px;
            width: 80%;
            z-index: 0;
        }

/* Info css */
.info-section {
    display: flex;
    justify-content: space-between;
}

.info-column {
    flex: 1;
    margin-right: 20px;
}

.info-column a {
    color: var(--secondary-color);
    text-decoration: none;
}

.info-column a:hover {
    color: var(--primary-color);
}

.info-column h3 {
    margin-bottom: 10px;
}

.info-column p {
    margin: 5px 0;
}

.footer-bottom {
    margin-top: 20px;
}

.footer-bottom p {
    margin: 10px 0;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    margin: 0 10px;
    text-decoration: none;
    font-size: 1.5em;
}

footer {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 20px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-link {
    text-decoration: none;
    color: var(--secondary-color); /* Boja linka */
}

.footer-link:hover {
    color: var(--primary-color); /* Boja linka na hover */
}

@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        align-items: center;
    }

    .info-column {
        padding: 10px 0;
    }

    .info-column:not(:last-child) {
        margin-bottom: 20px;
    }
}

/* Tradition contatiner */

/* General container styling */
.tradition-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
}

/* Flexbox layout for the row */
.tradition-row {
    display: flex;
    flex-wrap: wrap;
}

/* Column styling */
.column {
    flex: 1;
    padding: 20px;
}

/* Left column specific styling */
.traditional-left{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Right column specific styling */
.traditional-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.traditional-right p{
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: 12px;
}

.traditional{
    width:40%;
    transform: translate(50px, 10px);
}

.boxshadow {
    position: relative;
    padding: 20px;
    background-color: var(--primary-color);
    border: 2px solid #dddddd;
    border-right: none;
    border-top: none;
    border-bottom: none;
    border-left: none;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Dodajemo senku sa desne strane */
.boxshadow::after {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    height: 100%;
    /* background: linear-gradient(to right, var(--secondary-color), rgba(0,0,0,0)); */
    z-index: 1;
}

/* Dodajemo senku ispod kutije */
.boxshadow::before {
    content: '';
    position: absolute;
    bottom: 0px; /* Pomeramo senku ispod kutije */
    left: 0;
    width: 100%;
    height: 10px; /* Visina senke */
    background: linear-gradient(to top, var(--accent-color), rgba(0,0,0,0)); 
    z-index: 1;
}

/* Main image styling */
.main-image {
    width: 100%;
    height: auto;
}

/* Overlay image styling */
.overlay-image {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 86%;
    left: 90%;
    transform: translate(-50%, -50%);
    border: 5px solid white;
}

.overlay-image1 {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    top: 20%;
    left: 214%;
    transform: translate(-50%, -50%);
    border: 5px solid white;
    z-index: 1;
}

/* Keyframes for fade-in-up animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .overlay-image {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: -75px; /* Adjust margin for visual effect */
    }

    #pocetna.hero{
        height: auto;
    }

    .hero-content span {
        font-size: 85px;
    }

}

/* Why Choose  us*/
.why-choose-us {
    padding: 60px 20px;
    /* background-color: #ffffff; */
    margin: 50px auto;
    border-radius: 15px;
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
    text-align: center;
}

.why-choose-us h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.why-choose-us p {
    font-size: 20px;
    color: #7f8c8d;
    margin-bottom: 40px;
}

.benefits {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.benefit {
    max-width: 300px;
    width: 100%;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.icon-container {
    width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffffff;
    font-size: 40px;
}

.benefit h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.benefit p {
    font-size: 18px;
    color: #7f8c8d;
    margin-top: 0;
}

@media (max-width: 768px) {
    .benefits {
        flex-direction: column;
        align-items: center;
    }
}


@media (max-width: 768px) {
    .contact-column {
        max-width: 100%;
        margin-top: 20px;
    }

    .tradition-container {
        padding: 20px 10px;
    }

    .traditional {
        width: 70%;
        transform: none;
        margin-bottom: 20px;
        transform: translate(50px, 50px);
    }

    .references {
        padding: 2rem 1rem;
    }

    header nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        padding: 10px 0;
        flex-direction: column;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 10px 10px;
        z-index: 999;
    }

    header nav ul.active {
        display: flex;
    }

    header nav ul li {
        text-align: center;
    }

    header nav ul li a {
        padding: 1rem 0;
        display: block;
        color: #fff;
        transition: color 0.3s;
    }

    header nav ul li a:hover {
        color: var(--primary-color);
    }

    .nav-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 999;
    }

    .hero {
        padding: 8rem 0;
    }

    .hero h1 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero-buttons {
        margin-top: 20px;
    }

    .hero-buttons .button {
        margin-bottom: 10px;
    }

    .hero-text {
        right: 0% !important;
    }

    .about,
    .products,
    .references,
    .traditionals,
    .why-choose-us {
        padding: 2rem 1rem;
    }

    .tradition-row {
        flex-direction: column;
    }

    .column {
        padding: 10px;
    }

    .reason {
        width: calc(50% - 40px);
    }

    .reason:nth-child(even) {
        margin-top: 20px;
    }

    .reason:nth-child(odd) {
        margin-bottom: 20px;
    }

    .reason-top-left,
    .reason-bottom-left {
        left: 50%;
        transform: translateX(-50%);
    }

    .reason-top-right,
    .reason-bottom-right {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-container {
        text-align: center;
    }

    .footer-link {
        display: block;
        margin-bottom: 10px;
    }

    .social-icons {
        margin-top: 20px;
    }

    .mobile-nav ul {
        padding: 20px 0;
    }

    .contact-column{
        justify-content: center;
        display: flex;
    }

    .contact-column h3{
        display: none;
    }

    .contact-column i{
        font-size: 20px !important;
        padding-right: 14px;
    }
}



/* Products.php */

/* .hero-image {
    position: relative;
    text-align: center;
    color: white;
} */

/* .hero-image img {
    width: 100%;
    height: 400px;
} */

/* .hero-text {
    position: absolute;
    top: 50%;
    right: 25%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
} */

#products {
    /* padding-top: 30px; */
    cursor: pointer;
}

h1 {
    text-align: center;
    color: #BEA77E;
    margin-bottom: 20px;
    font-size: 2.5em;
}

.categories {
    text-align: center;
    margin-bottom: 20px;
}

.category-btn {
    background-color: #BEA77E;
    color: #FAF9F6;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1.1em;
    border-radius: 25px;
}

.category-btn:hover {
    background-color: #4B2E12;
    transform: scale(1.05);
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.product-item {
    width: calc(20% - 15px);
    height: 420px;
    margin-bottom: 30px;
    margin-left: 10px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    /* border-radius: 15px; */
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.product-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* border-radius: 15px; */
    transition: transform 0.3s;
    object-fit: fill;
}

.product-item h3, .product-item p, .product-item .price {
    position: absolute;
    bottom: 40px; /* Pozicionira tekst na dno */
    left: 0px;
    right: 0px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px; /* Bolji izgled */
    margin: 0; /* Uklanja dodatne margine */
    padding: 0px; /* Dovoljno prostora oko teksta */
    z-index: 1; /* Osigurava da je tekst iznad slike */
}

.product-item h3 {
    color: var(--primary-color);
    font-size: 2em;
}

.product-item p {
    color: #333;
    font-size: 1em;
}

.product-item .price {
    color: #5D3A1A;
    font-size: 1.2em;
    font-weight: bold;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-item img:hover {
    transform: scale(1.05);
}

.product-item .cta-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.product-item .cta-btn {
    background-color: #5D3A1A;
    color: #FAF9F6;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1em;
    border-radius: 25px;
    display: flex;
    align-items: center;
}

.product-item .cta-btn:hover {
    background-color: #4B2E12;
    transform: scale(1.05);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-item img:hover {
    transform: scale(1.05);
}

.product-links .fab, .far {
    font-size: 1.5em;
    margin-right: 5px;
}


@media (max-width: 768px) {
    .category-btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    h1 {
        font-size: 2em;
    }

    .product-item {
        width: calc(50% - 15px);
    }
}

@media (max-width: 500px) {

    .product-item {
        width: calc(100% - 15px);
    }
}

 /* Dodajte CSS stilove za modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
}

.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.modal-content img {
    max-width: 90%;
    max-height: 90vh;
    cursor: zoom-in;
    transition: transform 0.3s ease-in-out; 
}

.modal-content img:hover {
    transform: scale(1.1);
}

.close {
    color: #aaa;
    position: fixed;
    top: 10px;
    right: 15px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    color: var(--secondary-color);
}

.products p {
    font-size: 20px;
    color: #7f8c8d;
    margin-bottom: 40px;
}


/* End Products.php */

.google-map {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* Omjer 16:9 */
    height: 0;
}

.google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-columnt-main{
    font-weight: bold !important; 
    font-size: 20px !important;
}



.hero-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    /* animation: slideIn 2s forwards; */
}

.hero-image img {
    width: 100%;
    filter: brightness(70%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: filter 0.3s ease;
}

.hero-text {
    position: absolute;
    top: 50%;
    left:25%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
    color: white;
    opacity: 0; 
    animation: fadeIn 2s forwards 1s;
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .hero-text{
        font-size: 0.8em;
        left: 33%;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Definicija ključnih okvira za pojavljivanje teksta */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Animation for index.php */

/* Dodajte ove stilove u vašu CSS datoteku ili unutar <style> taga */

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.opacity-in-up{
    opacity: 0;
}

.opacity-in-up.visible {
    opacity: 1;
    /* transform: translateY(0); */
}

.fade-in-up-delay{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up-delay.visible {
    opacity: 1;
    transform: translateY(0);
}

/* .fade-in-up.delay-0 { animation-delay: 0s; }
.fade-in-up.delay-1 { animation-delay: 0.1s; }
.fade-in-up.delay-2 { animation-delay: 0.2s; }
.fade-in-up.delay-3 { animation-delay: 0.3s; }
.fade-in-up.delay-4 { animation-delay: 0.4s; }
.fade-in-up.delay-5 { animation-delay: 0.5s; } */


.flip-in{
    opacity: 0;
    transform: perspective(600px) rotateY(90deg);
    transition: transform 0.5s ease-in, opacity 0.5s ease-in;
}

.flip-in.visible {
    opacity: 1;
    transform: perspective(600px) rotateY(0);
}

.fade-slide-in {
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.5s ease-in, opacity 0.5s ease-in;
}

.fade-slide-in.visible {
    opacity: 1;
    transform: translateX(0);
}

.bounce-in {
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.bounce-in.visible {
    opacity: 1;
    transform: translateY(0);
    animation: bounce 0.5s ease-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

.rotate-in {
    opacity: 0;
    transform: rotate(-180deg);
    transition: transform 0.5s ease-in, opacity 0.5s ease-in;
}

.rotate-in.visible {
    opacity: 1;
    transform: rotate(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease-in, opacity 0.5s ease-in;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}


/* Contact form */

.container-offer-section {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 50px 0;
}

.container-offer {
    max-width: 600px;
    margin: 0 auto;
}

.container-offer h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.offer-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.offer-button:hover {
    background-color: #0056b3;
}

/* End contact form */


.grecaptcha-badge 
{ 
    visibility: hidden; 
}

.recaptcha{
    color: #003961;
    text-decoration: underline;
}

.recaptcha:hover{
    color:var(--accent-color);
}

.recaptcha-p{
    color: #000000;
}