/*
 * Body
 */


 @font-face {
    font-family: 'Helvetica-Light-Regular';
    font-style: normal;
    src: url('fonts/Helvetica-Light-Regular.otf');
} 

body {
    font-family: "Helvetica-Light-Regular" !important;
    background-color: white;
}

.np-header {
    display: flex;
    flex-wrap: nowrap;
    flex: 1 0 67%;
    align-items: center;
    font-family: "Helvetica-Light-Regular";
}

.header-title-text a {
    color: var(--bs-body-color);
    font-size: 1.5rem;
    text-decoration: none;
}

.header-title {
    font-weight: lighter;
    letter-spacing: 0.2em;
}

.header-title::after {
    content: "\00a0";
}

.navbar-nav a {
    color: var(--bs-body-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@media (min-width: 768px) {
    .nav-item:not(:first-child):not(.header-actions-action--cart) {
        margin-left: 1.8vw;
    }
}

.custom-img {
    max-width: 100%;
    max-height: 320px;
}

.footer {
    padding: 20px 0;
    position: relative; /* Default position */
    bottom: 0;
    width: 100%;
}

.footer-email {
    align-items: center;
}

.footer-logo{
    align-items: center;
}

.footer-email,
.footer-logo {
    font-size: 28px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 1.2s ease 0.0857143s, transform 1.2s ease 0.0857143s;
}

#main-footer.show {
    visibility: visible;
}

#main-footer.show .footer-email,
#main-footer.show .footer-logo {
    opacity: 1;
    transform: scale(1);
}


.portfolio-link{
    color: var(--bs-body-color);
}

.np-about p {
    font-family: "Helvetica-Light-Regular";
    font-size: 20px;
    text-align: justify;
}

.np-about h4{
    letter-spacing: 0.2em;
}

.np-portfoilo p{
    font-family: "Helvetica-Light-Regular";
    font-size: 20px;
    text-align: justify;
}

.np-pview p{
    font-family: "Helvetica-Light-Regular";
    font-size: 20px;
    text-align: justify;
}

.np-pview h4{
    letter-spacing: 0.2em;
}

.breadcrumb {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping of breadcrumb items */
    padding: 0;
    margin: 0;
    list-style: none;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-heading {
    letter-spacing: 0.2em;
    font-family: "Helvetica-Light-Regular";
    font-size: 20px;
    text-align: justify;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ' / ';
    font-size: 20px; 
    font-family: "Helvetica-Light-Regular";
    margin: 0 0.5rem;
    color: #000; 
}

.np-contact h4{
    letter-spacing: 0.2em;
}

.image-container {
    height: 200px; /* Adjust this value as needed */
    overflow: hidden;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.image-container img {
    width: auto;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.header-content {
    display: flex;
    align-items: center;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7); /* Adjust opacity as needed */
    color: #fff;
    text-align: center;
    padding: 10px;
    display: none; /* Initially hide the overlay */
}

.image-container:hover{
    display: block; /* Show overlay on hover */
}

.image-name {
    margin: 0;
    font-size: 12px;
}

/* Media query for screens smaller than 576px (mobile devices) */
@media (max-width: 575.98px) {
    .header-content {
        justify-content: space-between;
    }
}

@media (max-width: 767.98px) {
    .footer-container .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-container .row .col-md-6 {
        width: 100%;
        text-align: center;
    }

    .np-about .custom-img {
        margin-bottom: 20px;
    }
}

/* Media query for screens larger than 768px (laptops and above) */
@media (min-width: 768px) {
    .footer-container .row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer-container .row .col-md-6 {
        width: auto;
    }
}

.image-grid-container {
    text-align: center;
    padding: 20px;
}
.image-grid-item {
    position: relative;
    margin: 15px;
    display: inline-block;
    transition: transform 0.3s;
}
.image-grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.image-grid-item:hover {
    transform: scale(1.05);
}

.image-grid-item .port-title {
    margin-top: 10px;
    font-size: 1.25rem;
    text-align: center;
    text-decoration: none; 
    color: inherit; 
    display: block;
}

.image-grid-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* testing gallery view */
.gallery-container {
    text-align: center;
    padding: 20px;
}

.gallery-grid {
    display: grid;
    gap: 20px;
}

.gallery-item {
    width: 100%;
    height: 300px; /* Set a fixed height */
    overflow: hidden;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.3s;
    border-radius: 10px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio and fill the box */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.image-name {
    position: absolute;
    bottom: 0px; /* Adjust as needed */
    left: 0;
    right: 0;
    text-align: center;
    font-size: 12px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 5px;
    margin: 0 auto; /* Center horizontally */
}

@media (min-width: 1080px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 720px) and (max-width: 1079px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 719px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

