/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background-color: #f5f5f5; /* svetla pozadina da logo bude vidljiv */
    color: #111;
    padding: 15px 0;
}

header .logo {
    height: 60px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

header nav ul li a {
    color: #111;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #d32f2f;
}

/* Hero */
.hero {
    background: #222;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #d32f2f;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
    margin: 20px auto; /* centriranje dugmadi */
}

.cta-button:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #d32f2f;
}

/* Cards */
.service-cards, .product-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-cards .card,
.product-cards .card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.product-cards .card h3,
.service-cards .card h3 {
    margin-bottom: 15px;
}

/* Administration cards – 4 u redu */
.admin-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    justify-items: center;
    margin-top: 20px;
}

.admin-cards .card {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.admin-cards .card img {
    height: 40px;
    margin-bottom: 10px;
}

/* Contact */
#contact {
    background-color: #f5f5f5;
    text-align: center;
}

#contact .contact-info {
    margin: 20px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

#contact .contact-info a {
    color: #d32f2f;
    text-decoration: none;
}

#contact .contact-info a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    .admin-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .service-cards, .product-cards {
        flex-direction: column;
        align-items: center;
    }
    .admin-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .admin-cards {
        grid-template-columns: 1fr;
    }
}
