/* =============================================
   FOOTER STYLES - PREMIUM BIOTECH DARK LUXURY
   ============================================= */

.footer {
    position: relative;
    background: linear-gradient(135deg, #3a2808 0%, #5a3e0d 30%, #8c6a1c 60%, #5a3e0d 100%);
    color: #f0e6d2;
    font-family: 'Poppins', 'Inter', sans-serif;
    overflow: hidden;
}

/* Subtle Pattern Overlay */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.06) 0%, transparent 40%),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
}

.footer-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 60px 24px 30px;
}

/* ----- Main Footer Grid (4 Columns) ----- */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

/* Column Headings */
.footer-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, transparent);
    border-radius: 2px;
}

/* ----- COLUMN 1: Brand Info ----- */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.logo-flame {
    width: 100px;
    height: 75px;
    /* background: linear-gradient(145deg, #d4af37, #f5d76e); */
    /* border-radius: 12px; */
    display: flex;
    align-items: center;
    justify-content: start;
    /* box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3); */
    margin: 0px 0px 0px -16px !important;
}

.logo-flame img{
    width: 100%;
    height: 100%;
}

.logo-flame i {
    font-size: 2rem;
    color: #0b0b0b;
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #FFD76A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1px;
}

.footer-description {
    color: #d4d0c8;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD76A;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.15);
}

.social-link:hover {
    background: #d4af37;
    color: #0b0b0b;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px #d4af37, 0 0 15px rgba(212, 175, 55, 0.5);
    border-color: #f5d76e;
}

/* ----- COLUMN 2: Quick Links ----- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #e0d8cc;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.25s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '▹';
    color: #d4af37;
    margin-right: 8px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #FFD76A;
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ----- COLUMN 3: Working Hours ----- */
.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #e0d8cc;
    font-size: 0.95rem;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
    padding-bottom: 8px;
}

.footer-hours .day {
    font-weight: 500;
}

.footer-hours .time {
    color: #ffffff;
    font-weight: 500;
    padding-left: 5px;
}

.footer-hours .time.closed {
    color: #c0a080;
    font-weight: 400;
}

/* ----- COLUMN 4: Our Branches (Map) ----- */
.footer-map {
    margin-top: 10px;
}

.map-container {
    position: relative;
    /* background: rgba(0, 0, 0, 0.2); */
    /* border-radius: 16px; */
    padding: 20px 10px;
    /* border: 1px solid rgba(212, 175, 55, 0.2); */
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map {
    max-width: 100%;
    height: auto;
    opacity: 0.85;
    filter: brightness(0.9) sepia(0.3) hue-rotate(350deg);
}

.map-fallback {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #d4af37;
}

.map-fallback i {
    font-size: 2.5rem;
}

/* Map Pins */
.map-pin {
    position: absolute;
    color: #FFD76A;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s;
    filter: drop-shadow(0 0 8px #d4af37);
}

.map-pin:hover {
    color: #ffffff;
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px #f5d76e);
}

.pin-1 { top: 30%; left: 20%; }
.pin-2 { top: 25%; left: 48%; }
.pin-3 { top: 55%; left: 75%; }
.pin-4 { top: 75%; left: 85%; }
.pin-5 { top: 40%; left: 60%; }

.pin-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #0b0b0b;
    color: #FFD76A;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    white-space: nowrap;
    border: 1px solid #d4af37;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    margin-bottom: 8px;
}

.map-pin:hover .pin-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ----- Contact Row ----- */
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 30px;
    padding: 35px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.25);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1.5px solid #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD76A;
    font-size: 1.3rem;
    transition: all 0.3s;
}

.contact-item:hover .contact-icon {
    background: #d4af37;
    color: #0b0b0b;
    box-shadow: 0 0 20px #d4af37;
}

.contact-text {
    color: #f0e6d2;
    font-size: 1rem;
    font-weight: 400;
}

/* ----- Bottom Bar ----- */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.copyright {
    color: #b8a88a;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ----- Floating AI Button ----- */
.floating-ai {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.ai-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(145deg, #d4af37, #f5d76e);
    padding: 14px 24px;
    border-radius: 60px;
    text-decoration: none;
    color: #0b0b0b;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 245, 200, 0.6);
}

.ai-button i {
    font-size: 1.4rem;
}

.ai-button:hover {
    background: #c9a227;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px -5px #cc9e36, 0 0 30px #f5d76e;
    color: #000;
}

/* ----- Responsive Design ----- */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
    
    .footer-contact {
        justify-content: flex-start;
        gap: 25px 40px;
    }
    
    .floating-ai {
        bottom: 20px;
        right: 20px;
    }
    
    .ai-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 40px 20px 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-links a:hover {
        transform: translateX(0);
    }
    
    .footer-hours li {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-contact {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .contact-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .map-pin {
        font-size: 1rem;
    }
    
    .floating-ai .ai-button span {
        display: none;
    }
    
    .ai-button {
        width: 55px;
        height: 55px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .ai-button i {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        flex-direction: column;
    }
    
    .logo-text {
        font-size: 1.6rem;
    }
    
    .footer-hours li {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        border-bottom: none;
        padding-bottom: 12px;
    }
    
    .footer-hours .day {
        font-weight: 600;
    }
    
    .map-container {
        min-height: 130px;
    }
    
    .pin-tooltip {
        display: none;
    }
}