/* ================================================================
   AVESTA TRAVEL — Footer
================================================================ */

.main-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.75);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 10% 100%, rgba(232,93,4,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 90% 0%, rgba(245,158,11,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-inner { position: relative; z-index: 1; }

/* ── Top section ── */
.footer-top {
    padding: 30px 0 10px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Brand column */
.footer-brand {
    --footer-brand-content-w: 286px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-brand .logo-mark {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.footer-brand .brand-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand p,
.footer-brand .footer-brand-p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    max-width: var(--footer-brand-content-w);
    margin-bottom: 14px;
}

.footer-brand .footer-brand-licenses {
    width: min(100%, var(--footer-brand-content-w));
    max-width: var(--footer-brand-content-w);
    display: flex;
    align-items: flex-end;
    gap: 7px;
    margin-bottom: 24px;
}

.footer-brand .footer-brand-licenses img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.footer-brand .footer-license-tursab {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 86px;
    object-fit: contain;
    object-position: left center;
}

.footer-brand .footer-license-dto {
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    object-fit: contain;
    object-position: center;
}

/* Social links */
.footer-socials { display: flex; gap: 10px; }
.social-btn {
    width: 38px; height: 38px;
    border-radius: 9px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.55);
    transition: all var(--duration-fast);
    cursor: pointer;
    text-decoration: none;
}
.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Nav columns */
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--duration-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}
.footer-col ul li a::before {
    content: '';
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--duration-fast);
    flex-shrink: 0;
}
.footer-col ul li a:hover { color: #fff; }
.footer-col ul li a:hover::before { opacity: 1; }

/* Contact items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 14px;
    line-height: 1.5;
}
.footer-contact-item .icon {
    flex-shrink: 0;
    margin-top: 1px;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,0.35);
}

/* ── Bottom bar ── */
.footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-copy a { color: var(--primary); text-decoration: none; }

.footer-badges { display: flex; gap: 8px; }
.footer-badge {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
