body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

header.bg-dark {
    background-color: #1a1a1a !important;
    padding: 1rem 0;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.navbar-dark.bg-secondary {
    background-color: #2c3e50 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.2rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f8f9fa !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

main.container {
    min-height: 60vh;
}

.uvod {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.uvod h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.uvod p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.uvod .btn {
    font-weight: bold;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}


.carousel-item img {
    height: 70vh;
    object-fit: contain;
    background-color: #000;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.card {
    border: 5;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
}


.btn-secondary {
    background-color: #2c3e50;
    border-color: #2c3e50;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.btn-secondary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}


footer {
    background-color: #222 !important;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

.btn-outline-primary:hover {
    background-color: #2c3e50;
    border-color: #2c3e50;
    color: white;
}


@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .carousel-item img {
        height: 50vh;
    }
    
    
}

@media (max-width: 576px) {
    header h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .card-img-top {
        height: 150px;
    }
}