/* ==========================================================================
   Footer - TanzSpiegel Premium Theme
   Brand Colors: Pink (#E91E8C), Dark (#0A0A0A), Silver (#B8B8B8)
   ========================================================================== */

/* Main Footer Container */
.ts-footer {
    background: #0a0a0a;
    color: #b8b8b8;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer Content Grid */
.ts-footer-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Brand Section */
.ts-footer-brand {
    max-width: 380px;
}

/* Logo Styling */
.ts-footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.ts-footer-logo:hover {
    opacity: 0.85;
}

/* Custom Logo Image */
.ts-footer-logo img,
.ts-footer-logo .custom-logo {
    width: auto !important;
    height: auto !important;
    max-height: 55px !important;
    max-width: 280px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Text Logo Fallback */
.ts-footer-logo-text {
    font-family: var(--ts-font-display, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.ts-footer-logo-text span {
    color: #E91E8C;
    font-weight: 700;
}

/* Footer Description */
.ts-footer-description {
    color: #b8b8b8;
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

/* Footer Contact Items */
.ts-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ts-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #b8b8b8;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ts-footer-contact-item:hover {
    color: #E91E8C;
}

.ts-footer-contact-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* Footer Columns */
.ts-footer-column {
    min-width: 0;
}

.ts-footer-heading {
    font-family: var(--ts-font-body, 'Inter', sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 1.25rem;
}

/* Footer Links */
.ts-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ts-footer-links li {
    margin-bottom: 0.625rem;
}

.ts-footer-links li:last-child {
    margin-bottom: 0;
}

.ts-footer-links a {
    color: #b8b8b8;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.ts-footer-links a:hover {
    color: #E91E8C;
    transform: translateX(3px);
}

/* Footer Bottom */
.ts-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.ts-footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ts-footer-copyright {
    font-size: 0.875rem;
    color: #8a8a8a;
    margin: 0;
}

.ts-footer-partner {
    font-size: 0.875rem;
    color: #E91E8C;
    font-weight: 500;
    margin: 0;
}

/* Social Links */
.ts-footer-social {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.ts-social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ts-social-link:hover {
    background: #E91E8C;
    border-color: #E91E8C;
    color: #ffffff;
    transform: translateY(-4px);
}

.ts-social-link svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .ts-footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
    
    .ts-footer-brand {
        max-width: 320px;
    }
}

/* Tablet Small (768px and below) */
@media (max-width: 768px) {
    .ts-footer {
        padding: 3rem 0 1.5rem;
    }
    
    .ts-footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
        margin-bottom: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .ts-footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .ts-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .ts-footer-social {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .ts-footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .ts-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }
    
    .ts-footer-logo img,
    .ts-footer-logo .custom-logo {
        max-height: 45px !important;
    }
    
    .ts-footer-heading {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }
    
    .ts-footer-links a {
        font-size: 0.875rem;
    }
    
    .ts-footer-description {
        font-size: 0.875rem;
    }
    
    .ts-social-link {
        width: 38px;
        height: 38px;
    }
    
    .ts-social-link svg {
        width: 18px;
        height: 18px;
    }
}