/* ============================================
   Exhibition Details Page Styles
   ============================================ */

:root {
    --exhibition-bg: #FAFAF8;
    --exhibition-border: #E8E3D8;
    --highlight-color: #F3D02D;
    --text-dark: #333333;
    --text-muted: #666666;
}

/* ============================================
   Carousel Hero Section
   ============================================ */

.exhibition-hero {
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-top: 100px;
    position: relative;
}

.carousel-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    margin-bottom: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    user-select: none;
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: grab;
}

.carousel-wrapper.dragging {
    cursor: grabbing;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    user-select: none;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: #F3D02D;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(243, 208, 45, 0.4);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    background: #F3D02D;
    border-color: #F3D02D;
    width: 32px;
    border-radius: 6px;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.carousel-content {
    text-align: center;
    color: #fff;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-family: 'Playfair Display', serif;
}

.carousel-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #F3D02D;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
    color: #333;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-control:hover {
    background: #F3D02D;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(243, 208, 45, 0.4);
}

.carousel-control.carousel-prev {
    left: 20px;
}

.carousel-control.carousel-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background: #F3D02D;
    border-color: #F3D02D;
    width: 32px;
    border-radius: 5px;
}

.carousel-indicator:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Exhibition Details Section
   ============================================ */

.exhibition-details-section {
    padding: 80px 20px;
    background: #fff;
}

.details-card {
    background: var(--exhibition-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--exhibition-border);
    height: 100%;
}

.details-title {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Exhibition Meta Information */
.exhibition-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--exhibition-border);
}

.meta-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F3D02D, #DFBE40);
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.meta-content {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Ensure venue name truncates to one line with ellipsis while icon stays visible */
.venue-name-ellipsis {
    flex: 1 1 auto;
    min-width: 0; /* allow text to shrink in flex container */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; /* ensure ellipsis works on anchor tags too */
}

.venue-map-icon {
    flex-shrink: 0;
}

/* Exhibition Description */
.exhibition-description {
    margin-bottom: 30px;
}

.sub-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.exhibition-description p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Exhibition Highlights */
.exhibition-highlights {
    margin-bottom: 30px;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.highlights-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.highlights-list i {
    color: #F3D02D;
    font-size: 16px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-buttons a {
    padding: 12px 35px;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ============================================
   Stats Sidebar
   ============================================ */

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

.stats-card,
.info-card {
    background: var(--exhibition-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--exhibition-border);
}

.stats-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.stat-item {
    text-align: center;
    padding: 15px;
    border-bottom: 1px solid var(--exhibition-border);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #F3D02D;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Highlight Card */
.highlight-card {
    background: linear-gradient(135deg, #F3D02D 0%, #DFBE40 100%);
    border: none;
    color: #fff;
}

.highlight-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.highlight-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.highlight-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.95);
}

.highlight-card .u-btn-primary {
    background: #fff;
    color: #F3D02D;
}

.highlight-card .u-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Info Card */
.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: #F3D02D;
    font-size: 16px;
}

/* ============================================
   Gallery Section
   ============================================ */

.gallery-section {
    padding: 0px 20px;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    background: #f0f0f0;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #F3D02D;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gallery-zoom:hover {
    background: #E0BE25;
    transform: scale(1.15);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(243, 208, 45, 0.05) 0%, rgba(223, 190, 64, 0.05) 100%);
}

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

.pricing-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    border: 2px solid var(--exhibition-border);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: #F3D02D;
    box-shadow: 0 15px 40px rgba(243, 208, 45, 0.15);
}

.pricing-card.featured {
    border-color: #F3D02D;
    background: linear-gradient(135deg, #fff 0%, rgba(243, 208, 45, 0.05) 100%);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #F3D02D;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.pricing-description {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.currency {
    font-size: 20px;
    font-weight: 600;
    color: #F3D02D;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.period {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--exhibition-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    width: 16px;
    text-align: center;
    font-size: 12px;
}

.pricing-features i.fa-check {
    color: #4CAF50;
}

.pricing-features i.fa-times {
    color: #ccc;
}

.btn-full-width {
    width: 100%;
    display: block;
    text-align: center;
}

.pricing-note {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #F3D02D;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.pricing-note i {
    color: #F3D02D;
    margin-right: 8px;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 80px 20px;
    background: #fff;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 2px solid var(--exhibition-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #F3D02D;
    box-shadow: 0 5px 20px rgba(243, 208, 45, 0.1);
}

.faq-question {
    width: 100%;
    background: var(--exhibition-bg);
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.faq-question:hover {
    background: rgba(243, 208, 45, 0.1);
}

.faq-item.active .faq-question {
    background: #F3D02D;
    color: #fff;
}

.faq-text {
    text-align: left;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 20px;
    background: #fff;
    border-top: 1px solid var(--exhibition-border);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 500px;
    }
}

.faq-answer p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ============================================
   Description Section
   ============================================ */

.description-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(243, 208, 45, 0.05) 0%, rgba(223, 190, 64, 0.05) 100%);
}

.description-content {
    max-width: 1200px;
    margin: 0 auto;
}

.description-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.description-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--exhibition-border);
    text-align: center;
    transition: all 0.3s ease;
}

.description-item:hover {
    transform: translateY(-8px);
    border-color: #F3D02D;
    box-shadow: 0 10px 30px rgba(243, 208, 45, 0.15);
}

.description-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #F3D02D, #DFBE40);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    transition: all 0.3s ease;
}

