/* Reset i bazowe ustawienia */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

/* Nagłówek z logo i menu */
header {
    position: relative;
    overflow: hidden;
    height: 300px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em 0 2em;
    flex-wrap: wrap;
    z-index: 1;
    background: #fafafa; /* fallback */
}

/* Film w tle */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Elementy nad filmem */
header > *:not(.bg-video) {
    position: relative;
    z-index: 2;
}

/* Pasek na dole */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    z-index: 2;
}

/* Kontener na logo + tekst z efektem glass */
.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0.5em 1em;
}

/* Obrazek logo */
.logo img {
    display: block;
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease-in-out;
    border-radius: 2px;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Napis obok logo */
.logo-nap {
    font-size: 2.5rem;
    font-weight: bold;
    color: #c6c6c6;
}
.ai-credit {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    color: #c0bebe;
    text-align: left;
    width: 100%;
    opacity: 0.7;
    margin-bottom:-5px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color:  #c6c6c6;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #63024d;
}

/* Sekcja motto */
/* Sekcja hero z tłem i sloganem */
.hero {
    position: relative;
    text-align: center;
    padding: 5em 1em 3em;
 
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    color: #333;
}

/* Ikonka Facebooka w sekcji hero – w prawym górnym rogu */
.hero-facebook {
    position: absolute;
    top: 1em;
    right: 2em;
}

.hero-facebook a {
    font-size: 1.4rem;
    color: #4267B2;
    text-decoration: none;
    transition: color 0.3s;
}

.hero-facebook a:hover {
    color: #29487d;
}

/* Kategorie */
.categories {
    text-align: left; /* zamiast center */
    padding: 1em 2em;
    font-family: 'Raleway', sans-serif; /* nowoczesna, elegancka czcionka */
}

.categories button {
    margin: 0.3em;
    padding: 0.5em 1.2em;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: none;
    background-color:#fff;
}
.categories button:hover{
    color: #777;
}

/* Wpisy blogowe – kafelki */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
    padding: 2em;
}

.blog-posts article {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-radius: 6px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-posts article:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.blog-posts img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.blog-posts h2 {
    font-size: 1.2rem;
    margin: 0.8em 0 0.5em;
}

.blog-posts p {
    margin: 0 0 0.5em;
    font-size: 0.95rem;
}

.meta {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.5em;
}

/* Stopka */
footer {
    text-align: center;
    padding: 2em 1em;
    background: #fafafa;
    border-top: 1px solid #ddd;
    font-size: 0.9rem;
}

footer a {
    color: #444;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* 🌐 Responsywność */
@media (max-width: 1024px) {
    .blog-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
   header {
        height: auto;
        background: url('img/kobieta.webp') center/cover no-repeat;
        background-size: cover;
        flex-direction: column;
        align-items: flex-start;
    }

   .bg-video {
        display: none;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1em;
    }
.logo-nap{
    display: none;
}
.ai-credit {
    display: none;
}
    .logo {
        margin-bottom: 0.5em;
    }
.logo img {
    justify-content: center;
}
    .blog-posts {
        grid-template-columns: 1fr;
        padding: 1em;
    }

    .hero h1 {
        font-size: 1.5rem;
    }
}
