/********** Template CSS **********/
/********** Boesman Brand Overrides **********/
:root{
    /* Official Boesman Gradient (matches provided SVG) */
    --boesman-yellow:#ffd10d;
    --boesman-red:#eb2627;
    --boesman-magenta:#ec278f;
    --boesman-purple:#6d3491;
    --boesman-navy:#2a3c93;
    --boesman-blue:#3b74b9;

    --boesman-gradient: linear-gradient(90deg,
        #ffd10d 0%,
        #eb2627 30%,
        #eb262e 30%,
        #eb2643 40%,
        #eb2666 40%,
        #ec278f 50%,
        #6d3491 70%,
        #2a3c93 80%,
        #3663ad 90%,
        #3b74b9 100%
    );

    /* Solid fallback (for borders/shadows where gradients can't be used) */
    --boesman-primary: var(--boesman-magenta);

    --bs-primary: var(--boesman-primary);
    --bs-primary-rgb: 236, 39, 143;
    --bs-link-color: var(--boesman-primary);
    --bs-link-hover-color: var(--boesman-blue);
}

/* Logo sizing helpers */
.navbar-logo{
    height:64px;
    width:auto;
    display:block;
}

@media (max-width: 575.98px){
    .navbar-logo{ height:52px; }
}

.footer-logo{
    height:90px;
    width:auto;
    display:block;
    margin:0 auto;
}

/* Link colors (keep navbar + buttons white; only tint normal content links) */
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.link-light){
    color: var(--bs-link-color) !important;
}
a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.link-light):hover{
    color: var(--bs-link-hover-color) !important;
}

.text-primary{
    color: var(--boesman-primary) !important; /* fallback */
}

/* Gradient text where supported */
@supports (-webkit-background-clip:text) or (background-clip:text){
    .text-primary,
    .link-primary,
    a.text-primary{
        background-image: var(--boesman-gradient);
        -webkit-background-clip:text;
        background-clip:text;
        color: transparent !important;
    }

    .navbar .navbar-nav .nav-link:hover{
        background-image: var(--boesman-gradient);
        -webkit-background-clip:text;
        background-clip:text;
        color: transparent !important;
    }
}

/* Keep menu text white by default (including active link) */
.navbar .navbar-nav .nav-link.active{
    color: var(--bs-white) !important;
}

/* Gradient backgrounds */
.bg-primary{
    background-image: var(--boesman-gradient) !important;
    background-color: transparent !important;
}

.btn-primary{
    color:#fff !important;

    background-image: var(--boesman-gradient) !important;
    border:0 !important;
}

.btn-primary:hover,
.btn-primary:focus{
    filter: brightness(1.05);
}

/* Gradient outline buttons */
.btn-outline-primary{
    color:#fff !important;
    border:2px solid transparent !important;
    background:
        linear-gradient(rgba(13,13,13,1), rgba(13,13,13,1)) padding-box,
        var(--boesman-gradient) border-box !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus{
    color:#fff !important;
    background: var(--boesman-gradient) !important;
    border-color: transparent !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 50px;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: inherit;
}

.btn-primary {
    color: var(--bs-white);
}


/*** Navbar ***/
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 40px 0;
    color: var(--bs-white);
    font-size: 17px;
    text-transform: uppercase;
    outline: none;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.bg-dark .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--bs-light);
    }
}

@media (min-width: 992px) {
    .navbar.bg-dark .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}



/* Video Media Helpers */
.carousel-media{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.about-media{
    display:block;
    width:100%;
    height:auto;
    object-fit:cover;
    border-radius: .5rem;
}

/* About logo (replace about image/video with brand mark) */
.about-logo{
    max-width: 420px;
    margin: 0 auto;
}

.service-media{
    display:block;
    width:100%;
    aspect-ratio: 1 / 1;
    height:auto;
    object-fit:cover;
    border-radius: 50%;
}

.team-media{
    display:block;
    width:100%;
    height:auto;
    object-fit:cover;
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 100px;
    background: rgba(0, 0, 0, .7);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 550px;
    }
    
    #header-carousel .carousel-item img,
    #header-carousel .carousel-item video {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 200px;
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7));
    background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--bs-white);
}


