/* ===================================================================
   AM HOUSING - LUCKNOW PREMIUM REAL ESTATE DESIGN SYSTEM
   Brand: AM Housing | amhousing.in | Lucknow, Uttar Pradesh
   Mobile: +91 95591 83333 | Email: amhousing32@gmail.com
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0a1e3f;
    --primary-light: #16325c;
    --primary-dark: #061329;
    --secondary: #0d9488;
    --secondary-hover: #0f766e;
    --accent-gold: #d97706;
    --accent-amber: #f59e0b;
    --success: #10b981;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.16);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: all 0.25s ease-in-out;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-hover);
}

/* ---------------- TOP BAR ---------------- */
.top-header {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-header a {
    color: #cbd5e1;
}

.top-header a:hover {
    color: #ffffff;
}

.top-header .badge-rera {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
}

/* ---------------- MAIN NAVBAR ---------------- */
.navbar-main {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
    transition: var(--transition);
}

.navbar-brand .brand-logo-text {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1.1;
}

.navbar-brand .brand-badge {
    background: linear-gradient(135deg, #0d9488 0%, #065f46 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 4px;
}

.navbar-brand .brand-subtitle {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.nav-link {
    font-weight: 600;
    color: #334155 !important;
    padding: 8px 14px !important;
    font-size: 0.94rem;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary) !important;
    background-color: rgba(13, 148, 136, 0.06);
}

.dropdown-menu {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px;
}

.dropdown-item {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    color: var(--text-main);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: #f1f5f9;
    color: var(--secondary);
    padding-left: 18px;
}

.btn-post-property {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f766e 100%);
    color: #ffffff !important;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
    border: none;
    transition: var(--transition);
}

.btn-post-property:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
}

/* ---------------- HERO SECTION ---------------- */
.hero-wrapper {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 30, 63, 0.88) 0%, rgba(6, 19, 41, 0.94) 100%),
                url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    padding: 90px 0 110px 0;
    color: #ffffff;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #e2e8f0;
    max-width: 650px;
    margin: 0 auto 35px auto;
}

.hero-search-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    color: var(--text-main);
    max-width: 1040px;
    margin: 0 auto;
}

.search-nav-pills .nav-link {
    color: #64748b !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 20px !important;
    border-radius: 30px;
    margin-right: 8px;
    background: #f1f5f9;
}

.search-nav-pills .nav-link.active {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* ---------------- PROPERTY CARDS ---------------- */
.property-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #cbd5e1;
}

.property-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #0f172a;
}

.property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-thumb img {
    transform: scale(1.06);
}

.badge-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #f59e0b;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.badge-purpose {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.property-price-tag {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(10, 30, 63, 0.92);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
}

.property-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-type-tag {
    font-size: 0.75rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.property-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.property-title a {
    color: var(--primary-dark);
}

.property-title a:hover {
    color: var(--secondary);
}

.property-location {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-specs {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.84rem;
    color: #475569;
}

.property-specs .spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-specs i {
    color: var(--secondary);
}

.property-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.btn-card-detail {
    flex: 1;
    background: #f1f5f9;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 6px;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-card-detail:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-card-whatsapp {
    background: #25d366;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-card-whatsapp:hover {
    background: #1eb956;
    color: white;
}

.btn-card-call {
    background: var(--secondary);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-card-call:hover {
    background: var(--secondary-hover);
    color: white;
}

/* ---------------- PROJECT CARDS ---------------- */
.project-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}

.project-status-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary-dark);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.project-body {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* ---------------- SECTION HEADINGS ---------------- */
.section-badge {
    display: inline-block;
    background: rgba(13, 148, 136, 0.1);
    color: var(--secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 35px auto;
}

/* ---------------- LOCATION CARDS ---------------- */
.location-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 200px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.location-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.location-card:hover img {
    transform: scale(1.08);
}

.location-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 30, 63, 0.1) 0%, rgba(10, 30, 63, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    color: white;
}

.location-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.location-count {
    font-size: 0.78rem;
    color: #cbd5e1;
}

/* ---------------- FLOATING ACTION BUTTONS ---------------- */
.floating-actions {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    text-decoration: none;
}

.fab-whatsapp {
    background-color: #25d366;
}

.fab-whatsapp:hover {
    background-color: #1eb956;
    transform: scale(1.1);
    color: white;
}

.fab-call {
    background-color: var(--primary);
}

.fab-call:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
    color: white;
}

/* ---------------- FOOTER ---------------- */
.site-footer {
    background-color: var(--primary-dark);
    color: #94a3b8;
    padding: 70px 0 25px 0;
    font-size: 0.92rem;
    border-top: 4px solid var(--secondary);
}

.site-footer h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.site-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--secondary);
}

.site-footer a {
    color: #cbd5e1;
    transition: var(--transition);
}

.site-footer a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    margin-top: 50px;
    font-size: 0.82rem;
}

/* ---------------- FORMS & UI HELPERS ---------------- */
.form-control, .form-select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.92rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary) 0%, #0f766e 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 8px;
    background: transparent;
    transition: var(--transition);
}

.btn-outline-custom:hover {
    background: var(--secondary);
    color: #ffffff;
}

.badge-soft {
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
}

/* Breadcrumb styling */
.page-header-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 48px 0;
    color: #ffffff;
    margin-bottom: 40px;
}

.page-header-banner h1 {
    color: #ffffff;
    font-size: 2.3rem;
    margin-bottom: 8px;
}

.page-header-banner p {
    color: #cbd5e1;
    margin-bottom: 0;
}

.page-breadcrumb .breadcrumb-item, .page-breadcrumb .breadcrumb-item a {
    color: #94a3b8;
    font-size: 0.88rem;
}

.page-breadcrumb .breadcrumb-item.active {
    color: #ffffff;
}

.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #64748b;
}

/* Detail page gallery */
.detail-gallery-main {
    height: 440px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.detail-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-thumb-item {
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.detail-thumb-item.active, .detail-thumb-item:hover {
    border-color: var(--secondary);
}

.detail-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Feature pill */
.amenity-pill {
    background: #f1f5f9;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.amenity-pill i {
    color: var(--secondary);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .detail-gallery-main {
        height: 320px;
    }
}
