/* ==========================================================================
   PREMIUM FOOTER REVAMP
   ========================================================================== */

/* Outer wrapper to handle spacing and alignment with the rest of the page */
.premium-footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4.5rem 1.5rem 4.5rem;
}

/* The dark card container */
.premium-footer-card {
    background-color: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    color: #ffffff;
    font-family: var(--font-sans, 'Inter', system-ui, sans-serif);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* --- Top Section: Newsletter & Links --- */
.premium-footer-top {
    display: flex;
    padding: 4rem;
}

/* Left side: Newsletter */
.footer-newsletter {
    flex: 1;
    padding-right: 4rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4fc34;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-badge svg {
    width: 20px;
    height: 20px;
}

.footer-newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-newsletter p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 400px;
    margin-bottom: 2.5rem;
}

.footer-form-wrapper {
    background: #ffffff;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    max-width: 450px;
}

.footer-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
}

.footer-input::placeholder {
    color: #64748b;
}

.footer-submit-btn {
    background-color: #2534f9;
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-submit-btn:hover {
    background-color: #1a25c7;
    transform: translateY(-1px);
}

/* Right side: Links Grid */
.footer-links-grid {
    flex: 1.2;
    padding-left: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-link-col h4 {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-link-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-link-col a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-col a:hover {
    color: #ffffff;
}


/* --- Bottom Section: Copyright & Socials --- */
.premium-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: #ffffff;
}

.footer-logo .site-logo-wordmark {
    width: 150px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-copyright {
    color: #64748b;
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */

/* Tablet & Smaller Desktop */
@media (max-width: 1024px) {
    .premium-footer-wrapper {
        padding: 0 2rem 1.5rem 2rem;
    }
    
    .premium-footer-top {
        flex-direction: column;
        padding: 3rem;
    }
    
    .footer-newsletter {
        padding-right: 0;
        padding-bottom: 3rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 3rem;
    }
    
    .footer-links-grid {
        padding-left: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .premium-footer-wrapper {
        padding: 0 1rem 1.5rem 1rem;
    }
    
    .premium-footer-card {
        border-radius: 20px;
    }
    
    .premium-footer-top {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-newsletter h2 {
        font-size: 2.8rem;
    }
    
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
    }
    
    .premium-footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .footer-copyright {
        order: 3;
    }
    
    .footer-socials {
        order: 2;
    }
}

@media (max-width: 480px) {
    .footer-newsletter h2 {
        font-size: 2.2rem;
    }
    
    .footer-form-wrapper {
        flex-direction: column;
        border-radius: 12px;
        padding: 0.25rem;
    }
    
    .footer-input {
        width: 100%;
        text-align: center;
        border-radius: 12px 12px 0 0;
    }
    
    .footer-submit-btn {
        width: 100%;
        justify-content: center;
        border-radius: 8px;
        padding: 1rem;
    }
    
    .footer-links-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
}
