/* Footer Styles */
#footer {
    background: var(--gray-900);
    color: var(--white);
    padding: calc(var(--spacing-20) * 0.7) 0 var(--spacing-8);
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-12);
    margin-bottom: var(--spacing-12);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: var(--spacing-6);
}

.footer-logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo:hover .footer-logo-image {
    transform: scale(1.05);
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: var(--spacing-6);
    font-size: var(--font-size-lg);
}

.footer-contact {
    margin-bottom: var(--spacing-6);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-3);
    color: var(--gray-300);
}

.contact-item i {
    color: var(--primary-orange);
    font-size: var(--font-size-lg);
    width: 20px;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-orange);
}

.contact-text {
    color: var(--gray-300);
}

.footer-social {
    display: flex;
    gap: var(--spacing-4);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-section h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-6);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-3);
}

.footer-link {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: var(--font-size-base);
}

.footer-link:hover {
    color: var(--primary-orange);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-4);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    color: var(--gray-300);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.contact-text {
    font-size: var(--font-size-sm);
}

/* Newsletter Section */
.newsletter {
    background: var(--gray-800);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    margin-bottom: var(--spacing-12);
    text-align: center;
}

.newsletter-title {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--spacing-4);
}

.newsletter-description {
    color: var(--gray-300);
    margin-bottom: var(--spacing-6);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-4);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: var(--spacing-3) var(--spacing-4);
    border: 1px solid var(--gray-600);
    border-radius: var(--radius-lg);
    background: var(--gray-700);
    color: var(--white);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.newsletter-input::placeholder {
    color: var(--gray-400);
}

.newsletter-button {
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-3) var(--spacing-6);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-button:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-4);
}

.footer-copyright {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-6);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.3s ease;
}

.footer-legal li a:hover {
    color: var(--primary-orange);
}

/* Background Decoration */
.footer-bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.footer-bg-shape {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    opacity: 0.05;
    border-radius: 50%;
}

.footer-bg-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.footer-bg-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-8);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 var(--spacing-3);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-button {
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-6);
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--spacing-12) 0 var(--spacing-6);
    }
    
    .footer-logo {
        font-size: var(--font-size-xl);
    }
    
    .footer-logo-icon {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-lg);
    }
    
    .footer-description {
        font-size: var(--font-size-base);
    }
    
    .newsletter {
        padding: var(--spacing-6);
    }
    
    .newsletter-title {
        font-size: var(--font-size-xl);
    }
    
    .footer-legal {
        flex-direction: column;
        gap: var(--spacing-3);
    }
}
