/* ============================================================
   Wedora Wedding Service Marketplace - Airbnb Inspired CSS
   ============================================================ */

/* Missing Bootstrap 5 Utility Classes */
.fs-7 { font-size: 0.85rem !important; }
.fs-8 { font-size: 0.75rem !important; }
.object-fit-cover { object-fit: cover !important; }
.object-fit-contain { object-fit: contain !important; }
.cursor-pointer { cursor: pointer !important; }
.leading-relaxed { line-height: 1.7 !important; }
.max-w-600 { max-width: 600px !important; }
.max-w-70 { max-width: 70% !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.rounded-bl-4 { border-bottom-left-radius: 0.5rem !important; }
.rounded-tr-4 { border-top-right-radius: 0.5rem !important; }
.rounded-pill-start { border-radius: 9999px 0 0 9999px !important; }
.rounded-pill-end { border-radius: 0 9999px 9999px 0 !important; }
.style-hover-zoom { transition: transform 0.3s ease; }
.style-hover-zoom:hover { transform: scale(1.03); }
.overflow-y-auto { overflow-y: auto; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-fade-in-up {
    animation: fadeInUp 0.45s ease both;
}
.animate-fade-in {
    animation: fadeIn 0.3s ease both;
}

/* Skeleton Loading Placeholders */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 400% 100%;
    animation: skeletonShimmer 1.4s ease infinite;
    border-radius: 8px;
}
@keyframes skeletonShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* Premium Badge Glow */
.premium-glow {
    box-shadow: 0 0 0 3px rgba(255, 56, 92, 0.2), 0 4px 16px rgba(255, 56, 92, 0.15);
}

/* Verified Checkmark Badge */
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0ea5e9;
    padding: 3px 10px;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 20px;
}



:root {
    --brand-primary: #ff385c;
    --brand-primary-hover: #e00b41;
    --brand-dark: #222222;
    --brand-light: #f7f7f7;
    --brand-border: #ebebeb;
    --brand-muted: #6a6a6a;
    --brand-gradient: linear-gradient(135deg, #ff385c 0%, #e00b41 100%);
    --card-shadow: 0px 6px 20px rgba(0, 0, 0, 0.06);
    --card-radius: 16px;
    --pill-radius: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --bg-surface: #ffffff;
    --text-color: #222222;
}

[data-theme="dark"] {
    --brand-dark: #f7f7f7;
    --brand-light: #18181b;
    --brand-border: #27272a;
    --brand-muted: #a1a1aa;
    --bg-surface: #09090b;
    --text-color: #f4f4f5;
    --card-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
}

html, body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--brand-light);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Navbar */
.navbar-wedora {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--brand-border);
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.brand-logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-primary);
    text-decoration: none;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-logo:hover {
    color: var(--brand-primary-hover);
}

.nav-link-custom {
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
    text-decoration: none;
}

.nav-link-custom:hover {
    background: rgba(0,0,0,0.04);
    color: var(--brand-primary);
}

.btn-primary-wedora {
    background: var(--brand-gradient);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: var(--pill-radius);
    padding: 12px 24px;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.3);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary-wedora:hover {
    background: var(--brand-primary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 56, 92, 0.4);
}

.btn-outline-wedora {
    background: transparent;
    border: 1.5px solid var(--brand-border);
    color: var(--text-color);
    font-weight: 600;
    border-radius: var(--pill-radius);
    padding: 11px 22px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-wedora:hover {
    border-color: var(--brand-dark);
    background: var(--brand-light);
    color: var(--text-color);
}

/* Hero Section & Airbnb Pill Search Bar */
.hero-wrapper {
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-light) 100%);
    padding: 64px 20px 40px;
    text-align: center;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-color);
    max-width: 720px;
    margin: 0 auto 28px;
    line-height: 1.15;
}

.airbnb-search-pill {
    background: var(--bg-surface);
    border-radius: var(--pill-radius);
    box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.04), 0px 4px 16px rgba(0,0,0,0.08);
    padding: 8px 12px 8px 24px;
    display: flex;
    align-items: center;
    max-width: 820px;
    margin: 0 auto;
    border: 1px solid var(--brand-border);
    transition: var(--transition);
}

.airbnb-search-pill:focus-within, .airbnb-search-pill:hover {
    box-shadow: 0px 6px 24px rgba(0,0,0,0.12);
}

.search-field {
    flex: 1;
    text-align: left;
    padding: 0 16px;
    border-right: 1px solid var(--brand-border);
}

.search-field:last-of-type {
    border-right: none;
}

.search-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-color);
    margin-bottom: 2px;
}

.search-input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    font-size: 14px;
    color: var(--brand-muted);
    outline: none !important;
    font-weight: 500;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    box-shadow: none !important;
    padding: 2px 0;
}

select.search-input {
    cursor: pointer;
    background-color: transparent !important;
}

select.search-input option {
    background-color: var(--bg-surface);
    color: var(--text-color);
}

input[type="date"].search-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

.search-btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.search-btn-icon:hover {
    transform: scale(1.05);
}

