/* Base Styles */
:root {
    --dark-bg: #121212;
    --dark-secondary: #1e1e1e;
    --gold-primary: #eedd82;
    --gold-secondary: #d4b863;
    --text-light: #f5f5f5;
    --text-muted: #aaaaaa;
    --font-main: 'Lato', sans-serif;
    --font-display: 'Dancing Script', cursive;
    --gutter-size: 24px;
}

/* Page Load Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animated Content */
.artist-info, .artwork-grid, .artist-bio {
    animation: fadeIn 1s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--font-main);
    font-weight: 300;
    overflow-x: hidden;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.main-header {
    padding: 2rem;
    text-align: center;
    background-color: var(--dark-bg);
}

.site-title {
    font-size: 4.5rem;
    color: var(--gold-primary);
    font-family: var(--font-display);
    line-height: 1.2;
    margin: 0;
}

/* Main Content Styles */
.main-content {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    padding: 2rem;
    min-height: calc(100vh - 8.5rem);
    align-items: flex-start;
    justify-content: center;
    max-width: 1600px;
    margin: 0 auto;
}

/* Artist Image Styles */
.artist-image {
    flex: 0 1 500px;
    min-width: 350px;
    border: 2px solid var(--gold-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.artist-image img {
    width: 100%;
    display: block;
}

.artist-image .portrait {
    display: block;
}

.artist-image .landscape {
    display: none;
}

/* Artist Info Styles */
.artist-info {
    flex: 1;
    min-width: 350px;
    padding: 0 1rem;
}

.artist-name {
    font-family: var(--font-main);
    text-align: left;
    margin-bottom: 2rem;
    font-size: 2.4rem;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
    font-weight: 300;
}

.artist-name .caps {
    font-weight: 400;
}

.artist-name .first-name {
    display: block;
    font-size: 3.8rem;
    color: var(--gold-primary);
    letter-spacing: 0.05em;
}

.artist-name .rest-name {
    font-size: 2.4rem;
    color: var(--text-light);
}

.artist-bio-container {
    margin-bottom: 2rem;
}

.artist-bio {
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.8;
    text-align: justify;
    font-size: 1.1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    color: var(--gold-primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--gold-primary);
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.social-link svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Media Queries */
@media (max-width: 1024px) {
    .main-content {
        gap: 2rem;
        padding: 1.5rem;
    }

    .site-title {
        font-size: 3.5rem;
    }

    .artist-name {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .artist-image {
        width: 100%;
        max-width: 800px;
        min-width: auto;
        flex: none;
    }

    .artist-info {
        width: 100%;
        max-width: 800px;
        min-width: auto;
        flex: none;
        text-align: center;
    }

    .artist-image .portrait {
        display: none;
    }

    .artist-image .landscape {
        display: block;
    }

    .artist-name {
        text-align: center;
        font-size: 1.8rem;
    }

    .site-title {
        font-size: 2.8rem;
    }
}

/* Artist Details Section */
.artist-details-section {
    padding: 4rem 2rem;
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.details-container {
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.detail-segment {
    margin-bottom: 3rem;
}

.artist-details-section h2 {
    font-family: var(--font-display);
    color: var(--gold-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gold-secondary);
    text-align: center;
}

.artist-details-section p,
.artist-details-section ul {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.artist-details-section ul {
    list-style: none;
    padding-left: 0;
}

.artist-details-section li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.artist-details-section li::before {
    content: '•';
    color: var(--gold-primary);
    font-size: 1.2em;
    position: absolute;
    left: 0;
    top: 0px;
}

.artist-details-section li strong {
    color: var(--gold-secondary);
    font-weight: 400;
}

@media (max-width: 768px) {
    .artist-details-section {
        padding: 2rem 1rem;
    }
    .artist-details-section h2 {
        font-size: 2rem;
    }
    .artist-details-section p,
    .artist-details-section ul {
        font-size: 1rem;
    }
}


/* Artwork Section */
.artwork-section {
    padding: 4rem 2rem;
    background-color: var(--dark-secondary);
    margin-top: 0;
}

.artwork-grid {
    opacity: 0;
    transition: opacity 0.5s ease;
    margin: calc(var(--gutter-size) * -0.5) auto;
    max-width: 1600px;
    width: calc(100% + var(--gutter-size));
}

.artwork-item {
    width: calc(33.333% - var(--gutter-size));
    margin: calc(var(--gutter-size) * 0.5);
    background-color: var(--dark-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 1200px) {
    :root {
        --gutter-size: 20px;
    }
    .artwork-item {
        width: calc(50% - var(--gutter-size));
    }
}

@media (max-width: 768px) {
    :root {
        --gutter-size: 16px;
    }
    .artwork-section {
        padding: 2rem 1rem;
    }
    .artwork-item {
        width: calc(100% - var(--gutter-size));
    }
}

.artwork-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.artwork-image {
    width: 100%;
    overflow: hidden;
    flex: 0 0 auto;
}

.artwork-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.artwork-image img.loaded {
    opacity: 1;
}

/* Loading placeholder animation */
.artwork-image {
    position: relative;
    background: linear-gradient(110deg, var(--dark-bg) 8%, var(--dark-secondary) 18%, var(--dark-bg) 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
    min-height: 300px;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

.artwork-item:hover .artwork-image img {
    transform: scale(1.05);
}

.artwork-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.artwork-title {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.artwork-subtitle {
    font-size: 1rem;
    color: var(--gold-secondary);
    margin-bottom: 1rem;
    font-family: var(--font-main);
    font-weight: 300;
}

.artwork-technique {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
}

.artwork-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Artwork Meta Styles */
.artwork-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.artwork-meta-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.artwork-type {
    color: var(--gold-secondary);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    cursor: help;
}

.artwork-type i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.artwork-type:hover i {
    transform: scale(1.1);
}

.artwork-type-tooltip {
    position: absolute;
    background: var(--dark-secondary);
    color: var(--text-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    border: 1px solid var(--gold-secondary);
    white-space: nowrap;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    z-index: 1;
}

.artwork-type:hover .artwork-type-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.artwork-size {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.artwork-price {
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.artwork-image a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

/* Fancybox customization */
.fancybox__container {
    --fancybox-bg: rgba(18, 18, 18, 0.95);
    --fancybox-accent-color: var(--gold-primary);
}

/* SimpleLightbox Dark Theme */
.sl-dark.sl-wrapper {
    background-color: rgba(0, 0, 0, 0.9);
}

.sl-dark .sl-counter {
    color: var(--text-light);
}

.sl-dark .sl-caption {
    background: rgba(0, 0, 0, 0.8);
    color: var(--text-light);
}

.sl-dark .sl-close {
    color: var(--text-light);
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark-bg);
    padding: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--gold-primary);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.footer-link:hover {
    color: var(--gold-primary);
}

.footer-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Impressum Styles */
.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.impressum-section {
    margin-bottom: 2rem;
}

.impressum-section h3 {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.impressum-section h4 {
    color: var(--gold-primary);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    font-weight: 400;
}

.impressum-section p {
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .impressum-content {
        padding: 1rem;
    }
} 