.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.back-nav {
    margin: 1rem 0;
}

.back-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #333;
}

.museum-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.museum-image {
    width: 100%;
    background-color: #e0e0e0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    max-width: 500px;
    position: relative;
}

.museum-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.provider-type-indicator {
    width: 2px;
    height: 16px;
    background-color: #236bf6;
    margin-right: 12px;
    border-radius: 2px;
    margin-bottom: 4px;
}

.provider-title-container {
    display: flex;
    flex-direction: column;
}

.partner-type {
    font-size: 12px;
    color: #333;
    font-weight: normal;
}

.title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.5rem;
  }

.price-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-grid .museum-info-label {
    display: inline-block;
    width: auto;
}

.price-grid .time {
    display: inline-block;
    font-size: 14px;
}

.price-badge {
    position: absolute;
    top: -40px;
    right: -20px;
    background-color: #e0e032;
    border-radius: 100%;
    width: 140px;
    height: 140px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    padding-left: 28px;
    padding-bottom: 36px;
}

.price-badge span {
    display: block;
    line-height: 1.0;
}

.price-badge span:first-child {
    font-size: 18px;
}

.price-label {
    font-size: 18px;
}

.museum-info {
    width: 100%;
    padding: 0;
}

.museum-info h1 {
    margin-top: 0;
    margin-bottom: 0.5rem; 
}

.museum-info-grid {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
}

.museum-info-label {
    font-weight: bold;
    color: #333;
    font-size: 12px;
    margin-right: 2px;
    display: inline-block;
    vertical-align: top;
}

.museum-info-value {
    color: #333;
    font-size: 12px;
    margin-bottom: 1rem;
    display: inline-block;
    vertical-align: top;
}

.tabs-container {
    margin-top: 2rem;
    width: 100%;
}

button {
    cursor:pointer;
}

.tabs-buttons {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
}

.tab {
    padding: 12px 24px;
    cursor: pointer;
    font-weight: bold;
    border: none;
    background: none;
    position: relative;
    font-size: 16px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    margin-right: 5px;
    transition: background-color 0.3s ease;
}

.tab::after {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background-color: transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: background-color 0.3s ease;
}

.tab.active {
    color: #236bf6;
    background-color: #F1F5F9;
}

.tab-content {
    display: none;
    width: 100%;
    padding: 20px;
    background-color: #F1F5F9;
    border-radius: 8px;
    border-top-left-radius: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

.tab-content.active {
    display: block;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

.left-column, .right-column {
    width: 100%;
}

.info-row {
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.info-row .museum-info-label {
    margin-bottom: 0;
    margin-right: 10px;
}

.info-row .info-value {
    display: inline-block;
    font-size: 14px;
}

.description-section {
    margin-top: 20px;
    margin-bottom: 30px; /* Add consistent bottom margin */
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.hours-grid .museum-info-label {
    margin-bottom: 0;
}

.time {
    font-size: 14px;
}

.price-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.price-row .museum-info-label {
    margin-bottom: 0;
    margin-right: 10px;
}

.price-row .time {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 0;
}

.price-row span {
    margin-bottom: 0;
    font-size: 15px;
}

.right-column .desciption-section {
    margin-bottom: 30px;
}

.contact-title {
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 10px;
    font-size: 16px;
}

.contact-section {
    margin-bottom: 30px;
}

.ticket-button {
    display: inline-block;
    background-color: #236bf6;
    color: white;
    font-weight: bold;
    padding: 10px 36px;
    font-size: 12px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ticket-button:hover {
    background-color: #236bf6;
    color: white;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.cta-section {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.events-section {
    margin-top: 40px;
}

.event-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.event-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.event-card-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #F1F5F9;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

.event-card-content {
    padding: 15px;
    background-color: white;
}

.contact-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow: scroll;
}

.popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #666;
}

.form-group {
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    line-height: 48px;
}

#contactForm input,
#contactForm textarea {
    width: 67%;
}

#contactForm textarea {
    padding: 16px;
    border-radius:20px;
}

.product__social {
    margin-top: 2rem;
}

.redactor {
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
    .museum-details {
        flex-direction: row;
    }
    
    .museum-image {
        flex: 1;
        max-width: 50%;
    }
    
    .museum-info {
        flex: 1;
        padding: 1rem;
    }
    
    .content-grid {
        flex-direction: row;
    }
    
    .right-column {
        display: flex;
        flex-direction: column;
    }
    
    .price-row {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .price-grid {
        display: grid;
        grid-template-columns: auto 1fr;
        row-gap: 10px;
        column-gap: 10px;
    }
    
    .price-row span {
        margin-bottom: 0;
    }
    
    .event-cards {
        flex-direction: row;
    }
    
    .event-card {
        width: 250px;
    }
    
    .hours-grid {
        display: grid;
        grid-template-columns: auto 1fr;
        row-gap: 10px;
        column-gap: 50px;
    }
}