@import url(https://fonts.googleapis.com/css?family=Poppins:400,300);
@import 'https://fonts.googleapis.com/css?family=Fauna+One';

/*---------- Global Style ----------*/

body {
    color: #222;
    font-family: 'Poppins', serif;
    font-size: 17px;
    line-height: 1.8 !important;
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 200;
    color: #111;
    line-height: 1.5em;
    margin-top: 0;
}

p {
    font-family: 'Poppins', serif;
    font-weight: 300;
    margin-top: 1px;
}

p,
ul,
li {
    color: #666;
}

section {
    padding-top: 185px;
    padding-bottom: 185px;
}

.background-image-holder {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    z-index: 2;
}

.portfolio-item-overlay p {
    color: white;
    font-size: 16px;
    margin: 0;
    padding: 15px;
    line-height: 1.2;
}

/* Simplified hover states */
.background-image-holder:hover .portfolio-item-overlay {
    opacity: 1;
}

/* Make sure images don't block the overlay */
.background-image {
    z-index: 1;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.background-image-holder:hover .background-image {
    transform: scale(1.05);
}

.no-gutter {
    padding-right: 0;
    padding-left: 0;
}

a,
a:link {
    color: #666;
    transition: color 0.3s ease;
}

.link:hover {
    text-decoration: underline;
}

a:hover,
a:focus,
a:visited {
    color: #666;
    text-decoration: none;
}

.vcenter {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.fill {
    height: 100vh;
}

.margin-top-05 {
    margin-top: 0.5em;
}

.margin-top-10 {
    margin-top: 1.0em;
}

.margin-top-15 {
    margin-top: 1.5em;
}

.margin-top-20 {
    margin-top: 2.0em;
}

.margin-top-25 {
    margin-top: 2.5em;
}

.margin-top-30 {
    margin-top: 3.0em;
}

.margin-top-35 {
    margin-top: 3.5em;
}

.margin-top-40 {
    margin-top: 4.0em;
}

.margin-top-45 {
    margin-top: 22.5px;
    /* Adjust this value as needed */
}


/*---------- Navbar ----------*/

.nav {
    position: relative;
    width: auto;
    display: inline-block;
    border: none;
    float: right;
    z-index: 99999;
}

.navbar-fixed-top {
    padding-top: 10px;
}

.navbar-brand {
    padding-top: 25px;
}

.navbar-brand img.logo {
    width: 40px;
    /* specific pixel size */
    height: auto;
}

.navbar-brand>img {
    max-width: 127px;
    z-index: 9999;
}

@media (max-width: 768px) {
    .navbar-brand {
        padding-left: 0px;
    }
}

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}

.navbar-default.color-fill {
    background-color: #fff;
    border-color: transparent;
}

.btn-nav {
    background: transparent;
    border: none;
    padding: 15px;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    cursor: pointer;
    z-index: 99999;
}

@media (max-width: 768px) {
    .btn-nav {
        padding: 15px 0;
    }
}

.btn-nav:focus {
    outline: 0;
}

.icon-bar {
    display: block;
    margin: 6px 0;
    width: 30px;
    height: 3px;
    background-color: #222;
}

.icon-bar.inverted {
    background-color: #fff;
}

@media (max-width: 992px) {
    .icon-bar.inverted {
        background-color: #222;
    }
}

.opaque {
    background-color: #fff !important;
}

.btn-nav:hover .icon-bar {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
    background-color: #555;
}

.nav-content {
    position: fixed;
    top: -100%;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 1);
    display: block;
    height: 100%;
    z-index: 9;
}

.nav-list {
    list-style: none;
    padding: 0;
    position: relative;
}

.item-anchor {
    color: #fff;
    font-size: 30px;
    font-weight: 100;
    position: relative;
    text-decoration: none;
    padding: 10px;
}

.item-anchor:hover,
.item-anchor:focus {
    color: #ffffff;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.item-anchor:hover:after,
.item-anchor:focus:after {
    width: 100%;
    background: #f7f7f7;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.nav-item {
    font-family: 'Poppins', sans-serif;
    margin: 10px auto;
    text-align: center;
    color: #222;
}

.nav-item a:link,
.nav-item a:hover,
.nav-item a:focus {
    color: #222;
}

.nav-item a:hover,
.nav-item a:focus {
    border-bottom: 2px solid #222;
}

.animated {
    display: block;
    margin: 0 auto;
}

.animated:hover .icon-bar,
.animated:focus .icon-bar {
    background-color: #fff;
}

.animated:focus {
    cursor: pointer;
    z-index: 9999;
}

.middle {
    margin: 0 auto;
}

.icon-bar {
    -webkit-transition: all .7s ease;
    -moz-transition: all .7s ease;
    -ms-transition: all .7s ease;
    -o-transition: all .7s ease;
    transition: all .7s ease;
    z-index: 999999;
}

.animated .icon-bar {
    z-index: 999999;
    background-color: #222 !important;
}

.animated .top {
    -webkit-transform: translateY(7px) rotateZ(45deg);
    -moz-transform: translateY(7px) rotateZ(45deg);
    -ms-transform: translateY(7px) rotateZ(45deg);
    -o-transform: translateY(7px) rotateZ(45deg);
    transform: translateY(7px) rotateZ(45deg);
}

.animated .bottom {
    -webkit-transform: translateY(-11px) rotateZ(-45deg);
    -moz-transform: translateY(-11px) rotateZ(-45deg);
    -ms-transform: translateY(-11px) rotateZ(-45deg);
    -o-transform: translateY(-11px) rotateZ(-45deg);
    transform: translateY(-11px) rotateZ(-45deg);
}

.animated .middle {
    width: 0;
}

@keyframes showNav {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

@-webkit-keyframes showNav {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

@-moz-keyframes showNav {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

@-o-keyframes showNav {
    from {
        top: -100%;
    }

    to {
        top: 0;
    }
}

.showNav {
    -webkit-animation: showNav 0.5s ease-in forwards;
    -moz-animation: showNav 0.5s ease-in forwards;
    -o-animation: showNav 0.5s ease-in forwards;
    animation: showNav 0.5s ease-in forwards;
}

@keyframes hideNav {
    from {
        top: 0;
    }

    to {
        top: -100%;
    }
}

@-webkit-keyframes hideNav {
    from {
        top: 0;
    }

    to {
        top: -100%;
    }
}

@-moz-keyframes hideNav {
    from {
        top: 0;
    }

    to {
        top: -100%;
    }
}

@-o-keyframes hideNav {
    from {
        top: 0;
    }

    to {
        top: -100%;
    }
}

.hideNav {
    -webkit-animation: hideNav 0.5s ease-out forwards;
    -moz-animation: hideNav 0.5s ease-out forwards;
    -o-animation: hideNav 0.5s ease-out forwards;
    animation: hideNav 0.5s ease-out forwards;
}

.hidden {
    display: none;
}

/*---------- Menu Icon Animation ----------*/

.navbar-toggle * {
    -ms-transition: all 0.4s ease;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.navbar-toggle {
    border: medium none;
    border-radius: 0;
    color: #fff;
    cursor: pointer;
    height: 50px;
    padding: 16px;
    width: 50px;
    float: right;
    margin-top: 0px;
    margin-bottom: 0px;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #fff;
}

.navbar-default .navbar-toggle,
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
    border-color: #fff;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background-color: #222;
    display: block;
}

.navbar-toggle span.bar1 {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -ms-transform-origin: 1px 3px;
    -webkit-transform-origin: 1px 3px;
    -moz-transform-origin: 1px 3px;
    -o-transform-origin: 1px 3px;
    transform-origin: 1px 3px;
    width: 31px;
}

.navbar-toggle span.bar2 {
    -ms-transform: rotate(-360deg) scale(0);
    -webkit-transform: rotate(-360deg) scale(0);
    -moz-transform: rotate(-360deg) scale(0);
    -o-transform: rotate(-360deg) scale(0);
    transform: rotate(-360deg) scale(0);
}

.navbar-toggle span.bar3 {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -ms-transform-origin: 8px 2px;
    -webkit-transform-origin: 8px 2px;
    transform-origin: 8px 2px;
    width: 31px;
}

.navbar-toggle.collapsed span.bar1,
.navbar-toggle.collapsed span.bar2,
.navbar-toggle.collapsed span.bar3,
.navbar-toggle.collapsed span.bar4 {
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    width: 30px;
}

/*---------- Header ----------*/

#header {
    height: 50%;
    margin: 0 auto;
    position: relative;
    color: #fff;
    text-align: center;
    background-size: cover;
}

#headslide {
    position: relative;
}

#headslide .img-responsive,
#headslide .thumbnail>img,
#headslide .thumbnail a>img,
#headslide .carousel-inner>.item>img,
#headslide .carousel-inner>.item>a>img {
    height: 100vh;
    max-width: none;
    object-fit: cover;
    width: 100%;
}

#header h1,
#header p {
    color: #fff;
}

#header h1 {
    font-size: 3.5em;
}

