/* Contacts Page Styles */

/* Hero Section */
.contacts-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.contacts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23000000" fill-opacity="0.02" width="50" height="50"/></svg>');
    pointer-events: none;
}

.contacts-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.contacts-subtitle {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Contact Information Section */
.contact-info-section {
    background: #fff;
}

.contact-card {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #000;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgb(29, 27, 24) 0%, #333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: rotate(360deg) scale(1.1);
}

.contact-icon i {
    font-size: 2rem;
    color: #fff;
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.contact-card-text {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: #333;
    transform: scale(1.05);
}

.contact-description {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Working Hours Section */
.working-hours-section {
    background: #f8f9fa;
}

.working-hours-card {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 0;
}

.working-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.working-day:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.working-day.highlight {
    background: linear-gradient(135deg, rgb(29, 27, 24) 0%, #333 100%);
    color: #fff;
}

.working-day.highlight:hover {
    background: linear-gradient(135deg, #333 0%, rgb(29, 27, 24) 100%);
}

.day-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.day-time {
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
}

.working-day.highlight .day-time {
    color: #fff;
}

/* Social Media Section */
.social-media-section {
    background: #fff;
}

.social-media-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: currentColor;
}

.social-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.social-card:hover .social-card-icon {
    transform: scale(1.1) rotate(10deg);
}

.social-card-icon i {
    font-size: 2rem;
    color: #fff;
}

.social-card-icon.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0c63d4 100%);
}

.social-card-icon.instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-card-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.social-card:hover .social-card-icon.facebook {
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.4);
}

.social-card:hover .social-card-icon.instagram {
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.4);
}

.social-card:hover .social-card-icon.telegram {
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.social-card-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
}

.social-card-content p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contacts-hero {
        padding-top: 120px!important;
        padding-bottom: 60px;
    }

    .contacts-title {
        font-size: 2.8rem;
    }

    .contacts-subtitle {
        font-size: 1.3rem;
    }

    .contact-card {
        padding: 2.5rem 1.5rem;
    }

    .working-hours-card {
        padding: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contacts-hero {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .contacts-title {
        font-size: 2.2rem;
    }

    .contacts-subtitle {
        font-size: 1.1rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
    }

    .contact-icon i {
        font-size: 1.75rem;
    }

    .contact-card-title {
        font-size: 1.3rem;
    }

    .contact-card-text {
        font-size: 1.1rem;
    }

    .working-hours-card {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .working-day {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .social-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .social-card-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .social-card:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 576px) {
    .contacts-hero {
        padding-top: 90px;
        padding-bottom: 40px;
    }

    .contacts-title {
        font-size: 1.9rem;
    }

    .contacts-subtitle {
        font-size: 1rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .working-hours-card {
        padding: 1.5rem 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .social-card {
        padding: 1.25rem;
    }

    .social-card-icon {
        width: 60px;
        height: 60px;
    }

    .social-card-icon i {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card,
.working-hours-card,
.social-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

.social-card:nth-child(1) {
    animation-delay: 0.1s;
}

.social-card:nth-child(2) {
    animation-delay: 0.2s;
}

.social-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Print Styles */
@media print {
    .contacts-hero::before {
        display: none;
    }

    .contact-card,
    .social-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .contact-card:hover,
    .social-card:hover {
        transform: none;
    }
}