/* Forcefully hide theKadence theme's original footer */
.site-footer {
    display: none !important;
}

.beerloyuz-footer {
    width: 100%;
    padding: 100px 0 0 0;
    /* Changed padding to handle bottom bar separately */
    font-family: var(--beerloyuz-footer-font, 'Montserrat'), sans-serif;
    box-sizing: border-box;
    left: 0;
    bottom: 0;
}

.beerloyuz-footer * {
    box-sizing: border-box;
}

.beerloyuz-footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px 80px 20px;
}

.beerloyuz-footer-col {
    width: 100%;
}

/* Titles */
.beerloyuz-footer-col-title {
    color: var(--beerloyuz-footer-title-color);
    font-size: var(--beerloyuz-footer-title-size);
    font-weight: var(--beerloyuz-footer-title-weight);
    opacity: 0.8;
    margin-bottom: 20px;
    margin-top: 0;
}

/* Column 1: Logo */
.beerloyuz-footer-col-1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 280px;
}

.beerloyuz-footer-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #2b6cb0;

}

.beerloyuz-footer-logo-link:hover {
    color: #2b6cb0;
}

.beerloyuz-footer-description {
    margin-top: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--beerloyuz-footer-title-color);
    opacity: 0.7;
    max-width: 320px;
}

.beerloyuz-footer-description p {
    margin: 0;
}

.beerloyuz-footer-logo-link span {
    font-weight: 600;
    letter-spacing: 2px;
}

.beerloyuz-footer-logo-link span:hover {
    color: #2b6cb0;
    text-decoration: none;
}


.beerloyuz-footer-logo-img {
    height: 80px;
    width: auto;
}

.beerloyuz-footer-logo-text {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Menus */
.beerloyuz-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.beerloyuz-footer-menu li a {
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.beerloyuz-footer-menu li a:hover {
    opacity: 1;
    text-decoration: none;
    color: var(--beerloyuz-footer-hover-color, #ffcc00);
}

/* Socials */
.beerloyuz-footer-social-content {
    display: flex;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 30px;
    margin-top: 15px;
}

.beerloyuz-footer-address {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.6;
    color: inherit;
    opacity: 0.7;
}

.beerloyuz-footer-address p {
    margin: 0;
}

.beerloyuz-footer-social-icons {
    display: grid;
    grid-template-columns: repeat(1, 26px);
    grid-gap: 8px;
    flex-shrink: 0;
}

.beerloyuz-footer-social-link {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 50%;
    transition: background 0.2s ease, transform 0.2s ease;
}

.beerloyuz-footer-social-link:hover {
    background: var(--beerloyuz-footer-hover-color, #ffcc00);
    transform: translateY(-2px);
}

.beerloyuz-footer-social-link img {
    width: 17px;
    height: 17px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.beerloyuz-footer-social-link:hover img {
    opacity: 1;
}

/* Bottom Bar / Copyright */
.beerloyuz-footer-bottom {
    width: 100%;
    min-height: var(--beerloyuz-footer-bottom-height, 60px);
    display: flex;
    align-items: center;
    justify-content: var(--beerloyuz-footer-alignment, center);
    text-align: var(--beerloyuz-footer-text-alignment, center);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
}

.beerloyuz-footer-copyright {
    max-width: 1300px;
    margin: var(--beerloyuz-footer-copyright-margin, 0 auto);
    opacity: 0.6;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .beerloyuz-footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .beerloyuz-footer-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .beerloyuz-footer-col {
        width: 100%;
    }


    .beerloyuz-footer-menu {
        align-items: start;
    }

    .beerloyuz-footer-social-icons {
        justify-content: center;
        grid-template-columns: repeat(2, 26px);
        grid-gap: 8px;
    }

    .beerloyuz-footer-description {
        max-width: 520px;
    }

    .beerloyuz-footer-social-content {
        gap: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .beerloyuz-footer-container {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .beerloyuz-footer-description {
        max-width: 320px !important;
    }

    .beerloyuz-footer-col-1 {
        min-width: 200px;
    }

}