/* Smooth Page Transition */
body {
    background-color: var(--bg);
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

/* Fade-in animation */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

:root {
    --primary: #5C191B;
    --accent: #FFD700;
    --bg: #f8f5f2;
}

#pagination a, #pagination span.current-page {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

#pagination a:hover {
    background-color: var(--primary);
    color: #fff;
}

#pagination span.current-page {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
#pagination .ellipsis {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    color: #666;
}

/* Gallery Section Styles */
h2 {
    text-align: center;
    margin: 40px 0 20px;
    font-size: 2.5em;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: -1px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    opacity: 0;
    transform: scale(0.95);
    animation: itemFadeIn 0.8s ease-out forwards;
}

@keyframes itemFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent);
}

.gallery-item h3 {
    font-size: 1.2em;
    color: var(--primary);
    padding: 15px;
    margin: 0;
    background-color: #f9f9f9;
    text-align: center;
    font-weight: 600;
}

.gallery-item p {
    font-size: 0.9em;
    padding: 10px 15px;
    color: #555;
    background-color: #fff;
    text-align: center;
    line-height: 1.5;
}

.gallery-item .gold-details {
    font-size: 0.9em;
    color: rgb(184, 60, 22);
    padding: 10px 15px;
    background-color: #f9f9f9;
    text-align: center;
    font-weight: 500;
}

/* Hover effect */
.gallery-item:hover {
    box-shadow: 0 8px 20px rgba(92, 25, 27, 0.2);
    transform: translateY(-10px);
}



