/* =============================================================================
   VNCPC Footer Styles
   File: vncpc-footer.css
   Covers: footer columns, links, contact info, socket bar
   ============================================================================= */

/* =============================================================================
   1. MAIN FOOTER
   ============================================================================= */

#top #footer {
    background: var(--vncpc-dark-green) !important;
    color: rgba(255, 255, 255, 0.80);
}

#top #footer .container,
#top #footer .inner-container {
    padding-top: 72px;
    padding-bottom: 56px;
}

/* Footer headings */
#top #footer h2,
#top #footer h3,
#top #footer h4,
#top #footer .widget-title,
#top #footer p.widgettitle {
    font-family: var(--vncpc-font) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--vncpc-white) !important;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 18px !important;
    padding-bottom: 0 !important;
    border: none !important;
}

/* Footer links */
#top #footer a {
    color: rgba(255, 255, 255, 0.70) !important;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.2s ease !important;
}

#top #footer a:hover {
    color: var(--vncpc-accent) !important;
}

/* Footer paragraphs */
#top #footer p,
#top #footer li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
    font-family: var(--vncpc-font);
}

/* Footer nav list */
#top #footer ul.simple_menu,
#top #footer ul.side_nav_widget,
#top #footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#top #footer ul.simple_menu li,
#top #footer .widget ul li {
    padding: 0 0 8px 0;
    border-bottom: none;
}

#top #footer ul.simple_menu li::before,
#top #footer .widget ul li::before {
    content: '→';
    color: var(--vncpc-accent);
    margin-right: 7px;
    font-size: 12px;
    transition: margin-right 0.15s ease;
    display: inline-block;
}

#top #footer ul.simple_menu li:hover::before,
#top #footer .widget ul li:hover::before {
    margin-right: 10px;
}

/* Footer social icons */
#top #footer .av-social-widget-link a {
    color: rgba(255, 255, 255, 0.60) !important;
    transition: color 0.2s ease !important;
}

#top #footer .av-social-widget-link a:hover {
    color: var(--vncpc-accent) !important;
}

/* Footer divider */
#top #footer .footer-divider,
#top #footer hr {
    border-color: rgba(255, 255, 255, 0.10);
    margin: 40px 0;
}

/* Logo in footer */
#top #footer .avia-logo-element-container img,
#top #footer .av-logo-in-footer img {
    max-height: 55px;
    width: auto;
    opacity: 0.90;
    filter: brightness(0) invert(1);
}

/* Footer address */
#top #footer address {
    font-style: normal;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.70);
    line-height: 1.7;
}

/* =============================================================================
   2. SOCKET BAR (bottom bar)
   ============================================================================= */

#top #socket {
    background: rgba(0, 0, 0, 0.25) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 18px 0 !important;
}

#top #socket .socket_color,
#top #socket p,
#top #socket a {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-family: var(--vncpc-font) !important;
}

#top #socket a:hover {
    color: var(--vncpc-accent) !important;
}

/* =============================================================================
   3. FOOTER CONTACT INFO BLOCK
   ============================================================================= */

.vncpc-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vncpc-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.vncpc-footer-contact-item .icon {
    width: 18px;
    height: 18px;
    fill: var(--vncpc-accent);
    color: var(--vncpc-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

/* =============================================================================
   4. FOOTER NEWSLETTER (if used)
   ============================================================================= */

.vncpc-footer-newsletter input[type="email"] {
    background: rgba(255, 255, 255, 0.10);
    border: 1.5px solid rgba(255, 255, 255, 0.20);
    border-radius: var(--vncpc-radius-full) 0 0 var(--vncpc-radius-full);
    padding: 11px 18px;
    color: var(--vncpc-white);
    font-family: var(--vncpc-font);
    font-size: 14px;
    outline: none;
    width: 100%;
    transition: border-color 0.2s ease;
}

.vncpc-footer-newsletter input[type="email"]:focus {
    border-color: var(--vncpc-accent);
}

.vncpc-footer-newsletter input[type="submit"],
.vncpc-footer-newsletter button {
    background: var(--vncpc-accent);
    border: none;
    border-radius: 0 var(--vncpc-radius-full) var(--vncpc-radius-full) 0;
    padding: 11px 20px;
    color: var(--vncpc-dark-green);
    font-family: var(--vncpc-font);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vncpc-footer-newsletter input[type="submit"]:hover,
.vncpc-footer-newsletter button:hover {
    background: var(--vncpc-white);
}

/* =============================================================================
   5. FOOTER COLUMN LAYOUT (force 3 columns)
   ============================================================================= */

@media only screen and (min-width: 768px) {
    #top #footer .container > .flex_column.av_one_fourth {
        width: 30.66% !important;
        margin-left: 4% !important;
        float: left !important;
    }

    #top #footer .container > .flex_column.av_one_fourth.first {
        margin-left: 0 !important;
    }

    /* Hide the 4th footer column to keep exactly 3 columns */
    #top #footer .container > .flex_column.av_one_fourth:nth-of-type(4) {
        display: none !important;
    }
}
