/**
 * ═══════════════════════════════════════════════════════════════════════════
 * Property Highlights Bar - Oferte & Updates Sub Navbar
 * Versiune: 1.0.0 │ Data: 2025-01-10
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HIGHLIGHTS BAR                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */

.property-highlights-bar {
    position: relative;
    margin-top: 1.5rem;
    z-index: 90;
    background: transparent;
}

.highlights-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* OFFERS SECTION                                                               */
/* ═══════════════════════════════════════════════════════════════════════════ */

.highlights-offers {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.highlights-offers::-webkit-scrollbar {
    display: none;
}

.highlight-offer-card {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    min-height: 52px;
    background: linear-gradient(
        145deg,
        rgba(245, 158, 11, 0.12) 0%,
        rgba(217, 119, 6, 0.08) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.highlight-offer-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(245, 158, 11, 0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlight-offer-card:hover {
    border-color: rgba(245, 158, 11, 0.6);
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(245, 158, 11, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.highlight-offer-card:hover::before {
    opacity: 1;
}

.highlight-offer-card .offer-icon {
    display: none;
}

.highlight-offer-card .offer-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}

.highlight-offer-card .offer-badge {
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.highlight-offer-card .offer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fbbf24;
}

.highlight-offer-card .offer-valid {
    display: none;
}

.highlight-offer-card .offer-cta {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* PREMIUM FEATURES BADGES                                                      */
/* ═══════════════════════════════════════════════════════════════════════════ */

.highlights-features {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-feature-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    min-height: 52px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.06) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.highlight-feature-badge:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.highlight-feature-badge .feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.highlight-feature-badge .feature-icon svg {
    width: 18px;
    height: 18px;
}

.highlight-feature-badge .feature-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.highlight-feature-badge .feature-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
}

.highlight-feature-badge .feature-status {
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.2;
}

/* Feature: Curatenie - Teal */
.feature-cleaning .feature-icon {
    background: rgba(20, 184, 166, 0.2);
}

.feature-cleaning .feature-icon svg {
    stroke: #14b8a6;
}

.feature-cleaning:hover {
    border-color: rgba(20, 184, 166, 0.4);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.15);
}

/* Feature: WiFi - Blue */
.feature-wifi .feature-icon {
    background: rgba(59, 130, 246, 0.2);
}

.feature-wifi .feature-icon svg {
    stroke: #3b82f6;
}

.feature-wifi:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

/* Feature: Check-in - Purple */
.feature-checkin .feature-icon {
    background: rgba(168, 85, 247, 0.2);
}

.feature-checkin .feature-icon svg {
    stroke: #a855f7;
}

.feature-checkin:hover {
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.15);
}

/* Feature: Pets - Rose */
.feature-pets .feature-icon {
    background: rgba(244, 63, 94, 0.2);
}

.feature-pets .feature-icon svg {
    stroke: #f43f5e;
}

.feature-pets:hover {
    border-color: rgba(244, 63, 94, 0.4);
    box-shadow: 0 6px 20px rgba(244, 63, 94, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* UPDATES SECTION - HIDDEN                                                     */
/* ═══════════════════════════════════════════════════════════════════════════ */

.highlights-updates {
    display: none;
}

.highlights-updates .update-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.2);
    border-radius: 6px;
}

.highlights-updates .update-icon svg {
    width: 16px;
    height: 16px;
    stroke: #22d3ee;
}

.updates-ticker {
    overflow: hidden;
    max-width: 200px;
}

.update-item {
    font-size: 0.85rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HOST LINK - GLASSMORPHISM BUTTON                                             */
/* ═══════════════════════════════════════════════════════════════════════════ */

.highlights-host-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(
        145deg,
        rgba(99, 102, 241, 0.12) 0%,
        rgba(139, 92, 246, 0.08) 100%
    );
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.highlights-host-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(139, 92, 246, 0.15) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.highlights-host-link:hover {
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-3px);
    box-shadow:
        0 8px 25px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.highlights-host-link:hover::before {
    opacity: 1;
}

.host-mini-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.host-mini-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.25);
}

.host-superhost-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    border: 2px solid #0f172a;
}

.host-superhost-badge::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='%231f2937' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center/contain;
}

