/* ========================================
   JT AUTO RENTAL - PREMIUM FOOTER REDESIGN
   Navy + Teal Luxury Theme
   Version: 2.0
   ======================================== */

/* Premium Footer Styles - ENHANCED NAVY + TEAL THEME */
.premium-footer {
    background: linear-gradient(135deg, #0B132B 0%, #1C2541 50%, #0B132B 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 80px 0 0 0 !important;
}

.premium-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 184, 169, 0.08), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

.premium-footer::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.06), transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 30px) scale(1.1); }
}

.premium-footer .container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

/* Main Footer Content Grid */
.premium-footer .row {
    margin-bottom: 4rem;
}

/* Brand Section - ENHANCED TEAL THEME */
.footer-brand { 
    animation: fadeInUp 0.8s ease-out;
}

.brand-logo { 
    display: flex; 
    align-items: center; 
    gap: 0.875rem; 
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
    flex-wrap: nowrap;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

/* Premium Brand Icon Image for Footer */
.footer-brand .brand-icon-img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.footer-brand:hover .brand-icon-img {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 15px rgba(0, 184, 169, 0.5));
}

.brand-name {
    white-space: nowrap;
    flex-shrink: 0;
}

.brand-logo:hover .brand-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 184, 169, 0.6);
}

.brand-icon {
    width: 56px; 
    height: 56px;
    background: linear-gradient(135deg, #00B8A9 0%, #10B981 100%);
    color: white; 
    border-radius: 16px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.75rem; 
    box-shadow: 0 10px 30px rgba(0, 184, 169, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-name { 
    color: #ffffff; 
    margin: 0; 
    font-weight: 700; 
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    white-space: nowrap;
    line-height: 1.2;
}

.brand-description { 
    color: rgba(255, 255, 255, 0.75); 
    font-size: 0.95rem; 
    line-height: 1.7; 
    margin-bottom: 1.5rem;
    margin-top: 0;
    max-width: 100%;
    clear: both;
}

/* Social Media - ENHANCED TEAL HOVER */
.social-media { 
    margin-top: 0.5rem; 
}

.social-links { 
    display: flex; 
    gap: 1rem; 
}

.social-link {
    width: 45px; 
    height: 45px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: rgba(255, 255, 255, 0.9); 
    font-size: 1.2rem; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative; 
    overflow: hidden;
    text-decoration: none !important;
}

.social-link:focus,
.social-link:active {
    outline: none;
    text-decoration: none !important;
}

.social-link::before {
    content: ''; 
    position: absolute; 
    inset: -2px;
    border-radius: 50%; 
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: -1;
}

.social-link.facebook::before { background: #1877f2; }
.social-link.twitter::before { background: #1da1f2; }
.social-link.instagram::before { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-link.linkedin::before { background: #0077b5; }
.social-link.youtube::before { background: #ff0000; }

.social-link:hover {
    color: #ffffff; 
    border-color: transparent; 
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    background: transparent;
}

.social-link:hover::before { 
    transform: scale(1); 
}

/* Footer Sections - ENHANCED */
.footer-section { 
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    color: #ffffff; 
    font-weight: 700; 
    margin-bottom: 1.8rem; 
    font-size: 1.4rem;
    position: relative; 
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 50px; 
    height: 3px;
    background: linear-gradient(90deg, #00B8A9 0%, #10B981 100%);
    border-radius: 2px;
}

.footer-links { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.footer-links li { 
    margin-bottom: 1rem; 
}

.footer-link {
    color: rgba(255, 255, 255, 0.75); 
    text-decoration: none; 
    font-size: 1.05rem; 
    transition: all 0.3s ease;
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem;
    position: relative;
}

.link-icon { 
    font-size: 0.7rem; 
    opacity: 0; 
    transform: translateX(-10px); 
    transition: all 0.3s ease;
    color: #00B8A9;
}

.footer-link:hover { 
    color: #ffffff; 
    transform: translateX(8px); 
}

.footer-link:hover .link-icon { 
    opacity: 1; 
    transform: translateX(0); 
}

/* Contact Info - ENHANCED TEAL THEME */
.contact-info { 
    display: flex; 
    flex-direction: column; 
    gap: 1.25rem; 
}

.contact-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 1.25rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 184, 169, 0.1);
}

.contact-icon {
    width: 40px; 
    height: 40px;
    background: rgba(0, 184, 169, 0.15);
    border: 1px solid rgba(0, 184, 169, 0.3);
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #00B8A9; 
    font-size: 1.1rem; 
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.15);
    background: rgba(0, 184, 169, 0.2);
    border-color: #00B8A9;
    color: #10B981;
}

.contact-details { 
    display: flex; 
    flex-direction: column; 
    gap: 0.25rem; 
}

.contact-label {
    color: rgba(255, 255, 255, 0.6); 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.8px;
    font-weight: 600;
}

.contact-value {
    color: rgba(255, 255, 255, 0.9); 
    font-size: 1.05rem; 
    font-weight: 500; 
    text-decoration: none; 
    transition: color 0.3s ease;
}

.contact-value:hover { 
    color: #00B8A9; 
}

/* Newsletter - ENHANCED TEAL THEME */
.newsletter-description { 
    color: rgba(255, 255, 255, 0.75); 
    font-size: 1.05rem; 
    margin-bottom: 1.5rem; 
    line-height: 1.7; 
}

.newsletter-form .input-group {
    border-radius: 50px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 184, 169, 0.3);
    backdrop-filter: blur(10px);
    color: #ffffff; 
    padding: 16px 24px; 
    font-size: 1rem;
    border-radius: 50px 0 0 50px !important;
    transition: all 0.3s ease;
}

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

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00B8A9; 
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(0, 184, 169, 0.25);
    outline: none;
}

.newsletter-btn {
    background: linear-gradient(135deg, #00B8A9 0%, #10B981 100%);
    border: none; 
    color: white; 
    padding: 16px 36px; 
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 0 50px 50px 0 !important; 
    transition: all 0.4s ease;
    display: flex; 
    align-items: center; 
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 184, 169, 0.3);
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, #10B981 0%, #00B8A9 100%);
    transform: translateY(-2px); 
    box-shadow: 0 15px 40px rgba(0, 184, 169, 0.5); 
    color: #ffffff;
}

.newsletter-btn i {
    transition: transform 0.3s ease;
}

.newsletter-btn:hover i {
    transform: translateX(5px);
}

.form-feedback { 
    font-size: 0.95rem; 
    color: #00B8A9; 
    margin-top: 0.75rem;
}

/* Footer Divider - ENHANCED TEAL */
.footer-divider { 
    height: 1px; 
    background: linear-gradient(90deg, transparent 0%, rgba(0, 184, 169, 0.5) 50%, transparent 100%); 
    border: none; 
    margin: 0 0 2.5rem 0 !important; 
    opacity: 0.5;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-copyright,
.footer-credit { 
    color: rgba(255, 255, 255, 0.7); 
    font-size: 1rem;
    margin: 0;
}

.footer-copyright strong,
.footer-credit strong { 
    color: #00B8A9;
    font-weight: 600;
}

.footer-copyright a,
.footer-credit a {
    color: #00B8A9;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.footer-copyright a::after,
.footer-credit a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00B8A9 0%, #10B981 100%);
    transition: width 0.3s ease;
}

.footer-copyright a:hover,
.footer-credit a:hover {
    color: #10B981;
}

.footer-copyright a:hover::after,
.footer-credit a:hover::after {
    width: 100%;
}

.heart-beat { 
    animation: heartBeat 1.5s ease-in-out infinite;
    color: #ff6b6b;
    display: inline-block;
}

@keyframes heartBeat {
    0%, 50%, 100% { transform: scale(1); }
    25%, 75% { transform: scale(1.15); }
}

/* Enhanced Back to Top Button - PREMIUM TEAL */
.back-to-top {
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    width: 60px; 
    height: 60px;
    background: linear-gradient(135deg, #00B8A9 0%, #10B981 100%);
    color: white; 
    border: none; 
    border-radius: 50%;
    display: none; 
    align-items: center; 
    justify-content: center;
    font-size: 1.5rem; 
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 184, 169, 0.5);
    z-index: 1000; 
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.back-to-top::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00B8A9 0%, #10B981 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(10px);
}

.back-to-top:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 15px 50px rgba(0, 184, 169, 0.7);
    background: linear-gradient(135deg, #10B981 0%, #00B8A9 100%);
    color: #ffffff;
}

.back-to-top:hover::before {
    opacity: 1;
}

.back-to-top.visible { 
    display: flex; 
    animation: bounceIn 0.6s ease-out; 
}

.back-to-top i { 
    transition: transform 0.3s ease; 
}

.back-to-top:hover i { 
    transform: translateY(-4px); 
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(50px) scale(0.3); }
    50% { opacity: 1; transform: translateY(-15px) scale(1.1); }
    70% { transform: translateY(5px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .premium-footer {
        padding: 60px 0 0 0 !important;
    }
    
    .premium-footer .row {
        margin-bottom: 3rem;
    }
    
    .brand-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .premium-footer {
        padding: 50px 0 0 0 !important;
    }
    
    .footer-brand, 
    .footer-section { 
        text-align: center; 
        margin-bottom: 3rem; 
    }
    
    .brand-logo { 
        justify-content: center; 
    }
    
    .brand-description {
        text-align: center;
    }
    
    .social-links { 
        justify-content: center; 
    }
    
    .contact-item { 
        justify-content: center; 
        text-align: left; 
    }
    
    .section-title::after { 
        left: 50%; 
        transform: translateX(-50%); 
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-link {
        justify-content: center;
    }
    
    .back-to-top { 
        bottom: 20px; 
        right: 20px; 
        width: 55px; 
        height: 55px; 
        font-size: 1.3rem; 
    }
    
    .footer-bottom {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    .premium-footer { 
        padding: 40px 0 0 0 !important; 
    }
    
    .premium-footer .row {
        margin-bottom: 2rem;
    }
    
    .footer-brand,
    .footer-section {
        margin-bottom: 2.5rem;
    }
    
    .brand-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .brand-name {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form .input-group { 
        flex-direction: column;
        border-radius: 50px;
    }
    
    .newsletter-input, 
    .newsletter-btn { 
        border-radius: 50px !important; 
        width: 100%; 
    }
    
    .newsletter-btn { 
        margin-top: 0.75rem;
        justify-content: center;
    }
    
    .back-to-top { 
        width: 50px; 
        height: 50px; 
        font-size: 1.2rem;
        bottom: 15px;
        right: 15px;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
    
    .footer-copyright,
    .footer-credit {
        font-size: 0.9rem;
    }
}