/****
webImport: true,
minify: true
****/

/* font awesome */
@import url(all.min.css);

* {
    margin: 0;
    padding: 0;
    border: 0 none;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #2c2c2c;
    position: fixed;
    height: 100%;
    width: 100%;
}

#main-body {
    background-color: lightslategray;
    flex-direction: column;
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 0px 10px 2px black;
}

section {
    width: 100%;
    position: relative;
    flex: 1;
    flex-shrink: 0;
    min-height: max(50vh, 100px);
    min-width: 200px;
}

section > #show-area {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 30px;
}

header,
footer {
    padding: 10px;
    width: 100%;
    background-color: #dcdcdc;
}

header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f0f0f0;
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 3px solid #444;
}

header h1 {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.exhibition-subtitle {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.exhibition-description {
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: #b0b0b0;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

footer {
    border-top: 2px solid #444;
}

#main-image {
    position: absolute;
    border-radius: 15px;
    box-shadow: 0px 0px 0px 3px white, 0px 0px 0px 6px black, 0px 0px 10px 7px lightgray;
    width: 20px;
    height: 20px;
    opacity: 0;
    transition: opacity 3s ease;
}

.loading-failed,
.loading {
    padding: 20%;
}

.loading-failed {
    display: none;
}

.image-load-failed .loading-failed {
    display: block;
}

.image-load-failed .loading,
.image-is-loaded .loading {
    display: none;
}

article {
    text-align: center;
    background-color: lightgray;
}

.navlink {
    opacity: 0;
    position: absolute;
    top: 0%;
    height: 100%;
    width: 50%;
    box-sizing: border-box;
    transition-duration: 1s;
    transition-property: opacity;
}

section:hover .navlink,
.navlink:hover {
    opacity: .8;
}

.navlink.prev {
    left: 0;
    text-align: left;
}

.navlink.next {
    right: 0;
    text-align: right;
}

.navlink div {
    font-size: 4em;
    color: whitesmoke;
    filter: drop-shadow(0 0 4px #fcfcfc);
    position: absolute;
    top: 40%;
}

.navlink.next div {
    right: 15%;
}

.navlink.prev div {
    left: 15%;
}

.share-link {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1.4em;
}

/* Enhanced Fine Art Exhibition Styles */

/* Gallery grid improvements */
.artwork-card {
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.artwork-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.artwork-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.artwork-info {
    padding: 1.2rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.artwork-title {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.artwork-description {
    font-family: 'Arial', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    font-style: italic;
}

.artwork-year {
    font-family: 'Arial', sans-serif;
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
    text-align: right;
}

/* Individual artwork page styling */
.artwork-details {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    padding: 2rem;
    margin: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.artwork-title-main {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 1px;
    font-weight: 300;
}

.artwork-description-main {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    text-align: center;
    font-style: italic;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.artwork-metadata {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    max-width: 400px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border: 1px solid #ddd;
}

.metadata-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.metadata-row:last-child {
    border-bottom: none;
}

.metadata-label {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metadata-value {
    font-family: 'Georgia', serif;
    color: #2c2c2c;
    font-size: 1rem;
}

.exhibition-footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #f0f0f0;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 8px;
}

.exhibition-footer .about-artist-header {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.5px;
}

.exhibition-footer .about-artist {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #d0d0d0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.share-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #444;
}

.share-section h4 {
    font-family: 'Arial', sans-serif;
    color: #ccc;
    margin-bottom: 1rem;
    font-weight: 300;
    font-size: 1rem;
}

.share-section .share-link {
    display: inline-block;
    margin: 0 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #ccc;
    text-decoration: none;
    font-size: 1.2rem;
}

.share-section .share-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

/* Enhanced navigation arrows */
.navlink div {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navlink:hover div {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .artwork-details {
        margin: 0.5rem;
        padding: 1.5rem;
    }
    
    .artwork-title-main {
        font-size: 1.8rem;
    }
    
    .artwork-metadata {
        max-width: 100%;
        padding: 1rem;
    }
    
    .exhibition-footer {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    header {
        padding: 2rem 1rem;
    }
    
    header h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    
    .exhibition-subtitle {
        font-size: 1rem;
    }
    
    .exhibition-description {
        font-size: 0.9rem;
    }
}

@media screen and (min-aspect-ratio: 4/3) {
    header {
        font-size: 3vh;
        font-weight: 500;
        padding: 2px;
    }

    header h1 {
        margin-bottom: 2px;
    }

    footer {
        font-size: 2vh;
        font-weight: 500;
    }

    footer .about-artist-header {
        display: none;
    }

    footer .about-artist::before {
        content: 'About: ';
    }
}

.ghost-footer,
.image-skinny header,
.image-skinny footer {
    display: none;
}

.image-skinny section {
    left: 0;
    width: 50%;
    padding: 5px;
}

.image-skinny article {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background: black;
    background: linear-gradient(90deg, lightslategray 0%, black 50%);
    color: white;
    padding: 3em;
}

.image-skinny .ghost-footer {
    margin-top: 5px;
    display: block;
}

.image-skinny #main-body {
    flex-direction: row;
}

.image-skinny h3 {
    margin-top: 12px;
}

a {
    padding: 6px;
    border-radius: 5px;
}

a:hover {
    background-color: #444;
}

.image-skinny a:hover {
    background-color: #314366;
}
