* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem;
}

/* Navigation Styles */
header {
    background-color: #000;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 1.5rem;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.navigation {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.navigation li {
    display: inline;
}

.navigation a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #ff4500;
}

.navigation a.active {
    color: #ff4500;
    font-weight: bold;
    border-bottom: 2px solid #ff4500;
}

/* Hero Section */
.hero {
    position: relative;
    height: 50vh;
    overflow: visible;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Welcome Section */
.welcome {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
}

.welcome h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.welcome p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #555;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #ff4500;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: #e63e00;
}

/* Featured Projects */
.featured {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
}

.featured h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.featured-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.project {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 350px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.project:hover {
    transform: translateY(-5px);
}

.project img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project h3 {
    margin: 0.5rem;
    font-size: 1.25rem;
    color: #000;
    text-align: center;
}

.project p {
    padding: 0 1rem 1.5rem;
    font-size: 0.9rem;
    color: #555;
    text-align: center;
}

/* Project Page */
.intro {
    text-align: center;
    padding: 2rem;
    background-color: #f9f9f9;
}

.intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.project-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.project-card h2 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #000;
}

.project-card p {
    padding: 0 1rem 1.5rem;
    font-size: 1rem;
    color: #555;
}

/* Media Page */
.media {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.media h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.media-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.media-section {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.media-section:hover {
    transform: translateY(-5px);
}

.media-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
    text-align: center;
}

.media-section ul {
    list-style: none;
    padding: 0;
}

.media-section ul li {
    margin-bottom: 1rem;
}

.media-section ul li a {
    font-weight: bold;
    text-decoration: none;
    color: #ff4500;
    transition: color 0.3s ease;
}

.media-section ul li a:hover {
    color: #e63e00;
}

.media-section ul li p {
    font-size: 0.9rem;
    color: #555;
    margin-top: 0.5rem;
}

/* Content Columns Styles */
.content-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 40px 0;
}

/* Timeline Column */
.timeline-column {
    flex: 1;
    min-width: 300px;
    /* Minimalní šířka sloupce */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.timeline-column h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

/* Timeline Styles */
.timeline-container {
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 20px;
    padding-left: 40px;
    border-left: 3px solid #ff4500;
}

.timeline-event {
    position: relative;
    background: #fff;
    padding: 15px 15px 15px 60px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-year {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -30px;
    background: #ff4500;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Quotes Column */
.quotes-column {
    flex: 1;
    min-width: 300px;
    /* Minimalní šířka sloupce */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.quotes-column h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.quote-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual Quote Styles */
blockquote {
    font-size: 18px;
    font-style: italic;
    color: #555;
    border-left: 4px solid #ff4500;
    padding: 15px 20px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

blockquote::before {
    content: '“';
    font-size: 40px;
    color: #ff4500;
    position: absolute;
    top: -15px;
    left: 10px;
}

blockquote::after {
    content: '”';
    font-size: 40px;
    color: #ff4500;
    position: absolute;
    bottom: -15px;
    right: 10px;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 40px;
    background-color: #f9f9f9;
}

.contact h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.contact-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    width: 300px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #000;
}

.contact-item p,
.contact-item ul {
    font-size: 14px;
    color: #555;
}

.contact-item ul {
    list-style: none;
    padding: 0;
}

.contact-item ul li {
    margin-bottom: 10px;
}

.contact-item ul li a {
    color: #ff4500;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item ul li a:hover {
    color: #e63e00;
}

.map-container {
    margin-top: 20px;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-container h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    font-weight: bold;
}

.map-frame {
    width: 100%;
    max-width: 1200px;
    height: 400px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.gallery h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.gallery p {
    font-size: 16px;
    color: #555;
    margin-bottom: 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-grid a:hover {
    transform: scale(1.05);
}

.gallery-grid img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background-color: #000;
    color: #fff;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        height: 30vh;
    }

    /* Featured Projects */
    .featured-projects {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project img {
        height: auto;
        max-height: 150px;
    }

    .project h3 {
        font-size: 1.2rem;
    }

    .project p {
        font-size: 0.9rem;
    }

    /* Gallery Page */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery img {
        width: 100%;
        height: auto;
    }

    /* Media Page */
    .media-container {
        flex-direction: column;
        gap: 20px;
    }

    .media-section {
        width: 100%;
    }

    .media-section ul li {
        font-size: 0.9rem;
    }

    /* Contact Page */
    .contact-container {
        flex-direction: column;
        gap: 20px;
    }

    .contact-card {
        width: 100%;
    }

    .map-container iframe {
        width: 100%;
        height: 250px;
    }

    /* About Page */
    .content-columns {
        flex-direction: column;
    }

    .timeline-column,
    .quotes-column {
        margin-bottom: 20px;
    }

    .timeline-container {
        padding-left: 20px;
    }

    .timeline-event {
        padding: 15px 15px 15px 40px;
    }

    .timeline-year {
        width: 30px;
        height: 30px;
        font-size: 10px;
        left: -20px;
    }

    .timeline-content {
        font-size: 0.9rem;
    }

    /* Footer */
    footer {
        font-size: 0.8rem;
        padding: 10px;
    }
}

/* Print Styles */
@media print {
    body {
        font-size: 12px;
        color: #000;
        background-color: #fff;
    }

    header,
    footer,
    nav,
    .hero,
    .cta-button,
    .video,
    .map-container {
        display: none;
    }

    .contact-card,
    .gallery-grid,
    .media-container,
    .timeline-container {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .project,
    .media-section,
    .contact-card,
    .timeline-event {
        border: none;
        box-shadow: none;
    }

    /* Obrázky */
    img {
        width: 100%;
        height: 100%;
    }

    /* Galerie */
    .gallery-grid img {
        margin: 10px 0;
    }

    /* Nadpisy */
    h1,
    h2,
    h3 {
        margin: 10px 0;
        font-weight: bold;
    }

    /* Timeline */
    .timeline-year {
        display: inline-block;
        margin-right: 10px;
    }

    .timeline-content {
        display: inline-block;
    }
}