/* Footer Styles */
/* Note: Root variables are defined in header.css */

footer {
    padding: 60px 0 40px;
    margin-top: 60px;
    background-color: var(--footer-bg, #2c3e50);
    color: var(--footer-text, #ecf0f1);
    border-radius: 15px 15px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color, #3498db);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--footer-text, #ecf0f1);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color, #3498db);
    transform: translateX(5px);
}

/* Footer Contact Section */
.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color, #3498db);
}

/* Footer About Section */
.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo span {
    color: var(--accent-color, #3498db);
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--footer-text, #ecf0f1);
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--accent-color, #3498db);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

/* Platform-specific social icon hover states */
.x-twitter:hover {
    background-color: #000;
}

.linkedin:hover {
    background-color: #0077B5;
}

.github:hover {
    background-color: #333;
}

.website:hover {
    background-color: #4CAF50;
}

.instagram:hover {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Footer Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a:hover {
        transform: none;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }
}