.slider {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.slides img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

body.home .slider,
body.home .slider .slides img {
    height: 100vh;
}

.slides img.active {
    opacity: 1;
}

.slider-text {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 2;
}

.slider-text h1 {
    font-size: 3rem;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    color: #f5f3eb;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

a.button:hover {
    background-color: #b5934a;
    color: #f5f3eb;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /*background: rgba(0,0,0,0.5);*/
    border: none;
    /*color: white;*/
    font-size: 2rem;
    width: 65px;
    height: 65px;
    cursor: pointer;
    z-index: 2;
    background: rgba(33, 33, 33, 0.3);
    color: #f5f3eb;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.slider button:hover {
    /*background: rgba(0,0,0,0.7);*/
    background: rgba(33, 33, 33, 0.5);
}

.slider button.prev {
    display: none;
    left: 20px;
}

.slider button.next {
    display: none;
    right: 20px;
}

.logo-slider-wrapper {
    position: absolute;
    left: calc(50% - 10vw);
    top: 170px;
    z-index: 2;
}

.logo-slider-wrapper img {
    width: 20vw;
    background-color: rgba(245, 243, 235, 0.9); /* your background color #f5f3eb */
    padding: 6px 10px;
    border-radius: 500px; /* or 50% for circular logos */
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.gallery-section {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f5f3eb;
    color: #2e3d33;
}

.gallery-section h2 {
    font-family: "Playfair Display", serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gallery-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    justify-items: center;
}

.image-gallery img {
    width: 100%;
    max-width: 350px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.image-gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ccc;
}

@media only screen and (max-width: 768px) {
    .slider,
    .slides img {
        height: 40vh;
    }

    .logo-slider-wrapper {
        left: calc(50% - 35vw);
    }

    .logo-slider-wrapper img {
        width: 70vw;
    }

    .lightbox {
        justify-content: center;
        align-items: center;
    }
}

