@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --vd-bg-color: #f9fafb;
    --vd-surface: #ffffff;
    --vd-surface-dark: #111827;
    --vd-text-primary: #111827;
    --vd-text-secondary: #6b7280;
    --vd-border: #e5e7eb;
    --vd-primary: #111827;
    --vd-radius-sm: 8px;
    --vd-radius-md: 16px;
    --vd-radius-lg: 24px;
    --vd-radius-pill: 9999px;
    --vd-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --vd-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --vd-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --vd-transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--vd-text-primary);
    background-color: var(--vd-bg-color);
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

/* Base resets for container */
.vd-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Sections */
.vd-section {
    padding: 80px 0;
}

.vd-section-title {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--vd-text-primary);
}
.vd-section-subtitle {
    font-size: 1rem;
    color: var(--vd-text-secondary);
    max-width: 600px;
}

/* Buttons */
.vd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--vd-radius-pill);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--vd-transition);
    cursor: pointer;
    border: none;
}
.vd-btn:hover {
    text-decoration: none;
}
.vd-btn--primary {
    background-color: var(--vd-primary);
    color: white;
}
.vd-btn--primary:hover {
    background-color: #374151;
    color: white;
}
.vd-btn--white {
    background-color: white;
    color: var(--vd-text-primary);
}
.vd-btn--white:hover {
    background-color: #f3f4f6;
    color: var(--vd-text-primary);
}
.vd-btn--outline {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}
.vd-btn--outline:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}
.vd-btn--outline-dark {
    background-color: transparent;
    border: 1px solid var(--vd-border);
    color: var(--vd-text-primary);
}
.vd-btn--outline-dark:hover {
    background-color: var(--vd-bg-color);
    color: var(--vd-text-primary);
}

/* Hero Section */
.vd-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
}
.vd-hero__bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}
.vd-hero__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(17,24,39,0.7) 0%, rgba(17,24,39,0.3) 100%);
    z-index: 2;
}
.vd-hero__content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 24px;
    margin-top: 40px;
}
.vd-hero__title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: white;
}
.vd-hero__desc {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
}
.vd-hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

/* Hero Search Bar */
.vd-search {
    background: white;
    border-radius: 40px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--vd-shadow-lg);
    max-width: 1200px;
    flex-wrap: wrap;
    margin: 0 auto;
}
.vd-search__field {
    display: flex;
    flex-direction: column;
    padding: 12px 24px;
    border-right: 1px solid var(--vd-border);
    flex: 1;
    min-width: 180px;
}
.vd-search__field:last-of-type {
    border-right: none;
}
.vd-search__label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--vd-text-primary);
    margin-bottom: 6px;
}
.vd-search__input {
    border: none;
    padding: 0;
    font-size: 1rem;
    color: var(--vd-text-secondary);
    outline: none;
    background: transparent;
    width: 100%;
}
.vd-search__btn {
    background-color: var(--vd-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--vd-transition);
    font-size: 1.2rem;
}
.vd-search__btn:hover {
    background-color: #374151;
}
.vd-search-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.vd-search-tab {
    background: rgba(255,255,255,0.9);
    color: var(--vd-text-primary);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
}
.vd-search-tab.active {
    background: var(--vd-primary);
    color: white;
}

/* Grid Layouts */
.vd-grid {
    display: grid;
    gap: 24px;
}
.vd-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.vd-grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.vd-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
    .vd-grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .vd-grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .vd-grid-cols-4, .vd-grid-cols-3, .vd-grid-cols-2 { grid-template-columns: 1fr; }
    .vd-hero__title { font-size: 2.5rem; }
    .vd-search { border-radius: var(--vd-radius-md); flex-direction: column; align-items: stretch; }
    .vd-search__field { border-right: none; border-bottom: 1px solid var(--vd-border); }
}

/* Feature Cards (Highlights) */
.vd-feature-card {
    background: var(--vd-surface);
    border: 1px solid var(--vd-border);
    border-radius: var(--vd-radius-md);
    padding: 24px;
    transition: var(--vd-transition);
}
.vd-feature-card:hover {
    box-shadow: var(--vd-shadow-md);
    transform: translateY(-2px);
}
.vd-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--vd-bg-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.25rem;
}
.vd-feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.vd-feature-desc {
    font-size: 0.875rem;
    color: var(--vd-text-secondary);
}

/* Category Cards */
.vd-cat-card {
    position: relative;
    border-radius: var(--vd-radius-lg);
    overflow: hidden;
    height: 400px;
    text-decoration: none;
    display: block;
}
.vd-cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.vd-cat-card:hover img {
    transform: scale(1.05);
}
.vd-cat-card__overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.vd-cat-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}
.vd-cat-card__subtitle {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}
.vd-cat-card__arrow {
    background: white;
    color: var(--vd-text-primary);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}

/* Listing Cards */
.vd-listing-card {
    background: var(--vd-surface);
    border-radius: var(--vd-radius-md);
    overflow: hidden;
    transition: var(--vd-transition);
    border: 1px solid var(--vd-border);
}
.vd-listing-card:hover {
    box-shadow: var(--vd-shadow-md);
}
.vd-listing-card__img-wrap {
    position: relative;
    height: 200px;
}
.vd-listing-card__img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
}
.vd-listing-card__fav {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    background: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--vd-shadow-sm);
    color: var(--vd-text-secondary);
}
.vd-listing-card__fav:hover {
    color: #ef4444;
}
.vd-listing-card__content {
    padding: 16px;
}
.vd-listing-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--vd-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vd-listing-card__location {
    font-size: 0.875rem;
    color: var(--vd-text-secondary);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 4px;
}
.vd-listing-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--vd-border);
}
.vd-listing-card__price strong {
    font-size: 1.125rem;
    color: var(--vd-text-primary);
}
.vd-listing-card__rating {
    display: flex; align-items: center; gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}
