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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #2c3e50;
    max-width: 1090px;
    margin: 0 auto;
    background-color: #f8f9fa;
}

.container {
    padding: 40px 20px;
}

/* Блок 1: Hero Section - жовто-блакитні кольори */
.hero-section {
    background: linear-gradient(135deg, #0057b7 0%, #004494 50%, #ffd700 50%, #ffcc00 100%);
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        );
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

.hero-section h1 {
    font-size: 2.8em;
    color: #0057b7;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.hero-section p {
    font-size: 1.15em;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #004494;
    padding: 18px 45px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    border: 3px solid #004494;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #ffcc00 0%, #ffa500 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

/* Блок опинії - світло-жовтий */
.reviews-section {
    background-color: #fff9e6;
    border-top: 5px solid #ffd700;
    border-bottom: 5px solid #ffd700;
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.3em;
    color: #004494;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.review-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 87, 183, 0.15);
    border-left: 5px solid #0057b7;
    transition: transform 0.3s ease;
}

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

.review-item h3 {
    color: #0057b7;
    font-size: 1.3em;
    margin-bottom: 12px;
    font-weight: bold;
}

.review-item p {
    color: #2c3e50;
    font-style: italic;
    line-height: 1.7;
}

/* Залиш відгук - синій */
.leave-review-section {
    background: linear-gradient(135deg, #0057b7 0%, #003d82 100%);
    text-align: center;
    color: #ffffff;
}

.leave-review-section h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #ffd700;
}

.leave-review-section p {
    font-size: 1.15em;
    margin-bottom: 25px;
    color: #ffffff;
}

.review-button {
    display: inline-block;
    background: #ffd700;
    color: #004494;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
}

.review-button:hover {
    background: #ffcc00;
    transform: scale(1.05);
}

/* Продукти - білий з акцентами */
.products-section {
    background-color: #ffffff;
    border-top: 5px solid #0057b7;
}

.products-section h2 {
    text-align: center;
    font-size: 2.3em;
    color: #0057b7;
    margin-bottom: 40px;
    text-transform: uppercase;
}

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

.product-item {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #0057b7;
    box-shadow: 0 5px 20px rgba(0, 87, 183, 0.2);
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 87, 183, 0.3);
    border-color: #ffd700;
}

.product-item h3 {
    color: #004494;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 3px solid #ffd700;
    padding-bottom: 10px;
}

.product-item p {
    color: #2c3e50;
    line-height: 1.8;
}

/* Стаття - виділена жовтим */
.trading-article {
    background: linear-gradient(135deg, #fffacd 0%, #fff9e6 100%);
    padding: 40px;
    border-radius: 15px;
    margin-top: 50px;
    border: 5px solid #ffd700;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.3);
}

.trading-article h2 {
    color: #004494;
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    text-transform: uppercase;
    border-bottom: 4px solid #0057b7;
    padding-bottom: 15px;
}

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

.trading-article p:first-of-type::first-letter {
    font-size: 3em;
    font-weight: bold;
    color: #0057b7;
    float: left;
    line-height: 1;
    margin-right: 10px;
    margin-top: 5px;
}

/* Спеціалісти - світло-синій */
.specialists-section {
    background: linear-gradient(135deg, #e6f2ff 0%, #cce5ff 100%);
    border-top: 5px solid #0057b7;
}

.specialists-section h2 {
    text-align: center;
    font-size: 2.3em;
    color: #004494;
    margin-bottom: 40px;
    text-transform: uppercase;
}

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

.specialist-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 87, 183, 0.2);
    border-top: 5px solid #ffd700;
    transition: all 0.3s ease;
}

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

.specialist-item h3 {
    color: #0057b7;
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: bold;
}

.specialist-item p {
    color: #2c3e50;
    line-height: 1.7;
}

/* Медіа згадки - темно-синій */
.media-mentions-section {
    background: linear-gradient(135deg, #003d82 0%, #002451 100%);
    color: #ffffff;
}

.media-mentions-section h2 {
    text-align: center;
    font-size: 2.2em;
    color: #ffd700;
    margin-bottom: 30px;
}

.media-mentions-section p {
    font-size: 1.15em;
    line-height: 1.9;
    text-align: justify;
    color: #ffffff;
}

/* Форма підписки - жовтий */
.subscription-section {
    background: linear-gradient(135deg, #ffd700 0%, #ffcc00 100%);
    text-align: center;
    border-top: 5px solid #0057b7;
    border-bottom: 5px solid #0057b7;
}

.subscription-section h2 {
    font-size: 2.3em;
    color: #004494;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.subscription-section p {
    font-size: 1.15em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.subscription-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscription-form input[type="email"] {
    padding: 18px 25px;
    font-size: 1.1em;
    border: 3px solid #0057b7;
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
    font-family: Georgia, 'Times New Roman', serif;
}

.subscription-form input[type="email"]:focus {
    border-color: #004494;
    box-shadow: 0 0 15px rgba(0, 87, 183, 0.3);
}

.submit-button {
    padding: 18px 45px;
    font-size: 1.2em;
    background: linear-gradient(135deg, #0057b7 0%, #004494 100%);
    color: #ffffff;
    border: 3px solid #004494;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: Georgia, 'Times New Roman', serif;
    letter-spacing: 1px;
}

.submit-button:hover {
    background: linear-gradient(135deg, #004494 0%, #003d82 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 87, 183, 0.4);
}

/* Контакти - білий */
.contact-section {
    background-color: #ffffff;
    border-top: 5px solid #ffd700;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.3em;
    color: #0057b7;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.contact-section p {
    text-align: center;
    font-size: 1.2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.map-container {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 87, 183, 0.2);
    border: 5px solid #0057b7;
}

/* Footer - синьо-жовтий */
.footer-section {
    background: linear-gradient(90deg, #0057b7 0%, #0057b7 50%, #ffd700 50%, #ffd700 100%);
    text-align: center;
    padding: 30px 20px;
    border-top: 5px solid #004494;
}

.footer-section p {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.domainName {
    color: #ffd700;
    font-weight: bold;
}

/* Мобільна версія */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 30px 0;
    }

    .hero-section .container {
        padding: 30px 20px;
    }

    .hero-section h1 {
        font-size: 1.8em;
    }

    .hero-section p {
        font-size: 1em;
    }

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

    h2 {
        font-size: 1.8em !important;
    }

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

    .trading-article {
        padding: 25px 20px;
    }

    .trading-article h2 {
        font-size: 1.5em;
    }

    .trading-article p {
        font-size: 1em;
        text-align: left;
    }

    .subscription-form {
        width: 100%;
        padding: 0 10px;
    }

    .subscription-form input[type="email"],
    .submit-button {
        font-size: 1em;
        padding: 15px 20px;
    }

    .container {
        padding: 30px 15px;
    }

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

    .footer-section {
        background: linear-gradient(180deg, #0057b7 0%, #0057b7 50%, #ffd700 50%, #ffd700 100%);
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.5em;
    }

    .hero-section p {
        font-size: 0.95em;
    }

    .review-item,
    .product-item,
    .specialist-item {
        padding: 20px;
    }

    .trading-article p:first-of-type::first-letter {
        font-size: 2em;
    }
}

/* Додаткові візуальні ефекти */
.products-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background: repeating-linear-gradient(
        90deg,
        #0057b7 0px,
        #0057b7 20px,
        #ffd700 20px,
        #ffd700 40px
    );
    top: 0;
    left: 0;
}

.reviews-section::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: #0057b7;
    margin: 40px auto 0;
    border-radius: 3px;
}