.description-item:hover .description-icon {
    transform: scale(1.1) rotate(10deg);
}

.description-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.description-item p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   Final CTA Section
   ============================================ */

.cta-final-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #F3D02D 0%, #DFBE40 100%);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 30px;
}

.cta-final-section .cta-buttons {
    justify-content: center;
}

.cta-final-section .u-btn-primary {
    background: #fff;
    color: #F3D02D;
}

.cta-final-section .u-btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #E0BE25;
}

.cta-final-section .u-btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.cta-final-section .u-btn-secondary:hover {
    background: #fff;
    color: #F3D02D;
    border-color: #fff;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 120px 20px 0;
    }

    .breadcrumb-link {
        font-size: 13px;
        padding: 5px 10px;
    }

    .breadcrumb-item.active span {
        font-size: 13px;
        padding: 5px 10px;
    }

    .page-title {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 14px;
        flex-direction: row;
        gap: 4px;
    }

    .carousel-container {
        border-radius: 12px;
    }

    .carousel-wrapper {
        border-radius: 12px;
    }

    .carousel-image {
        border-radius: 12px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .carousel-control.carousel-prev {
        left: 15px;
    }

    .carousel-control.carousel-next {
        right: 15px;
    }

    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }

    .carousel-indicator {
        width: 8px;
        height: 8px;
    }

    .carousel-indicator.active {
        width: 24px;
    }

    .exhibition-details-section {
        padding: 60px 20px;
    }

    .details-card {
        padding: 25px;
    }

    .details-title {
        font-size: 28px;
    }

    .exhibition-meta {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .highlights-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-grid {
        gap: 20px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .description-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .breadcrumb-section {
        padding: 120px 15px 0;
    }

    .breadcrumb-list {
        gap: 6px;
    }

    .breadcrumb-link {
        font-size: 12px;
        padding: 4px 8px;
        gap: 4px;
    }

    .breadcrumb-item:first-child .breadcrumb-link span,
    .breadcrumb-item.active span {
        display: inline;
    }

    .breadcrumb-item.active span {
        font-size: 12px;
        padding: 4px 8px;
    }

    .breadcrumb-separator {
        font-size: 8px;
    }

    .page-title {
        font-size: 24px;
    }

    .page-subtitle {
        font-size: 13px;
    }

    .carousel-container {
        border-radius: 10px;
    }

    .carousel-wrapper {
        border-radius: 10px;
    }

    .carousel-image {
        border-radius: 10px;
    }

    .carousel-control {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .carousel-control.carousel-prev {
        left: 10px;
    }

    .carousel-control.carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }

    .carousel-indicator {
        width: 7px;
        height: 7px;
    }

    .carousel-indicator.active {
        width: 20px;
    }

    .exhibition-details-section {
        padding: 40px 15px;
    }

    .details-card {
        padding: 20px;
    }

    .details-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .meta-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .meta-value {
        font-size: 14px;
    }

    .meta-label {
        font-size: 11px;
    }

    .sub-section-title {
        font-size: 18px;
    }

    .exhibition-description p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
        padding: 12px 20px;
    }

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

    .pricing-card {
        padding: 25px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .price {
        font-size: 36px;
    }

    .cta-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 22px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .faq-question {
        padding: 15px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 15px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

/* ============================================
   Section Title Styles
   ============================================ */

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #F3D02D, transparent);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .section-title::after {
        width: 40px;
        bottom: -8px;
    }
}

/* ============================================
   Venue Location Modal Styles
   ============================================ */

.venue-location-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.venue-location-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.venue-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.venue-modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.venue-location-modal.active .venue-modal-content {
    transform: scale(1);
}

.venue-modal-header {
    padding: 30px;
    background: linear-gradient(135deg, #F3D02D 0%, #DFBE40 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-shrink: 0;
}

.venue-modal-header-text {
    flex: 1;
}

.venue-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.venue-modal-title i {
    font-size: 24px;
    color: #333333;
}

.venue-modal-subtitle {
    font-size: 14px;
    color: #555555;
    margin: 0;
    line-height: 1.5;
}

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

.venue-modal-close:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.venue-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.venue-map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--exhibition-border);
    background: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.venue-modal-footer {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.venue-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #F3D02D 0%, #DFBE40 100%);
    color: #333333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(243, 208, 45, 0.3);
}

.venue-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 208, 45, 0.4);
    color: #222222;
}

.venue-directions-btn i {
    font-size: 18px;
}

/* Modal Scrollbar */
.venue-modal-body::-webkit-scrollbar {
    width: 6px;
}

.venue-modal-body::-webkit-scrollbar-track {
    background: #F5F5F5;
}

.venue-modal-body::-webkit-scrollbar-thumb {
    background: var(--highlight-color);
    border-radius: 3px;
}

.venue-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-dark);
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .venue-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .venue-modal-header {
        padding: 20px;
    }

    .venue-modal-title {
        font-size: 22px;
    }

    .venue-modal-title i {
        font-size: 20px;
    }

    .venue-modal-subtitle {
        font-size: 13px;
    }

    .venue-modal-body {
        padding: 20px;
    }

    .venue-map-wrapper {
        height: 300px;
    }

    .venue-directions-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .venue-modal-header {
        padding: 16px;
    }

    .venue-modal-title {
        font-size: 20px;
        gap: 8px;
    }

    .venue-modal-body {
        padding: 16px;
    }

    .venue-map-wrapper {
        height: 250px;
    }
}
