/* ============================================================
   footer-style.css — Room & Property Footer
   Upload to: /footer/footer-style.css
   Include in footer HTML: <link rel="stylesheet" href="/footer/footer-style.css">
   ============================================================ */

/* ── Reset: Prevent footer CSS from leaking into page ── */
.rp-footer,
.rp-footer * {
    box-sizing: border-box;
}

/* ── Main Footer Container ── */
.rp-footer {
    background: linear-gradient(160deg, #0f1c2e 0%, #1a2d45 60%, #0d1f33 100%) !important;
    border-top: 3px solid #0d6efd;
    margin-top: 3rem;
    padding-top: 3rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rp-footer .rp-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 16px;
}

.rp-footer .rp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
}

.rp-footer .rp-col {
    flex: 1 1 220px;
    min-width: 0;
}

/* ── Brand ── */
.rp-footer .rp-brand h4 {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.rp-footer .rp-brand h4 i {
    color: #0d6efd;
    margin-right: 8px;
}

.rp-footer .rp-tagline {
    font-size: 0.82rem;
    color: #a8bbd0;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.rp-footer .rp-tagline strong {
    color: #fff;
}

/* ── Mini Stats ── */
.rp-footer .rp-stats {
    display: flex;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.rp-footer .rp-stat {
    background: rgba(13, 110, 253, 0.12);
    border: 1px solid rgba(13, 110, 253, 0.25);
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    flex: 1;
}

.rp-footer .rp-stat .stat-num {
    font-size: 1.1rem;
    font-weight: 700;
    color: #4ea8ff;
    display: block;
}

.rp-footer .rp-stat .stat-label {
    font-size: 0.68rem;
    color: #8fa8c0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Section Headings ── */
.rp-footer .rp-heading {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 1rem;
}

.rp-footer .rp-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #0d6efd;
    border-radius: 2px;
}

/* ── Contact Items ── */
.rp-footer .rp-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #a8bbd0;
}

.rp-footer .rp-contact-item i {
    color: #0d6efd;
    margin-top: 3px;
    flex-shrink: 0;
}

.rp-footer .rp-contact-item a {
    color: #a8bbd0;
    text-decoration: none;
    transition: color 0.2s;
}

.rp-footer .rp-contact-item a:hover {
    color: #4ea8ff;
}

/* ── WhatsApp Button ── */
.rp-footer .rp-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #25D366;
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    margin-top: 6px;
    transition: background 0.2s;
}

.rp-footer .rp-whatsapp-btn:hover {
    background: #1ebe5d;
    color: #fff !important;
}

/* ── Social Buttons ── */
.rp-footer .rp-socials {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.rp-footer .rp-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.25s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a8bbd0;
    background: transparent;
    text-decoration: none;
}

.rp-footer .rp-social-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Quick Links Grid ── */
.rp-footer .rp-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 12px;
    margin-bottom: 1.5rem;
}

.rp-footer .rp-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 0;
    font-size: 0.85rem;
    color: #a8bbd0;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
}

.rp-footer .rp-link i {
    font-size: 0.5rem;
    color: #0d6efd;
}

.rp-footer .rp-link:hover {
    color: #4ea8ff;
    padding-left: 6px;
}

/* ── USP / Trust Badges ── */
.rp-footer .rp-usp-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rp-footer .rp-usp-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #a8bbd0;
}

.rp-footer .rp-usp-item i {
    color: #28a745;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ── City Tags ── */
.rp-footer .rp-cities {
    margin-bottom: 1.2rem;
}

.rp-footer .rp-city-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.78rem;
    color: #a8bbd0;
    margin: 3px 2px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.rp-footer .rp-city-tag:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

/* ── Newsletter Box ── */
.rp-footer .rp-newsletter-box {
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 1rem;
}

.rp-footer .rp-newsletter-box .rp-nl-label {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.rp-footer .rp-newsletter-box .rp-nl-label i {
    color: #0d6efd;
    margin-right: 4px;
}

.rp-footer .rp-nl-row {
    display: flex;
    gap: 0;
    margin-bottom: 8px;
}

.rp-footer .rp-nl-input {
    flex: 1;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    color: #fff;
    border-radius: 8px 0 0 8px;
    font-size: 0.85rem;
    outline: none;
}

.rp-footer .rp-nl-input::placeholder {
    color: #7a95b0;
}

.rp-footer .rp-nl-btn {
    padding: 9px 16px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.rp-footer .rp-nl-btn:hover {
    background: #0b5ed7;
}

/* ── Post Property CTA Box ── */
.rp-footer .rp-post-box {
    background: rgba(40, 167, 69, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.25);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 1rem;
}

.rp-footer .rp-post-box .rp-post-title {
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 6px;
}

.rp-footer .rp-post-box .rp-post-desc {
    font-size: 0.78rem;
    color: #a8bbd0;
    line-height: 1.6;
    margin-bottom: 10px;
}

.rp-footer .rp-post-btn {
    display: block;
    width: 100%;
    padding: 8px;
    background: #28a745;
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.rp-footer .rp-post-btn:hover {
    background: #218838;
    color: #fff !important;
}

/* ── Safety Tips ── */
.rp-footer .rp-safety {
    font-size: 0.78rem;
    color: #7a95b0;
    line-height: 1.8;
}

.rp-footer .rp-safety .rp-safety-title {
    display: block;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.rp-footer .rp-safety .rp-safety-title i {
    color: #ffc107;
    margin-right: 4px;
}

/* ── Trust Badge (lock/spam) ── */
.rp-footer .rp-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #6a8a9f;
    margin-top: 6px;
}

.rp-footer .rp-trust-badge i {
    color: #28a745;
    font-size: 0.8rem;
}

/* ── Copyright Bar ── */
.rp-footer .rp-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    font-size: 0.82rem;
    color: #6a8a9f;
}

.rp-footer .rp-copyright-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rp-footer .rp-copyright a {
    color: #4ea8ff;
    text-decoration: none;
}

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

.rp-footer .rp-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.rp-footer .rp-bottom-links a {
    color: #6a8a9f;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

.rp-footer .rp-bottom-links a:hover {
    color: #4ea8ff;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .rp-footer .rp-row {
        gap: 1.5rem;
    }

    .rp-footer .rp-col {
        flex: 1 1 100%;
    }

    .rp-footer .rp-links-grid {
        grid-template-columns: 1fr 1fr;
    }

    .rp-footer .rp-copyright-inner {
        flex-direction: column;
        text-align: center;
    }

    .rp-footer .rp-bottom-links {
        justify-content: center;
    }
}