#header p {
    font-size: 1.5em;
}

/*---------- Portfolio ----------*/

#portfolio {
    padding-top: 185px;
}

.background-image-holder {
    background-attachment: scroll;
    background-clip: border-box;
    background-origin: padding-box;
    background-position: 50% 50% !important;
    background-repeat: repeat;
    background-size: cover !important;
    height: 100%;
    left: 0;
    top: 0;
    transition: all 0.3s ease 0s;
    width: 100%;
    z-index: 1;
}

/* Add spacing between menu items */
ul.portfolio-sorting.list-inline.text-center li {
    margin-right: 20px;
    /* Adjust the value to increase or decrease the spacing */
}

.background-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.square-thumbs li {
    height: 285px;
}

.lightbox-grid li {
    padding: 8px;
    float: left;
    opacity: 1;
    transition: all 0.3s ease 0s;
}

@media (max-width: 992px) {
    .lightbox-grid li {
        padding: 8px 0;
    }
}

.lightbox-grid,
.lightbox-grid ul,
.lightbox-grid li {
    overflow: hidden;
    position: relative;
}

.portfolio-sorting {
    padding-left: 15px;
    font-family: 'Poppins', sans-serif;
}

.portfolio-sorting li a:hover,
.portfolio-sorting li a.active {
    border-bottom: 2px solid #222;
}

