/* Import Font Awesome for icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

.footer {
    background: linear-gradient(135deg, #0F122A 0%, #6C7A89 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 30px 15px 70px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

/* Company Info Section */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.logo-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 10px;
}

.company-name {
    font-family: "Montserrat", sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(45deg, #AC9D8D, #E7E0D8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #E7E0D8;
    text-align: left;
    padding: 0 10px;
}

.team-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
}

.team-social-title {
    font-size: 0.9rem;
    color: #AC9D8D;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(172, 157, 141, 0.1);
    border: 2px solid rgba(172, 157, 141, 0.3);
    border-radius: 50%;
    color: #e7e0d8;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    border-color: #AC9D8D;
    box-shadow: 0 8px 25px rgba(172, 157, 141, 0.4);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link.facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

/* Footer Sections */
.footer-sections-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    order: 2;
}

.footer-section {
    text-align: left;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #AC9D8D;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #AC9D8D, transparent);
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.footer-section ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-section ul li a {
    color: #E7E0D8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #AC9D8D;
    padding-left: 5px;
}

.footer-section ul li::before {
    content: '›';
    color: #AC9D8D;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 25px;
    border-top: 2px solid rgba(172, 157, 141, 0.2);
    margin-top: 25px;
    position: relative;
    order: 3;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #E7E0D8;
    text-align: center;
}

.dev-team {
    font-size: 0.9rem;
    color: #E7E0D8;
    text-align: center;
    padding: 15px 20px;
    background: rgba(172, 157, 141, 0.1);
    border: 1px solid rgba(172, 157, 141, 0.3);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
}

.dev-team-title {
    color: #AC9D8D;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.dev-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    justify-content: center;
}

.dev-member {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    background: rgba(172, 157, 141, 0.08);
    padding: 10px 14px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.dev-member:nth-child(1) {
    animation-delay: 0.3s;
}

.dev-member:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.dev-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #6C7A89;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dev-member:hover .dev-icon {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 0 12px rgba(172, 157, 141, 0.6);
}

.dev-member-name {
    color: #e7e0d8;
    font-weight: 600;
}

.dev-member-role {
    color: #AC9D8D;
    font-size: 0.8rem;
    font-weight: 500;
}

.extra-role {
    color: #E7E0D8;
    font-size: 0.8rem;
    font-style: italic;
}

.dev-member a {
    color: #E7E0D8;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: auto;
    font-size: 1rem;
}

.dev-member a:hover {
    color: #AC9D8D;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .footer {
        padding: 40px 20px 70px;
    }

    .footer-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .company-info {
        flex: 1 0 60%;
        text-align: left;
    }

    .footer-sections-container {
        flex-direction: row;
        justify-content: flex-start;
        flex: 1 0 40%;
        gap: 40px;
    }

    .footer-section {
        flex: 1;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .dev-team {
        max-width: 500px;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        flex-wrap: nowrap;
    }

    .company-info {
        flex: 2;
        text-align: left;
        order: 1;
    }

    .footer-sections-container {
        flex: 1;
        order: 2;
        justify-content: flex-end;
    }

    .footer-bottom {
        order: 3;
    }

    .company-description {
        text-align: left;
        padding: 0;
    }
}