/* ==========================================
   1. RESET I OSNOVNE POSTAVKE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #FFF7E8; /* Krem pozadina sa slike */
    color: #000000;
    overflow-x: hidden;
}

/* ==========================================
   2. HEADER & NAVIGACIJA
   ========================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 6%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1000;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-links {
    margin-right: 150px;
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
    font-size: 1.05rem;
    font-weight: 500;
    transition: font-weight 0.1s ease;
}

.nav-links a:hover,
.nav-links a.active {
    font-weight: 700;
}

/* WhatsApp / Telefon dugme sa desne strane */
.phone-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #F8D8E5; /* Roze pozadina sa slike */
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    color: #000000;
    font-weight: 600;
    font-size: 1.05rem;
}

.phone-btn i {
    font-size: 1.4rem;
}

.hamburger,
.close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #000000;
    cursor: pointer;
}

/* ==========================================
   3. LANDING HERO SEKCIJA (NAŠ MENI)
   ========================================== */
.menu-hero {
    padding: 70px 20px 40px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-hero-container {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #000000;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.5px;
}

/* Linija ispod naslova sa slike */
.menu-title-underline {
    width: 230px;
    height: 1.5px;
    background-color: #444444;
    margin: 16px 0 22px 0;
}

.menu-hero-description {
    font-size: 1.02rem;
    line-height: 1.5;
    color: #111111;
    font-weight: 500;
    margin: 0;
}

/* ==========================================
   4. RESPONSIVE (MOBILNI & TABLET)
   ========================================== */
@media (max-width: 992px) {
    .navbar {
        padding: 20px 5%;
    }

    .hamburger {
        display: block !important;
    }

    .close-btn {
        display: block !important;
        position: absolute;
        top: 25px;
        right: 25px;
    }

    /* Meni za mobilni koji klizi s desne strane */
    .nav-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #FFF7E8;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        gap: 35px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
        transition: right 0.3s ease-in-out;
        z-index: 99999;
    }

    /* Klasa koju JS dodaje na klik hamburgera */
    .nav-container.active {
        right: 0 !important;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 25px;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .phone-btn {
        margin-top: 10px;
        font-size: 0.95rem;
        padding: 10px 20px;
    }
}

@media (max-width: 600px) {
    .menu-hero {
        padding: 40px 20px 30px 20px;
    }

    .menu-hero-title {
        font-size: 2.3rem;
    }

    .menu-title-underline {
        width: 160px;
        margin: 12px 0 18px 0;
    }

    .menu-hero-description {
        font-size: 0.92rem;
        line-height: 1.45;
    }
}
/* ==========================================
   SEKCIJA SA KARTICAMA PROIZVODA (GRID 4x4)
   ========================================== */
.products-section {
    margin-top: 120px;
    width: 100%;
    padding: 20px 5% 80px 5%;
    display: flex;
    justify-content: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kartice u redu */
    gap: 25px;
    max-width: 1200px;
    width: 100%;
}

.product-card {
    background-color: #FFFFFF;
    border: 1px solid #111111; /* Crni border oko kartice */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-bottom: 1px solid #111111;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 15px 12px 15px 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.product-price {
    font-size: 0.85rem;
    color: #333333;
    font-weight: 500;
    margin-bottom: 15px;
}

/* Roze dugme sa slike sa zaobljenim uglovima */
.order-btn {
    align-self: center;
    width: 80%;
    text-align: center;
    background-color: #F8D8E5; /* Roze boja sa slike */
    color: #000000;
    text-decoration: none;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.order-btn:hover {
    opacity: 0.85;
}

/* RESPONSIVE ZA TABLET I TELEFON */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 kartice na tabletima */
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 kartice na manjim ekranima */
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr; /* 1 kartica na mobilnom */
        gap: 20px;
    }
}
/* ==========================================
   FOOTER
   ========================================== */

.footer {
    margin-top: 60px;
    background-color: #FFF7E8; /* Krem pozadina */
    padding: 40px 5%;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.footer-links-left,
.footer-links-right {
    display: flex;
    align-items: center;
    gap: 45px;
}

.footer a {
    text-decoration: none;
    color: #111111;
    font-size: 1.05rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.footer a:hover {
    opacity: 0.7;
}

.footer-logo img {
    height: 75px;
    width: auto;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    /* Postavlja logo na sam vrh */
    .footer-logo {
        order: -1;
        margin-bottom: 5px;
    }

    /* Linkovi idu vertikalno, jedan ispod drugog */
    .footer-links-left,
    .footer-links-right {
        flex-direction: column;
        gap: 18px;
    }
}