/* css/footer.css - Advanced SEO Edition */

.site-footer {
    background-color: #0f172a;
    /* Slate 900 */
    color: #cbd5e1;
    /* Slate 300 */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin-top: 60px;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 1. SEO Block */
.footer-seo-block {
    background-color: #1e293b;
    /* Slate 800 */
    padding: 40px 0;
    border-bottom: 1px solid #334155;
}

.footer-seo-block h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-seo-block p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 900px;
}

.footer-seo-block strong {
    color: #e2e8f0;
}

/* 2. Main Content Grid */
.footer-main-content {
    padding: 50px 0;
}

.footer-grid-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    /* Brand col wider */
    gap: 40px;
}

@media (max-width: 992px) {
    .footer-grid-main {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* Brand Column */
.brand-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #3b82f6;
    /* Primary blue */
    font-weight: 600;
    margin: -10px 0 0 0;
}

.brand-mission {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #94a3b8;
    margin-bottom: 10px;
}

/* Search */
.footer-search-form {
    display: flex;
    margin-bottom: 15px;
}

.footer-search-form input {
    flex: 1;
    padding: 10px 15px;
    border-radius: 6px 0 0 6px;
    border: 1px solid #334155;
    background: #020617;
    color: #fff;
    font-size: 0.9rem;
    outline: none;
}

.footer-search-form button {
    padding: 0 15px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-search-form button:hover {
    background: #2563eb;
}

/* Social & Legal */
.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-social a {
    color: #94a3b8;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #fff;
}

.footer-legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
}

.footer-legal-links li {
    margin-bottom: 5px;
}

.footer-legal-links a {
    color: #64748b;
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: #94a3b8;
    text-decoration: underline;
}

/* Columns Headers & Links */
.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #60a5fa;
    transform: translateX(3px);
}

/* Highlight Links (Monetization) */
.highlight-links a {
    color: #e2e8f0;
}

.highlight-links a:hover {
    color: #fbbf24;
    /* Amber for money/gold feel */
}

/* 4. Provinces Block */
.footer-provinces-block {
    background-color: #020617;
    /* Darker */
    padding: 40px 0;
    border-top: 1px solid #1e293b;
}

.footer-provinces-block h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-align: center;
}

.provinces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px 20px;
}

.provinces-grid a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.provinces-grid a:hover {
    color: #3b82f6;
}

/* 5. Owner CTA */
.footer-owners-cta {
    background: linear-gradient(90deg, #1e40af 0%, #3b82f6 100%);
    padding: 30px 0;
    color: white;
}

.footer-owners-cta .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cta-icon {
    font-size: 2.5rem;
}

.cta-text {
    display: flex;
    flex-direction: column;
}

.cta-text strong {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.cta-text span {
    font-size: 0.95rem;
    opacity: 0.9;
}

.btn-cta-footer {
    background-color: white;
    color: #1d4ed8;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.btn-cta-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .footer-owners-cta .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

/* 6. Footer Bottom */
.footer-bottom {
    background-color: #000;
    padding: 20px 0;
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
}

.copyright-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.source-info a {
    color: #94a3b8;
    text-decoration: underline;
}

.source-info a:hover {
    color: #fff;
}