.vendors-container {
    padding: 20px;
    max-width: 95%;
    margin: 0 auto;
}

.vendors-container h3 {
    color: var(--nature-blue);
} 

div.vendors-container > section {
    margin: 60px 0;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    backdrop-filter: blur(5px);
}

/* Common h2 styles for all sections */
div.vendors-container > section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--nature-blue);
    font-size: 2.2em;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

div.vendors-container > section h2::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 15px auto;
    border-radius: 2px;
    transition: width 0.8s ease-out;
    transition-delay: 0.3s;
}

div.vendors-container > section h2.fade-in-section::after {
    width: 80px;
}

div.vendors-container > section h2:hover {
    transform: translateY(-2px);
}

div.vendors-container > section h2:hover::after {
    width: 120px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    div.vendors-container > section h2 {
        font-size: 1.5em;
        padding: 10px 0;
    }
}

div.vendors-container > section:nth-of-type(3n+1) {
    background-color: var(--bg-color-1);
}

div.vendors-container > section:nth-of-type(3n+2) {
    background-color: var(--bg-color-2);
}

div.vendors-container > section:nth-of-type(3n) {
    background-color: var(--bg-color-3);
}

@media (max-width: 768px) {
    .vendors-container {
        max-width: 100%;
        padding: 10px;
    }
    div.vendors-container > section {
        padding: 20px;
        margin: 30px 0;
    }
}

.vendor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.vendor-item {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    font-weight: bold;
    color: var(--secondary-color);
    border: 1px solid var(--bg-color-2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    animation: fadeIn 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    text-align: center;
}

#modal-description {
    text-align: left;
    margin: 1rem 0;
    line-height: 1.7;
    color: #333;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}

#modal-title {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--primary-color);
}

#modal-logo {
    display: block;
    max-width: 150px;
    max-height: 150px;
    margin: 0 auto 15px auto;
}

#modal-links a {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

#modal-links a:hover {
    background-color: var(--secondary-color);
}

#modal-links a + a {
    margin-left: 15px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.venue-map-image {
    max-width: 70%;
    height: auto;
    margin: 0 auto;
    display: block;
}

@media (max-width: 1024px) {
    .venue-map-image {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .venue-map-image {
        max-width: 100%;
    }
}

/* Map Modal Styles */
.map-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.map-modal-content {
    position: relative;
    margin: 2% auto;
    padding: 0;
    width: 95%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.map-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 3001;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.map-modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Mobile responsive for map modal */
@media (max-width: 768px) {
    .map-modal-content {
        width: 98%;
        height: 95%;
        margin: 1% auto;
    }
    
    .map-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}