/* ==========================================
   CONTACTS PAGE STYLES
   Дата: 22 ноября 2025
   ========================================== */

.contacts-page {
    animation: fadeIn 0.4s ease-out;
    padding: 60px 20px;
    min-height: 60vh;
}

/* === CONTACTS CONTAINER === */
.contacts-container {
    max-width: 800px;
    margin: 0 auto;
}

.contacts-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contacts-intro h1 {
    font-weight: 300;
    font-size: 36px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #333;
}

.contacts-intro p {
    font-size: 16px;
    color: #777;
    line-height: 1.6;
}

/* === CONTACTS GRID === */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.contact-card {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    background: #fff;
    border-color: #333;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #333;
}

.contact-card a {
    font-size: 15px;
    color: #666;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #000;
}

/* === SOCIAL LINKS SECTION === */
.social-links-section {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(to bottom, #fff, #f9f9f9);
    border-radius: 8px;
}

.social-links-section h2 {
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #333;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.social-link:hover .social-link-icon {
    background: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.social-link-text {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

/* === CONTACT FORM (опционально) === */
.contact-form-section {
    max-width: 600px;
    margin: 60px auto 0;
    padding: 40px;
    background: #f9f9f9;
    border-radius: 8px;
}

.contact-form-section h2 {
    font-weight: 300;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #333;
}

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

.submit-button {
    width: 100%;
    padding: 15px;
    background: #333;
    color: #fff;
    border: 2px solid #333;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: transparent;
    color: #333;
}

/* === MAP SECTION (опционально) === */
.map-section {
    margin-top: 60px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .contacts-page {
        padding: 40px 15px;
    }
    
    .contacts-intro h1 {
        font-size: 28px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .social-links-section {
        padding: 40px 20px;
    }
    
    .social-links {
        gap: 20px;
    }
    
    .contact-form-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .map-section iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contacts-intro h1 {
        font-size: 24px;
    }
    
    .social-link-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
