/* 
   My Nanded City - Main Styles
   Vanilla CSS (No Frameworks)
*/

:root {
    /* Color Palette */
    --primary-color: #2563EB;
    /* Bright Blue */
    --primary-dark: #1E40AF;
    --secondary-color: #F59E0B;
    /* Warm Amber - resembling community/warmth */
    --secondary-dark: #D97706;

    --bg-body: #F9FAFB;
    --bg-white: #FFFFFF;
    --bg-light: #F3F4F6;

    --text-main: #111827;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;

    --border-color: #E5E7EB;

    /* Semantic Colors for Categories */
    --color-culture: #EC4899;
    --color-business: #3B82F6;
    --color-offer: #10B981;
    --color-notice: #EF4444;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 70px;

    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;

    /* Typography */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 9999px;
    /* Pill shape */
    transition: all 0.2s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-dark);
}

.logo-img {
    height: 48px;
    width: auto;
    /* Circular crop logic if needed, but we'll trust the transparent png */
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    /* Hidden on mobile by default */
}

@media (min-width: 900px) {
    .nav-desktop {
        display: block;
    }

    .menu-toggle {
        display: none;
    }
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-main);
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.arrow {
    font-size: 0.7em;
    margin-left: 4px;
}

/* Nested Dropdowns */
.nested-dropdown {
    position: relative;
}

.nested-dropdown .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--bg-white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.nested-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.arrow-right {
    float: right;
    font-size: 0.7em;
    padding-top: 4px;
}

/* Mobile Menu */
.menu-toggle {
    color: var(--text-main);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--bg-white);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.close-menu {
    color: var(--text-muted);
}

.mobile-nav-list {
    padding: 1rem 0;
    overflow-y: auto;
}

.mobile-nav-list li a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--bg-light);
}

.mobile-nav-list li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px;
    /* Or min-height: 80vh */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    /* Constrain width to not overlap too much if right side is busy */
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 400px;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }
}

/* Services Grid */
.services-section {
    background-color: var(--bg-white);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background-color: var(--bg-white);
    border: 1px solid var(--bg-light);
    width: 100%;
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
    /* Highlight on hover */
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-light);
    /* Fallback */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: white;
    /* Icons should be white potentially if bg is colored */
}

/* Specific Colors for Icons */
.color-blue {
    background-color: #DBEAFE;
    color: #1D4ED8;
}

.color-green {
    background-color: #D1FAE5;
    color: #047857;
}

.color-purple {
    background-color: #EDE9FE;
    color: #6D28D9;
}

.color-orange {
    background-color: #FFEDD5;
    color: #C2410C;
}

.color-teal {
    background-color: #CCFBF1;
    color: #0F766E;
}

.color-red {
    background-color: #FEE2E2;
    color: #B91C1C;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card span {
    font-weight: 600;
    color: var(--text-main);
}

/* Ads Feed */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: var(--bg-white);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.tab-btn:hover {
    background-color: var(--bg-light);
}

