@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@400;500;600&display=swap');

#footer {
    width: 100%;
    background: #1a1b23;
    display: flex;
    gap: 40px;
    color: white;
    padding: 48px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-left {
    width: 60%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.footer-right {
    width: 40%;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

#footer_d1 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#footer .logo {
    color: white;
    align-items: center;
}
#footer .logo h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
}

#footer p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
}

#footer h2 {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.footer-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.83rem;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: white;
}

.footer-socials {
    margin-top: 12px;
    display: flex;
    gap: 8px;
}
.footer-socials a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer-socials a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}
.footer-socials a:nth-child(1) { background: #1751c5; }
.footer-socials a:nth-child(2) { background: #1da1f2; }
.footer-socials a:nth-child(3) { background: #2d9e3d; }

.newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.newsletter input {
    padding: 10px 14px;
    width: 220px;
    border-radius: 6px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.83rem;
    transition: border-color 0.2s ease;
}
.newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.newsletter input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
}
.newsletter button {
    padding: 10px 14px;
    width: 220px;
    border-radius: 6px;
    border: none;
    background: #e1306c;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.newsletter button:hover {
    opacity: 0.85;
}


/* ─── MEDIA QUERIES ───────────────────────────── */
@media screen and (max-width: 1020px) {
    #footer {
        flex-direction: column;
        gap: 40px;
        padding: 40px 30px;
    }
    .footer-left, .footer-right {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    #footer {
        padding: 36px 20px;
        gap: 36px;
    }
    .footer-left, .footer-right {
        width: 100%;
        flex-direction: column;
        gap: 28px;
    }
}