.section {
    padding: 5rem 2rem;
    background-color: #3a0c08;
    background-image: url('/images/about-us/guest-bg.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.title {
    font-family: var(--font-playfair);
    font-size: 2.5rem;
    color: var(--color-paragraph);
    margin-bottom: 40px;
    /* text-transform: uppercase; */
    letter-spacing: 2px;
    line-height: 1.2;
}

.smallHeading {
    font-size: var(--small-text-size);
    color: var(--color-paragraph);
    font-family: var(--font-lato);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.imageWrapper {
    position: relative;
    height: 300px;
    cursor: pointer;
    overflow: hidden;
    /* Outer golden border */
    border: 2px solid #b07c4b;
    /* Inner border effect using box-shadow */
    box-shadow: inset 0 0 0 3px #2a1810,
        inset 0 0 0 6px #c49c5c;
    transition: transform 0.3s ease;
    background-color: #1a0f08;
}

.imageWrapper:hover {
    transform: scale(1.02);
}

.imageWrapper:hover::after {
    content: 'View';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-gold);
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-gold);
    font-family: var(--font-lato);
    text-transform: uppercase;
    pointer-events: none;
}

.button {
    display: inline-block;
    margin-top: 3rem;
    padding: 0.8rem 2rem;
    border: 1px solid var(--color-gold);
    color: #d3cab3;
    font-family: var(--font-lato);
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
}

.button:hover {
    background-color: #c49c5c;
    color: #F5E6D3;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightboxContent {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
}

.closeBtn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #d3cab3;
    font-size: 2rem;
    cursor: pointer;
}

.navBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.navBtn:hover {
    background: var(--color-gold);
    color: #000;
}

.prevBtn {
    left: -70px;
}

.nextBtn {
    right: -70px;
}

@media (max-width: 768px) {
    .prevBtn {
        left: 10px;
    }

    .nextBtn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    /* .section {
        padding: 4rem 1rem;
    } */

    .grid {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        gap: 1rem;
    }

    .imageWrapper {
        height: 250px;
        /* Slightly smaller height */
    }
}

@media (max-width: 340px) {
    /* .section {
        padding: 3rem 0.5rem;
    } */

    .imageWrapper {
        height: 220px;
    }
}