/* Vendors Page Specific Styles */

/* Hero Section */
.vendors-hero {
    background: url('../img/bg.jpg') center/cover;
    /* background: linear-gradient(135deg, rgba(255, 69, 51, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%); */
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, black 100%); */
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* .vendors-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/bg.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
} */

overlay::before {
    position: absolute;
    content: "";
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.3) 0%, black 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.3) 0%, black 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, black 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4d000000', endColorstr='#000000', GradientType=0);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

.vendors-hero-content h1 {
    font-family: 'Monoton', cursive;
    font-size: 4rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;

}

.vendors-hero-content p {
    font-size: 1.3rem;
    color: #AAB1B7;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Changa One', cursive;
    font-size: 3rem;
    color: #FF4533;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Filters Section */
.vendor-filters {
    background: #000000;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.vendor-filters::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 69, 51, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.filter-container {
    position: relative;
    z-index: 1;
}

.filter-container h3 {
    font-family: 'Changa One', cursive;
    color: #FF4533;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: #AAB1B7;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    font-family: 'Muli', sans-serif;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 69, 51, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover {
    color: #fff;
    border-color: rgba(255, 69, 51, 0.5);
    background: rgba(255, 69, 51, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 69, 51, 0.2);
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    background: #FF4533;
    border-color: #FF4533;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 69, 51, 0.4);
    font-weight: 600;
}

.filter-btn.active::before {
    display: none;
}


.search-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 20px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: 'Muli', sans-serif;
}

.search-input:focus {
    outline: none;
    border-color: #FF4533;
    box-shadow: 0 0 0 3px rgba(255, 69, 51, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.search-icon {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    color: #FF4533;
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input:focus+.search-icon {
    color: #FF4533;
}


/* Vendors Grid */
.vendors-section {
    padding: 80px 0;
    background: #000;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.vendor-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(10px);
}

.vendor-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 69, 51, 0.5);
    box-shadow: 0 20px 40px rgba(255, 69, 51, 0.2);
}

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

.vendor-card:hover .vendor-image {
    transform: scale(1.05);
}

.vendor-content {
    padding: 25px;
}

.vendor-name {
    font-family: 'Changa One', cursive;
    font-size: 1.4rem;
    color: #FF4533;
    margin-bottom: 8px;
}

.vendor-category {
    font-size: 0.9rem;
    color: #4cd3e3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}

.vendor-description {
    color: #AAB1B7;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vendor-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.vendor-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 0.9rem;
}

.vendor-location i {
    color: #FF4533;
}

.vendor-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffce54;
}

.vendor-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vendor-tag {
    background: rgba(255, 69, 51, 0.2);
    color: #FF4533;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 69, 51, 0.3);
}

/* No Results */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: #AAB1B7;
}

.no-results i {
    font-size: 4rem;
    color: #FF4533;
    margin-bottom: 20px;
}

.no-results h3 {
    font-family: 'Changa One', cursive;
    color: #fff;
    margin-bottom: 10px;
}

/* CTA Section */
.vendor-cta-section {
    background: #000;
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.simple-cta-content h3 {
    font-family: 'Changa One', cursive;
    font-size: 2.5rem;
    color: #FF4533;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.simple-cta-content p {
    color: #AAB1B7;
    margin-bottom: 30px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.simple-cta-content .boxed-btn3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 18px 35px;
}

/* Modal Styles */
.vendor-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.vendor-modal .modal-content {
    background: #000;
    margin: 2% auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.vendor-modal .modal-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.close-modal {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #FF4533;
    transform: scale(1.1);
}

.vendor-modal .modal-body {
    padding: 0;
    max-height: 90vh;
    overflow-y: auto;
}

.vendor-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.vendor-image-container {
    position: relative;
    background: #111;
    overflow: hidden;
}

.vendor-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 500px;
    transition: transform 0.3s ease;
}


.vendor-main-image:hover {
    transform: scale(1.05);
}

.vendor-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #FF4533;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 69, 51, 0.4);
}

.vendor-info {
    padding: 40px;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(255, 69, 51, 0.02) 0%, transparent 50%);
}

.vendor-info h2 {
    font-family: 'Changa One', cursive;
    color: #FF4533;
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #FF4533, #ff6b52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vendor-info>p {
    color: #AAB1B7;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border-left: 4px solid #FF4533;
}

