/* ============================================
   Footer Styles - DOBOT Style Layout
   ============================================ */

/* 1. Site Footer Base Styles */
.site-footer {
    background: #2a2a2a;
    color: #ffffff;
    padding: 60px 0 40px;
}

.footer-container {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

/* 2. Footer Left Section */
.footer-left {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* 3. Footer Subscribe Section */
.footer-subscribe {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscribe-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.subscribe-form {
    display: flex;
    gap: 0;
    position: relative;
}

.subscribe-input {
    flex: 1;
    padding: 12px 16px;
    background: #3a3a3a;
    border: none;
    border-radius: 4px 0 0 4px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscribe-input:focus {
    background: #4a4a4a;
}

.subscribe-btn {
    padding: 12px 16px;
    background: #3a3a3a;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subscribe-btn:hover {
    background: #4a4a4a;
}

.subscribe-btn svg {
    width: 16px;
    height: 16px;
}

/* 4. Footer Social Section */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

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

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 5. Footer Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.contact-email {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
}

/* 6. Footer Right Section */
.footer-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    min-width: 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block;
}

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

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #ae0007;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top-btn.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: #8b0005;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top-btn:active {
    transform: translateY(-1px);
}

.back-to-top-btn svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   WhatsApp Button
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn:active {
    transform: scale(1.05);
}

.whatsapp-btn svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Large Desktop */
@media (max-width: 1400px) {
    .footer-right {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet and below */
@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-left {
        flex: 1;
        max-width: 100%;
    }
    
    .footer-right {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 30px;
    }
    
    .footer-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .footer-right {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-column-title {
        font-size: 14px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    /* Responsive adjustments for floating buttons */
    .back-to-top-btn {
        width: 50px;
        height: 50px;
        bottom: 90px;
        right: 20px;
    }
    
    .back-to-top-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-right {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-input {
        border-radius: 4px;
    }
    
    .subscribe-btn {
        border-radius: 4px;
        width: 100%;
    }
}

