/**
 * Vactours Trust Bar Styles
 * Modern, attractive trust indicators with mobile scroll
 */

/* Trust Bar Variables */
:root {
    --trust-primary: #1a3d4d;
    --trust-secondary: #3498db;
    --trust-accent: #f39c12;
    --trust-success: #27ae60;
    --trust-white: #ffffff;
    --trust-light: #f8f9fa;
    --trust-dark: #2c3e50;
    --trust-shadow: 0 4px 20px rgba(0,0,0,0.1);
    --trust-shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --trust-border-radius: 12px;
    --trust-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Trust Bar Container */
.vactours-trust-bar {
    background: #f8f9fa;
    padding: 4px 0;
    position: relative;
    overflow: hidden;
}

.vactours-trust-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.vactours-trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Trust Items Container */
.vactours-trust-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Individual Trust Item */
.vactours-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 4px 12px;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    transition: var(--trust-transition);
    cursor: pointer;
    position: relative;
    overflow: visible;
    flex: 1;
    min-width: 150px;
}

.vactours-trust-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1));
    opacity: 0;
    transition: var(--trust-transition);
}

.vactours-trust-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    box-shadow: var(--trust-shadow-hover);
}

.vactours-trust-item:hover::before {
    opacity: 1;
}

/* Trust Icon */
.vactours-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border-radius: 0;
    flex-shrink: 0;
    transition: var(--trust-transition);
}

.vactours-trust-item:hover .vactours-trust-icon {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.trust-icon {
    font-size: 18px;
    filter: none;
    color: #666;
}

/* Trust Content */
.vactours-trust-content {
    flex: 1;
    min-width: 0;
}

.vactours-trust-title {
    color: #1a3d4d;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
}

.vactours-trust-subtitle {
    color: #1a3d4d;
    font-size: 13px;
    line-height: 1.2;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
}

/* Animation for items */
.vactours-trust-bar[data-animation="true"] .vactours-trust-item {
    opacity: 0;
    transform: translateY(20px);
    animation: trustFadeInUp 0.6s ease forwards;
}

.vactours-trust-item:nth-child(1) { animation-delay: 0.1s; }
.vactours-trust-item:nth-child(2) { animation-delay: 0.2s; }
.vactours-trust-item:nth-child(3) { animation-delay: 0.3s; }
.vactours-trust-item:nth-child(4) { animation-delay: 0.4s; }
.vactours-trust-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes trustFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .vactours-trust-items {
        gap: 20px;
    }

    .vactours-trust-item {
        min-width: 180px;
        padding: 10px 16px;
    }

    .vactours-trust-title {
        font-size: 13px;
    }

    .vactours-trust-subtitle {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .vactours-trust-bar {
        padding: 3px 0;
    }

    .vactours-trust-container {
        padding: 0 10px;
        width: 100%;
        max-width: none;
        overflow: visible;
    }

    .vactours-trust-items {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 10px;
        padding: 5px 0;
        width: max-content;
        min-width: 100%;
    }

    .vactours-trust-items::-webkit-scrollbar {
        display: none;
    }

    .vactours-trust-item {
        flex-shrink: 0;
        flex-grow: 0;
        min-width: auto;
        width: auto;
        padding: 6px 8px;
        gap: 6px;
        overflow: visible;
    }

    .vactours-trust-icon {
        width: 16px;
        height: 16px;
    }

    .trust-icon {
        font-size: 14px;
    }

    .vactours-trust-title {
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: visible;
        text-overflow: initial;
        text-align: left;
    }

    .vactours-trust-content {
        max-width: none;
        width: auto;
        flex-shrink: 0;
        flex-grow: 0;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .vactours-trust-bar {
        padding: 2px 0;
    }

    .vactours-trust-container {
        padding: 0 5px;
        width: 100%;
        overflow: hidden;
    }

    .vactours-trust-items {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 10px;
        width: 100%;
    }

    .vactours-trust-item {
        min-width: auto;
        width: auto;
        padding: 6px 10px;
        gap: 6px;
        flex-shrink: 0;
    }

    .vactours-trust-icon {
        width: 18px;
        height: 18px;
    }

    .trust-icon {
        font-size: 14px;
    }

    .vactours-trust-title {
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
        overflow: visible;
        text-overflow: initial;
    }

    .vactours-trust-content {
        flex: none;
        width: auto;
    }
}


/* Scroll Hint for Mobile - Removed */

@keyframes scrollHint {
    0%, 70%, 100% { opacity: 0.7; }
    15%, 55% { opacity: 0.3; }
}

/* Print Styles */
@media print {
    .vactours-trust-bar {
        background: var(--trust-light) !important;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .vactours-trust-item {
        background: white !important;
        border: 1px solid #ddd !important;
        break-inside: avoid;
    }

    .vactours-trust-title,
    .vactours-trust-subtitle {
        color: var(--trust-dark) !important;
    }

    .vactours-trust-bar::before,
    .vactours-trust-bar::after {
        display: none !important;
    }
}