/* General reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Fixed header styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #3a4630;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hamburger {
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    margin: 0 0 0 20px;
}

.hamburger:hover {
    color: #c8bfa0;
}

.header-central {
    margin: 0;
    font-size: 18px;
}

.logo {
    margin: 0 20px 0 0;
}

/* Fullscreen menu */
.menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #3a4630;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 999;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu ul li {
    margin: 20px 0;
}

.menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    transition: color 0.3s;
}

.menu ul li a:hover {
    color: #c8bfa0;
}

/* Main content */
.content {
    margin-top: 60px; /* To account for fixed header */
    padding: 20px;
    background-color: #c8bfa0;
}

/* Open menu state */
.menu.open {
    left: 0;
}


/* Kategorije  */

#categories {
    padding: 2rem 1rem 1rem 1rem;
    display: grid;
    gap: 1rem;
}

.category {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0 1rem 0 1rem;
    transition: transform 0.3s ease;
}

.category:hover {
    transform: scale(1.01);
}

.category h3 {
    color: #4e4d50;
    margin-bottom: 1rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-logo img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 350px; /* Maksimalna visina logotipa */
    max-width: 100%;   /* Da logotip ostane unutar širine stranice */
    height: auto;      /* Automatsko prilagođavanje visine */
    width: auto;       /* Automatsko prilagođavanje širine */
}


/* Stilovi unutar klase category-header */

.toggle-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #98939e;
    padding: 0;
    font-size: 1.2rem;
}

.material-button {
    display: flex;
    align-items: center;
    /* padding: 0.5rem 1rem; */
    padding: 0;
    border: none;
    background-color: transparent;
    color: #98939e;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.material-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.material-icons {
    font-size: 1.5rem;
    margin-right: 0;
}

/* Stilovi unutar klase items */
.items {
    display: none;
    padding: 1rem 0;
    gap: 0.5rem;
}

.item {
    text-align: center;
    /* padding: 1rem; */
    padding: 0;
    border: 1px solid #c1b997;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.item h3 {
    font-size: 1rem;
    color: #4e4d50;
    margin: 0.5rem;
}

.item p {
    color: #4e4d50;
    font-size: 0.8rem;
    margin: 0.5rem;
}