/* =============================================
   PHOTOGRAPHY PAGE
   Place this file at: css/photography.css
============================================= */

/* =============================================
   BANNER
============================================= */

.photography-banner {
    position: relative;
    height: 550px;
    overflow: hidden;
    background-color: #000000;
}

.banner-image {
    width: 100%;
    height: 100%;
    filter: grayscale(100%);
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.65;
    transition: opacity 0.3s ease;
}

.photography-banner:hover .banner-image {
    opacity: 0.85;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-title {
    font-size: 64px;
    font-weight: 200;
    color: #FFFFFF;
    letter-spacing: 8px;
}

/* =============================================
   GALLERY SECTION
============================================= */

.photography-gallery-section {
    background-color: #FFFFFF;
    padding: 60px 40px;
}

/* Uniform 3-column grid — all cells locked to 3:2 via aspect-ratio on .photo-item */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 1600px;
    margin: 0 auto;
}

/* =============================================
   PHOTO ITEMS
============================================= */

.photo-item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #D9D9D9;
    aspect-ratio: 3 / 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.4s ease;
}

.photo-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.crop {
    object-position: center 90%;
}

/* =============================================
   SEE MORE SECTION
============================================= */

.see-more-section {
    background-color: #F5F5F5;
    padding: 100px 60px;
    text-align: center;
    border-top: 1px solid #D9D9D9;
}

.see-more-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.see-more-title {
    font-size: 36px;
    font-weight: 200;
    letter-spacing: 2px;
    color: #000000;
    margin: 0;
}

/* =============================================
   MEDIA QUERY — 768px AND UNDER
============================================= */

@media (max-width: 768px) {

    .photography-banner {
        height: 380px;
    }

    .banner-title {
        font-size: 44px;
    }

    .photography-gallery-section {
        padding: 40px 20px;
    }

    /* Drop to 2 columns — ratios stay intact */
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .see-more-section {
        padding: 80px 30px;
    }

    .see-more-title {
        font-size: 28px;
    }
}

/* =============================================
   MEDIA QUERY — 520px AND UNDER
============================================= */

@media (max-width: 520px) {

    .photography-banner {
        height: 280px;
    }

    .banner-title {
        font-size: 32px;
    }

    /* Single column — every image shows its full natural ratio */
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .see-more-title {
        font-size: 24px;
    }
}
