/* ============================================
   REVVED UP CARS - CUSTOM FOOTER STYLES
   Clean, Modern Footer Component
   Version: 1.0.0
   ============================================ */

/* ============================================
   FOOTER BASE
   ============================================ */
.revved-footer {
    background: #1E1E1E;
    color: #ffffff;
    margin-top: 60px;
}

.revved-footer .revved-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   FOOTER MAIN SECTION
   ============================================ */
.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #C5D631;
    display: inline-block;
}

/* ============================================
   ABOUT COLUMN
   ============================================ */
.footer-logo {
    margin-bottom: 16px;
}

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

.footer-tagline {
    color: #C5D631;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.footer-description {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: #C5D631;
    color: #1E1E1E;
    transform: translateY(-3px);
}

/* ============================================
   FOOTER MENUS
   ============================================ */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu li a {
    color: #aaaaaa;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-menu li a:hover {
    color: #C5D631;
    padding-left: 5px;
}

.footer-menu .cat-count {
    color: #666666;
    font-size: 12px;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.footer-newsletter p {
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.newsletter-form {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
}

.newsletter-form input[type="email"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #888888;
}

.newsletter-form button {
    background: #C5D631;
    border: none;
    padding: 12px 18px;
    color: #1E1E1E;
    cursor: pointer;
    transition: background 0.25s ease;
}

.newsletter-form button:hover {
    background: #b5c42a;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    color: #888888;
    font-size: 13px;
    margin: 0;
}

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

.footer-legal a {
    color: #888888;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: #C5D631;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #C5D631;
    color: #1E1E1E;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

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

.back-to-top:hover {
    background: #b5c42a;
    transform: translateY(-3px);
}

.back-to-top i {
    font-size: 18px;
}

/* ============================================
   HIDE OLD LEGACY FOOTER
   ============================================ */
.revved-footer,
.revved-footer-top,
.revved-footer-bottom,
footer.revved-footer,
.back-top-btn {
    display: none !important;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 575px) {
    .footer-main {
        padding: 40px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-about {
        grid-column: span 1;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}
