* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.gallery-nav {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 15px; 
    margin-top: 15px;   
    margin-bottom: -20px; 
} 

/* Individual Image Page Styles */
.image-detail-page {
    min-height: 100vh;
    padding: 5px 0 0;
    background: #000000cc;
    color: #ffffff07;
}

/* Back button */
.gallery-button {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-bottom: 0px;
}

.gallery-button:hover {
    background: #fca402ad;
    transform: translateY(-4px);
}

/* Full-Res button */
.fullres-button {
    align-self: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fullres-button:hover {
    background: #fca402ad;
    transform: translateY(-2px);
}

.image-column {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
    gap: 10px;
}

/* Image showcase */
.image-showcase {
    padding: 20px 0;
}

.image-showcase .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr minmax(250px, 650px);
    gap: 10px;
    align-items: normal;
}

/* Image viewer */
.image-viewer {
    position: relative;
    background: #1414149f;
    border-radius: 4px;
    overflow: hidden;
    /*max-width: 800px;*/
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
}

.main-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /*cursor: grab;*/
    transition: transform 0.2s ease;
    user-select: none;
}

.main-image.dragging {
    cursor: grabbing;
}

/* Image info */
.image-info {
    /*margin-right: 20px;*/
    width: 100%;
    padding-right: 20px;
}

.image-title {
    font-size: 3em;
    margin: 0  10px;
    text-align: center;
    /*padding-left: 20px;*/
    background: linear-gradient(135deg, #fdb632d5 0%, #fca402 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.image-subtitle {
    font-size: 1.5em;
    color: #fca402ad;
    margin: 0 0 30px;
    font-weight: 300;
}

/* Info grid */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.info-label {
    font-size: 0.9em;
    color:#ffd078d5;
    text-transform: uppercase;
    text-decoration: underline;
    letter-spacing: 1px;
}

.info-value {
    font-size: 1.2em;
    color: #fff;
}

/* Description */
.description {
    margin-bottom: 20px;
    padding: 0 10px;
}

.description h3 {
    font-size: 1.5em;
    margin: 10px;
    color: #fdb632d5
}

.description p {
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 15px;
}

/* Technical details */
.technical-details {
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.technical-details h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    margin: 20px;
    color: #fdb632d5
}

.technical-details ul {
    list-style: none;
    padding: 0;
}

.technical-details li {
    padding: 8px 0;
    color: #ccc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.technical-details li:last-child {
    border-bottom: none;
}

/* Share section */
.share-section {
    margin-top: 40px;
}

.share-section h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #fff
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: #fca402ad;
    transform: translateY(-2px);
}

/* Image navigation */
.image-navigation {
    padding: 10px ;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.image-navigation .container {
    display: flex;
    justify-content: space-between;
}

.nav-prev, .nav-next {
    color: #888;
    text-decoration: none;
    padding: 50px 30px;
    transition: color 0.2s ease;
}

.nav-prev:hover, .nav-next:hover {
    color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .image-showcase .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .image-viewer {
        height: 60vh;
    }
    
    .image-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .image-detail-page {
        padding: 60px 0 0;
    }
    
    .image-viewer {
        height: 50vh;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .zoom-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .zoom-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .image-navigation .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}