/* General styling for all views */

/* Common Menu Styling */
.menu-box {
    background-color: #f9f9f9;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 200px;
    position: absolute; /* Ensure the menu is fixed */
    top: 300px; /* Position the menu from the top */
    left: 20px; /* Position the menu from the left */
    z-index: 1000; /* Ensure the menu stays on top */
    margin-top: 0; /* No extra margin needed */
}

.menu-box h2 {
    font-size: 18px;
    color: #194505;
    margin-bottom: 10px;
    text-align: center;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    font-size: 16px;
    color: #194505;
    margin-bottom: 5px;
    padding: 10px;
    background-color: #e6f2e6;
    border-radius: 5px;
    text-align: center;
}

.menu-list li:hover {
    background-color: #d4e6d4;
}

.menu-list li a {
    color: #194505;
    text-decoration: none;
    display: block;
}

/* Meteo Data View Specific Styling */
.site-meteo-data {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.site-meteo-data h1 {
    font-size: 28px;
    color: #194505;
    margin-bottom: 10px;
}

.site-meteo-data .description {
    font-size: 16px;
    color: #194505;
    margin-bottom: 20px;
}

.site-meteo-data .content {
    margin-left: 240px; /* PŘIDÁNO - odsadí pouze obsah */
    width: calc(100% - 240px);
}

.content .data-box img {
    width: 50%; /* Reduced size */
    height: auto;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.content .data-box img {
    width: 50%; /* Reduced size */
    height: auto;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.map-visualization,
.historical-data {
    display: flex;
    margin-bottom: 20px;
}

.map-visualization img {
    height: auto;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-right: 30px;
}


.historical-data img {
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-right: 30px;
}

/* Grafy Intenzity View Specific Styling */
.site-statistiky-intenzity {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 220px; /* Space for the fixed menu */
}

.site-statistiky-intenzity h1 {
    font-size: 28px;
    color: #194505;
    margin-bottom: 10px;
}

.site-statistiky-intenzity .description {
    font-size: 16px;
    color: #194505;
    margin-bottom: 20px;
}

.graph-container {
    margin-bottom: 40px;
}

.graph-container img {
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
}

.graph-container p,
.graph-container ul {
    font-size: 16px;
    color: #194505;
}

.graph-container ul {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.graph-container ul li {
    margin-bottom: 5px;
}

/* Grafy Rychlosti View Specific Styling */
.site-statistiky-rychlosti {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 220px; /* Space for the fixed menu */
}

.site-statistiky-rychlosti h1 {
    font-size: 28px;
    color: #194505;
    margin-bottom: 10px;
}

.site-statistiky-rychlosti .description {
    font-size: 16px;
    color: #194505;
    margin-bottom: 20px;
}

.graph-container {
    margin-bottom: 40px;
}

.graph-container p,
.graph-container ul {
    font-size: 16px;
    color: #194505;
}

.graph-container ul {
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.graph-container ul li {
    margin-bottom: 5px;
}

/* Prezentace Statistik View Specific Styling */
.site-prezentace-statistik {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 220px; /* Space for the fixed menu */
}

.site-prezentace-statistik h1 {
    font-size: 28px;
    color: #194505;
    margin-bottom: 10px;
}

.site-prezentace-statistik .description {
    font-size: 16px;
    color: #194505;
    margin-bottom: 20px;
}

.graph-container img {

    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.portal-examples {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.portal-examples img {
    width: 30%; /* Adjust width to make three images fit side by side */
    height: auto;
    border-radius: 5px;
}

/* Statistický Software View Specific Styling */
.site-statisticky-software {
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-left: 220px; /* Space for the fixed menu */
}

.site-statisticky-software h1 {
    font-size: 28px;
    color: #194505;
    margin-bottom: 10px;
}

.site-statisticky-software .description {
    font-size: 16px;
    color: #194505;
    margin-bottom: 20px;
}

.software-screenshot {
    margin-top: 20px;
}

.software-screenshot img {
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

/* Responsive adjustments for all views */
@media (max-width: 768px) {
    .menu-box {
        width: 100%;
        position: relative; /* Remove fixed positioning for mobile */
        top: 0;
        left: 0;
        margin-bottom: 20px; /* Add margin to separate from content */
    }

    /* Meteo Data */

    .site-meteo-data {
        flex-direction: column;
        margin-left: 0; /* Remove left margin for mobile */
    }

    .content .data-box img {
        width: 100%; /* Full width for images */
    }

    .map-visualization,
    .historical-data {
        flex-direction: column;
        align-items: center;
    }

    .map-visualization img,
    .historical-data img {
        width: 100%; /* Full width images on mobile */
        margin-right: 0; /* Remove right margin for mobile */
        margin-bottom: 20px;
    }

    /* Statistický software */

    .site-statisticky-software {
        flex-direction: column;
        margin-left: 0; /* Remove left margin for mobile */
    }

    .software-screenshot img {
        width: 120%; /* Full width image for mobile */
        margin-left: -23px;
    }

    .menu-box {
        width: 100%; /* Make the menu take full width */
        position: relative; /* Remove fixed positioning for mobile */
        top: 0;
        left: 0;
        margin-bottom: 20px; /* Add spacing between menu and content */
    }

    .menu-box h2 {
        font-size: 18px;
    }

    .menu-list li {
        font-size: 16px;
    }

    /* Prezentace Statistik */

    .site-prezentace-statistik {
        flex-direction: column;
        margin-left: 0; /* Remove left margin for mobile */
    }

    .graph-container img {
        width: 100%; /* Full width for images on mobile */
    }

    .portal-examples {
        flex-direction: column;
        align-items: center; /* Center the images on mobile */
    }

    .portal-examples img {
        width: 100%; /* Full width images on mobile */
        margin-bottom: 20px; /* Add spacing between stacked images */
    }

    .menu-box {
        width: 100%; /* Full width for the menu */
        position: relative; /* Remove fixed positioning for mobile */
        top: 0;
        left: 0;
        margin-bottom: 20px; /* Add space between menu and content */
    }

    /* Statistiky rychlosti */

    .site-statistiky-rychlosti {
        flex-direction: column;
        margin-left: 0; /* Remove left margin for mobile */
    }

    .graph-container img {
        width: 100%; /* Ensure images take full width */
    }

    .menu-box {
        width: 100%; /* Full width for the menu */
        position: relative; /* Remove fixed positioning for mobile */
        top: 0;
        left: 0;
        margin-bottom: 20px; /* Add space between menu and content */
    }

    /* Statistiky intenzity */

    .site-statistiky-intenzity {
        flex-direction: column;
        margin-left: 0; /* Remove left margin for mobile */
    }

    .graph-container img {
        width: 100%; /* Full width for images on mobile */
    }

    .menu-box {
        width: 100%; /* Full width for the menu */
        position: relative; /* Remove fixed positioning for mobile */
        top: 0;
        left: 0;
        margin-bottom: 20px; /* Add space between menu and content */
    }
}
