﻿/* ============================================
   footer.css - Site Footer Styles
   ============================================ */

/* ============================================
   Site Footer (Main)
   ============================================ */
.site-footer {
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 2px solid;
    border-image: linear-gradient(to right, #3ea0e6, #f047ff) 1;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    margin-top: auto;
}

/* ============================================
   Footer Container
   ============================================ */
.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-2xl) var(--spacing-lg);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.footer-section h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

/* ============================================
   Footer Brand
   ============================================ */
.footer-brand .footer-logo {
    max-width: 200px;
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

/* ============================================
   Social Links
   ============================================ */
.social-links {
    display: flex;
    gap: var(--spacing-md);
}

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-text);
        transition: all var(--transition-fast);
    }

        .social-links a:hover {
            background: var(--color-primary);
            color: var(--color-bg-dark);
            transform: translateY(-2px);
        }

.social-media {
    display: flex;
    gap: 20px;
}

    .social-media a img {
        width: 30px;
        margin-right: 10px;
        transition: transform 0.3s;
    }

        .social-media a img:hover {
            transform: scale(1.2);
        }

/* ============================================
   Footer Contact
   ============================================ */
.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

    .footer-contact a:hover {
        color: var(--color-primary);
    }

/* ============================================
   Footer Links
   ============================================ */
.footer-links nav,
.footer-legal-links nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a,
.footer-legal-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

    .footer-links a:hover,
    .footer-legal-links a:hover {
        color: var(--color-primary);
    }

/* ============================================
   Payment Icons
   ============================================ */
.payment-icons {
    display: flex;
    gap: var(--spacing-md);
}

.payment-icon {
    font-size: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

    .payment-icon img {
        width: 50px;
    }

    .payment-icon:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

/* ============================================
   Footer Bottom
   ============================================ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--spacing-lg);
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
}

    .footer-bottom p {
        color: var(--color-text-muted);
        font-size: var(--font-size-sm);
        margin: 0;
    }

/* ============================================
   Footer Sections (Extended)
   ============================================ */
.footer-left,
.footer-center-left,
.footer-center-right,
.footer-right {
    border-radius: 10px;
    padding: 20px;
    flex: 1;
    min-width: 0;
    margin: 10px;
    text-align: left;
}

    .footer-center-left h4,
    .footer-center-right h4,
    .footer-right h4 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    .footer-center-left p,
    .footer-right a {
        font-size: 14px;
    }

        .footer-right a:hover {
            text-decoration: underline;
        }

/* ============================================
   Main Footer (Legacy)
   ============================================ */
.footer-div {
    margin-top: auto;
    z-index: 10;
    width: 100%;
}

.mainfooter {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /*border-top: 2px solid;*/
    /*border-image: linear-gradient(to right, #3ea0e6, #f047ff) 1;*/
    color: white;
    text-align: center;
    padding: 8px;
    position: relative;
    width: 100%;
    bottom: 0;
    justify-content: space-between;
    z-index: 10;
}

.mainfooter-nav {
    margin-right: 10px;
}

    .mainfooter-nav a {
        color: white;
        margin: 0 10px;
        text-decoration: none;
    }

        .mainfooter-nav a:hover {
            text-decoration: underline;
        }

/* ============================================
   Footer Bottom Bar (Copyright + Impressum)
   ============================================ */
.footer-bottom-bar {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 14px;
    position: relative;
    z-index: 10;
}

    .footer-bottom-bar p,
    .footer-bottom-bar a {
        margin: 0;
        position: relative;
        z-index: 10;
    }

    .footer-bottom-bar a {
        transition: opacity 0.2s ease;
    }

    .footer-bottom-bar a:hover {
        opacity: 0.8;
    }

/* ============================================
   Gradient Divider
   ============================================ */
.HPage-header {
    height: 4px;
    background: linear-gradient(to right, #3ea0e6, #f047ff);
    position: relative;
    margin-bottom: 5px;
}

/* ============================================
   Responsive Footer
   ============================================ */
@media (max-width: 767px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .footer-logo {
        margin: 0 auto var(--spacing-lg);
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-links nav,
    .footer-legal-links nav {
        align-items: center;
    }

    .payment-icons {
        justify-content: center;
    }
}

@media (max-width: 620px) {
    .footer-div {
        /* height: 150px; */
    }

    .mainfooter {
        /* height: 150px; */
    }
}

@media (max-width: 1024px) {
    .footer-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 770px) {
    .footer-container {
        display: block;
    }

    .footer-left,
    .footer-center-left,
    .footer-center-right,
    .footer-right {
        margin: 10px 0;
        min-width: 0;
        padding: 10px;
        overflow: visible;
    }

    .footer-left {
        padding-bottom: 0;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 12px 16px;
    }
}
