* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    background-image: url('../images/beton-design.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
}

.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: rgb(255, 123, 65);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* Hero Section */
.hero img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
    image-rendering: optimizeQuality;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Osnovni stilovi za sekciju proizvoda */
.products {
    padding: 80px 20px;
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Naslov sekcije */
.products h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.products h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgb(255, 123, 65), #c70039);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Paragrafi */
.products p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 700px;
    text-align: center;
    margin: 20px auto;
}

/* Naglašeni tekst */
#name-company {
    font-weight: bold;
    color: rgb(255, 123, 65);;
}

.products p span {
    font-weight: bold;
    color: black
}

/* Margina za određeni paragraf */
#p-products-margin-top {
    margin-top: 40px;
}

/* Vertikalni raspored kartica */
.product-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 800px;
    margin: 40px auto;
}

/* Kartice proizvoda */
.product-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    width: 100%;
    max-width: 600px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 0.8s ease-out forwards;
}

.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.4s; }

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slike u karticama */
.product-card img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Naslovi u karticama */
.product-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-align: center;
}

/* Tekst u karticama */
.product-card p {
    font-size: 1.1rem;
    color: #6a6a6a;
    margin-bottom: 25px;
    text-align: center;
}

/* Dugmad */
.btn-products {
    padding: 12px 30px;
    background: linear-gradient(90deg, rgb(255, 123, 65), #c70039);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-products:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(199, 0, 57, 0.4);
}

/* Responzivni dizajn */
@media (max-width: 768px) {
    .products h2 {
        font-size: 2.2rem;
    }

    .product-card {
        padding: 20px;
    }

    .product-card img {
        max-width: 300px;
    }

    .btn-products {
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .products {
        padding: 60px 15px;
    }

    .products h2 {
        font-size: 1.8rem;
    }

    .product-card h3 {
        font-size: 1.5rem;
    }

    .product-card p {
        font-size: 1rem;
    }
}

/* Footer */
footer {
    padding: 20px 40px;
    background-color: #333;
    color: white;
    text-align: center;
}

footer p {
    font-size: 0.9rem;
}

.footer-link {
    color: rgb(255, 123, 65);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}