/*!
 * justifiedGallery - v3.8.0
 * http://miromannino.github.io/Justified-Gallery/
 * Copyright (c) 2020 Miro Mannino
 * Licensed under the MIT license.
 */
 .justified-gallery {
    width: 100%;
    position: relative;
    overflow: hidden;
  }
  .justified-gallery > a,
  .justified-gallery > div,
  .justified-gallery > figure {
    position: absolute;
    display: inline-block;
    overflow: hidden;
    /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */
    filter: "alpha(opacity=10)";
    opacity: 0.1;
    margin: 0;
    padding: 0;
  }
  .justified-gallery > a > img,
  .justified-gallery > div > img,
  .justified-gallery > figure > img,
  .justified-gallery > a > a > img,
  .justified-gallery > div > a > img,
  .justified-gallery > figure > a > img,
  .justified-gallery > a > svg,
  .justified-gallery > div > svg,
  .justified-gallery > figure > svg,
  .justified-gallery > a > a > svg,
  .justified-gallery > div > a > svg,
  .justified-gallery > figure > a > svg {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: 0;
    padding: 0;
    border: none;
    filter: "alpha(opacity=0)";
    opacity: 0;
  }
  .justified-gallery > a > .jg-caption,
  .justified-gallery > div > .jg-caption,
  .justified-gallery > figure > .jg-caption {
    display: none;
    position: absolute;
    bottom: 0;
    padding: 5px;
    background-color: #000000;
    left: 0;
    right: 0;
    margin: 0;
    color: white;
    font-size: 12px;
    font-weight: 300;
    font-family: sans-serif;
  }
  .justified-gallery > a > .jg-caption.jg-caption-visible,
  .justified-gallery > div > .jg-caption.jg-caption-visible,
  .justified-gallery > figure > .jg-caption.jg-caption-visible {
    display: initial;
    filter: "alpha(opacity=70)";
    opacity: 0.7;
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    -o-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
  }
  .justified-gallery > .jg-entry-visible {
    filter: "alpha(opacity=100)";
    opacity: 1;
    background: none;
  }
  .justified-gallery > .jg-entry-visible > img,
  .justified-gallery > .jg-entry-visible > a > img,
  .justified-gallery > .jg-entry-visible > svg,
  .justified-gallery > .jg-entry-visible > a > svg {
    filter: "alpha(opacity=100)";
    opacity: 1;
    -webkit-transition: opacity 500ms ease-in;
    -moz-transition: opacity 500ms ease-in;
    -o-transition: opacity 500ms ease-in;
    transition: opacity 500ms ease-in;
  }
  .justified-gallery > .jg-filtered {
    display: none;
  }
  .justified-gallery > .jg-spinner {
    position: absolute;
    bottom: 0;
    margin-left: -24px;
    padding: 10px 0 10px 0;
    left: 50%;
    filter: "alpha(opacity=100)";
    opacity: 1;
    overflow: initial;
  }
  .justified-gallery > .jg-spinner > span {
    display: inline-block;
    filter: "alpha(opacity=0)";
    opacity: 0;
    width: 8px;
    height: 8px;
    margin: 0 4px 0 4px;
    background-color: #000;
    border-radius: 6px;
  }
  
.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
  }
  
  .poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
  }
  
  .poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
  }
  
  .poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
  .poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  .poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
  }
  
  .poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
  .poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
  }
  
  .poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
  }
  
  .poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
  }
  
  .poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
  }
  
  .poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
  }
  
  .poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
  }
  
  .poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
  }
  
  .poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
  }
  
  .poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
  }
  
  .poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
  }
  
  .poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
  }
  
.montserrat-500 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
  }

.montserrat-400 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }
  .montserrat-300 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
  }
.montserrat-700 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
  }
/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Lazy Loading Styles */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Ensure hero images load immediately (no fade) */
.hero-image {
    opacity: 1 !important;
}

