/* Firebase Data Layouts for Main Site */

/* Sergi (Showcase) Styles */
#firebase-gallery {
    padding: 0;
    margin: 0;
}

.exhibition-piece {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.exhibition-piece:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.piece-image {
    width: 100%;
    height: 400px;
    /* Tall aesthetic fashion ratio */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.piece-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.0));
    padding: 1.5rem;
}

.piece-cat {
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 4px 10px;
    border-radius: 20px;
}

.piece-info {
    padding: 2rem;
    text-align: center;
}

.piece-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #111;
}

.piece-story {
    font-family: 'Caveat', cursive;
    font-size: 1.4rem;
    color: #555;
    line-height: 1.4;
}

/* Atölye (Atelier) Timeline Styles */
#firebase-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.atelier-process-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.process-header {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.header-inner {
    z-index: 2;
    padding: 2rem;
}

.process-badge {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 10px;
}

.process-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.process-start {
    font-style: italic;
    opacity: 0.7;
    font-size: 0.9rem;
}

.process-timeline {
    padding: 3rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 3rem;
    bottom: 3rem;
    left: 3.5rem;
    width: 2px;
    background: #eaeaea;
}

.timeline-step {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-dot {
    position: absolute;
    left: 0.35rem;
    /* center on the 3.5rem line */
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #111;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
    z-index: 10;
}

.step-date {
    display: block;
    font-size: 0.8rem;
    color: #b38b5d;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.step-text {
    font-family: 'Caveat', cursive;
    font-size: 1.6rem;
    color: #333;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.timeline-img {
    max-width: 100%;
    border-radius: 4px;
    max-height: 300px;
    object-fit: cover;
}

.empty-timeline {
    text-align: center;
    font-style: italic;
    color: #aaa;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}