.tab-btn.active {
    background-color: var(--text-main);
    color: white;
    border-color: var(--text-main);
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.ad-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ad-image-container {
    height: 180px;
    position: relative;
    background-color: #eee;
    overflow: hidden;
}

.ad-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Category Backgrounds for placeholders */
.event-bg {
    background: linear-gradient(135deg, #EC4899, #DB2777);
}

.business-bg {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.offer-bg {
    background: linear-gradient(135deg, #10B981, #059669);
}

.notice-bg {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.ad-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

.ad-badge.event {
    color: var(--color-culture);
}

.ad-badge.business {
    color: var(--color-business);
}

.ad-badge.offer {
    color: var(--color-offer);
}

.ad-badge.notice {
    color: var(--color-notice);
}

.ad-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ad-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.ad-author {
    font-weight: 500;
}

.ad-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--text-main);
}

.ad-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Pushes actions down */
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--bg-light);
    padding-top: 1rem;
}

.btn-like {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.btn-like:hover,
.btn-like.liked {
    color: var(--primary-color);
}

.btn-like svg {
    transition: transform 0.2s;
}

.btn-like:active svg {
    transform: scale(1.2);
}

.btn-contact {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-contact:hover {
    text-decoration: underline;
}

.view-more-container {
    text-align: center;
    margin-top: 3rem;
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: #F3F4F6;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-brand p {
    color: #9CA3AF;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9CA3AF;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: background-color 0.2s;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #6B7280;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-header {
        align-items: flex-start;
    }

    .tabs {
        justify-content: flex-start;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 0.5rem;
        /* Scroll bar space */
        flex-wrap: nowrap;
    }

    .tab-btn {
        flex-shrink: 0;
    }
}

/* Contact Page Styles */
.page-hero {
    text-align: center;
    padding: 3rem 1.5rem;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-form-wrapper,
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
}

.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.contact-form-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    background-color: var(--bg-white);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.icon-box {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: #DBEAFE;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.contact-info-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-info-item p {
    color: var(--text-muted);
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: #eee;
    border-radius: var(--radius-lg);
}

/* --- Creators Hub Styles --- */

/* Creator Hero */
.creator-hero {
    background: linear-gradient(135deg, #4F46E5 0%, #2563EB 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 2rem;
}

.creator-hero .hero-title {
    font-size: 3rem;
    font-weight: 800;
}

.creator-hero .hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 1rem auto 2rem;
}

.text-center {
    text-align: center;
}

/* Spotlight Section */
.spotlight-row {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.spotlight-content {
    flex: 1;
}

.badge-pill {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.spotlight-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.spotlight-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.spotlight-image {
    flex: 1;
}

.placeholder-spotlight {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #e5e7eb;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Creator Cards (Explore Page) */
.creator-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: block;
    /* Ensure it behaves like a block for the anchor */
}

.creator-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.creator-cover {
    height: 100px;
}

.creator-info {
    padding: 1.5rem;
    text-align: center;
    position: relative;
    padding-top: 3rem;
    /* Make room for avatar */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.creator-avatar {
    width: 64px;
    height: 64px;
    background-color: white;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    background: #eee;
    /* Fallback */
}

.creator-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.creator-skill {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.creator-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.badge-social {
    background: var(--bg-light);
    color: var(--text-main);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.creator-status {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-weight: 600;
}

.creator-status.open {
    background-color: #D1FAE5;
    color: #065F46;
}

.creator-status.busy {
    background-color: #FEE2E2;
    color: #991B1B;
}

/* Market Mini Cards (Hub Page) */
.market-preview-grid {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.market-card-mini {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    min-width: 250px;
    flex: 1;
}

.tag-hiring {
    background-color: #DBEAFE;
    color: #1E40AF;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.text-xs {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 99px;
    padding: 0.5rem 1rem;
    width: 300px;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 0.95rem;
}

.filter-tags {
    display: flex;
    gap: 0.5rem;
}

.filter-chip {
    background: white;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.filter-chip.active,
.filter-chip:hover {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
}

/* Profile Page */
.profile-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.profile-meta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: -3rem;
    /* Overlap cover */
}

.profile-avatar-lg {
    width: 120px;
    height: 120px;
    background: white;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    background-color: #eee;
    margin-bottom: 1rem;
    z-index: 1;
}

.profile-title-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 99px;
    font-weight: 600;
}

.status-badge.open {
    background: #D1FAE5;
    color: #065F46;
}

.profile-tagline {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-btn {
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
}

.social-btn.yt {
    color: #FF0000;
}

.social-btn.ig {
    color: #C13584;
}

.profile-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 768px) {
    .profile-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h3,
.sidebar-widget h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.video-embed {
    margin-bottom: 1rem;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #999;
}

.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.skill-trade {
    margin-bottom: 1rem;
}

.skill-trade strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.stats-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 0.95rem;
}

/* Market Page */
.market-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.market-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    transition: all 0.2s;
}

.market-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.market-main {
    flex: 1;
}

.market-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.market-details {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.market-meta {
    font-size: 0.8rem;
    color: #9CA3AF;
    display: flex;
    gap: 0.5rem;
}

.market-side {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.market-budget {
    font-weight: 700;
    color: var(--text-main);
}

@media (max-width: 640px) {
    .market-item {
        flex-direction: column;
        gap: 1rem;
    }

    .market-side {
        align-items: flex-start;
        text-align: left;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        border-top: 1px solid var(--bg-light);
        padding-top: 1rem;
    }
}

/* Event Card */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 0.5rem 1rem;
    width: 70px;
    height: 70px;
    text-align: center;
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.event-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.event-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Form Card */
.form-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.w-100 {
    width: 100%;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-2 {
    margin-top: 0.5rem;
}