* {
    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;
}

.name-company {
    color: rgb(255, 123, 65);
    font-weight: bold;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* STATS section */
.stats-section {
    text-align: center;
    background: #f5f5f5;
    padding: 50px 20px;
}

.container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.stat-box p {
    margin-top: 5px;
    font-size: 16px;
    font-weight: normal;
    color: #666;
}

.number {
    font-size: 40px;
    color: black;
}

/* about content */
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;
}

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%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: black;
}

#p-about-margin-top {
    margin-top: 20px;
}

#underlined {
    color: rgb(255, 123, 65);
    font-weight: bold;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-content {
        padding: 20px;
    }

    .about-content p {
        font-size: 1rem;
    }
}

/* ABOUT US section 2 */
.about-us {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.about-us .container {
    max-width: 1100px;
    margin: auto;
}

.section-title {
    text-align: center;
    padding-top: 25px;
    font-size: 32px;
    color: black;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555;
}

.about-icons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.about-item {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.about-item i {
    font-size: 40px;
    color: black;
    margin-bottom: 15px;
}

.about-item:hover i {
    color: rgb(255, 123, 65);
}

.about-item h3 {
    font-size: 22px;
    color: black;
    margin-bottom: 10px;
}

.about-item p {
    font-size: 16px;
    color: #444;
}

.arrow-link {
    display: inline-block;
    font-size: 24px;
    margin-top: 55px;
    text-decoration: none;
    color: black;
}

.arrow-link:hover {
    color: rgb(255, 123, 65);
    font-weight: bold;
}

/* Responsive za mobilne uredjaje */
@media (max-width: 768px) {
    .about-icons {
        flex-direction: column;
        align-items: center;
    }

    .about-item {
        width: 100%;
        max-width: 400px;
    }
}

/* 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;
    }
}