/* Ustawienia ogólne strony */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f9e8ef;
    color: #3d2b34;
    line-height: 1.6;
}

/* Styl nagłówka */
.hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.banner {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(94, 47, 68, 0.28);
}

.hero-text {
    position: relative;
    z-index: 1;
    padding: 24px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-text h1 {
    margin: 0 0 12px;
    font-size: 46px;
}

.hero-text p {
    margin: 0;
    font-size: 20px;
}

/* Menu nawigacyjne */
.menu {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 20px;
    background: #fff7fa;
    box-shadow: 0 4px 14px rgba(117, 64, 88, 0.14);
}

.menu a {
    padding: 8px 13px;
    border-radius: 20px;
    color: #7c3656;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.menu a:hover {
    background: #e9b7ca;
    color: white;
}

/* Główna część strony */
main {
    width: min(1100px, 92%);
    margin: 34px auto;
}

.intro,
.breed-card {
    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(117, 64, 88, 0.13);
}

.intro {
    padding: 28px;
    margin-bottom: 28px;
    text-align: center;
}

.intro h2,
.breed-card h2 {
    margin-top: 0;
    color: #8c3f61;
}

/* Karty z opisami ras */
.breed-card {
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 26px;
    align-items: center;
    margin-bottom: 28px;
    padding: 22px;
    scroll-margin-top: 92px;
}

.breed-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 14px;
}

.breed-card p {
    margin-bottom: 0;
}

/* Wyróżnienie sekcji Scottish Fold */
.special-card {
    border: 3px solid #d89ab5;
    background: #fffafd;
}

/* Stopka strony */
footer {
    padding: 26px 20px;
    text-align: center;
    background: #7c3656;
    color: white;
}

footer p {
    margin: 5px 0;
}

/* Prosty wygląd na telefonach */
@media (max-width: 700px) {
    .hero {
        min-height: 300px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 17px;
    }

    .menu {
        position: static;
    }

    .breed-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .breed-card img {
        height: 230px;
    }
}
