/* Light Theme */
:root {
    --background-color: #f5f5f5;
    --text-color: #333;
    --primary-color: #007bff;
    --secondary-bg-color: #fff;
}

/* Dark Theme */
[data-theme="dark"] {
    --background-color: #333;
    --text-color: #f5f5f5;
    --primary-color: #1a73e8;
    --secondary-bg-color: #424242;
    --link-color: #1a73e8; /* Farba odkazov */
}

[data-theme="dark"] a {
    color: var(--link-color); /* Použitie farby odkazov */
    text-decoration: underline; /* Podčiarknutie odkazov pre lepšiu viditeľnosť */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.site-header {
    text-align: center; /* Center aligns the content of the header, including the logo */
    padding: 20px 0; /* Adds padding above and below the header content */
    background-color: var(--primary-color);
    color: #fff;
}

.logo {
    max-width: 100px; /* Adjusts the logo's size */
    height: auto; /* Maintains the logo's aspect ratio */
    margin-bottom: 15px; /* Adds some space between the logo and the header text */
}

section {
    margin: 20px;
    padding: 20px;
    background-color: var(--secondary-bg-color);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    color: var(--primary-color);
}

ul {
    list-style-type: none;
}

ul li::before {
    content: "• ";
    color: var(--primary-color); 
}

article {
    margin-bottom: 20px;
}

.week-summary {
    background-color: var(--secondary-bg-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.week-summary h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.week-summary p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.week-summary img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px; /* Space between images */
    border-radius: 15px;
}

.week-summary video {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px; /* Space between images */
    border-radius: 15px;
}

/* Image gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

/* Video gallery */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

/* Add this to your existing style.css */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);

    /* Center content vertically & horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* small padding so image doesn't touch edges */
}

/* Responsive image */
.modal-content {
    margin: 0 auto;
    display: block;

    /* Make it responsive */
    max-width: 90vw;   /* max 90% of viewport width */
    max-height: 90vh;  /* max 90% of viewport height */
    width: auto;
    height: auto;

    object-fit: contain; /* keep aspect ratio, fit within box */
}

/* Close button */
.close {
    position: fixed;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Caption under image */
#caption {
    margin: 10px auto 0 auto;
    display: block;
    max-width: 90vw;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

