/* === Custom CityBits Homepage Styles === */

.cb-dark-bg {
    background-color: #000;
    color: #e0ffe0;
}

.cb-header {
    background-color: #000;
    color: white;
    border-bottom: 1px solid #555;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cb-header a {
        color: white;
        font-weight: 500;
        margin-left: 1rem;
        text-decoration: none;
    }

        .cb-header a:hover {
            color: #3fd370;
        }

.cb-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .cb-logo img {
        width: 40px;
        border-radius: 8px;
    }

.cb-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), center/cover no-repeat;
    padding: 2rem 1rem; /* was 6rem */
    text-align: center;
    color: #e0ffe0;
}

    .cb-hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cb-hero p {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto 1.5rem;
    }

    .cb-hero .cta-btn {
        background-color: #3fd370;
        color: #000;
        padding: 0.75rem 1.5rem;
        font-weight: 600;
        border-radius: 6px;
        text-decoration: none;
        display: inline-block;
    }

        .cb-hero .cta-btn:hover {
            background-color: #34b05c;
        }

@media (max-width: 600px) {
    .cb-hero .cta-btn {
        font-size: 1.25rem;
        padding: 1rem 2rem;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 1rem;
    }

    .cb-hero-buttons-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}


/* Tabs/Features */
.cb-features {
    background-color: #000;
    color: white;
    padding: 3rem 1rem;
}

    .cb-features h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }

.cb-feature-card {
    background-color: #111;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

    .cb-feature-card h3 {
        color: #3fd370;
        margin-bottom: 0.5rem;
    }

    .cb-feature-card p {
        color: #ccc;
    }

/* Footer */
.cb-footer {
    background-color: #000;
    border-top: 1px solid #555;
    padding: 2rem 1rem;
    color: #aaa;
    text-align: center;
}

.cta-btn-invest {
    background-color: transparent;
    color: #3fd370;
    border: 2px solid #3fd370;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 1.5rem;
}

    .cta-btn-invest:hover {
        background-color: #3fd370;
        color: #000;
    }

.cb-features-wrapper {
    display: flex;
    align-items: stretch; /* this is key */
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: nowrap;
    width: 100%;
}

/* Image container gets half the width */
.cb-features-image-container {
    width: 50%;
    display: flex;
    align-items: stretch;
}

/* This will stretch the image vertically */
.cb-features-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

/* Text content */
.cb-feature-card-group {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    .cb-features-wrapper {
        flex-direction: column;
    }

    .cb-features-image-container,
    .cb-feature-card-group {
        width: 100%;
    }

    .cb-features-image {
        height: auto;
    }
}




.cb-alt-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/QuincySquare.jpg');
    background-size: cover;
    background-position: center;
    color: #dfffdc;
    padding: 6rem 1rem;
    text-align: left;
}

.cb-alt-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.cb-alt-hero-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

    .cb-alt-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #b4ffb4;
    }

    .cb-alt-hero-content p {
        font-size: 1.1rem;
        line-height: 1.6;
        max-width: 600px;
        margin: 0 auto;
    }

.cb-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.cb-hero-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

    .cb-hero-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        color: #b4ffb4;
    }

    .cb-hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        color: #e0ffe0;
        line-height: 1.6;
    }

.cb-hero-buttons a {
    margin: 0 0.5rem 1rem;
}

.cb-hero-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}
.cb-hero {
    padding: 6rem 1rem;
    text-align: center;
    color: #e0ffe0;
}

.cb-hero-dark {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://pub-bc4bb8002f564e69a1cddb7520ad7592.r2.dev/imgs/prFJ0gDgVfI9pwWd');
    background-size: cover;
    background-position: center;
}
@media (max-width: 768px) {
    .cb-hero-inner-left {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cb-hero-buttons-left {
        flex-direction: column;
        align-items: flex-start;
    }

        .cb-hero-buttons-left .cta-btn {
            margin-bottom: 0.75rem;
        }
}

.cb-hero-inner-left {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 1rem; /* was 6rem */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
}

.cb-hero-content-left {
    max-width: 600px;
}

    .cb-hero-content-left h1 {
        font-size: 3rem; /* larger text */
        margin-bottom: 1rem;
        color: #b4ffb4;
    }

    .cb-hero-content-left p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        color: #e0ffe0;
        line-height: 1.6;
    }

.cb-hero-buttons-left {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .cb-hero-buttons-left .cta-btn {
        margin: 0;
    }
.cb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.cb-modal-content {
    background-color: #111;
    color: #e0ffe0;
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(0,255,128,0.3);
    font-family: 'Inter', sans-serif;
}

.cb-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.cb-modal-form {
    margin-top: 1rem;
}

.cb-modal-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

    .cb-modal-buttons .btn {
        padding: 0.6rem 1.2rem;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        text-decoration: none;
    }

    .cb-modal-buttons .btn-primary {
        background-color: #3fd370;
        color: #000;
        border: none;
    }

    .cb-modal-buttons .btn-secondary {
        background-color: transparent;
        color: #3fd370;
        border: 2px solid #3fd370;
    }
.badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    font-size: 0.85rem;
    background-color: #333;
    color: #b4ffb4;
    border-radius: 6px;
}
@media (max-width: 768px) {
    .cb-modal-content {
        max-height: 90vh;
        overflow-y: auto;
        padding: 1.5rem;
    }
}