.vendor-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(255, 69, 51, 0.05);
    border-color: rgba(255, 69, 51, 0.2);
    transform: translateY(-2px);
}

.detail-item i {
    color: #FF4533;
    font-size: 1.2rem;
    margin-top: 2px;
    min-width: 20px;
}

.detail-item div {
    flex: 1;
}

.detail-item strong {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item span {
    color: #AAB1B7;
    font-size: 0.95rem;
}

.vendor-story {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vendor-story h4 {
    font-family: 'Changa One', cursive;
    color: #FF4533;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.vendor-story p {
    color: #AAB1B7;
    line-height: 1.6;
}

.vendor-social {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vendor-social h4 {
    font-family: 'Changa One', cursive;
    color: #FF4533;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.social-link:hover {
    background: #FF4533;
    border-color: #FF4533;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 69, 51, 0.3);
}

.social-link i {
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .vendor-detail-content {
        grid-template-columns: 1fr;
    }

    .vendor-image-container {
        height: 300px;
    }

    .vendor-main-image {
        min-height: 300px;
    }

    .vendor-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Loading and Error States */
.modal-loading,
.modal-error {
    padding: 60px 40px;
    text-align: center;
}

.modal-loading i,
.modal-error i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.5;
    }
}


/* Responsive Modal Design */
@media (max-width: 1024px) {
    .vendor-detail-content {
        grid-template-columns: 1fr;
    }

    .vendor-image-container {
        height: 300px;
    }

    .vendor-main-image {
        min-height: 300px;
    }

    .vendor-details-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}


@media (max-width: 768px) {
    .vendors-hero {
        padding: 120px 0 80px;
    }

    .vendors-hero-content h1 {
        font-size: 2.5rem;
    }

    .vendors-hero-content p {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .vendor-filters {
        padding: 50px 0;
    }

    .filter-container h3 {
        font-size: 1.8rem;
        margin-bottom: 25px;
    }

    .filter-buttons {
        gap: 10px;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        border-radius: 20px;
    }

    .vendors-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .vendor-modal .modal-content {
        width: 98%;
        margin: 1% auto;
    }

    .vendor-info {
        padding: 30px 20px;
    }

    .vendor-info h2 {
        font-size: 2rem;
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .search-container {
        padding: 0 15px;
    }

    .search-input {
        padding: 12px 45px 12px 18px;
        font-size: 0.95rem;
    }

    .search-icon {
        right: 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .vendors-hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .vendor-filters {
        padding: 40px 0;
    }

    .filter-container h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .filter-btn {
        width: 200px;
        text-align: center;
        padding: 10px 20px;
        border-radius: 18px;
    }


    .vendors-grid {
        grid-template-columns: 1fr;
    }

    .vendor-modal .modal-content {
        width: 98%;
        margin: 1% auto;
    }

    .vendor-info {
        padding: 20px 15px;
    }

    .vendor-info h2 {
        font-size: 1.8rem;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        justify-content: center;
    }

    .detail-item {
        padding: 12px;
    }

    .vendor-story,
    .vendor-social {
        padding: 15px;
    }

    .search-container {
        padding: 0 10px;
    }

    .search-input {
        padding: 12px 40px 12px 16px;
        border-radius: 20px;
    }

    .search-icon {
        right: 25px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vendor-card {
    animation: fadeIn 0.6s ease-out;
}

/* Custom Scrollbar for Modal */
.vendor-info::-webkit-scrollbar {
    width: 6px;
}

.vendor-info::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.vendor-info::-webkit-scrollbar-thumb {
    background: #FF4533;
    border-radius: 3px;
}

.vendor-info::-webkit-scrollbar-thumb:hover {
    background: #e63e2e;
}

/* Animation for filter section */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vendor-filters {
    animation: slideDown 0.6s ease-out;
}

/* Additional enhancement for active state animation */
.filter-btn.active {
    animation: activePulse 0.3s ease-out;
}

@keyframes activePulse {
    0% {
        transform: translateY(-2px) scale(1);
    }

    50% {
        transform: translateY(-2px) scale(1.05);
    }

    100% {
        transform: translateY(-2px) scale(1);
    }
}

/* Search input animation when focused */
.search-input:focus {
    animation: searchFocus 0.3s ease-out;
}

@keyframes searchFocus {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}