/* css/footer.css */
.site-footer {
    background-color: #212121;
    color: #FFFFFF;
    padding: var(--spacing-xl) 0 0 0;
    margin-top: auto;
    font-family: var(--font-primary, 'Barlow', sans-serif);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-col p {
    margin: 0;
    color: #AAAAAA;
    font-size: 16px;
    line-height: 1.5;
}

.footer-heading {
    color: #FFFFFF;
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-legal-links {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: auto;
}

.footer-link {
    color: #AAAAAA;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    width: fit-content;
}

.footer-link:hover {
    color: #FFFFFF;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

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

.footer-copyright {
    font-size: 14px;
    color: #888888;
    text-align: center;
    line-height: 1.6;
    padding: 0 15px;
}

.footer-copyright a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #FFFFFF;
}

/* Floating Cookie Button */
.cookie-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    border-radius: 30px;
    background-color: #AD191C;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-primary, 'Barlow', sans-serif);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cookie-floating-btn:hover {
    transform: scale(1.05);
    background-color: #87000B;
}

@media (max-width: 576px) {
    .cookie-floating-btn {
        bottom: 12px;
        right: 12px;
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 20px;
        gap: 6px;
    }
    .cookie-floating-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Cookie Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal {
    background-color: #FFFFFF;
    color: #212121;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    font-family: var(--font-primary, 'Barlow', sans-serif);
}

.cookie-modal-overlay.active .cookie-modal {
    transform: translateY(0);
}

.cookie-modal h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    color: #212121;
    font-family: inherit;
}

.cookie-modal p {
    font-size: 16px;
    color: #555555;
    line-height: 1.5;
    margin: 0 0 25px 0;
    font-family: inherit;
}

.cookie-modal a {
    color: #AD191C;
    text-decoration: underline;
}

.cookie-legal-text {
    max-height: 200px;
    overflow-y: auto;
    background-color: #F9F9F9;
    border: 1px solid #EEEEEE;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: left;
}

.cookie-legal-text h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #212121;
    font-family: inherit;
}

.cookie-legal-text p {
    font-size: 14px;
    color: #666666;
    margin: 0 0 15px 0;
}

.cookie-legal-text p:last-child {
    margin: 0;
}

.cookie-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #888888;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-modal-close:hover {
    color: #212121;
}

.cookie-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

@media (min-width: 480px) {
    .cookie-actions {
        flex-direction: row;
    }
}

.cookie-btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    border: none;
    text-align: center;
}

.cookie-btn-primary {
    background-color: #FABD02;
    color: #212121;
}

.cookie-btn-primary:hover {
    background-color: #e5a900;
}

.cookie-btn-secondary {
    background-color: #E0E0E0;
    color: #212121;
}

.cookie-btn-secondary:hover {
    background-color: #CCCCCC;
}

@media (max-width: 576px) {
    .cookie-modal {
        padding: 24px 18px;
        width: 92%;
        max-height: 85vh;
        overflow-y: auto;
    }
    .cookie-modal h3 {
        font-size: 20px;
    }
    .cookie-legal-text {
        max-height: 120px;
    }
}
