/* footer.css - FIXED VERSION */

/* 1. GLOBAL SAFETY RESET - Add this to stop words leaving the screen */
*, *::before, *::after {
    box-sizing: border-box;
}

.site-footer {
    background-color: #121212;
    color: #e5e5e0;
    padding: 80px 0 40px;
    border-top: 4px solid #c2a382;
    font-family: 'Inter', sans-serif;
    width: 100%;
    overflow: hidden; /* Prevents stretching */
}

/* 2. THE FIX: Added a container to keep content centered and not touching edges */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Typography */
.footer-col h4 {
    font-family: 'Arvo', serif;
    color: #c2a382;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-desc {
    color: #a0a095;
    line-height: 1.6;
    margin: 20px 0;
    font-size: 0.9rem;
}

/* Links */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #a0a095;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    transition: color 0.3s ease;
    display: inline-block; /* Helps with alignment */
}

.footer-col a:hover {
    color: #c2a382;
}

/* Newsletter - UPDATED FOR FLUENT FORMS */
.tactical-form-wrapper .fluentform {
    padding: 0 !important;
}

.tactical-form-wrapper label {
    display: none !important;
}

.tactical-form-wrapper .ff-el-form-control {
    background: #1a1a17 !important;
    border: 1px solid #33332e !important;
    color: white !important;
    padding: 12px !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.75rem !important;
    border-radius: 0 !important;
    width: 100% !important;
    outline: none !important;
}

.tactical-form-wrapper .ff-btn-submit {
    background: #c2a382 !important;
    border: none !important;
    color: #121212 !important;
    padding: 0 20px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: background 0.3s !important;
    white-space: nowrap !important;
    font-family: 'JetBrains Mono', monospace !important;
    text-transform: uppercase !important;
    width: 100% !important;
    height: 45px !important;
    margin-top: 10px !important;
    border-radius: 0 !important;
}

.tactical-form-wrapper .ff-btn-submit:hover {
    background: #e5e5e0 !important;
}

/* Success Message Fix */
.tactical-form-wrapper .ff-message-success {
    background: #1b1c17 !important;
    border-left: 4px solid #c2a382 !important;
    color: #c2a382 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.7rem !important;
    margin-top: 10px !important;
    padding: 10px !important;
}

/* Bottom Bar */
.footer-divider {
    border: 0;
    border-top: 1px solid #33332e;
    margin-bottom: 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Fixed: allows copyright to wrap on mobile */
    gap: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center; /* Better look for tactical mobile sites */
    }
}