@charset "UTF-8";

/* Ale-Kwiatki - responsive CSS based on original colors */
/* Original palette: bg #fefef5, accent #d6567f, text #49442A/#494329 */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    height: 100%;
    font-family: 'Times New Roman', Georgia, serif;
    background: #fefef5;
    color: #494329;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: #49442A;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
}
a:hover {
    color: #fff;
    background: #d6567f;
    border-radius: 3px;
    padding: 1px 4px;
}

/* Header */
.site-header {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-link {
    display: block;
}
.logo-link:hover {
    background: none;
    padding: 0;
}
.logo-img {
    height: 55px;
    width: auto;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
nav ul li a {
    font-style: italic;
    font-size: 15px;
    padding: 4px 8px;
    text-shadow: 0 0 1px rgba(0,0,0,0.2);
}
nav ul li a.active,
nav ul li a:hover {
    color: #fff;
    background: #d6567f;
    border-radius: 3px;
}

/* Hero / Slider */
.hero {
    max-width: 960px;
    margin: 20px auto;
    padding: 0 20px;
    overflow: hidden;
    border-radius: 4px;
}
.hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* Content */
.content {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

.page-title {
    font-family: 'Times New Roman', Georgia, serif;
    font-style: italic;
    font-size: 26px;
    color: #494329;
    text-shadow: 0 0 1px rgba(0,0,0,0.2);
    margin-bottom: 16px;
}

.txt {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 24px;
    text-shadow: 0 0 1px rgba(0,0,0,0.2);
    color: #494329;
}
.txt h2 {
    font-size: 18px;
    margin: 16px 0 8px;
}
.txt h3 {
    font-size: 15px;
    margin: 12px 0 6px;
}
.txt ul {
    margin-left: 24px;
    margin-bottom: 12px;
}
.txt p {
    margin-bottom: 10px;
}
.txt strong {
    color: #49442A;
}

/* Gallery */
.gallery-section {
    margin-bottom: 30px;
}
.gallery-title {
    font-family: 'Times New Roman', Georgia, serif;
    font-style: italic;
    font-size: 20px;
    color: #494329;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e0ddd0;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}
.gallery-grid a {
    display: block;
    overflow: hidden;
    border-radius: 3px;
}
.gallery-grid a:hover {
    background: none;
    padding: 0;
    opacity: 0.85;
}
.gallery-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
    transition: transform 0.2s;
}
.gallery-grid a:hover img {
    transform: scale(1.03);
}

/* Footer */
.site-footer {
    max-width: 960px;
    margin: 40px auto 0;
    padding: 16px 20px;
    color: #BFBDAB;
    font-size: 12px;
    border-top: 1px solid #e0ddd0;
}
.site-footer a {
    color: #49442A;
    font-size: 12px;
}
.site-footer a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    nav ul {
        gap: 4px;
    }
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .gallery-grid img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 22px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid img {
        height: 90px;
    }
}