/*** Title ***/
.title {
    margin-bottom: 2rem;
}

.title .title-left,
.title .title-center,
.title .title-right {
    display: inline-block;
    text-transform: uppercase;
    overflow: hidden;
}

.title .title-center {
    text-align: center;
}

.title .title-right {
    text-align: right;
}

.title .title-left h5,
.title .title-center h5,
.title .title-right h5 {
    position: relative;
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
}

.title .title-left h5::after,
.title .title-center h5::before,
.title .title-center h5::after,
.title .title-right h5::before {
    position: absolute;
    content: "";
    width: 500%;
    height: 0;
    top: 9px;
    border-bottom: 1px solid var(--bs-white);
}

.title .title-left h5::after,
.title .title-center h5::after {
    left: calc(100% + 15px);
}

.title .title-right h5::before,
.title .title-center h5::before {
    right: calc(100% + 15px);
}

.title .title-left h1,
.title .title-center h1,
.title .title-right h1 {
    border-bottom: 1px solid var(--bs-white);
}


/*** Service ***/
.service-item {
    position: relative;
    margin-top: 2.5rem;
    overflow: hidden;
}

.service-item .service-img {
    position: relative;
    display: inline-block;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: calc(100% - 12rem);
    height: calc(100% - 12rem);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3rem solid rgba(0, 0, 0, .5);
    border-radius: 300px;
    z-index: 1;
}

.service-item.service-item-left {
    border-radius: 500px 0 0 500px;
    background: linear-gradient(to right, var(--bs-secondary), var(--bs-dark));
}

.service-item.service-item-right {
    border-radius: 0 500px 500px 0;
    background: linear-gradient(to left, var(--bs-secondary), var(--bs-dark));
}

@media (max-width: 767.98px) {
    .service-item.service-item-left,
    .service-item.service-item-right {
        border-radius: 500px 500px 0 0;
        background: linear-gradient(to bottom, var(--bs-secondary), var(--bs-dark));
        text-align: center;
    }
}


/*** Team ***/
.team-item {
    position: relative;
}

.team-item .team-name {
    position: absolute;
    width: 100%;
    height: 60px;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .7);
}

.team-item .team-body {
    position: relative;
    overflow: hidden;
}

.team-item .team-body .team-before,
.team-item .team-body .team-after {
    position: absolute;
    content: "";
    width: 0;
    height: calc(100% - 60px);
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: .5s;
}

.team-item .team-body .team-after {
    left: auto;
    right: 0;
}

.team-item .team-body .team-before {
    text-align: right;
}

.team-item:hover .team-body .team-before,
.team-item:hover .team-body .team-after {
    width: 50%;
}

.team-item .team-body .team-before span,
.team-item .team-body .team-after span {
    margin: 5px;
    color: var(--bs-white);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-body .team-before span,
.team-item:hover .team-body .team-after span {
    opacity: 1;
    transition-delay: .2s;
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--bs-dark);
    border-radius: 100px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
    border-radius: 100px;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
@keyframes footerAnimatedBg {
	0% {
        background-position: 0 0;
    }

	100% {
        background-position: -1000px 0;
    }
}

.footer {
	/* Remove the old Poseify silhouette background */
	background-image: none !important;
	background-color: #0d0d0d;
	animation: none;
}

/* Full service list centering (perfectly centered as a group) */
.service-list-columns{
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: center;
  align-items: start;
  column-gap: 8rem;
  row-gap: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}
.service-list-col{
  width: max-content;
}
.service-list-col li{
  font-size: 1.2rem;
  line-height: 2.25rem;
}
.service-list-col li i{
  font-size: 1.25rem;
}
@media (max-width: 767.98px){
  .service-list-columns{
    grid-template-columns: 1fr;
    justify-items: center;
    column-gap: 0;
  }
  .service-list-col{
    width: auto;
  }
}


/* Facebook embed sizing */
.fb-embed-wrap{
  width:100%;
  max-width:900px;
  height:900px;
  margin:0 auto;
  border-radius:18px;
  overflow:hidden;
}
.fb-embed-wrap iframe{
  width:100% !important;
  height:100% !important;
  border:0;
}
@media (max-width:576px){
  .fb-embed-wrap{height:720px; max-width:100%;}
  .fb-embed-wrap iframe{height:100% !important;}
}
.fb-embed-wrap iframe{height:700px;}}