/* Header Styles */
.site-header .navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-style: italic;
}

.site-header .navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.site-header .navbar-nav .nav-link:hover {
    color: #e74c3c !important;
}

/* Hero Slider Section - Full Width */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

.hero-slider .slick-slide {
    height: 100vh;
    min-height: 600px;
    outline: none;
}

.hero-slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding-bottom: 10%;
}

.hero-text {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 20px;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

.hero-text p {
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Slider Navigation */
.hero-slider .slick-prev,
.hero-slider .slick-next {
    z-index: 10;
    width: 60px;
    height: 60px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.hero-slider .slick-prev:hover,
.hero-slider .slick-next:hover {
}

.hero-slider .slick-prev {
    left: 30px;
}

.hero-slider .slick-next {
    right: 30px;
}

.hero-slider .slick-prev:before,
.hero-slider .slick-next:before {
    display: none;
}

.hero-slider .slick-prev i,
.hero-slider .slick-next i {
    color: white;
    font-size: 24px;
}

.hero-slider .slick-dots {
    bottom: 30px;
    z-index: 10;
}

.hero-slider .slick-dots li button:before {
    color: white;
    font-size: 12px;
    opacity: 0.5;
}

.hero-slider .slick-dots li.slick-active button:before {
    opacity: 1;
    color: white;
}

/* Gallery Styles */
.gallery-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.photo-gallery {
    margin: 40px 0;
}

.photo-gallery .slick-slide {
    padding: 10px;
    outline: none;
}

.photo-gallery .slick-slide .slide-content {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-gallery .slick-slide .slide-content:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.photo-gallery .slick-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.photo-gallery .slick-prev,
.photo-gallery .slick-next {
    z-index: 2;
    width: 50px;
    height: 50px;
}

.photo-gallery .slick-prev:before,
.photo-gallery .slick-next:before {
    color: #2c3e50;
    font-size: 30px;
    opacity: 0.8;
}

.photo-gallery .slick-prev:hover:before,
.photo-gallery .slick-next:hover:before {
    opacity: 1;
}

.photo-gallery .slick-prev {
    left: -60px;
}

.photo-gallery .slick-next {
    right: -60px;
}

.photo-gallery .slick-dots {
    bottom: -50px;
    position: relative;
    margin-top: 30px;
}

.photo-gallery .slick-dots li {
    margin: 0 5px;
}

.photo-gallery .slick-dots li button:before {
    color: #2c3e50;
    font-size: 12px;
    opacity: 0.5;
}

.photo-gallery .slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.photo-grid .photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.photo-grid .photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.photo-grid .photo-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.photo-grid .photo-item .photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-grid .photo-item:hover .photo-overlay {
    transform: translateY(0);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #2c3e50;
}

/* About Section Styles */
.about-section {
    background-color: #f8f9fa;
}

.about-text {
    padding: 0 20px;
}

p.feature-text, .about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Gallery Index Styles */
.gallery-index-section {
    background-color: #f8f9fa;
}

.gallery-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 40px;
}

.gallery-category-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-category-item:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.category-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-category-item:hover .category-image {
    transform: scale(1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.gallery-category-item:hover .category-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.1));
}

.category-title {
    color: white;
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
    margin: 0;
    padding: 20px;
    letter-spacing: 1px;
    font-style: italic;
}

/* Gallery Page Styles */
.gallery-page-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
    background-color: #fff;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

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

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

/* Magnific Popup Custom Styles */
.mfp-bg {
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #fff;
    right: 20px;
    top: 20px;
    opacity: 0.8;
    font-size: 40px;
    width: 40px;
    height: 40px;
    line-height: 40px;
}

.mfp-image-holder .mfp-close:hover,
.mfp-iframe-holder .mfp-close:hover {
    opacity: 1;
}

.mfp-figure figcaption {
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

.mfp-figure figcaption .mfp-title {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.mfp-figure figcaption .mfp-title small {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-top: 5px;
}

.mfp-arrow {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mfp-arrow:hover {
    opacity: 1;
}

.mfp-counter {
    color: #fff;
    font-size: 14px;
}

/* Footer Styles */
.site-footer {
    margin-top: auto;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.social-icon {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-slider .slick-slide {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .hero-slider .slick-prev {
        left: 15px;
        width: 50px;
        height: 50px;
    }
    
    .hero-slider .slick-next {
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .hero-slider .slick-prev i,
    .hero-slider .slick-next i {
        font-size: 20px;
    }
    
    .hero-slider .slick-dots {
        bottom: 20px;
    }
    
    .photo-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        padding: 15px 0;
    }
    
    .about-text p {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1.25rem !important;
    }
    p.feature-text {
        font-size: 1rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1.25rem !important;
    }
    .gallery-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .photo-gallery .slick-prev {
        left: -30px;
    }
    
    .photo-gallery .slick-next {
        right: -30px;
    }
    
    .photo-gallery .slick-prev,
    .photo-gallery .slick-next {
        width: 40px;
        height: 40px;
    }
    
    .photo-gallery .slick-prev:before,
    .photo-gallery .slick-next:before {
        font-size: 24px;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Instagram Feed Styles */
.instagram-feed-section {
    background-color: #ffffff;
}

.instagram-feed-wrapper {
    margin: 0 auto;
    max-width: 100%;
}

.snapwidget-widget {
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.instagram-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.instagram-post {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-post a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-post-overlay i {
    color: white;
    font-size: 2rem;
}

@media (max-width: 768px) {
    .instagram-feed-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
}
.container-med {
    max-width: 1100px;
}
.container-slim {
    max-width: 950px;
}
.mfp-container {
    text-align: center;
}
.mfp-bg {
    background-color: white;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.mfp-wrap {
    position: fixed;
    margin: auto;
    text-align: center;
    padding: 2vh 2vw;
    overflow: scroll;
    z-index: 21;
}
.image-mosaic {
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
grid-auto-rows: 240px;
}

.card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #353535;
font-size: 3rem;
color: #fff;
box-shadow: rgba(3, 8, 20, 0.1) 0px 0.15rem 0.5rem, rgba(2, 8, 20, 0.1) 0px 0.075rem 0.175rem;
height: 100%;
width: 100%;
border-radius: 4px;
transition: all 500ms;
overflow: hidden;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding: 0;
margin: 0;
}

@media screen and (min-width: 600px) {
.card-tall {
    grid-row: span 2 / auto;
}

.card-wide {
    grid-column: span 2 / auto;
}
}
.nav-pills .nav-link {
    background: white;
    color: gray;
    border-radius: 0 !important;
    border: 1px solid darkgray;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: darkgrey;
}
a {
    color: gray;
}
my-email::after {
    content: attr(data-domain);
}
my-email::before {
    content: attr(data-user) "\0040";
}
.mfp-img {
    max-height: 95vh !important;
}
.mfp-wrap {
    position: fixed;
    width: 100vw;
    height: 100vh;
}
.mfp-container {
    padding-top: 2vh;
}
#instagram-feed {
    display: block;
    text-align: center;
    width: 100%;
    height: 200px;
}
.social-post {
    display: inline-block;
    width: 50%;
    opacity: 0;
    transition: opacity ease-in-out .3s;
}
@media only screen and (min-width: 768px) {
    .social-post {
        width: 25%;
    }
}
.in-view .social-post {
    opacity: 1;
}
.social-post img {
    height: 200px;
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    color: #000000;
}
.mfp-title, .mfp-preloader {
    display: none;
}
#gallery {
    opacity: 0;
    transition: opacity ease-in-out .5s;
    min-height: 100vh !important;
}
#gallery.justified-gallery {
    opacity: 1;
    min-height: auto;
}
.navbar .logo-inline {
    height: 60px;
    padding-right: 10px;
}