/* Swipe Page Styles */

/* Header Styles */
.gallery-header {
    position: fixed;
    display: flex;
    z-index: 1000;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.gallery-header > h1 {
    color: #333;
    font-size: 1.5rem;
    margin: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#home-btn {
    background: linear-gradient(45deg, #333, #666);
    color: white;
    border: none;
    position: absolute;
    right: 1rem;
    padding: 0.5rem 2rem;
    margin-top: 0.5rem;
    border-radius: 2rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 4rem;
    left: 0;
    width: 100%;
    height: 1.5rem;
    z-index: 1000;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #FF0000, #FFFF00, #2E6F40);
    transition: width 0.2s;
}

/* Artwork Card */
.swipe-page .container {
    padding-top: 3rem;
}

#artwork-container {
    perspective: 1000px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    touch-action: none;
    height: 100vh;
}

.artwork-card {
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
}

.artwork-card:active {
    cursor: grabbing;
}

.artwork-card img {
    width: 100%;
    height: 70vh;
    object-fit: contain;
    pointer-events: none;
    background: #f0f0f0;
}

.artwork-info {
    padding: 1rem;
    pointer-events: none;
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 1rem;
}

.artwork-info h2 {
    font-size: 1.5em;
    margin-bottom: 0.5rem;
    color: #333;
}

.artwork-info p {
    color: #666;
    /*margin: 5px 0;*/
    font-size: 1.2rem;

}

#artwork-title {
    position: fixed;
    left: 1rem;
}

#artwork-artist {
    position: fixed;
    right: 1rem;
}

#artwork-year {
    visibility: hidden;
}

/* Swipe Indicators */
.swipe-indicator {
    position: absolute;
    top: 50px;
    font-size: 5rem; /* play with this */
    font-weight: bold;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.like-indicator {
    right: 30px;
    color: #4caf50;
    transform: rotate(20deg);
}

.dislike-indicator {
    left: 30px;
    color: #f44336;
    transform: rotate(-20deg);
}

/* Swipe Buttons */
.swipe-buttons {
    /*display: flex;*/
    /*justify-content: center;*/
    /*gap: 20px;*/
}

.btn-like, .btn-dislike {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    border: none;
    font-size: 3rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
}

.btn-like {
    background: #4caf50;
    color: white;
    right: 2rem;
}

.btn-dislike {
    background: #f44336;
    color: white;
    position: fixed;
    left: 2rem;
}

.btn-like:hover, .btn-dislike:hover {
    transform: scale(1.1);
}

.btn-like:active, .btn-dislike:active {
    transform: scale(0.95);
    text-decoration: none;
}