/* ================================================
   LALITH TOURS AND TRAVELS
   PREMIUM FOOTER
================================================ */

.site-footer {
    --footer-teal: #075F64;
    --footer-teal-light: #087E83;
    --footer-coral: #FF7867;
    --footer-white: #ffffff;
    --footer-muted: #B8C9C9;
    --footer-line: rgba(255, 255, 255, 0.13);

    position: relative;
    overflow: clip;
    background: var(--footer-teal);
    color: var(--footer-white);
    font-family: "Poppins", sans-serif;
}

.site-footer,
.site-footer * {
    box-sizing: border-box;
}

.footer-container {
    width: min(calc(100% - 64px), 1440px);
    margin-inline: auto;
}

/* ================================================
   MAIN FOOTER
================================================ */

.footer-main {
    padding: 68px 0 52px;
    background:
        radial-gradient(
            ellipse at 85% 10%,
            rgba(44, 155, 151, 0.18),
            transparent 40%
        ),
        linear-gradient(
            115deg,
            #075F64,
            #084F55
        );
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.9fr 1fr 1.12fr;
    gap: clamp(28px, 3.2vw, 54px);
    align-items: start;
}

/* ================================================
   BRAND
================================================ */

.footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    margin-bottom: 15px;
}

.footer-logo img {
    display: block;
    width: 190px;
    max-width: 100%;
    height: 76px;
    object-fit: contain;
    object-position: left center;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .footer-logo:hover img {
        transform: translateY(-2px);
    }
}

.footer-description {
    margin: 0;
    color: var(--footer-muted);
    font-size: 13px;
    line-height: 1.95;
}

/* ================================================
   SOCIAL MEDIA
================================================ */

.footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 23px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: #e5f1f0;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-social[aria-label="Instagram"] svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.footer-social[aria-label="Instagram"] .social-dot {
    fill: currentColor;
    stroke: none;
}

@media (hover: hover) {
    .footer-social:hover {
        color: var(--footer-white);
        background: var(--footer-coral);
        border-color: var(--footer-coral);
        transform: translateY(-4px);
    }
}

/* ================================================
   COLUMN HEADINGS
================================================ */

.footer-heading {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 14px;
    color: var(--footer-white);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}

.footer-heading::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    content: "";
    background: var(--footer-line);
}

.footer-heading::before {
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 1;
    width: 40px;
    height: 2px;
    content: "";
    background: var(--footer-coral);
    transition: width 0.3s ease;
}

@media (hover: hover) {
    .footer-column:hover .footer-heading::before {
        width: 70px;
    }
}

/* ================================================
   FOOTER LINKS
================================================ */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin: 0;
    padding: 0;
}

.footer-links a {
    display: inline-flex;
    align-items: flex-start;
    padding: 6px 0;
    color: #E1EEEE;
    font-size: 13px;
    line-height: 1.7;
    text-decoration: none;
    transition:
        color 0.22s ease,
        padding-left 0.22s ease;
}

@media (hover: hover) {
    .footer-links a:hover {
        padding-left: 6px;
        color: var(--footer-coral);
    }
}

/* ================================================
   CONTACT DETAILS
================================================ */

.footer-contact {
    min-width: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 17px;
    color: #E2EEEE;
    font-size: 12.5px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color 0.22s ease;
}

.contact-item > svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin-top: 3px;
    fill: var(--footer-coral);
}

a.contact-item:hover {
    color: var(--footer-coral);
}

/* ================================================
   GOOGLE MAPS
================================================ */

.footer-map {
    width: 100%;
    margin-top: 22px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #174F53;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 160px;
    border: 0;
    filter: saturate(0.85);
    transition: filter 0.3s ease;
}

@media (hover: hover) {
    .footer-map:hover iframe {
        filter: saturate(1);
    }
}

.map-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--footer-coral);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.22s ease;
}

@media (hover: hover) {
    .map-directions:hover {
        gap: 13px;
    }
}

/* ================================================
   BOTTOM BAR
================================================ */

