/* AKSIM footer and floating button revamp - safe override layer */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.aksim-footer-v2 {
    font-family: 'Inter', Arial, Helvetica, sans-serif !important;
    color: #eaf2ff;
    background: linear-gradient(135deg, #0b2a4a 0%, #123c69 48%, #f58220 48%, #f58220 100%);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.aksim-footer-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 20%, rgba(255,255,255,.11), transparent 26%), radial-gradient(circle at 88% 80%, rgba(11,42,74,.18), transparent 30%);
    pointer-events: none;
}

.aksim-footer-v2 .container {
    position: relative;
    z-index: 1;
}

.aksim-footer-main {
    padding: 54px 0 42px;
}

.aksim-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr 1fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.aksim-footer-brand,
.aksim-footer-links,
.aksim-footer-contact {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    padding: 24px 24px 22px;
    min-height: 100%;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
    backdrop-filter: blur(4px);
}

.aksim-footer-logo {
    display: inline-flex;
    width: 118px;
    height: 118px;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    margin-bottom: 18px;
}

.aksim-footer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.aksim-footer-v2 h3 {
    font-size: 22px;
    line-height: 1.32;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px;
}

.aksim-footer-v2 h4 {
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255,255,255,.25);
}

.aksim-footer-v2 p {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,.92);
    margin: 0 0 12px;
}

.aksim-footer-v2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aksim-footer-v2 li {
    margin: 0 0 11px;
}

.aksim-footer-v2 a {
    color: rgba(255,255,255,.94) !important;
    font-size: 16.5px;
    line-height: 1.45;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .2s ease;
}

.aksim-footer-v2 a:hover,
.aksim-footer-v2 a:focus {
    color: #fff6c9 !important;
    padding-left: 4px;
}

.aksim-footer-contact strong {
    color: #ffffff;
    font-weight: 800;
}

.aksim-footer-bottom {
    background: rgba(5,20,36,.92);
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    padding: 18px 15px;
    border-top: 1px solid rgba(255,255,255,.16);
}

/* Remove old footer artefacts when old theme CSS is present */
.footer.footer2,
.footer.footer2 .bottom {
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* Floating action buttons: scroll-top above, WhatsApp below on right */
a.scroll-top {
    right: 24px !important;
    left: auto !important;
    bottom: 96px !important;
    width: 54px !important;
    height: 54px !important;
    line-height: 54px !important;
    border-radius: 50% !important;
    background: #0b8f3a !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.24) !important;
    z-index: 9998 !important;
}

.whatsapp-float {
    position: fixed !important;
    right: 22px !important;
    left: auto !important;
    bottom: 24px !important;
    z-index: 9999 !important;
    width: 62px !important;
    height: 62px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #22c55e !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.28) !important;
    transition: transform .2s ease, box-shadow .2s ease !important;
}

.whatsapp-float img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: none !important;
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.04) !important;
    box-shadow: 0 16px 34px rgba(0,0,0,.32) !important;
}

@media (max-width: 1199px) {
    .aksim-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .aksim-footer-main {
        padding: 34px 0 28px;
    }
    .aksim-footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .aksim-footer-brand,
    .aksim-footer-links,
    .aksim-footer-contact {
        padding: 20px;
        border-radius: 15px;
    }
    .aksim-footer-v2 h3 {
        font-size: 20px;
    }
    .aksim-footer-v2 h4 {
        font-size: 19px;
    }
    .aksim-footer-v2 a,
    .aksim-footer-v2 p,
    .aksim-footer-bottom {
        font-size: 15.5px;
    }
    a.scroll-top {
        width: 48px !important;
        height: 48px !important;
        line-height: 48px !important;
        right: 18px !important;
        bottom: 86px !important;
    }
    .whatsapp-float {
        width: 56px !important;
        height: 56px !important;
        right: 16px !important;
        bottom: 20px !important;
    }
    .whatsapp-float img {
        width: 46px !important;
        height: 46px !important;
    }
}
