/* Переменные */
:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --white: #ffffff;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
    --text-color: #2c3e50;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Основные стили футера */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: var(--white);
    padding: 60px 0 20px 0;
    margin-top: 60px;
}

#footerContent {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

#footerLeftContent {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.1);
}

#uniName p, #kafName p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: var(--white);
    font-weight: 500;
}

#contactInf h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
}

#contactInf h4 i {
    margin-right: 10px;
    color: var(--accent-color);
}

#contactInf p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px 0;
    color: var(--white);
}

.footer-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
    transform: translateY(-1px);
}

.footer-link i {
    margin-right: 8px;
}

#footerRightContent {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.footer-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.footer-map:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px 0;
    }

    #footerContent {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #footerLeftContent {
        gap: 20px;
    }

    .footer-logo {
        width: 50px;
        height: 50px;
    }

    #uniName p, #kafName p {
        font-size: 14px;
    }

    #contactInf h4 {
        font-size: 14px;
    }

    #contactInf p {
        font-size: 13px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px 0;
    }

    #footerContent {
        gap: 20px;
    }

    #footerLeftContent {
        gap: 15px;
    }

    .footer-logo {
        width: 40px;
        height: 40px;
    }

    #uniName p, #kafName p {
        font-size: 13px;
    }

    #contactInf h4 {
        font-size: 13px;
    }

    #contactInf p {
        font-size: 12px;
    }
}
