/* ============================================
   Ace Flight Center - Footer Styles
   ============================================ */

/* Main Footer */
.site-footer {
    background: var(--color-navy);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: relative;
    background-image: url('../img/footer image.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #001C42;
}

.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 50, 0.15);
    pointer-events: none;
}

.footer-main {
    position: relative;
    z-index: 2;
    padding: 115px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr 1.4fr;
    gap: 30px;
}

/* Footer Brand */
.footer-brand {
    padding-right: var(--space-xl);
}

.footer-logo {
    height: 100px;
    width: auto;
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

/* Footer Columns */
.footer-col-title {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-red);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    transition: all var(--transition-fast);
}

.footer-links a::before {
    content: '›';
    color: var(--color-red);
    font-size: var(--text-lg);
    font-weight: var(--font-weight-bold);
    transition: transform var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.footer-contact-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 3px;
}

.footer-contact-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-red);
}

.footer-contact-text {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.footer-contact-text a {
    color: rgba(255,255,255,0.7);
}

.footer-contact-text a:hover {
    color: var(--color-red);
}

/* Newsletter & Certifications Section */
.footer-newsletter {
    position: relative;
    z-index: 2;
    padding: 35px 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.footer-bottom-widgets {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    max-width: 66%;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 3;
}

/* 1. Stay In The Loop Widget */
.widget-stay-loop {
    display: flex;
    flex-direction: column;
}

.stay-loop-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.stay-loop-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stay-loop-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(218, 0, 19, 0.4));
    animation: loopPaperPlane 3s ease-in-out infinite;
}

@keyframes loopPaperPlane {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(-3deg); }
}

.stay-loop-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
    font-family: var(--font-primary);
}

.stay-loop-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
    margin: 0;
}

.loop-form {
    width: 100%;
}

.loop-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(0, 18, 45, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 3px 4px 3px 18px;
    max-width: 400px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.loop-input-wrap:focus-within {
    border-color: #DA0013;
    box-shadow: 0 0 10px rgba(218, 0, 19, 0.35);
}

.loop-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 12.5px;
    color: #FFFFFF;
    font-family: var(--font-primary);
    padding: 8px 0;
}

.loop-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

.loop-btn {
    background: #DA0013;
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 9px 20px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.loop-btn:hover {
    background: #b8000f;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(218, 0, 19, 0.5);
}

.loop-btn-plane {
    width: 14px;
    height: 14px;
}

/* 2. FAA Certified & Trusted Widget */
.widget-faa-certified {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: 1px dashed rgba(255, 255, 255, 0.15);
    padding-left: 30px;
}

.faa-widget-title {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    font-family: var(--font-primary);
}

.faa-accent-line {
    position: relative;
    display: inline-block;
}

.faa-accent-line::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: #DA0013;
    border-radius: 2px;
}

.faa-badges-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.faa-badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.faa-seal-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.faa-seal-img:hover {
    transform: scale(1.05);
}

.faa-badge-divider {
    width: 1px;
    height: 42px;
    background: rgba(255, 255, 255, 0.2);
}

.faa-wings-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.faa-wings-img:hover {
    transform: scale(1.05);
}

/* 3. Full-bleed Take Flight Graphic (Pinned right to the window edge) */
.footer-plane-swoosh-edge {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 36%;
    max-width: 600px;
    min-width: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.take-flight-graphic-full {
    width: 100%;
    height: auto;
    max-height: 135px;
    object-fit: contain;
    object-position: right bottom;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-newsletter:hover .take-flight-graphic-full {
    transform: translateX(-4px) scale(1.02);
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-credit {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-credit a {
    color: #DA0013;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-credit a:hover {
    color: #FFFFFF;
}
