/**
 * PyziTheme - footer.css (pyzitheme/assets/css/footer.css)
 * 
 * Syl dla stopki motywu
 *
 * @package     PyziTheme
 * @subpackage  Assets/CSS
 * @author      Patryk Kowalski <p.kowalski@kamikstudio.pl>
 * @copyright   2025 KamikStudio & PyziPyzi
 * @license     Proprietary
 * @version     1.0.0
 * @since       1.0.0
 * 
 * Client: PyziPyzi - Domowe wyroby cukiernicze
 * Website: https://pyzipyzi.pl
 * 
 * This file is part of PyziTheme.
 * Unauthorized copying or distribution is prohibited.
 */

/* === SEKCJA FORMULARZA KONTAKTOWEGO === */
.contact-form-section {
    background: #f5f0e8;
    padding: 50px 20px 60px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.contact-form-container {
    max-width: 80%;
    margin: 0 auto;
    text-align: center;
}

.contact-form-container h2 {
    color: #5e341c;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-form-container p {
    color: #4a2814;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Stylowanie formularza Forminator */
.contact-form-container .forminator-ui {
    background: rgba(255, 255, 255, 0);
    padding: 30px;
    border-radius: 12px;
}

/* === SEKCJA MAPY === */
.map-section {
    width: 100%;
    height: 450px;
    position: relative;
    overflow: hidden;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* === STOPKA === */
footer.site-footer {
    background: linear-gradient(180deg, #5e341c 0%, #4a2814 100%);
    color: #f5f0e8;
    margin-top: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-column h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #ef6341;
    border-radius: 2px;
}

.footer-brand {
    padding-right: 20px;
}

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

.footer-logo img {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-size: 14px;
    line-height: 1.3;
    color: #d4c4b0;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f5f0e8;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: #ef6341;
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #d4c4b0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: #ef6341;
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: #ef6341;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a {
    color: #d4c4b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact-item a:hover {
    color: #ef6341;
}

.footer-hours {
    font-size: 13px;
    color: #d4c4b0;
    line-height: 1.5;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: #d4c4b0;
}

.footer-copyright a {
    color: #ef6341;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-copyright a:hover {
    opacity: 0.8;
}

.footer-payments {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-icon {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.payment-icon:hover {
    opacity: 1;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 50px 20px 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 40px 20px 50px;
    }

    .contact-form-container h2 {
        font-size: 24px;
    }

    .map-section {
        height: 350px;
    }
}

@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 20px 30px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

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

    .footer-column h3 {
        font-size: 18px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-payments {
        justify-content: center;
    }
    
    .map-section {
        height: 300px;
    }
}