/* Contact sheet links */
.table.table-dark a{color:#ffffff;text-decoration:none;}
.table.table-dark a:hover{text-decoration:underline;}


/*** Portfolio Gallery ***/
.gallery-link { text-decoration: none; display: block; }
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  transition: transform .25s ease, border-color .25s ease;
}
.gallery-card img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease, filter .35s ease;
}
@media (max-width: 575.98px){
  .gallery-card img{ height: 160px; }
}
.gallery-link:hover .gallery-card{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.14);
}
.gallery-link:hover .gallery-card img{
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.06);
}
/*** End Portfolio Gallery ***/

/*** Lightbox tweaks (larger preview) ***/
.lb-container { padding: 0 !important; }
.lightbox .lb-image {
  max-width: 96vw !important;
  max-height: 88vh !important;
}
.lb-outerContainer, .lb-dataContainer { max-width: 96vw !important; }
.lightboxOverlay { background: rgba(0,0,0,0.92) !important; }
/*** End Lightbox tweaks ***/

/* ================================
   Boesman: Lightbox fit-to-screen (no scroll)
   - Centers the lightbox
   - Ensures the full image is always visible (contain)
   ================================ */
.lightboxOverlay{ position: fixed !important; }
.lightbox{ position: fixed !important; top: 50% !important; left: 0 !important; width: 100% !important; transform: translateY(-50%) !important; }

/* Keep container sized by Lightbox JS, but cap it to viewport */
#lightbox .lb-outerContainer{
  background: transparent !important;
  max-width: 92vw !important;
  max-height: 82vh !important;
  width: auto !important;
  height: auto !important;
}
#lightbox .lb-container{ padding: 0 !important; }
#lightbox .lb-image{
  width: auto !important;
  height: auto !important;
  max-width: 92vw !important;
  max-height: 82vh !important;
  object-fit: contain;
  background: #111;
}
#lightbox .lb-dataContainer{
  width: auto !important;
  max-width: 92vw !important;
}

@media (max-width: 768px){
  #lightbox .lb-outerContainer,
  #lightbox .lb-image{ max-width: 94vw !important; max-height: 78vh !important; }
}

/* ================================
   Boesman Portfolio Gallery Modal
   Centered, fit-to-screen (no scroll)
   ================================ */

body.bmg-lock { overflow: hidden; }

.boesman-gallery-modal{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 4vw, 44px);
}
.boesman-gallery-modal.is-open{ display: flex; }

.boesman-gallery-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.86);
}

.boesman-gallery-shell{
  position: relative;
  width: min(1200px, 78vw);
  height: min(78vh, 820px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.boesman-gallery-stage{
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: rgba(15,15,15,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 28px 80px rgba(0,0,0,0.55);
  overflow: hidden;
  /* Force true centering for the displayed image */
  display: flex;
  align-items: center;
  justify-content: center;
}

.boesman-gallery-stage img{
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: rgba(0,0,0,0.35);
}

.boesman-gallery-counter{
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  background: rgba(0,0,0,0.45);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}

.boesman-gallery-close{
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.boesman-gallery-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 40px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}
.boesman-gallery-prev{ left: 14px; }
.boesman-gallery-next{ right: 14px; }

.boesman-gallery-close:focus,
.boesman-gallery-nav:focus{ outline: 2px solid rgba(224,120,45,0.85); outline-offset: 2px; }

@media (max-width: 768px){
  .boesman-gallery-shell{ width: 92vw; height: 74vh; }
  .boesman-gallery-nav{ width: 46px; height: 46px; font-size: 34px; }
  .boesman-gallery-close{ width: 42px; height: 42px; font-size: 26px; }
}