/* Category Grid Cards */
.category-card {
    background: var(--bg-surface);
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 20px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    display: block;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.category-icon {
    font-size: 26px;
    color: var(--brand-primary);
    margin-bottom: 8px;
    display: block;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.category-count {
    font-size: 12px;
    color: var(--brand-muted);
}

/* Vendor Cards (Airbnb Style) */
.vendor-card {
    background: var(--bg-surface);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--brand-border);
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vendor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.vendor-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #e4e4e7;
}

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

.vendor-card:hover .vendor-img {
    transform: scale(1.04);
}

.badge-featured {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(34, 34, 34, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-wishlist {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-dark);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-wishlist:hover {
    transform: scale(1.1);
    color: var(--brand-primary);
}

.vendor-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vendor-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-color);
}

.vendor-category-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(255, 56, 92, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.vendor-location {
    font-size: 13px;
    color: var(--brand-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vendor-price-tag {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
}

.vendor-price-period {
    font-size: 12px;
    font-weight: 400;
    color: var(--brand-muted);
}

/* Blur & Lock Overlay for Non-Premium Users */
.blur-locked-container {
    position: relative;
}

.blur-locked-content {
    filter: blur(7px);
    user-select: none;
    pointer-events: none;
}

.blur-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    border-radius: var(--card-radius);
    z-index: 10;
}

[data-theme="dark"] .blur-lock-overlay {
    background: rgba(18, 18, 18, 0.75);
}

.lock-badge-icon {
    width: 48px;
    height: 48px;
    background: var(--brand-gradient);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(255, 56, 92, 0.3);
}

/* Glassmorphism Subscription Cards */
.glass-pricing-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--brand-border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
    height: 100%;
}

.glass-pricing-card.popular {
    border: 2px solid var(--brand-primary);
    box-shadow: 0 12px 40px rgba(255, 56, 92, 0.15);
}

/* Availability Calendar Badges */
.calendar-day-box {
    aspect-ratio: 1;
    border-radius: 10px;
    border: 1px solid var(--brand-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-surface);
}

.calendar-day-box.unavailable {
    background: #ffe5e9;
    color: #d90429;
    border-color: #fca5a5;
    cursor: not-allowed;
}

.calendar-day-box.available:hover {
    border-color: var(--brand-primary);
    background: rgba(255, 56, 92, 0.05);
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background: #18181b;
    color: #ffffff;
    min-height: 100vh;
    padding: 24px 16px;
}

.admin-nav-link {
    color: #a1a1aa;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 4px;
    transition: var(--transition);
}

.admin-nav-link:hover, .admin-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.admin-nav-link.active {
    background: var(--brand-gradient);
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM (Mobile, Tablet, Desktop)
   ============================================================ */

/* 1. Large Tablets & Mobile Drawer (Below 992px) */
@media (max-width: 991.98px) {
    .navbar-wedora {
        height: auto;
        padding: 12px 16px;
    }

    .navbar-collapse {
        background: var(--bg-surface);
        border: 1px solid var(--brand-border);
        border-radius: 20px;
        padding: 20px;
        margin-top: 12px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    }

    .nav-link-custom {
        display: block;
        padding: 10px 16px;
        font-size: 16px;
    }

    .hero-wrapper {
        padding: 36px 16px 28px;
    }

    .hero-title {
        font-size: clamp(24px, 5vw, 36px);
        margin-bottom: 20px;
    }

    /* Airbnb Search Pill Mobile Stack */
    .airbnb-search-pill {
        flex-direction: column;
        align-items: stretch;
        border-radius: 24px;
        padding: 14px;
        gap: 12px;
        max-width: 100%;
    }

    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--brand-border);
        padding: 8px 6px 12px;
    }

    .search-field:last-of-type {
        border-bottom: none;
    }

    .search-input {
        font-size: 15px;
    }

    .search-btn-icon {
        width: 100%;
        height: 50px;
        border-radius: var(--pill-radius);
        margin-top: 4px;
        font-size: 16px;
        font-weight: 600;
    }

    .search-btn-icon::after {
        content: "Search Professionals";
        margin-left: 8px;
        font-size: 15px;
    }

    /* Admin Sidebar Layout for Tablets/Mobile */
    .admin-sidebar {
        width: 100%;
        min-height: auto;
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
}

/* 2. Medium Tablets & Mobile Phones (Below 768px) */
@media (max-width: 767.98px) {
    .vendor-img-wrapper {
        height: 200px;
    }

    .vendor-card-body {
        padding: 16px;
    }

    .vendor-title {
        font-size: 17px;
    }

    .category-card {
        padding: 14px 8px;
    }

    .category-icon {
        font-size: 22px;
    }

    .category-name {
        font-size: 13px;
    }

    .glass-pricing-card {
        padding: 24px 18px;
    }

    .blur-lock-overlay {
        padding: 16px;
    }

    .lock-badge-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    /* Mobile Sticky Booking Bar */
    .mobile-booking-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        border-top: 1px solid var(--brand-border);
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

/* 3. Small Mobile Devices (Below 576px) */
@media (max-width: 575.98px) {
    .brand-logo {
        font-size: 20px;
    }

    .btn-primary-wedora, .btn-outline-wedora {
        padding: 10px 20px;
        font-size: 14px;
    }

    .vendor-img-wrapper {
        height: 180px;
    }

    .calendar-day-box {
        font-size: 11px;
    }
}