.host-link-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a78bfa;
    position: relative;
    z-index: 1;
}

.highlights-host-link svg {
    width: 16px;
    height: 16px;
    stroke: #a78bfa;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.highlights-host-link:hover svg {
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE                                                                   */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .highlights-features {
        gap: 0.5rem;
    }

    .highlight-feature-badge {
        padding: 0.4rem 0.7rem;
    }

    .highlight-feature-badge .feature-info {
        display: none;
    }

    .highlight-feature-badge .feature-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 1024px) {
    .highlights-bar-container {
        padding: 0.6rem 1rem;
        gap: 1rem;
    }

    .updates-ticker {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .property-highlights-bar {
        top: 60px;
    }

    .highlights-bar-container {
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }

    .highlights-offers {
        order: 1;
    }

    .highlights-features {
        order: 2;
        flex: 0 0 100%;
        justify-content: center;
    }

    .highlights-host-link {
        order: 3;
    }

    .highlight-offer-card .offer-valid {
        display: none;
    }
}

@media (max-width: 480px) {
    .highlights-bar-container {
        padding: 0.5rem 0.75rem;
    }

    .highlight-offer-card {
        padding: 0.5rem 0.75rem;
    }

    .highlights-features {
        gap: 0.4rem;
    }

    .highlight-feature-badge {
        padding: 0.35rem 0.5rem;
    }

    .highlight-feature-badge .feature-icon {
        width: 28px;
        height: 28px;
    }

    .highlight-feature-badge .feature-icon svg {
        width: 14px;
        height: 14px;
    }

    .host-mini-avatar {
        width: 30px;
        height: 30px;
    }

    .host-mini-avatar img {
        width: 30px;
        height: 30px;
    }

    .host-superhost-badge {
        width: 12px;
        height: 12px;
    }

    .highlight-offer-card .offer-icon {
        width: 28px;
        height: 28px;
    }

    .highlight-offer-card .offer-title {
        font-size: 0.8rem;
    }

    .highlights-updates {
        flex: 0 0 auto;
    }

    .updates-ticker {
        display: none;
    }

    .host-link-text {
        display: none;
    }

    .highlights-host-link {
        padding: 0.5rem;
        border-radius: 50%;
    }

    .highlights-host-link svg {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* ANIMATION                                                                    */
/* ═══════════════════════════════════════════════════════════════════════════ */

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0);
    }
}

.highlight-offer-card.has-new {
    animation: pulse-glow 2s infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* DISCOVER HOST SECTION                                                        */
/* ═══════════════════════════════════════════════════════════════════════════ */

.discover-host-section {
    margin: 2rem 0;
}

.discover-host-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(
        145deg,
        rgba(99, 102, 241, 0.12) 0%,
        rgba(79, 70, 229, 0.08) 100%
    );
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.discover-host-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.1) 0%,
        transparent 50%,
        rgba(139, 92, 246, 0.1) 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.discover-host-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.discover-host-card:hover::before {
    opacity: 1;
}

.discover-host-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
}

.discover-host-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: visible;
    flex-shrink: 0;
}

.discover-host-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(99, 102, 241, 0.5);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.superhost-mini-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.superhost-mini-badge svg {
    width: 16px;
    height: 16px;
    fill: #1f2937;
}

.discover-host-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.discover-host-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0;
}

.discover-host-tagline {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
}

.discover-host-stats {
    display: flex;
    gap: 1rem;
    margin-top: 0.25rem;
}

.discover-host-stats .stat {
    font-size: 0.8rem;
    color: #64748b;
}

.discover-host-stats .stat strong {
    color: #22d3ee;
    font-weight: 600;
}

.discover-host-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.discover-host-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary, #6366f1), #8b5cf6);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.discover-host-card:hover .discover-host-cta {
    transform: translateX(4px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.discover-host-cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.discover-host-card:hover .discover-host-cta svg {
    transform: translateX(4px);
}

.discover-host-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .discover-host-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: 1.25rem;
    }

    .discover-host-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .discover-host-stats {
        justify-content: center;
    }

    .discover-host-right {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .discover-host-avatar {
        width: 70px;
        height: 70px;
    }

    .discover-host-name {
        font-size: 1.15rem;
    }

    .discover-host-cta {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

