/**
 * ThemeForge Pro Fashion — Premium Footer
 *
 * @package ThemeForge_Pro_Fashion
 * @version 1.0.0
 */

/* ============================================================
   1. FOOTER WRAPPER
   ============================================================ */

.tf-site-footer--premium {
    background: #0f0c29;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #ffffff;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.tf-site-footer--premium::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 87, 108, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.tf-site-footer--premium::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

/* ============================================================
   2. NEWSLETTER BAR
   ============================================================ */

.tf-footer-newsletter {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tf-footer-newsletter__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 767px) {
    .tf-footer-newsletter__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
}

.tf-footer-newsletter__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 500;
    margin: 0 0 12px;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.tf-footer-newsletter__text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.tf-footer-newsletter__form {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    overflow: hidden;
    max-width: 480px;
    margin-left: auto;
}

@media (max-width: 767px) {
    .tf-footer-newsletter__form {
        margin-left: auto;
        margin-right: auto;
    }
}

.tf-footer-newsletter__input {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: 0;
    color: #ffffff;
    font-size: 0.9375rem;
    font-family: inherit;
    outline: none;
}

.tf-footer-newsletter__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.tf-footer-newsletter__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #f5576c, #764ba2);
    color: #ffffff;
    border: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tf-footer-newsletter__btn:hover {
    background: linear-gradient(135deg, #764ba2, #f5576c);
    transform: translateX(2px);
}

/* ============================================================
   3. MAIN FOOTER (4 COLUMNS)
   ============================================================ */

.tf-footer-main {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px;
}

.tf-footer-main__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

@media (max-width: 1023px) {
    .tf-footer-main__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .tf-footer-main__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .tf-footer-main__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.tf-footer-main__brand .custom-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.tf-footer-main__brand img {
    max-height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.tf-footer-brand__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fee140 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tf-footer-main__tagline {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 320px;
}

/* Social icons */
.tf-footer-social {
    display: flex;
    gap: 12px;
}

.tf-footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tf-footer-social a:hover {
    background: linear-gradient(135deg, #f5576c, #764ba2);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(245, 87, 108, 0.3);
}

/* Column titles */
.tf-footer-main__title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}

.tf-footer-main__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #f5576c, #764ba2);
    border-radius: 2px;
}

/* Column links */
.tf-footer-main__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tf-footer-main__list li {
    margin-bottom: 12px;
}

.tf-footer-main__list li:last-child {
    margin-bottom: 0;
}

.tf-footer-main__list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.tf-footer-main__list a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 0;
    height: 2px;
    background: #f5576c;
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.tf-footer-main__list a:hover {
    color: #ffffff;
    padding-left: 12px;
}

.tf-footer-main__list a:hover::before {
    width: 8px;
}

/* ============================================================
   4. BOTTOM BAR
   ============================================================ */

.tf-footer-bottom {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.tf-footer-bottom__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.tf-footer-bottom__copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.tf-footer-bottom__copy p {
    margin: 0;
}

.tf-footer-bottom__payments {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tf-payment-icon {
    display: inline-block;
    line-height: 0;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.tf-payment-icon:hover {
    opacity: 1;
}

.tf-footer-bottom__legal {
    display: flex;
    gap: 24px;
    font-size: 0.75rem;
}

.tf-footer-bottom__legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.tf-footer-bottom__legal a:hover {
    color: #ffffff;
}

@media (max-width: 767px) {
    .tf-footer-bottom__inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .tf-footer-bottom__legal {
        justify-content: center;
    }
}

/* ============================================================
   5. RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
    .tf-footer-newsletter {
        padding: 40px 0;
    }

    .tf-footer-main {
        padding: 60px 0 40px;
    }

    .tf-footer-main__title {
        margin-bottom: 16px;
    }

    .tf-footer-newsletter__form {
        flex-direction: column;
    }

    .tf-footer-newsletter__btn {
        justify-content: center;
        width: 100%;
    }
}

/* ============================================================
   6. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    .tf-footer-social a:hover,
    .tf-footer-newsletter__btn:hover {
        transform: none;
    }
}