
/* Специфичные стили для страницы контактов */

.wave-divider svg {
    background: #f5f5f5;
}

.footer__text {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.team--contacts {
    border-radius:12px;
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.contact-hero {
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.5) 0%, rgba(224, 242, 254, 0.5) 100%),
    url('../assets/images/port/2000/sklad-2.jpg');
    background-size: cover;
    background-position: center;
    padding: 6rem 2rem;
    text-align: center;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-hero__container {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-hero__title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-hero__text {
    font-size: 1.25rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.contact-container {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom:60px;
}

.contact-info {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px; /* Добавляем скругление */
    box-shadow: var(--shadow);
    height: 100%; /* Заставляем контактную информацию занимать всю высоту */
}

.contact-info__title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-info__title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px; /* Добавляем скругление */
    font-size: 1.5rem;
}

.contact-content {
    /* Нет необходимости в дополнительных стилях для скругления здесь */
}

.contact-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.contact-content p {
    color: var(--gray-color);
    line-height: 1.6;
}

.contact-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-content a:hover {
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.social-contact {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-contact a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Стили для формы обратной связи */
.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px; /* Добавляем скругление */
    box-shadow: var(--shadow);
    height: 100%; /* Заставляем форму занимать всю высоту */
    /* margin-top: 3rem; */ /* Удаляем или комментируем */
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.75rem;
}

.form-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 12px; /* Добавляем скругление */
    font-size: 1rem;
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.requisites {
    background-color: white;
    padding: 2.5rem;
    border-radius: 12px; /* Добавляем скругление */
    box-shadow: var(--shadow);
    height: 100%; /* Заставляем реквизиты занимать всю высоту */
    /* margin-top: 3rem; */ /* Удаляем или комментируем */
}

.requisites-table {
    border-collapse: collapse;
    width: 100%;
    border-radius: 12px; /* Добавляем скругление */
    overflow: hidden; /* Обрезаем содержимое по скругленным углам */
}

.requisites-table th,
.requisites-table td {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 12px; /* Добавляем скругление */
}

.requisites-table th {
    background-color: #f2f2f2;
    text-align: left;
}

.requisites-table td {
    color: var(--gray-color);
}

.requisites-table tr:last-child th,
.requisites-table tr:last-child td {
    border-bottom: none;
}

/* Стили для секции команды */
.team-member {
    background-color: white;
    border-radius: 12px; /* Добавляем скругление */
    box-shadow: var(--shadow);
    overflow: hidden; /* Обрезаем содержимое по скругленным углам */
}

.team-member__image {
    border-radius: 12px 12px 0 0; /* Скругление только верхних углов */
}

.team-member__content {
    padding: 1.5rem;
}

.contact-link {
    border-radius: 12px; /* Добавляем скругление */
}

/* Адаптивность */
@media (max-width: 992px) {
    .contact-hero__title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Для плавности на iOS */
    }

    .contact-hero {
        padding: 3rem 1.5rem;
    }

    .contact-container {
        padding: 0 1.5rem;
        margin: 2rem auto;
    }

    .contact-hero__title {
        font-size: 2rem;
    }

    .contact-hero__text {
        font-size: 1.1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}