.portfolio-item {
    margin-bottom: 30px;
}

.item {
    height: 100vh;
}

.item img {
    width: 100%;
    height: 100vh !important;
    object-fit: cover;
}

.featured-text {
    padding-left: 6rem;
    padding-right: 6rem;
}

/* Center the video within the <li> element */
.video-container {
    display: flex;
    /* Use flexbox */
    justify-content: center;
    /* Center horizontally */
    align-items: center;
    /* Center vertically */
    height: 100vh;
    /* Take full viewport height */

    /* Maintain aspect ratio for responsive design */
    padding-top: 25px;
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bold-hover-link {
    font-weight: bold;
    text-decoration: none;
}

.bold-hover-link:hover {
    text-decoration: underline;
}

/* Add this after the existing link styles */
.contact-link {
    font-weight: bold;
    text-decoration: none;
    color: #000000;
    transition: all 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
    text-decoration: underline;
    color: #888888;
}

/* Custom Lightbox Layout */
.custom-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.custom-lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.custom-lightbox-content {
    display: flex;
    background-color: #fff;
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.custom-lightbox-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.custom-lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.custom-lightbox-right {
    width: 50%;
    padding: 30px;
    overflow-y: auto;
    background-color: white;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.custom-lightbox-title {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222;
    font-family: Arial, sans-serif;
}

.custom-lightbox-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.custom-lightbox-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

.custom-lightbox-metadata {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.custom-lightbox-description p {
    margin-bottom: 15px;
}

.custom-lightbox-description ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.custom-lightbox-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    color: #000;
    cursor: pointer;
    z-index: 10001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: all 0.2s ease;
}

.custom-lightbox-close:hover {
    background-color: #e0e0e0;
}

.custom-lightbox-prev,
.custom-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-lightbox-prev:hover,
.custom-lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.custom-lightbox-prev {
    left: 20px;
}

.custom-lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .custom-lightbox-content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .custom-lightbox-left,
    .custom-lightbox-right {
        width: 100%;
    }

    .custom-lightbox-left {
        height: 50vh;
    }

    .custom-lightbox-right {
        padding: 30px;
        height: auto;
    }
}