main {
    width: 95%;
    margin-top: 30px;
    margin-bottom: 50px;
}
/* Stylování sekce o nás */
.aboutus-section {
    max-width: 800px;
    margin: auto;
    padding: 0 28px 30px;
    color: black;
    border: 2px solid var(--tertiary-color);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: var(--secondaryGlass2-color);
    animation: fadeIn 1.3s ease-in-out forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 14px 36px rgba(49, 42, 0, 0.25);
}
.aboutus-section h1 {
    margin: 0 -28px 24px;
    padding: 18px 28px 16px;
    font-size: clamp(25px, 4vw, 32px);
    line-height: 1.2;
    border-bottom: 3px solid var(--secondary-color);
    background: linear-gradient(100deg, rgba(255, 251, 0, 0.62), rgba(255, 251, 0, 0.12));
}
.aboutus-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 251, 0, 0.36), rgba(255, 251, 0, 0));
    z-index: 0;
}
.aboutus-section > * {
    position: relative;
    z-index: 1;
}

/* Historie firmy */
.history {
    margin-bottom: 22px;
    padding: 16px 18px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.2);
}

.history h2 {
    border-bottom: 2px solid var(--secondary-background-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.history p {
    margin: 10px 0;
}

/* Galerie fotografií */
.gallery {
    margin-bottom: 30px;
}

.gallery h2 {
    border-bottom: 2px solid var(--secondary-background-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.gallery p {
    margin-bottom: 15px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.photo-item {
    height: 400px;
    overflow: hidden;
    border: 1px solid var(--tertiary-color);
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(49, 42, 0, 0.2);
    position: relative;
}
.photo-item img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (max-width: 600px) {
    .aboutus-section {
        padding: 0 18px 22px;
        border-radius: 20px;
    }
    .aboutus-section h1 {
        margin: 0 -18px 18px;
        padding: 14px 18px 12px;
        font-size: 24px;
    }
    .history {
        padding: 13px 14px;
    }
    .photo-grid {
        grid-template-columns: 1fr;
    }
    .photo-item {
        height: 280px;
    }
}

.photo-item img:hover {
    transform: scale(1.05);
}