.vd-listing-card__rating span {
    color: var(--vd-text-secondary);
    font-weight: 400;
    font-size: 0.75rem;
}
.vd-listing-card__amenities {
    display: flex; gap: 12px;
    font-size: 0.75rem; color: var(--vd-text-secondary);
    margin-bottom: 12px;
}

/* Pricing Cards */
.vd-pricing-card {
    background: var(--vd-surface);
    border: 1px solid var(--vd-border);
    border-radius: var(--vd-radius-md);
    padding: 32px;
    display: flex; flex-direction: column;
}
.vd-pricing-card__title {
    font-size: 1.125rem; font-weight: 600; margin-bottom: 16px;
}
.vd-pricing-card__price {
    font-size: 3rem; font-weight: 700; margin-bottom: 8px;
    display: flex; align-items: baseline; gap: 4px;
}
.vd-pricing-card__price span {
    font-size: 0.875rem; font-weight: 400; color: var(--vd-text-secondary);
}
.vd-pricing-card__desc {
    font-size: 0.875rem; color: var(--vd-text-secondary); margin-bottom: 24px;
}
.vd-pricing-card__features {
    list-style: none; padding: 0; margin: 0 0 32px 0; flex: 1;
}
.vd-pricing-card__features li {
    font-size: 0.875rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.vd-pricing-card__features li i { color: #10b981; }

/* Testimonials */
.vd-testimonial {
    background: var(--vd-surface);
    border-radius: var(--vd-radius-md);
    padding: 24px;
    border: 1px solid var(--vd-border);
}
.vd-testimonial__quote {
    font-size: 2rem; color: var(--vd-border); margin-bottom: 16px; line-height: 1;
}
.vd-testimonial__text {
    font-size: 0.95rem; line-height: 1.6; margin-bottom: 24px; color: var(--vd-text-primary);
}
.vd-testimonial__author {
    display: flex; align-items: center; gap: 12px;
}
.vd-testimonial__avatar {
    width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
}
.vd-testimonial__name {
    font-size: 0.875rem; font-weight: 600;
}
.vd-testimonial__role {
    font-size: 0.75rem; color: var(--vd-text-secondary);
}

/* CTA Section */
.vd-cta {
    background: var(--vd-surface-dark);
    border-radius: var(--vd-radius-lg);
    padding: 60px 40px;
    color: white;
    text-align: center;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}
.vd-cta__bg {
    position: absolute; top:0; left:0; width:100%; height: 100%;
    object-fit: cover; opacity: 0.3;
}
.vd-cta__content {
    position: relative; z-index: 2;
}
.vd-cta__title {
    font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; color: white;
}
.vd-cta__desc {
    font-size: 1.125rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto;
}

/* Utilities */
.vd-flex { display: flex; }
.vd-flex-col { flex-direction: column; }
.vd-items-center { align-items: center; }
.vd-justify-between { justify-content: space-between; }
.vd-gap-4 { gap: 16px; }
.vd-gap-8 { gap: 32px; }
.vd-mb-12 { margin-bottom: 48px; }
.vd-text-center { text-align: center; }


/* Member Page Styles */
.vd-member-hero {
    position: relative;
    padding: 100px 0 80px 0;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.vd-member-hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0,0,0,0.6);
}

.vd-member-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.vd-member-hero__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.vd-member-hero__subtitle {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
}

.vd-member-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.vd-member-header__left {
    max-width: 500px;
}

.vd-member-header__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--vd-text-primary);
    margin-bottom: 12px;
}

.vd-member-header__subtitle {
    font-size: 14px;
    color: var(--vd-text-secondary);
    line-height: 1.6;
}

.vd-member-filter {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vd-member-search {
    position: relative;
    width: 300px;
}

.vd-member-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid var(--vd-border);
    border-radius: var(--vd-radius-full);
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.vd-member-search input:focus {
    border-color: var(--vd-primary);
}

.vd-member-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--vd-text-secondary);
}

.vd-member-dropdown {
    padding: 12px 32px 12px 16px;
    border: 1px solid var(--vd-border);
    border-radius: var(--vd-radius-full);
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    outline: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Member Card */
.vd-member-card {
    background: white;
    border: 1px solid var(--vd-border);
    border-radius: var(--vd-radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vd-member-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.vd-member-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vd-member-card__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vd-member-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.vd-member-card__info {
    display: flex;
    flex-direction: column;
}

.vd-member-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--vd-text-primary);
    margin: 0;
}

.vd-member-card__role {
    font-size: 12px;
    color: var(--vd-text-secondary);
    margin: 0;
}

.vd-member-card__follow-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--vd-text-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.vd-member-card__follow-btn:hover {
    background-color: #333;
}

.vd-member-card__bio {
    font-size: 13px;
    line-height: 1.6;
    color: var(--vd-text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
    /* Truncate to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vd-member-card__stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--vd-border);
    padding-top: 16px;
}

.vd-member-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vd-member-stat__val {
    font-size: 14px;
    font-weight: 700;
    color: var(--vd-text-primary);
}

.vd-member-stat__label {
    font-size: 11px;
    color: var(--vd-text-secondary);
    text-transform: lowercase;
}

@media (max-width: 768px) {
    .vd-member-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .vd-member-filter {
        width: 100%;
        flex-direction: column;
    }
    .vd-member-search, .vd-member-dropdown {
        width: 100%;
    }
}


