﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed from repeat(auto-fill, minmax(250px, 1fr)) */
    gap: 25px;
    margin-bottom: 20px;
}

.gallery-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    }

.image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    background-color: #f0f0f0;
    overflow: hidden;
    cursor: pointer;
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .image-wrapper:hover img {
        transform: scale(1.05);
    }

.image-caption {
    padding: 15px;
    background: #fff;
}

.image-title {
    font-size: 1em;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.sale-details{font-size:0.9em;padding:6px;background-color:aliceblue;margin-bottom:8px;}

.image-description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.image-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.3s ease;
}
.saletitle{text-transform:capitalize;text-align:center;width:100%;overflow:hidden;}

.image-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Force GLightbox close button to be visible on all devices */
.glightbox-clean .gclose,
.glightbox-modern .gclose,
.gclose {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 999999 !important;
    width: 45px !important;
    height: 45px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 50% !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
}

    .gclose svg {
        fill: #ffffff !important;
        width: 20px !important;
        height: 20px !important;
    }

    .gclose:hover {
        background: rgba(0, 0, 0, 0.95) !important;
        border-color: rgba(255, 255, 255, 0.8) !important;
    }
.logo-container{display:block;text-align:center;margin:12px auto 24px auto;}
.logo-container img {max-width:90%;}
/* Mobile specific */
@media (max-width: 768px) {
    .glightbox-clean .gclose, .glightbox-modern .gclose, .gclose {
        top: 10px !important;
        right: 10px !important;
        width: 50px !important;
        height: 50px !important;
    }

        .gclose svg {
            width: 24px !important;
            height: 24px !important;
        }
}

/* Ensure the container doesn't hide the button */
.glightbox-container {
    overflow: visible !important;
}

.gslide-description {
    background: transparent !important;
}

/* Tablet */
@media (max-width: 768px) {
    .gallery-container {
        padding: 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* Changed from repeat(auto-fill, minmax(200px, 1fr)) */
        gap: 20px;
    }

    .image-wrapper {
        height: 200px;
    }

    h1 {
        font-size: 1.6em;
    }
}

/* Mobile */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .gallery-container {
        padding: 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-wrapper {
        height: 250px;
    }

    h1 {
        font-size: 1.4em;
        margin-bottom: 20px;
    }

    .image-caption {
        padding: 12px;
    }
}

/* Loading state */
.image-wrapper.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}
.links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin: 20px auto;
    max-width: 1200px;
}

/* Top row for the three links */
.links-row {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Individual cells */
.links-cell {
    flex: 1;
    background: white;
    padding: 14px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

/* Link styling */
a {
    text-decoration: none;
}

    a .links-cell:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }

    a .links-cell:active {
        transform: translateY(0);
    }

/* Dropdown container - centered */
.dropdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-wrapper {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

    /* Select dropdown styling */
    .dropdown-wrapper select {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e0e6ed;
        border-radius: 6px;
        background: white;
        font-size: 15px;
        font-weight: 600;
        color: #2c3e50;
        cursor: pointer;
        transition: all 0.3s ease;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232c3e50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 36px;
    }

        .dropdown-wrapper select:hover {
            border-color: #667eea;
            background-color: #f8f9ff;
        }

        .dropdown-wrapper select:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .dropdown-wrapper select option {
            padding: 10px;
        }

/* Mobile optimizations */
@media (max-width: 768px) {
    .links-wrapper {
        gap: 15px;
        padding: 20px;
    }

    .links-row {
        flex-direction: column;
        gap: 10px;
    }

    .links-cell {
        font-size: 14px;
        padding: 12px 16px;
    }

    .dropdown-wrapper {
        max-width: 100%;
    }

        .dropdown-wrapper select {
            font-size: 14px;
            padding: 10px 14px;
            padding-right: 32px;
        }

    .page-header h1 {
        font-size: 24px;
    }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .links-cell {
        font-size: 14px;
    }
}

/* Focus states for accessibility */
a:focus .links-cell {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Loading state */
.dropdown-wrapper select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}