/* Purveyors of Freedom Section Styles */

.purveyors-section {
    padding: 6rem 0;
    background-color: #1A2332;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.purveyors-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .purveyors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.purveyor-card {
    position: relative;
    display: block;
    width: 400px; /* Fixed width */
    height: 200px; /* Reduced fixed height */
    background-color: #0F1821;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.purveyor-card:hover {
    border-color: #D4A574;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.purveyor-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    opacity: 0.7;
}

.purveyor-card:hover .purveyor-bg {
    transform: scale(1.1);
    opacity: 0.4;
}

.purveyor-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 2rem;
    background: rgba(15, 24, 33, 0.4); /* Slight darkening */
    transition: background 0.3s ease;
}

.purveyor-card:hover .purveyor-content {
    background: rgba(15, 24, 33, 0.2);
}

.purveyor-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: #D4A574;
    transition: transform 0.3s ease;
}

.purveyor-card:hover .purveyor-icon {
    transform: scale(1.1);
    color: #FFF;
}

.purveyor-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #FFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0 0 16px 0; /* Added bottom margin to prevent overlap */
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.purveyor-link {
    margin-top: 1.5rem;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #D4A574;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.purveyor-card:hover .purveyor-link {
    border-bottom-color: #D4A574;
    color: #FFF;
}

/* Brands Grid */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    opacity: 0.8;
}

@media (min-width: 640px) {
    .brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1024px) {
    .brands-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

.brand-item {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #555;
    text-align: center;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    cursor: default;
}

.brand-item:hover {
    color: #FFF;
    border-color: #D4A574;
    background: rgba(212, 165, 116, 0.05);
}

/* Trust Badges Banner */
.trust-badges-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0F1821; /* Dark background matches section */
    border: 1px solid rgba(212, 165, 116, 0.2); /* Gold border faint */
    padding: 32px;
    margin-top: 64px;
    flex-wrap: wrap;
    gap: 24px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 200px;
}

.trust-badge-icon {
    width: 48px;
    height: 48px;
    background-color: #D4A574; /* Gold Background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F1821; /* Dark Icon */
    border-radius: 2px; /* Slight rounded edges */
    flex-shrink: 0;
}

.trust-badge-content h4 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.trust-badge-content p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #99A1AF;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .trust-badges-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .trust-badges-container {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}
