/**
 * Premium Footer Styles
 * Modern, professional footer design
 */

/* ========================================
   FOOTER LAYOUT
   ======================================== */
.premium-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    padding: 64px 0 24px;
    position: relative;
    overflow: hidden;
}

.premium-footer__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, .05) 35px, rgba(255, 255, 255, .05) 70px);
    pointer-events: none;
}

.premium-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* ========================================
   FOOTER COLUMNS
   ======================================== */
.footer-col__logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-col__logo img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-col__description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.footer-col__title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color, #E96B3F), transparent);
}

[dir="rtl"] .footer-col__title::after {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, var(--primary-color, #E96B3F), transparent);
}


.footer-col__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col__links li {
    margin-bottom: 12px;
}

.footer-col__links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col__links a:hover {
    color: var(--primary-color, #E96B3F);
    transform: translateX(5px);
}

[dir="rtl"] .footer-col__links a:hover {
    transform: translateX(-5px);
}

/* ========================================
   NEWSLETTER
   ======================================== */
.newsletter-form {
    margin-top: 16px;
}

.newsletter-form form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color, #E96B3F);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--primary-color, #E96B3F);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--primary-dark, #D55A30);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 107, 63, 0.3);
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */
.premium-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color, #E96B3F);
    color: #ffffff;
    transform: translateY(-3px);
}

.social-link svg {
    width: 16px;
    height: 16px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .premium-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .premium-footer {
        padding: 48px 0 24px;
    }

    .premium-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .premium-footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .newsletter-form form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
    }
}