/* Основные стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c1810;
    background-color: #fff5f8;
    max-width: 1090px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.container {
    padding: 60px 30px;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 25px;
    color: #d6336c;
    text-shadow: 2px 2px 4px rgba(214, 51, 108, 0.2);
    font-weight: 700;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #8b4789;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff69b4, #ffd700, #ff69b4);
    border-radius: 2px;
}

h3 {
    font-size: 1.5em;
    margin-bottom: 12px;
    color: #d6336c;
    font-weight: 600;
}

p {
    margin-bottom: 15px;
    font-size: 1.05em;
}

/* Блок 1: Hero - предложение */
#hero {
    background: linear-gradient(135deg, #ff69b4 0%, #ffb6d9 50%, #ffd700 100%);
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '🍭';
    position: absolute;
    font-size: 150px;
    opacity: 0.1;
    top: -20px;
    right: 50px;
    transform: rotate(15deg);
}

#hero::after {
    content: '🍰';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    bottom: 30px;
    left: 80px;
    transform: rotate(-20deg);
}

#hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

#hero h1 {
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(139, 71, 137, 0.4);
    font-size: 3em;
}

#hero p {
    color: #ffffff;
    font-size: 1.15em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Кнопка CTA */
.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #8b4789 0%, #d6336c 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 71, 137, 0.4);
    border: 3px solid #ffffff;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(214, 51, 108, 0.5);
    background: linear-gradient(135deg, #d6336c 0%, #8b4789 100%);
}

/* Блок отзывов */
#opinie {
    background-color: #ffe4f0;
}

#opinie h2 {
    color: #d6336c;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.review-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(214, 51, 108, 0.15);
    border: 3px solid #ffb6d9;
    position: relative;
    transition: transform 0.3s ease;
}

.review-item::before {
    content: '🍬';
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 35px;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(214, 51, 108, 0.25);
}

.review-item h3 {
    color: #8b4789;
    margin-bottom: 10px;
}

.review-item p {
    color: #5a3a4f;
    font-style: italic;
}

/* Форма отзыва */
#zostaw-opinie {
    background-color: #ffd4e5;
}

#zostaw-opinie h2 {
    color: #8b4789;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(139, 71, 137, 0.2);
    border: 3px solid #ff69b4;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #ffb6d9;
    border-radius: 15px;
    font-size: 1em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: border-color 0.3s ease;
    background-color: #fff5f8;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.review-form button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff69b4 0%, #ffd700 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.review-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.5);
    background: linear-gradient(135deg, #ffd700 0%, #ff69b4 100%);
}

/* Специалисты */
#specjalisci {
    background-color: #fff9e6;
}

#specjalisci h2 {
    color: #d6336c;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.specialist-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    border: 3px solid #ffd700;
    transition: transform 0.3s ease;
    position: relative;
}

.specialist-item::before {
    content: '⭐';
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 30px;
}

.specialist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.specialist-item h3 {
    color: #d6336c;
}

.specialist-item p {
    color: #5a3a4f;
}

/* Форма подписки */
#zapisz-sie {
    background: linear-gradient(135deg, #8b4789 0%, #d6336c 100%);
}

#zapisz-sie h2 {
    color: #ffffff;
}

#zapisz-sie h2::after {
    background: linear-gradient(90deg, #ffffff, #ffd700, #ffffff);
}

#zapisz-sie p {
    color: #ffffff;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.subscription-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.subscription-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    border: 3px solid #ffffff;
    border-radius: 50px;
    font-size: 1em;
    background-color: #ffffff;
}

.subscription-form input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.subscription-form button {
    padding: 16px 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ff69b4 100%);
    color: #8b4789;
    border: 3px solid #ffffff;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.subscription-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ff69b4 0%, #ffd700 100%);
}

/* Медиа блок */
#media {
    background-color: #e6f3ff;
}

#media h2 {
    color: #8b4789;
}

#media p {
    text-align: justify;
    line-height: 1.8;
    color: #2c1810;
    font-size: 1.1em;
}

/* Продукты */
#produkty {
    background-color: #f0e6ff;
}

#produkty h2 {
    color: #d6336c;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.product-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(139, 71, 137, 0.2);
    border: 3px solid #d6b3ff;
    transition: transform 0.3s ease;
    position: relative;
}

.product-item::before {
    content: '🎂';
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 35px;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 71, 137, 0.3);
    border-color: #8b4789;
}

.product-item h3 {
    color: #8b4789;
}

.product-item p {
    color: #5a3a4f;
}

/* Статья - выделение */
.featured-article {
    background: linear-gradient(135deg, #ffffff 0%, #fffacd 100%);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
    border: 4px solid #ffd700;
    margin-top: 40px;
    position: relative;
}

.featured-article::before {
    content: '📚';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 45px;
    background: #ffffff;
    padding: 5px 15px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.featured-article h2 {
    color: #d6336c;
    text-align: left;
    font-size: 1.8em;
    margin-top: 20px;
}

.featured-article h2::after {
    left: 0;
    transform: translateX(0);
}

.featured-article p {
    color: #2c1810;
    line-height: 1.9;
    text-align: justify;
    font-size: 1.05em;
    margin-bottom: 20px;
}

/* Контакты */
#kontakt {
    background-color: #ffe6f7;
}

#kontakt h2 {
    color: #8b4789;
}

#kontakt p {
    text-align: center;
    font-size: 1.2em;
    color: #2c1810;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(214, 51, 108, 0.3);
    border: 4px solid #ff69b4;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c1810 0%, #5a3a4f 100%);
    color: #ffffff;
    text-align: center;
    padding: 30px;
}

footer p {
    margin: 0;
    font-size: 1em;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.7em;
    }

    h3 {
        font-size: 1.3em;
    }

    #hero {
        min-height: 400px;
    }

    #hero h1 {
        font-size: 2.2em;
    }

    #hero p {
        font-size: 1em;
    }

    #hero::before {
        font-size: 100px;
        right: 10px;
    }

    #hero::after {
        font-size: 80px;
        left: 20px;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1.1em;
    }

    .reviews-grid,
    .specialists-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .subscription-form {
        flex-direction: column;
    }

    .subscription-form input[type="email"],
    .subscription-form button {
        width: 100%;
        min-width: 100%;
    }

    .featured-article {
        padding: 25px;
    }

    .featured-article::before {
        font-size: 35px;
        top: -15px;
        left: 20px;
    }

    .featured-article h2 {
        font-size: 1.5em;
        margin-top: 15px;
    }

    .review-form {
        padding: 25px;
    }

    .map-container iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7em;
    }

    h2 {
        font-size: 1.5em;
    }

    #hero h1 {
        font-size: 1.9em;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .review-item::before,
    .specialist-item::before,
    .product-item::before {
        font-size: 25px;
        top: -10px;
    }

    .featured-article::before {
        font-size: 30px;
    }
}
