/* --- head/footer_style.css --- */

:root {
    --footer-bg: linear-gradient(135deg, #2E8B57 0%, #4CBB8D 100%);
    --footer-text: #ffffff;
    --primary-color: #4CBB8D;
}

.main-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 70px 0 90px 0; 
    font-family: 'Noto Sans Georgian', sans-serif;
    margin-top: 60px;
    position: relative;
    box-shadow: 0 -10px 30px rgba(76, 187, 141, 0.15); 
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
}

.footer-col h4 {
    margin: 0 0 25px 0;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff; 
    position: relative;
    padding-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 0.5px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9); 
    line-height: 1.7;
}

.footer-logo-box {
    margin-top: 20px; 
    background: rgba(255,255,255,0.95); 
    padding: 12px 15px; 
    border-radius: 12px; 
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.footer-logo-box:hover {
    transform: translateY(-3px);
}

.footer-logo-box img {
    max-width: 130px;
    display: block;
}

/* Social Links */
.social-links {
    margin-top: 25px;
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #ffffff;
}

/* Contact List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li { margin-bottom: 15px; }

.contact-list a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.contact-list a i {
    color: #ffffff;
    font-size: 16px;
    background: rgba(255,255,255,0.15); 
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-list a:hover {
    color: #ffffff;
    transform: translateX(8px);
}

.contact-list a:hover i {
    background: rgba(255,255,255,0.3);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transform: scale(1.05);
}

/* Copyright */
.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 60px;
    padding-top: 25px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 15px;
    padding-right: 15px;
    letter-spacing: 0.3px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1900;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #fff;
}

.float-btn:hover {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-messenger { background-color: #0084FF; } 
.btn-phone { background-color: #E74C3C; border-color: #fff; } 

/* Mobile Bottom Nav (Desktop State) */
.mobile-bottom-nav { display: none; }

/* --- MOBILE RESPONSIVENESS (< 768px) --- */
@media (max-width: 768px) {
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 45px;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%); 
    }

    .contact-list a { justify-content: center; }
    .social-links { justify-content: center; }

    .floating-buttons {
        bottom: 105px; /* აიწია ოდნავ ზემოთ მობილურზე */
        right: 15px;
    }
    
    .float-btn { width: 48px; height: 48px; font-size: 20px; }

    /* 🛑 ახალი პრემიუმ მობილური ნავიგაცია (შესამჩნევი დიზაინით) 🛑 */
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 0 -10px 30px rgba(0,0,0,0.08); /* მკვეთრი, ლამაზი ჩრდილი */
        border-top-left-radius: 24px; /* 🛑 ზედა კუთხეების მომრგვალება 🛑 */
        border-top-right-radius: 24px;
        z-index: 2000;
        padding: 10px 10px; 
        justify-content: space-around;
        align-items: center;
        border-top: 1px solid rgba(255,255,255,0.8);
        padding-bottom: calc(10px + env(safe-area-inset-bottom)); 
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #94a3b8; /* ნაზი ნაცრისფერი */
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        gap: 5px;
        width: 65px;
        height: 55px; 
        border-radius: 16px; /* Squircle კაფსულა დაჭერისას */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 22px; 
        transition: transform 0.3s ease, color 0.3s ease;
    }

    /* Hover / Active ეფექტები (დაჭერისას ინთება მწვანედ) */
    .mobile-bottom-nav .nav-item:hover,
    .mobile-bottom-nav .nav-item:active,
    .mobile-bottom-nav .nav-item.active {
        color: #4CBB8D; 
        background: #f0fdf4; 
        transform: translateY(-2px);
    }

    .mobile-bottom-nav .nav-item:active i {
        transform: scale(0.85); /* შეკუმშვის ანიმაცია */
    }

    /* კალათის ბეიჯი */
    .nav-cart-count {
        position: absolute;
        top: 2px;
        right: 14px; 
        background: #E74C3C; 
        color: white;
        font-size: 10px;
        font-weight: 800;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 2px solid #ffffff; 
        box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
    }
}