.footer-bottom {
    padding: 23px 0 14px;
    background: #043E43;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 19px;
    border-bottom: 1px solid var(--footer-line);
}

.copyright {
    margin: 0;
    color: #B0C5C5;
    font-size: 12px;
    line-height: 1.8;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-legal a {
    color: #B0C5C5;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--footer-coral);
}

/* ================================================
   DEVELOPER CREDIT
================================================ */

.developer-credit {
    padding: 16px 20px 0;
    color: #9AB1B1;
    font-size: 11px;
    text-align: center;
}

.developer-credit a {
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.developer-credit a:hover {
    color: var(--footer-coral);
}

/* ================================================
   BACK TO TOP
================================================ */

.back-to-top {
    position: absolute;
    top: -33px;
    right: max(24px, calc((100% - 1440px) / 2));
    z-index: 5;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    padding: 0;

    color: var(--footer-white);
    background: var(--footer-coral);
    border: 0;
    border-radius: 50%;
    cursor: pointer;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.back-to-top svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (hover: hover) {
    .back-to-top:hover {
        background: #F45F50;
        box-shadow: 0 10px 26px rgba(255, 120, 103, 0.24);
        transform: translateY(-4px);
    }
}

/* ================================================
   KEYBOARD ACCESSIBILITY
================================================ */

.site-footer a:focus-visible,
.site-footer button:focus-visible {
    outline: 3px solid var(--footer-coral);
    outline-offset: 4px;
}

/* ================================================
   TABLET
================================================ */

@media (max-width: 1100px) {
    .footer-container {
        width: calc(100% - 48px);
    }

    .footer-main {
        padding: 55px 0 42px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 45px;
        row-gap: 42px;
    }

    .footer-brand {
        max-width: 420px;
    }

    .footer-map {
        max-width: 460px;
    }

    .back-to-top {
        right: 24px;
    }
}

/* ================================================
   MOBILE
================================================ */

@media (max-width: 600px) {
    .footer-container {
        width: calc(100% - 36px);
    }

    .footer-main {
        padding: 42px 0 35px;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-logo {
        margin-bottom: 12px;
    }

    .footer-logo img {
        width: 170px;
        height: 68px;
    }

    .footer-description {
        font-size: 13px;
        line-height: 1.85;
    }

    .footer-socials {
        gap: 11px;
        margin-top: 19px;
    }

    .footer-social {
        width: 42px;
        height: 42px;
    }

    .footer-heading {
        margin-bottom: 16px;
        font-size: 16px;
    }

    .footer-links a {
        padding: 5px 0;
        font-size: 13px;
    }

    .contact-item {
        margin-bottom: 14px;
        font-size: 13px;
    }

    .footer-map {
        max-width: none;
        margin-top: 18px;
        aspect-ratio: 16 / 10;
    }

    .footer-map iframe {
        min-height: 190px;
    }

    .footer-bottom {
        padding-top: 22px;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-bottom: 17px;
    }

    .copyright {
        font-size: 11px;
    }

    .footer-legal {
        gap: 19px;
    }

    .footer-legal a {
        font-size: 11px;
    }

    .developer-credit {
        padding: 15px 36px 5px 16px;
        font-size: 10px;
        line-height: 1.8;
    }

    .back-to-top {
        top: -25px;
        right: 16px;
        width: 48px;
        height: 48px;
    }

    .back-to-top svg {
        width: 23px;
        height: 23px;
    }
}

/* ================================================
   VERY SMALL PHONES
================================================ */

@media (max-width: 360px) {
    .footer-container {
        width: calc(100% - 28px);
    }

    .footer-main {
        padding-top: 35px;
    }

    .footer-grid {
        gap: 28px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-description,
    .footer-links a,
    .contact-item {
        font-size: 12px;
    }

    .footer-legal {
        gap: 14px;
    }
}

/* ================================================
   REDUCED MOTION
================================================ */

@media (prefers-reduced-motion: reduce) {
    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}