.card-title {
    color: #343a40;
}

.card-img-top {
    object-fit: cover;
    height: 200px;
}

.btn-primary {
    background-color: #f0c040;
    border-color: #f0c040;
    color: #212529;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #e0b030;
    border-color: #e0b030;
    color: #fff;
}
.about-section {
    background-color: #fdf8ee;
}

.about-text h2 {
    font-family: 'Segoe UI', sans-serif;
}

.about-text p {
    line-height: 1.6;
}

.about-image img {
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.03);
}

.btn-warning {
    background-color: #f0c040;
    border-color: #f0c040;
}

.btn-warning:hover {
    background-color: #e0b030;
    border-color: #e0b030;
    color: #fff;
}
body {
    overflow-x: hidden;
}
img {
    max-width: 100%;
    height: auto;
}

/* Parallax elements */
.parallax {
    transition: transform 0.2s ease-out;
    will-change: transform;
}

/* Project card hover */
.projects-section .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projects-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Button hover inside project card */
.projects-section .card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.parallax {
    will-change: transform;
    transition: transform 0.1s linear; /* glatki flow */
}
.hero-section {
    position: relative; /* važno za parallax */
}


@media (max-width: 576px) {
    .about-section .d-flex {
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 2rem;
    }
}
