@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --brand-primary: #1e40af;
    --brand-secondary: #3b82f6;
    --accent: #f59e0b;
    --bg-main: #ffffff;
    --bg-soft: #f8fafc;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.85);
    --radius-full: 100px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Premium Header */
.landing-header {
    position: sticky;
    top: 0;
    z-index: 2000;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-dark);
}

.brand-logo h1 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-profile {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-profile:hover {
    background: #e2e8f0;
}

/* Profile Dropdown */
.profile-dropdown-container {
    position: relative;
}

.dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
    padding: 12px;
    display: none;
    z-index: 2100;
}

.dropdown-menu-custom.show {
    display: block;
}

.dropdown-header {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
}

.dropdown-header strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.dropdown-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dropdown-menu-custom a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 12px;
    transition: all 0.2s;
}

.dropdown-menu-custom a:hover {
    background: var(--bg-soft);
}

.dropdown-menu-custom hr {
    margin: 8px 0;
    border: none;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}


/* Slidable Tabs Section */
.tabs-outer {
    background: var(--bg-main);
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.tabs-scrollable {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    padding: 0 24px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    justify-content: center; /* Center tabs on PC */
}

@media (max-width: 768px) {
    .tabs-scrollable {
        justify-content: flex-start; /* Maintain scroll on mobile */
    }
}

.tabs-scrollable::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.category-tab {
    white-space: nowrap;
    padding: 10px 24px;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.category-tab:hover {
    background: #e2e8f0;
    color: var(--text-dark);
}

.category-tab.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.2);
}

/* Landing Content Area */
.main-gallery {
    flex: 1; /* Pushes footer to bottom */
    width: 100%;
    max-width: 1400px; /* Expansive desktop view */
    margin: 40px auto;
    padding: 0 32px;
}


.btn-primary {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(30, 58, 138, 0.3);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-brand {
    background: white;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    padding: 10px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline-brand:hover {
    background: var(--brand-primary);
    color: white;
}

.hero-section {
    padding: 60px 0 40px;
    text-align: left; /* Aligned left for modern look */
}

.hero-section h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.05em;
    color: var(--text-dark);
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.5;
}

/* Unified Card Architecture */
.property-card, .campaign-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.property-card:hover, .campaign-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
    border-color: #e2e8f0;
}

.card-img-wrapper, .campaign-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
}

.card-img-wrapper img, .campaign-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body, .campaign-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text-dark);
}

.campaign-body h2.card-title {
    font-size: 1.15rem;
}

.card-meta {
    display: flex;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.card-body .mt-auto, .campaign-body .mt-auto {
    margin-top: auto !important;
}


.badge-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--glass);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-meta {
    display: flex;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.card-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
}

/* Minimalist Footer */
.landing-footer {
    background: #0f172a;
    color: white;
    padding: 32px 24px;
    margin-top: 100px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-links a:hover {
    color: white;
}

.dot-separator {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .hero-section h2 {
        font-size: 1.85rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
@keyframes fadeInContent {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInContent 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.content-enter {
    opacity: 0;
    transform: translateX(20px);
}

.content-enter-active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.4s ease;
}
