/* Kwiaciarnia Margaretka - Brzesko */
/* Colors from WP Bizberg/Happy Wedding Day theme */

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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #64686d;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: #333;
    line-height: 1.3;
    margin-bottom: 0.6em;
}

a { color: #f07677; text-decoration: none; }
a:hover { color: #c05f60; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }

/* Header */
header#masthead {
    background: #fff;
    border-bottom: 3px solid #f07677;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.navbar { padding: 0; }
.navbar-collapse { display: flex !important; }

.bizberg_header_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    width: 100%;
}

a.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header_site_title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

a.logo:hover .header_site_title { color: #f07677; }

/* Navigation */
ul#responsive-menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 2px;
}

ul#responsive-menu li a {
    display: block;
    padding: 12px 16px;
    color: #555;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    border-radius: 4px;
}

ul#responsive-menu li a:hover,
ul#responsive-menu li.current-menu-item a,
ul#responsive-menu li.current_page_item a {
    background: #f07677;
    color: #fff;
}

.eb_menu_title { /* just a span wrapper */ }

/* Banner / Hero */
.breadcrumb-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
}

.breadcrumb-wrapper.homepage_banner {
    padding: 80px 0;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.breadcrumb-wrapper .section-title { position: relative; z-index: 2; }

h1.banner_title {
    font-size: 42px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 10px;
}

p.banner_subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Blog section / Content */
section#blog {
    padding: 40px 0 60px;
}

.two-tone-layout { width: 100%; }

.content-wrapper { padding: 0 15px; }

article.detail-content { margin-bottom: 30px; }

.entry-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f07677;
}

h3.blog-title {
    font-size: 28px;
    color: #333;
    margin: 0;
}

.entry-content p {
    margin-bottom: 1em;
}

.entry-content h2 {
    font-size: 22px;
    margin-top: 30px;
    color: #333;
}

.entry-content h2 a { color: #333; }
.entry-content h2 a:hover { color: #f07677; }

.entry-content h3 {
    font-size: 20px;
    margin-top: 25px;
}

.entry-content figure {
    margin: 15px 0 20px;
}

.entry-content figcaption {
    font-size: 13px;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

/* WP block images */
.wp-block-image { margin: 15px 0 20px; }
.wp-block-image img { border-radius: 6px; }
.wp-block-heading { margin-top: 30px; }

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0 35px;
}

.gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Footer */
footer#footer {
    background: #1f2024;
    color: #fff;
    padding: 30px 0;
}

footer .inline-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    padding: 0;
    margin: 0 0 20px;
}

footer .inline-menu a {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
}

footer .inline-menu a:hover { color: #f07677; }

footer .copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* Back to top */
#back-to-top a {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #f07677;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .bizberg_header_wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    ul#responsive-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    ul#responsive-menu li a {
        padding: 8px 12px;
        font-size: 13px;
    }

    h1.banner_title { font-size: 28px; }
    p.banner_subtitle { font-size: 15px; }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .gallery-item img { height: 160px; }

    footer .inline-menu {
        flex-direction: column;
        align-items: center;
    }

    .breadcrumb-wrapper.homepage_banner {
        min-height: 200px;
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .header_site_title { font-size: 20px; }
    h3.blog-title { font-size: 22px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item img { height: 130px; }
}
