/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;600&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    background: #121212;
    color: #FFFFFF;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
}

section {
    padding: 4rem 2rem;
}

/* Header/Offer Block */
header {
    min-height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231DB954' fill-opacity='0.1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-color: #2D1B69;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1DB954;
}

header h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #1DB954;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s, background 0.2s;
}

.button:hover {
    background: #1ed760;
    transform: scale(1.05);
}

/* Form Styles */
#form {
    background: #282828;
    border-radius: 10px;
    padding: 3rem;
    margin: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

input[type="email"] {
    padding: 1rem;
    border: none;
    border-radius: 4px;
    background: #121212;
    color: white;
    font-size: 1rem;
}

button[type="submit"] {
    padding: 1rem;
    background: #1DB954;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: #1ed760;
}

/* Products Section */
#products {
    background: #181818;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
}

.product {
    background: #282828;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.2s;
}

.product:hover {
    transform: translateY(-5px);
}

.price {
    color: #1DB954;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* Article Styling */
article {
    background: #282828;
    padding: 3rem;
    border-radius: 10px;
    margin-top: 3rem;
    grid-column: 1 / -1;
    border-left: 4px solid #1DB954;
}

article h2 {
    color: #1DB954;
    margin-bottom: 1.5rem;
}

article p {
    margin-bottom: 1rem;
}

/* Specialists Section */
#specialists {
    background: #181818;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.specialist {
    background: #282828;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

/* Reviews Section */
#reviews {
    background: #282828;
}

.review {
    background: #181818;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.review h3 {
    color: #1DB954;
}

/* Contacts Section */
#contacts {
    background: #181818;
}

#contacts iframe {
    border-radius: 10px;
    margin-top: 2rem;
}

/* Footer */
footer {
    background: #121212;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #282828;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header {
        min-height: 300px;
    }

    header h1 {
        font-size: 2rem;
    }

    header h2 {
        font-size: 1.2rem;
    }

    section {
        padding: 2rem 1rem;
    }

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

    .product, .specialist, .review {
        margin-bottom: 1rem;
    }

    article {
        padding: 1.5rem;
    }

    form {
        padding: 0 1rem;
    }
}

/* Hover Effects */
.specialist:hover, .review:hover {
    transform: translateY(-3px);
    transition: transform 0.2s;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.8s ease-out;
}
