/* ═══════════════════════════════════════
   footer.css — Apex Awards Advanced Footer
═══════════════════════════════════════ */

.site-footer {
    background: #1a1408;
    color: #c8b87a;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

/* ── Gold top border glow ── */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #D4AF37, #F9D976, #D4AF37, transparent);
}

/* ── Footer Top ── */
.footer-top {
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 3rem;
}

/* ── Brand Column ── */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    text-decoration: none;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E6B422, #D4AF37);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1408;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #F9D976;
    letter-spacing: -0.3px;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #9a8a5a;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

/* ── Social Icons ── */
.footer-socials {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #c8b87a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}

.social-btn:hover {
    background: #D4AF37;
    color: #1a1408;
    border-color: #D4AF37;
    transform: translateY(-2px);
}

/* ── Footer Columns ── */
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #F9D976;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.6rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #D4AF37;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col ul li a {
    color: #9a8a5a;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s, padding-left 0.2s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-col ul li a:hover {
    color: #F9D976;
    padding-left: 4px;
}

.footer-col ul li a i {
    font-size: 0.7rem;
    color: #D4AF37;
    opacity: 0.7;
}

/* ── Newsletter Column ── */
.footer-newsletter p {
    font-size: 0.875rem;
    color: #9a8a5a;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #f0e8c8;
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input::placeholder {
    color: #6a5a3a;
}

.newsletter-form input:focus {
    border-color: #D4AF37;
}

.newsletter-form button {
    background: linear-gradient(135deg, #E6B422, #D4AF37);
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: #1a1408;
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.newsletter-form button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.newsletter-msg {
    font-size: 0.78rem;
    min-height: 1rem;
    color: #6dbb6d;
}

/* ── Footer Middle: Contact Bar ── */
.footer-contact-bar {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #9a8a5a;
}

.contact-item i {
    color: #D4AF37;
    font-size: 0.95rem;
}

.contact-item a {
    color: #9a8a5a;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #F9D976;
}

/* ── Footer Bottom ── */
.footer-bottom {
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom-left {
    font-size: 0.82rem;
    color: #6a5a3a;
}

.footer-bottom-left span {
    color: #D4AF37;
}

.footer-bottom-right {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    font-size: 0.82rem;
    color: #6a5a3a;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-right a:hover {
    color: #D4AF37;
}

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #E6B422, #D4AF37);
    color: #1a1408;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 500;
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-bar {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .back-to-top {
        bottom: 1.2rem;
        right: 1.2rem;
    }
}