/* Osnovni stilovi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: white;
    background-size: cover;
    height: 100%;
    overflow-x: hidden;
}

.navbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 20px;
    background-color: aliceblue;
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
}

.navbar .nav-links {
    display: flex;
    list-style: none;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.navbar .nav-links a:hover {
    color: #f4b400;
}


.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: rgb(0, 0, 0);
}

.navbar .logo img {
    height: 50px;         
    width: auto;          
    display: block;
}
/* DROPDOWN */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: aliceblue;
    list-style: none;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
}

.dropdown-menu a:hover {
    background-color: #fff3d3;
    color: #000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-left {
    justify-self: start;
}

.nav-center {
    justify-self: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;     
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}


.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.lang-switch button {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.lang-switch img {
    width: 22px;
    height: auto;
    border-radius: 2px;
}

.lang-switch button:hover {
    opacity: 0.7;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

      .navbar .logo img {
        height: 40px;    
    }

    .nav-links {
        position: absolute;
        top: 70px; 
        left: -100%;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }

    .navbar .nav-links a {
    color: rgb(255, 255, 255);

}

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
        text-align: center;
    }

    .dropdown-menu {
    position: static;
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
}

.dropdown-menu a {
    color: #fff;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.navbar {
        grid-template-columns: auto auto auto;
    }

    .nav-center {
        position: static;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.8);
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

}


    .think-green {
    background: #0f1f17;
    color: #e8f5e9;
    padding: 80px 20px;
}

.think-green-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.think-green h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: #6fdc8c;
}

.think-green-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
}

.think-green-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.green-card {
    background: #13281f;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.green-card:hover {
    transform: translateY(-6px);
}

.green-card img {
    width: 100%;      
    height: auto; 
    display: block;    
    object-fit: contain;
}

.green-card h3 {
    margin: 20px 0 10px;
    color: #7dffb3;
}

.green-card p {
    padding: 0 20px 30px;
    font-size: 15px;
    opacity: 0.9;
}
