/* -------------------------------------- */
/* Production Footer CSS Layout (Dark)    */
/* -------------------------------------- */

.footer-section {
    background-color: #0A0A0A;
    /* Premium solid dark backdrop */
    color: var(--color-white);
    padding: 70px 0 35px 0;
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Soft border separating from CTA */
}

/* Subtle amber spotlight glow in bottom-right corner */
.footer-glow-layer {
    position: absolute;
    bottom: -120px;
    right: 0;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(234, 161, 15, 0.045) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    /* Aligned with global container padding */
    position: relative;
    z-index: 5;
}

/* 5 Column Grid Layout matching the sitemap image layout */
.footer-grid {
    display: grid;
    grid-template-columns: 3.2fr 2fr 2fr 2.6fr 2.2fr;
    gap: 32px;
    padding-bottom: 40px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Brand block logo height matching Services */
.footer-logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 60px;
    /* Larger height for clear legibility */
    width: auto;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 0 1px rgba(255, 255, 255, 0.25));
    /* High contrast highlight */
}

.brand-desc {
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 500;
    color: #9CA3AF;
    line-height: 1.6;
    margin: 0 0 15px 0;
    max-width: 230px;
}

/* Circular minimal social buttons grid */
.footer-social-icons {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.social-circle-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
    text-transform: lowercase;
}

.social-circle-btn:hover {
    background-color: var(--color-gold-start);
    color: var(--color-black);
    transform: translateY(-2px);
}

/* Sitemap Heading Tags */
.footer-col-title {
    font-family: var(--font-primary);
    font-size: 0.62rem;
    /* Compact 10px equivalent */
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-gold-start);
    letter-spacing: 0.12em;
    margin: 4px 0 18px 0;
}

/* Links lists styling */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    text-decoration: none;
    font-size: 0.72rem;
    /* 11px equivalent */
    font-weight: 600;
    color: #9CA3AF;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-gold-start);
}

/* Contact information listing details */
.connect-channels {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.connect-channel-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.channel-icon {
    color: var(--color-gold-start);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

.footer-svg-icon {
    width: 13px;
    height: 13px;
    stroke-width: 2.2px;
}

.channel-info-stack {
    display: flex;
    flex-direction: column;
}

.channel-primary-val {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-smooth);
    line-height: 1.3;
}

.channel-primary-val:hover {
    color: var(--color-gold-start);
}

.channel-secondary-val {
    font-size: 0.65rem;
    font-weight: 600;
    color: #6B7280;
    text-decoration: none;
    margin-top: 1px;
}

.channel-address-val {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9CA3AF;
    line-height: 1.45;
}

/* Google Map Frame Visual Container */
.footer-map-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    cursor: pointer;
}

.footer-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.5s ease;
    pointer-events: none;
    /* Disables frame drag inside footer scrollers */
}

.footer-map-container:hover .footer-map-iframe {
    filter: grayscale(0);
    opacity: 0.95;
}

/* Map Target Target Pin Overlay */
.map-pin-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-pin-outer {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #000;
    border: 2px solid #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: pin-bounce 1.2s infinite ease-in-out;
}

.map-pin-inner {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-gold-start);
    display: inline-block;
}

@keyframes pin-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* 3-Part Bottom copyright & developer attribution bar styling */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    margin-top: 30px;
    width: 100%;
}

.copyright-text {
    font-size: 0.62rem;
    font-weight: 800;
    color: #6B7280;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.created-by-text {
    font-size: 0.65rem;
    font-weight: 800;
    color: #6B7280;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
}

.highlight-netex {
    text-decoration: none;
    color: var(--color-gold-start);
    font-weight: 900;
    transition: var(--transition-smooth);
    text-shadow: 0 0 10px rgba(234, 161, 15, 0.2);
}

.highlight-netex:hover {
    color: var(--color-gold-end);
    text-shadow: 0 0 15px rgba(234, 161, 15, 0.4);
}

.footer-credit {
    font-size: 0.62rem;
    font-weight: 800;
    color: #6B7280;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Responsive grid adjustments */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .map-col,
    .brand-col {
        grid-column: span 2;
    }

    .footer-map-container {
        max-width: 320px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .map-col,
    .brand-col {
        grid-column: span 1;
    }

    .footer-map-container {
        max-width: 100%;
    }
}