/*
 * Theme Name: Narad-WP
 * Component: Global Footers
 * Description: Native Vanilla CSS styling for the 3 distinct footer layouts.
 */

:root {
    --nrd-ftr-max-width: 1280px;
}

/* ==========================================================================
   1. The Magazine Footer (Dark, Content-Heavy)
   ========================================================================== */
.narad-footer-magazine-wrapper {
    background-color: #0f172a;
    /* slate-900 */
    color: #cbd5e1;
    /* slate-300 */
    padding: 4rem 1rem 2rem;
    font-family: var(--nrd-font-sans, 'Inter', sans-serif);
}

.narad-footer-magazine .narad-container {
    max-width: var(--nrd-ftr-max-width);
    margin: 0 auto;
}

.narad-footer-mag-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .narad-footer-mag-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .narad-footer-mag-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.narad-footer-mag-col {
    display: flex;
    flex-direction: column;
}

.narad-footer-brand {
    font-size: 1.875rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
    text-decoration: none;
    display: block;
}

.narad-footer-about {
    font-size: 0.875rem;
    line-height: 1.625;
    color: #94a3b8;
    /* slate-400 */
    margin-bottom: 1.5rem;
}

.narad-footer-socials {
    display: flex;
    gap: 1rem;
}

.narad-footer-socials a {
    color: #94a3b8;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.narad-footer-socials a:hover {
    color: #ffffff;
}

.narad-footer-widget-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* General widget lists inside the footer */
.narad-footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.narad-footer-widget ul li a {
    color: #cbd5e1;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.narad-footer-widget ul li a:hover {
    color: #818cf8;
    /* indigo-400 */
}

/* Empty Widget Text */
.narad-footer-empty-text {
    font-size: 0.875rem;
    color: #94a3b8;
    /* slate-400 (upgraded from slate-500 for contrast) */
    font-style: italic;
}

/* Newsletter Custom Form Styles */
.narad-footer-newsletter-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.narad-footer-newsletter-form form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.narad-footer-newsletter-form input[type="email"] {
    background-color: #1e293b;
    /* slate-800 */
    border: none;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    width: 100%;
    outline: none;
}

.narad-footer-newsletter-form input[type="email"]:focus {
    box-shadow: 0 0 0 2px #6366f1;
    /* ring-indigo-500 */
}

