/*
Theme Name: GrandPhotography Child
Template: grandphotography
Theme URI: https://themes.themegoods.com/grandphotography/landing/
Description: Premium Photography Portfolio Theme Child
Version: 5.8.4
Author: ThemeGoods
Author URI: https://themeforest.net/user/ThemeGoods
License: GNU General Public License
License URI: https://themeforest.net/licenses/regular_extended
Text Domain: grandphotography-child
*/

.portfolio-navigation {
    display: grid;
    grid-template-columns: 1fr 200px 1fr;
    gap: 20px;
    margin: 60px 0;
    align-items: center;
}

.portfolio-nav-item {
    position: relative;
    overflow: hidden;
    display: block;
}

.nav-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-nav-item:hover img {
    transform: scale(1.05);
}

.nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.35);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    padding: 20px;
}

.portfolio-nav-item:hover .nav-overlay {
    opacity: 1;
}

.nav-label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 5px;
    opacity: 0.8;
}

.nav-title {
    font-size: 18px;
}

.portfolio-nav-center {
    text-align: center;
    text-decoration: none;
    color: #ff6600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.portfolio-nav-center:hover {
    color: #888888;
}

@media (max-width: 768px) {
    .portfolio-navigation {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .portfolio-nav-center {
        order: -1;
        margin-bottom: 10px;
    }
}