/* ==================== FOOTER STYLES ==================== */

footer {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border-top: 1px solid #404040;
    padding: 42px 0 18px;
    color: #b0b0b0;
    font-family: "Barlow", sans-serif;
    margin-top: 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #e5e5e7 50%, 
        transparent 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Grid Layout */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 28px;
}

.footer-section h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: #E30613;
}

/* Company Info Section */
.footer-about {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

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

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    color: #a0a0a0;
}

/* Contact Information */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14px;
}

.contact-item i {
    color: #E30613;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
}

.contact-item span {
    color: #a0a0a0;
}

.contact-item a {
    color: #a0a0a0;
    text-decoration: none;
    background: none !important;
    transition: color 0.3s ease;
}

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

/* Quick Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: #a0a0a0;
    text-decoration: none;
    background: none !important;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    opacity: 0;
    margin-right: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: #E30613;
    padding-left: 0;
}

.footer-links a:hover::before {
    opacity: 0;
}

/* Services */
.footer-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-tag {
    display: inline-block;
    font-size: 13px;
    padding: 6px 14px;
    border: 1px solid #E30613;
    border-radius: 12px;
    color: #E30613;
    transition: all 0.3s ease;
    width: fit-content;
}

.service-tag:hover {
    background: #E30613;
    color: #ffffff;
}

/* Social Links */
.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #E30613;
    border-radius: 12px;
    color: #E30613;
    text-decoration: none;
    transition: all 0.3s ease;
    background: none !important;
}

.social-link:hover {
    background: #E30613 !important;
    color: #ffffff;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 16px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(192, 5, 5, 0.2);
    padding-top: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
}

.footer-copyright {
    font-size: 12px;
    color: #888;
}

.footer-links-bottom {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.footer-links-bottom a {
    font-size: 12px;
    color: #888;
    text-decoration: none;
    background: none !important;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #c00505;
}

/* ==================== COOKIE MODAL STYLES ==================== */

.cookie-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-modal.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 248, 250, 0.98) 100%),
                radial-gradient(circle at top left, rgba(192, 5, 5, 0.08), transparent 60%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(192, 5, 5, 0.15);
    border-left: 1px solid rgba(192, 5, 5, 0.1);
    border-right: 1px solid rgba(192, 5, 5, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.15),
                0 0 40px rgba(192, 5, 5, 0.08);
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 25px;
    align-items: center;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-icon {
    font-size: 32px;
    color: #c00505;
    flex-shrink: 0;
}

.cookie-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.cookie-text p {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, #c00505 0%, #a00404 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(192, 5, 5, 0.3);
}

.cookie-btn.accept:hover {
    box-shadow: 0 6px 20px rgba(192, 5, 5, 0.5);
    transform: translateY(-2px);
}

.cookie-btn.settings {
    background: rgba(192, 5, 5, 0.08);
    border: 1px solid rgba(192, 5, 5, 0.3);
    color: #c00505;
}

.cookie-btn.settings:hover {
    background: rgba(192, 5, 5, 0.15);
    border-color: #c00505;
}

.cookie-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-close:hover {
    color: #c00505;
}

/* Responsive Design */
@media (max-width: 768px) {
    footer {
        padding: 60px 0 20px;
        margin-top: 80px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-links-bottom {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .cookie-container {
        grid-template-columns: 1fr;
        gap: 20px;
        border-radius: 0;
        padding: 20px;
    }

    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }

    .cookie-close {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 40px 0 15px;
        margin-top: 60px;
    }

    .footer-content {
        gap: 30px;
    }

    .footer-section h3 {
        font-size: 12px;
    }

    .contact-item,
    .footer-links a,
    .cookie-text p {
        font-size: 12px;
    }

    .cookie-icon {
        font-size: 24px;
    }

    .cookie-btn {
        padding: 8px 16px;
        font-size: 11px;
    }
}
