.footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Logo Section */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-placeholder {
    width: fit-content;
    height: 60px;
    background: none;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: flex;
    color: #1a1a1a;
    font-weight: bold;
    font-size: 0.9rem;

    img {
        max-height: 100%;
        width: auto;
    }
}

.footer-description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 250px;
}

/* Links Section */
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #ffffff;
}

/* Social Section */
.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background-color: #555555;
}

.newsletter {
    text-align: right;
}

.newsletter h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.newsletter p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #444444;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #ffffff;
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: #888888;
}

.newsletter-button {
    padding: 0.75rem 1.5rem;
    background-color: #ffffff;
    color: #1a1a1a;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    background-color: #f0f0f0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: #888888;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #888888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

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

    .footer-logo {
        align-items: center;
    }

    .footer-social {
        align-items: center;
    }

    .newsletter {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}
