/* ========================================
   HERO
======================================== */
.hero {
    height: 500px;
    display: flex;
    align-items: center;
    padding-left: 10%;
    color: white;
    background:
        linear-gradient(
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.5)
        ),
        url("assets/images/gallery.jpg");

    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 650px;
}

.small-title {
    font-size: 13px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    color: white;
}

.hero h1 {
    font-size: 65px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #e0b7b4;
}

.hero-text {
    max-width: 550px;
    font-size: 18px;
    line-height: 1.7;
    color: white;
}

/* ========================================
   GALLERY SECTION
======================================== */
.gallery-section {
    max-width: 1300px;
    margin: auto;
    padding: 50px 10px;
}

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}


.section-label {
    color: #e0b7b4;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: bold;
}

.section-heading h2 {
    font-size: 42px;
    margin: 12px 0 15px;
}

.section-heading h2 span {
    color: #e0b7b4;
}


.description {
    color: #777;
    line-height: 1.7;
}

/* ========================================
   GALLERY GRID
======================================== */
.gallery {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 18px;
}


.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    background: #ddd;
}


.gallery-item:nth-child(3n) {
    height: 360px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.6s ease;
}


.gallery-item:hover img {
    transform: scale(1.08);
}

/* ========================================
   PHOTO OVERLAY
======================================== */
.photo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:
        rgba(0,0,0,0.45);
    color: white;
    opacity: 0;
    transition: 0.4s;
}


.gallery-item:hover .photo-overlay {
    opacity: 1;
}


.view-icon {
    width: 55px;
    height: 55px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 5px;
}

.photo-overlay p {
    font-size: 14px;
}

/* ========================================
   NO IMAGES
======================================== */
.no-images {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 10px;
    background: white;
    border-radius: 10px;
}

.no-images h3 {
    margin-bottom: 10px;
}

.no-images p {
    color: #777;
}

/* ========================================
   CTA
======================================== */
.cta {
    background: #222;
    color: white;
    padding: 70px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.cta-content p {
    color: #e0b7b4;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 12px;
}

.cta-content span {
    color: #aaa;
}

.cta-button {
    text-decoration: none;
    color: white;
    background: #e0b7b4;
    padding: 16px 10px;
    border-radius: 30px;
    white-space: nowrap;

}

/* ========================================
   LIGHTBOX
======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background:
        rgba(0,0,0,0.96);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox.show {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
}

.lightbox img {
    max-width: 85vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 5px;
}

.image-counter {
    color: white;
    margin-top: 10px;
    font-size: 14px;
}



/* ========================================
   CLOSE BUTTON
======================================== */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    border: none;
    background: none;
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 1001;
}

/* ========================================
   PREVIOUS / NEXT
======================================== */
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background:
        rgba(255,255,255,0.15);
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
}


.lightbox-btn:hover {
    background:
        rgba(255,255,255,0.3);
}


.previous {
    left: 20px;
}


.next {
    right: 20px;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .gallery {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 50px;
    }

    .cta {
        flex-direction: column;
        text-align: center;
    }
}



/* ========================================
   MOBILE
======================================== */

@media (max-width: 550px) {
    .navbar {
        padding: 0 20px;
    }

    .book-btn {
        display: none;
    }

    .hero {
        height: 430px;
        padding: 10px;
    }

    .hero h1 {

        font-size: 40px;

    }


    .hero-text {
        font-size: 15px;
    }


    .gallery-section {
        padding: 60px 15px;
    }


    .section-heading h2 {
        font-size: 32px;
    }


    .gallery {
        grid-template-columns: 1fr;
    }


    .gallery-item,
    .gallery-item:nth-child(3n) {
        height: 300px;
    }


    .photo-overlay {
        opacity: 1;
    }


    .previous {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .lightbox img {
        max-width: 90vw;
        max-height: 75vh;
    }

    .cta h2 {
        font-size: 28px;
    }

}