.contacts-page {
    padding-top: 80px;
    min-height: 100vh;
}

.contacts-hero {
    /* background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://via.placeholder.com/1920x600'); */
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://placehold.co/1920x600/1a1a1a/e74c3c?text=Чеширский+KOD');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.contacts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(231, 76, 60, 0.2), rgba(192, 57, 43, 0.2));
    animation: gradientMove 10s ease infinite;
}

.contacts-hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.contacts-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.contacts-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.contacts-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--gray-color);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h2 {
    color: var(--light-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item div h3 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.contact-item div p {
    color: var(--light-color);
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    background: var(--gray-color);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form h2 {
    color: var(--light-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--dark-color);
    border: 2px solid transparent;
    border-radius: 5px;
    color: var(--light-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--light-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(206, 16, 52, 0.4);
}

.map-section {
    grid-column: 1 / -1;
    width: 100%;
    margin: 4rem 0;
    padding: 0;
    background: var(--gray-color);
    border-radius: 10px;
    overflow: hidden;
}

.map-section h2 {
    color: var(--light-color);
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0;
    padding: 0 1rem;
}

.map-container {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .contacts-hero {
        height: 300px;
    }

    .contacts-hero h1 {
        font-size: 2rem;
    }

    .contacts-hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

    .map-section {
        margin: 2rem 0;
    }
    
    .map-container {
        height: 350px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
} 