/* ================================== */
/*      11. CONFERENCE VENUE SECTION    */
/* ================================== */

/* --- Grid Layout --- */
.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-top: 50px;
}

/* --- Left Column (Image + Contact) --- */
.venue-left-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- Image Styling --- */
.venue-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* --- Contact Box (ใต้รูป) --- */
.venue-contact-box {
    background: rgba(240, 248, 255, 0.5);
    border: 2px solid rgba(11, 29, 42, 0.1);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.venue-contact-box h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.venue-contact-box h4::before {
    content: '';
    width: 4px;
    height: 22px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* --- Contact Links Grid --- */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Individual Venue Contact Item --- */
.venue-contact-box .contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px 20px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.venue-contact-box .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    opacity: 0.1;
    transition: left 0.3s ease;
    z-index: 0;
}

.venue-contact-box .contact-item:hover::before {
    left: 0;
}

.venue-contact-box .contact-item:hover {
    transform: translateX(5px);
}

/* ไอคอน - จัดให้อยู่ตรงกลาง */
.venue-contact-box .contact-item i {
    font-size: 1.5rem;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    line-height: 1;
}

/* ข้อความ - จัดให้อยู่ตรงกลาง */
.venue-contact-box .contact-item span {
    position: relative;
    z-index: 1;
    line-height: 24px; /* เท่ากับความสูงของไอคอน */
    display: inline-block;
}

/* --- Specific Colors for Venue Contact --- */
.venue-contact-box .contact-item.facebook {
    border-color: #1877f2;
}

.venue-contact-box .contact-item.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.2);
}

.venue-contact-box .contact-item.facebook i {
    color: #1877f2;
}

.venue-contact-box .contact-item.line {
    border-color: #06c755;
}

.venue-contact-box .contact-item.line:hover {
    border-color: #06c755;
    color: #06c755;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.2);
}

.venue-contact-box .contact-item.line i {
    color: #06c755;
}

.venue-contact-box .contact-item.instagram {
    border-color: #E4405F;
}

.venue-contact-box .contact-item.instagram:hover {
    border-color: #E4405F;
    color: #E4405F;
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.2);
}

.venue-contact-box .contact-item.instagram i {
    color: #E4405F;
}

/* --- Right Column Content --- */
.venue-content h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.venue-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* --- Map Wrapper --- */
.venue-map-wrapper {
    position: relative;
    padding-bottom: 65%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.venue-map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Action Buttons --- */
.venue-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.venue-actions .btn {
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.venue-actions .btn i {
    font-size: 1.1rem;
}

.venue-actions .btn-accent {
    background: var(--accent-color);
    color: white;
    border: 2px solid var(--accent-color);
}

.venue-actions .btn-accent:hover {
    background: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.venue-actions .btn-website {
    background: var(--primary-dark);
    border: 2px solid var(--accent-color);
    color: var(--text-main);
}

.venue-actions .btn-website:hover {
    background: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .venue-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .venue-actions {
        flex-direction: column;
    }
    
    .venue-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .venue-contact-box {
        padding: 20px;
    }
    
    .venue-contact-box h4 {
        font-size: 1.1rem;
    }
    
    .venue-contact-box .contact-item {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .venue-contact-box .contact-item i {
        font-size: 1.3rem;
        width: 22px;
        height: 22px;
    }
    
    .venue-contact-box .contact-item span {
        line-height: 22px;
    }
    
    .venue-content h3 {
        font-size: 18px;
    }
    
    .venue-map-wrapper {
        padding-bottom: 75%;
    }
}