.narad-footer-newsletter-form input[type="submit"],
.narad-footer-newsletter-form button[type="submit"] {
    background-color: #4f46e5;
    /* indigo-600 */
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.narad-footer-newsletter-form button[type="submit"]:hover {
    background-color: #4338ca;
    /* indigo-700 */
}

.narad-footer-copyright-bar {
    border-top: 1px solid #1e293b;
    /* border-slate-800 */
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #94a3b8;
    /* slate-400 */
}

@media (min-width: 768px) {
    .narad-footer-copyright-bar {
        flex-direction: row;
    }
}

.narad-footer-bottom-menu {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .narad-footer-bottom-menu {
        margin: 0;
    }
}

.narad-footer-bottom-menu li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.narad-footer-bottom-menu li a:hover {
    color: #ffffff;
}

/* ==========================================================================
   2. The Agency Footer (Light, Minimalist, Huge CTA)
   ========================================================================== */
.narad-footer-agency-wrapper {
    background-color: #f8fafc;
    /* slate-50 */
    color: #475569;
    /* slate-600 */
    position: relative;
    padding: 6rem 1rem 3rem;
    /* Extra top padding for floating CTA */
    overflow: hidden;
    font-family: var(--nrd-font-sans, 'Inter', sans-serif);
}

.narad-relative-z {
    position: relative;
    z-index: 10;
}

/* Floating CTA Box */
.narad-agency-floating-cta {
    display: none;
    /* Hide on small screens for simplicity */
}

@media (min-width: 768px) {
    .narad-agency-floating-cta {
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 56rem;
        /* max-w-4xl */
        background-color: #059669;
        /* emerald-600 */
        border-radius: 1rem;
        padding: 3rem;
        text-align: center;
        color: #ffffff;
        z-index: 20;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }
}

.narad-agency-cta-title {
    font-size: 1.875rem;
    /* 3xl */
    font-weight: 900;
    margin: 0 0 1rem 0;
}

.narad-agency-cta-desc {
    color: #d1fae5;
    /* emerald-100 */
    margin: 0 auto 1.5rem auto;
    max-width: 42rem;
}

.narad-agency-cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #047857;
    /* emerald-700 */
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

.narad-agency-cta-btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Subtle background blob for Agency */
.narad-agency-footer-blob {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background-color: #f1f5f9;
    /* slate-100 */
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 1;
    transform: translate(33%, 33%);
}

.narad-footer-agency .narad-container {
    max-width: var(--nrd-ftr-max-width);
    margin: 0 auto;
}

.narad-footer-agency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .narad-footer-agency-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .narad-footer-agency-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.narad-footer-agency-brand-col {
    grid-column: span 2;
    padding-right: 2rem;
}

.narad-agency-about {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.narad-agency-contact {
    font-size: 0.875rem;
    color: #1e293b;
    /* slate-800 */
    margin: 0 0 0.25rem 0;
}

.narad-footer-agency .narad-footer-widget-title {
    color: #0f172a;
    /* slate-900 */
}

.narad-footer-agency .narad-footer-widget ul li a {
    color: #475569;
    /* slate-600 */
}

.narad-footer-agency .narad-footer-widget ul li a:hover {
    color: #059669;
    /* emerald-600 */
}

.narad-footer-agency .narad-footer-copyright-bar {
    border-top: 1px solid #e2e8f0;
    /* slate-200 */
    color: #475569;
}

.narad-footer-agency .narad-footer-bottom-menu li a {
    color: #475569;
}

.narad-footer-agency .narad-footer-bottom-menu li a:hover {
    color: #059669;
}

/* ==========================================================================
   3. The Shop Footer (Dark, Trust Badges)
   ========================================================================== */
.narad-footer-shop-wrapper {
    background-color: #111827;
    /* gray-900 */
    color: #d1d5db;
    /* gray-300 */
    font-family: 'Outfit', var(--nrd-font-sans, sans-serif);
    padding: 4rem 0 3rem 0;
}

.narad-footer-shop .narad-container {
    max-width: var(--nrd-ftr-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Top Newsletter Banner Row */
.narad-shop-newsletter-banner {
    border-bottom: 1px solid #1f2937;
    /* gray-800 */
    padding-bottom: 4rem;
    margin-bottom: 4rem;
    text-align: center;
}

.narad-shop-nl-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.narad-shop-nl-desc {
    color: #9ca3af;
    /* gray-400 */
    margin: 0 auto 1.5rem auto;
    max-width: 36rem;
}

.narad-shop-nl-form form {
    position: relative;
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
}

.narad-shop-nl-form input[type="email"] {
    width: 100%;
    background-color: #1f2937;
    /* gray-800 */
    border: 1px solid #374151;
    /* gray-700 */
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 9999px;
    outline: none;
    transition: border-color 0.3s ease;
}

.narad-shop-nl-form input[type="email"]:focus {
    border-color: #ff3366;
    /* Shop Accent */
}

.narad-shop-nl-form button[type="submit"] {
    position: absolute;
    right: 0.25rem;
    top: 0.25rem;
    bottom: 0.25rem;
    background-color: #ff3366;
    color: #ffffff;
    font-weight: 700;
    padding: 0 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.narad-shop-nl-form button[type="submit"]:hover {
    background-color: #ffffff;
    color: #111827;
}


/* Main Grid */
.narad-footer-shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .narad-footer-shop-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.narad-footer-shop .narad-footer-widget ul li a {
    color: #d1d5db;
}

.narad-footer-shop .narad-footer-widget ul li a:hover {
    color: #ff3366;
}

/* Contact List with Icons */
.narad-shop-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
}

.narad-shop-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.narad-shop-contact-list i {
    color: #9ca3af;
    /* gray-400 (upgraded from gray-500) */
    margin-top: 0.25rem;
}

.narad-shop-contact-list a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.narad-shop-contact-list a:hover {
    color: #ff3366;
}

/* Trust Badges */
.narad-shop-payment-badges {
    display: flex;
    gap: 0.5rem;
}

.narad-pay-badge {
    background-color: #ffffff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    height: 2rem;
    width: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
}

.narad-pay-visa {
    color: #1e40af;
}

/* blue-800 */
.narad-pay-mc {
    color: #dc2626;
}

/* red-600 */
.narad-pay-amex {
    color: #3b82f6;
    font-style: italic;
}

/* blue-500 */
.narad-pay-generic {
    color: #1f2937;
}

/* Copyright Extends */
.narad-footer-shop .narad-footer-copyright-bar {
    border-top: 1px solid #1f2937;
    /* gray-800 */
    color: #9ca3af;
    /* gray-400 */
}

.narad-footer-shop .narad-footer-bottom-menu li a {
    color: #9ca3af;
}

.narad-footer-shop .narad-footer-bottom-menu li a:hover {
    color: #ffffff;
}