/* Artist Page Styles - Fresh Start */

/* Desktop Layout */
.layout-container {
    grid-template-columns: 1fr 500px;
    grid-template-rows: 1fr;
}

.artist-main {
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    height: 100%;
}

.artist-sidebar {
    background-color: transparent;
    padding: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto;
    min-height: 0;
    height: 100%;
}

/* Artist Details Card */
.artist-details-card {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 300px;
}

.artist-image-container {
    width: 276px;
    height: 276px;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    flex-shrink: 0;
}

.artist-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Event Cards (Right Sidebar) */
.event-card {
    background-color: var(--surface);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.2s ease;
    height: 200px;
}

.event-card:hover {
    transform: translateY(-2px);
}

.event-card-image {
    width: 176px;
    height: 176px;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

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

.event-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Map */
#map {
    width: 100%;
    height: 500px;
    border-radius: 7px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Mobile Layout - Hidden by default */
.mobile-artist-container {
    display: none;
}

/* Mobile Artist Image */
.mobile-artist-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
}

.mobile-artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-artist-info-card {
    background-color: var(--surface);
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

.mobile-artist-title {
    margin-bottom: 10px;
}

.mobile-artist-location {
    margin-bottom: 10px;
}

.mobile-artist-description {
    margin-top: 45px;
}

.mobile-artist-description .description-text {
    background-color: var(--background);
}

.mobile-event-card {
    display: flex;
    gap: 12px;
    padding: 12px;
}

.mobile-event-card-image {
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 7px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

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

.mobile-event-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.mobile-event-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
}

.mobile-map {
    width: 100%;
    height: 250px;
    border-radius: 7px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Tablet and Mobile Responsive */
@media (max-width: 1024px) {
    .layout-container {
        display: none !important;
    }

    .main-content {
        padding-bottom: 20px;
        padding-top: calc(var(--header-height) + 20px);
        min-height: auto;
    }

    .page-container {
        padding: 0;
        max-width: 100%;
        display: flex;
        flex-direction: column;
    }

    .mobile-artist-container {
        display: block !important;
        position: relative;
        min-height: calc(100vh - var(--header-height) - 40px);
        background-color: rgba(10, 10, 10, 0.5);
        border-radius: 10px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 20px;
        margin: 0 20px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .mobile-artist-container::-webkit-scrollbar {
        display: none;
    }

    .mobile-artist-container .card {
        background-color: var(--surface);
        border-radius: 10px;
        padding: 12px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.2);
        margin-bottom: 15px;
    }

    .mobile-artist-container .card:last-child {
        margin-bottom: 0;
    }

    footer {
        position: relative;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: calc(65px + 20px);
    }

    .page-container {
        padding: 0;
    }

    .mobile-artist-container {
        min-height: calc(100vh - 65px - 40px);
        padding: 15px;
        margin: 0 15px;
    }

    .mobile-artist-container .card {
        padding: 10px;
    }

    .mobile-artist-info-card {
        padding: 10px;
    }

    .mobile-artist-description {
        margin-top: 35px;
    }

    .mobile-event-card {
        padding: 10px;
    }

    .mobile-event-card-image {
        width: 120px;
        height: 120px;
    }

    footer {
        margin-top: 20px;
    }
}
