/* style.css - Vlastní styly pro Meteo Žďár */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

/* Hero sekce */
.hero-section {
    position: relative;
    height: 400px;

    background-image: url('img/radarovy_vlak.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: background-image 1s ease-in-out;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Meteorologické karty */
.weather-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.weather-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.weather-card .card-title {
    color: #ff8c00;
    font-weight: bold;
    margin-bottom: 1rem;
}

.weather-card .display-4 {
    color: #333;
    font-weight: bold;
}

/* Navigace */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.8;
}

/* Responzivní design */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }

    .hero-overlay h1 {
        font-size: 2rem !important;
    }
}

/* Animace načítání */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-in;
}

/* Tlačítka */
.btn-primary {
    background-color: #ff8c00;
    border-color: #ff8c00;
}

.btn-primary:hover {
    background-color: #e67e00;
    border-color: #e67e00;
}

/* Grafy */
canvas {
    max-height: 400px;
}

/* Logo */
.logo-navbar {
    height: 80px;
    width: auto;
    display: block;
}

.logo-text {
    display: inline-block;
    font-size: 2.6rem;
    font-weight: 800;
    font-style: italic;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,.2);
}

.aero {
    color: #0D47A1;
}

.zdar {
    color: #FF9800;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Mobil */
@media (max-width: 768px) {

    .logo-navbar {
        height: 40px;
    }

    .logo-text {
        display: none;
    }

    .navbar-brand {
        flex: 1;
        min-width: 0;
    }
}

/* Live počasí */
.weather-live {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,.5);
}

/* Obrázky v kurzech */
.accordion-body img {
    max-width: 800px;
    width: 100%;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 12px;
}

/* Navbar */
.navbar {
    position: relative;
    z-index: 9999;
}

.navbar-toggler {
    position: relative;
    z-index: 10000;
}

.hero-section {
    position: relative;
    z-index: 1;
}

}


