/**
 * Modern Footer Styles - Motoristi.EU
 * GDPR Compliant, Professional Design
 */

/* ==== MODERN FOOTER ==== */
.modern-footer {
    background: linear-gradient(rgba(26, 26, 26, 0.65), rgba(17, 24, 39, 0.75)), url('footer-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #d1d5db;
    padding: 60px 0 0;
    margin-top: 0;
}

body[data-theme*="light"] .modern-footer {
    background: linear-gradient(rgba(17, 24, 39, 0.70), rgba(17, 24, 39, 0.80)), url('footer-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* ==== FOOTER CONTENT ==== */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

/* ==== FOOTER ABOUT ==== */
.footer-about h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-about p {
    line-height: 1.6;
    color: #9ca3af;
    margin-bottom: 24px;
}

/* Footer logo - standalone image */
img.footer-logo {
    height: auto;
    width: auto;
    max-width: 120px;
    max-height: 50px;
    opacity: 0.9;
    margin-bottom: 16px;
    display: block;
    object-fit: contain;
}

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

.footer-logo-wrapper img {
    height: 40px;
    width: auto;
    opacity: 0.9;
}

.footer-logo-wrapper span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ff6b35;
}

/* ==== FOOTER COLUMNS ==== */
.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.15s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--accent-color, #dc2626);
    transform: translateX(4px);
}

/* ==== SOCIAL LINKS ==== */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.15s ease;
}

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

/* ==== CONTACT INFO ==== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    font-size: 14px;
}

.contact-item i {
    font-size: 16px;
    color: var(--accent-color, #dc2626);
}

/* ==== FOOTER BOTTOM ==== */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    color: #6b7280;
    font-size: 14px;
}

.footer-tagline {
    color: #9ca3af;
    font-size: 14px;
    font-style: italic;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}

.footer-legal-link:hover {
    color: var(--accent-color, #dc2626);
}

/* ==== GDPR COOKIE BANNER ==== */
.gdpr-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: #1f2937;
    border-top: 2px solid var(--accent-color, #dc2626);
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1500;
    box-sizing: border-box;
    overflow: hidden;
}

.gdpr-banner.visible {
    transform: translateY(0);
}

.gdpr-banner[style*="display: none"] {
    display: none !important;
}

.gdpr-text {
    color: #d1d5db;
    font-size: 14px;
    flex: 1;
}

.gdpr-text a {
    color: var(--accent-color, #dc2626);
    text-decoration: underline;
}

.gdpr-actions {
    display: flex;
    gap: 12px;
}

.gdpr-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.gdpr-btn.accept {
    background: var(--accent-color, #dc2626);
    color: #ffffff;
}

.gdpr-btn.accept:hover {
    background: var(--accent-hover, #b91c1c);
}

.gdpr-btn.decline {
    background: transparent;
    color: #9ca3af;
    border: 1px solid #374151;
}

.gdpr-btn.decline:hover {
    background: #374151;
    color: #ffffff;
}

.gdpr-btn.learn-more {
    background: transparent;
    color: #9ca3af;
    text-decoration: underline;
    padding: 10px;
}

/* ==== CONTACT FORM ==== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #d1d5db;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 1px solid #374151;
    border-radius: 6px;
    background: #1f2937;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Inter', 'Roboto', sans-serif;
    transition: all 0.15s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-color, #dc2626);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    padding: 12px 24px;
    background: var(--accent-color, #dc2626);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.form-submit:hover {
    background: var(--accent-hover, #b91c1c);
}

/* ==== BACK TO TOP BUTTON ==== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--accent-color, #dc2626);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    z-index: 1400;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover, #b91c1c);
    transform: translateY(-4px);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.3);
}

/* ==== RESPONSIVE ==== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .modern-footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 20px 32px;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
    
    .gdpr-banner {
        flex-direction: column;
        padding: 16px 20px;
        text-align: center;
    }
    
    .gdpr-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .gdpr-btn {
        width: 100%;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 16px 24px;
    }
    
    .footer-bottom {
        padding: 16px;
    }
}
