/* 
Theme Name: Blackburn2
*/
html, body {
	margin: 0;
	padding: 0;
	background: #2B2B2b;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	line-height: 28px;
	font-weight: 200;
	color: #F3F3F3;
	font-smoothing: antialiased;
	font-smooth: always;
   position: relative;
}
* {
	box-sizing: border-box;
  transition:all .3s linear;  
}
.flex-col {
	display: flex;
	flex-direction: column;
}
.flex-row {
	display: flex;
	flex-direction: row
}
h1, h2, h3, h4 {
font-weight: 400;
margin: 0;
font-family: "Libre Franklin", sans-serif;
text-transform: uppercase
}
h1 {
	font-size: 48px;
}
h2 {
	font-size: 36px;
	margin:8px 0px ;
	line-height: 42px;
}
h3 {
	font-size: 28px;
	margin:4px 0px ;
	line-height: 36px;
}
strong {
  font-weight: 600
}
/****************************** FORMS *****************************/
form {
  margin: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
form label {
  font-size: 14px;
  width: 100% !important;
  padding:8px 0px;
  display: block;
  box-sizing: border-box;
  text-align: left;
  font-weight: 400;
  text-transform: uppercase;
}
input, textarea {
  border: #000 solid .5px;
  padding: 12px;
  box-sizing: border-box;
  font-size: 16px;
  width: 100%;
  background: #dbdbdb;
  font-weight: 200;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
}
textarea {
  max-height: 200px;
}
.flag-container {
  color: #222
}
input:hover, textarea:hover {
  background: #bfd1e8
}
input:active, textarea:active {
  background: #ffd
}
/****************************** Links *****************************/
a {
  text-decoration: none;
  color: aqua
}
a:hover {
  color: rgb(145, 255, 255)
}
button, input[type="submit"] {
  background: teal;
  border: 0;
  padding: 20px 40px;
  font-size: 16px;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
}
 input[type="submit"] {
   margin-top: 20px;
 }
.back { 
  position: absolute;
  display: block;
  top: 10px;
  left: 0px;
  z-index: 100000;
  cursor: pointer;
  width: 40px;
  height: 40px;
  color: #fff;
  background:#4D4D4D;
  padding: 4px;
  border-radius: 4px;
  text-align: center
}
button:hover, input[type="submit"]:hover, .back:hover {
  background: rgb(0, 175, 175);
}


/****************************** Menu *****************************/
.slideout, .menuicon {
  position: absolute;
  display:block
}
.slideout {    
  right: -500px;
  top: 0;
  z-index: 100000;
  background: #222;
  width: 500px;
  height: 100vh;
  padding: 100px 12px;
  position: fixed
}
.mobilemenu ul {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 40px
}
.slideout .menu a {
  display: block;
  padding: 20px 16px;
  font-size: 24px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 400;
}
.slideout .menu a:hover {
  background: #333;
  border-radius: 4px;
}
#menu-toggle:checked + label + .slideout {
  right: 0;
}
.menuicon, .close {
  position: absolute;
  display: block;
  top: 10px;
  right: 10px;
  z-index: 100000;
  cursor: pointer;
  width: 40px;
  height: 40px;
}
.close svg {
  color: #fff;
}
.menuicon svg, .close svg {
  color: #fff;
  width: 40px;
  height: 40px;
  background:#4D4D4D;
  padding: 4px;
  border-radius: 4px
}
.close:hover svg, .menuicon:hover svg {
  color: #fff;
  background:teal;
  padding: 4px;
  border-radius: 4px
}
.slideout ul, .slideout li {
  margin: 0;
  padding: 0;
  list-style: none;
}
/****************************** content *****************************/
.container {
  width: 100%;
  min-height: 100vh;  
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  position: relative
}
.featured {
  overflow: hidden;     
  width: 70%;
  display: flex;
  justify-content: center;
}
.featured img {
  display: block;
  height: 102vh;
  transform: translateX(50) scale(1);
  transform-origin: center center;
  animation: slideright 8s ease-out forwards;
}
@keyframes slideright {
  from {
    transform: translateX(0) scale(1.06);
  }
  to {
    transform: translateX(50px) scale(1.0);
  }
}

.page-id-1106 .featured { /* about page */
  display: flex;
  justify-content: flex-start;
}
.page-id-1106 .featured img {
  height: 100vh;
  transform: translateX(0) scale(1);
  transform-origin: center center;
  animation: slideLeft 8s ease-out forwards;
}
@keyframes slideLeft {
  from {
    transform: translateX(50)  scale(1);
  }
  to {
    transform: translateX(-50px) scale(1.06);
  }
}

.content {
  align-items: end;
  justify-content: center;
  z-index: 1000;
  width: 40%;
  padding: 40px;
  align-items: center;
  background: #2B2B2B;
  overflow: hidden;
  position: -webkit-sticky;
  position: sticky;
  top: 0;                   
  align-self: flex-start; 
  flex: 0 0 40%;           
  height: 100vh;       
}
h1.title {
  background: url(https://blackburnartgroup.com/wp-content/themes/blackburn2/images/title.svg) no-repeat center;
  height: 250px;
  width: 100%;
  max-width: 350px;
  text-indent: -10000px;
  background-size: contain
}
.subhead {
  font-size: 20px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ccc;
  font-weight: 400;
  border-top: 1px solid #828282;
  border-bottom: 1px solid #828282;
  padding: 20px 0px;
  margin: 20px;
  text-align: center;
}
.blurb {
  width: 100%;
  max-width: 450px;
  font-style: italic;
  text-align: center;
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 32px;
}
.ss {
 position: relative;
 width: 100%;
  max-width: 60%;
  height: 100vh;
  overflow: hidden;
  z-index: 
}

.ss-track {
  position: absolute;
  inset: 0;
}

.ss-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1500ms ease;
}

.ss-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.ss-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ss-artist {
  position: absolute;
  bottom:0px;
  left:0;
  right: 0;
  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 16px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}
.ss-service {
  position: absolute;
  bottom: 0;
  max-width: 480px;
  width: 100%;
  font-weight: 400;
  color: #222;
  padding: 32px 32px 96px;
  font-size: 18px;
  z-index: 2;
}
.ss-service h2, .slidecontent {
  background:rgb(185 205 205 / 82%);
  padding: 24px 40px;
  border-radius: 4px;
}
#services #ss-slide-0 .ss-service {
  left:0;
}
#services #ss-slide-1 .ss-service {
  transform: translateX(-50%);
  left: 50%;
}
#services #ss-slide-2  .ss-service {
  right:0;
}
.ss-dots {
  position: absolute;
  right:16px;
  bottom: 24px;
  display: flex;
  gap: 12px;
  z-index: 3;
}

.ss-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,.45);
}

.ss-dot[aria-current="true"] {
  background: rgba(255,255,255,.95);
  outline: 2px solid rgba(0,0,0,.25);
  outline-offset: 2px;
}
.ss-nav {
  position: absolute;
  bottom: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  gap: 12px;
  z-index: 3;
  justify-content: space-evenly
}

.ss-nav-btn {
  border: none;
  width: 30%;
  border-radius: 4px;
  padding:20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.ss-nav-btn[aria-current="true"] {
  background: rgb(0, 175, 175);
}

/****************************** ALBUM *****************************/
.albumpage {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 60%;
  width: 100%;
}
.titlecard {
  width: 100%;
  padding:0 0 50px;
  border-bottom: 1px solid #ccc;
  background: rgb(250 246 240);
}
.titlecard h2 {
  padding-top: 80px;
}
.albumcontent {
  padding: 20px 40px;
  text-align: left;
  margin: auto;
  width: 100%;
  padding: 1px;
  max-width: 700px;
  font-weight: 200;
  box-sizing: border-box;
  text-align: center;
}
.album {
  width: 100%;
  margin: 0 auto 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  justify-content: space-around;
}
.album-thumb {
  flex: 1 1 31%;
  width: 300px;
  height: 400px;
  position: relative;
  color: #fff;
  opacity: 0;
  transform: translateY(40px);
  /* delay is set dynamically via --stagger-index */
  animation: fadeInUp 700ms ease-out forwards;
  animation-delay: calc(var(--stagger-index, 0) * 120ms);
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  /* Accessibility: respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .tile {
      animation: none !important;
      opacity: 1;
      transform: none;
    }
  }
.album-thumb h3 {
  position: absolute;
  font-size: 20px;
  background:rgba(0,0,0,.5);
  color: #ccc;
  padding: 4px;
  margin: 0px;
  left:8px;
  right:8px;
  bottom:8px;
  border-radius:4px;
  text-align: center;  
  transition:all .3s linear;  
}
.album a:hover{
  opacity: .5;
  display: block;
}
.album a:hover h3 {
  color: #fff;
  background: #222
}
/****************************** Gallery *****************************/
.logo {
  margin-bottom: 40px;
  width: 100px;
  height: 100px;
  background: url(https://blackburnartgroup.com/wp-content/themes/blackburn2/images/graphic.svg) no-repeat center;
  background-size: contain;
  opacity: .8
}
.artistpic {
  width: 100%;
    aspect-ratio: 1/1;     /* adjust to your preferred shape */
    max-height: 600px;        /* cap the height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
.artistpic img {
  width: 100%;
    height: 100%;
    object-fit: contain;       /* or 'cover' if you prefer fill + crop */
  }
.artist h1 {
  margin: 48px 0px 24px;
  font-size: 40px;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #ccc;
  font-weight: 400;
  border-top: 1px solid #828282;
  border-bottom: 1px solid #828282;
  padding: 20px 0px;
  text-align: center;
  margin: 40px;
  line-height: 44px;
}
.gal-array {
  padding:1px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1px;
  opacity: 0;
  transform: translateX(40px);
  animation: fadeInUp 700ms ease-out forwards;
  animation-delay: calc(var(--stagger-index, 0) * 200ms);
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateY(0); }
  }

.gal-link {
  flex: 0 0 33%; 
  aspect-ratio: 1 / 1;     
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.gal-link img {
  height: 100%;
  width: 100%;
  object-fit: cover
  
}
.gal-thumb {
 max-width: 100%;
 max-height: 100%;
 object-fit: contain;
 display: block;
}

.gal-link:hover .gal-thumb {
  opacity: .4;
  transition:all .3s linear;  
}
.gal-meta {
  display:none;
  transition:all .3s linear;  
}
.gal-link:hover .gal-meta  {
  display: block;
  position: absolute;
  z-index: 10000;
  color: #fff;
  font-size: 1rem;
  line-height: 24px;
  text-align: center;
  transition:all .3s linear;  
}
#splashpage .news h2 {
  border: 0
}
/* Overlay container */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);   /* black overlay @ 0.5 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 1000;
}

/* Dialog */
.modal__dialog {
 width: 700px;
 max-width: calc(100% - 32px);
 max-height: calc(100vh - 32px);
 overflow: auto;
 background: #222;
 border-radius: 8px;
 box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
 transform: translateY(8px);
 transition: transform 200ms ease, opacity 200ms ease;
 opacity: 0;
 position: relative;
 padding: 80px;
 line-height: 32px;
 letter-spacing: .5px;
 color: #c1bfbf;
}

/* Open state */
.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal.is-open .modal__dialog {
  opacity: 1;
  transform: translateY(0);
}

/* Close button */
.modal__close {
  position: absolute;
  top: 8px;
  padding: 10px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* Optional: prevent page scroll while modal open */
.body--lock,
.body--lock body {
  overflow: hidden;
}

/****************************** Image *****************************/

#lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  z-index: 9999;
}

#lightbox-overlay iframe {
  width: 100%;
  height: 100%;
  top: 0%;
  left: 0%;
  border: none;
  position: absolute;
}

.lightbox-arrow {
  position: fixed;
  top:50%;
  user-select: none;
  cursor: pointer;
  z-index: 10000;
  padding:12px 4px;
  background: rgba(0, 0, 0, 0.8);
}

#lightbox-prev { 
  left: 0; 
}
#lightbox-next { 
  right: 0; 
}
#lightbox-close {
  position: fixed;
  top: 10px;
  right: 10px;
  border-radius: 4px;
  font-size: 30px;
  cursor: pointer;
  z-index: 10000;
  padding: 10px;
  padding: 5px;
  background: teal
}
#lightbox-overlay,
#lightbox-prev,
#lightbox-next,
#lightbox-close {
  display: none;
  z-index: 1000000;
}

.lightbox-stage {
  position: absolute;
  inset: 5% 5%;
  background: #111;
  overflow: hidden;
}
.lightbox-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  transition: opacity .35s ease; 
  pointer-events: none;
}
.lightbox-frame.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.lightbox-frame.is-inactive {
  opacity: 0;
  z-index: 1;
}
.imagecontainer {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
  align-items: stretch
}
.imagecontent {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  padding:0px 20px;
  margin-bottom: 0px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content:space-evenly;
  gap: 20px;
  flex-grow:1;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}
.image {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  z-index: 1;
  flex-grow:1;
  object-fit: contain;
}
.image img {
  max-height: 100%;
  max-width: 100%;
  aspect-ratio:auto;
  z-index: 1;
  box-shadow: 1px 5px 11px -2px rgba(0,0,0,0.66);
  -webkit-box-shadow: 1px 5px 11px -2px rgba(0,0,0,0.66);
  -moz-box-shadow: 1px 5px 11px -2px rgba(0,0,0,0.66);
}
.imageinfo {
  justify-content: center;
  width: 25%;
  padding: 0 20px 20px;
  flex-grow:1;
  gap: 12px;
}
/* initial states */
.image, .imageinfo {
  opacity: 0;
}

/* left slides in */
.image {
  animation: slideInLeft 1s ease-out forwards;
}

/* right slides in */
.imageinfo {
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 0.2s; /* small stagger */
}

/* keyframes */
@keyframes slideInLeft {
  from {
    transform: translateX(-80px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(80px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.imageinfo h3 {
  font-size: 32px;
  text-transform: capitalize
}
.imageinfo p {
  font-size: 14px;
  line-height: 20px;
}
.imgdescrip {
  font-size: 16px;
  line-height: 28px;
  padding: 20px 0;
  border-radius: 4px;
}
/****************************** Inquire *****************************/
.contact-panel {
  position: absolute;
  bottom: 0px;
  right: 100px;
  height: 0;
  width:400px;
  padding:0px;
  background: #222;
  overflow: hidden;
  transition: height 0.4s linear;
  z-index: 100; transition:all .2s linear;  
}
.contactformwrapper {
  padding:0px;
}
.wpcf7-form.sent p
{
  display:none;
}
.contact-panel h4 {
  margin: 0;
  padding: 20px;
  background: #111;
  font-size: 20px;
  line-height: 36px;
}
.contact-panel form {
  padding: 20px;
}
.contact-panel.open {
  width:400px;
  height:600px; 
  transition:all .3s linear;  
}
 .close-btn {
  position: absolute;
  top: 4px;
  padding: 0px 8px;
  right: 4px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
}
.wpcf7 form.sent .wpcf7-response-output {
background: #a7c0aa;
border: 0;
padding: 40px 40px;
text-align: center;
}
.wpcf7-spinner {
  display: none
}
.wpcf7 form .wpcf7-response-output {
  margin: 0
}


#desktop {
  display: block
}
.services .ss-nav {
  bottom: 0px;
  right: 0px;
  left: 0px;
  gap: 0;
}
.services .ss-nav-btn {
  border: none;
  width: 33.3%;
  border-radius: 0;
  padding: 20px;
  height: 80px;
  background: #222
}
.ss-nav-btn[aria-current="true"] {
background: #333;
}

/**************************/

@media screen and (max-width: 880px) {
  body {
    overflow-x: hidden;
  }
 .container {
     flex-direction: column !important
  }
  #mobile, .mobile {
    display: block;
  }
  #desktop {
    display: none
  }
.header {
  padding: 40px 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.header .title {
  height: 150px;
}
.slideout {
  display: none
}
.header .slideout {
  width: 100%;
  z-index: 10000000;
  display: none
}
.header #menu-toggle:checked + label + .slideout {
  right: 0;
  display: block
}
.featured, .ss, .albumpage, .gal-container {
  width: 100%;
  max-width: 100%;
  height: 50vh;
}
  .gal-container, .albumpage {
    height: 100%
  }
  .ss {
    height: 100vh;
    width: 100%;
    max-width: 100%
  }
  .splash .ss {
    height: calc(100vh - 230px)
  }
 .ss-service {
  transform: translateX(0%) !important; 
  left: 0% !important;
  right: 0;
  top:0;
  max-width:100%;
  font-weight: 400;
  color: #222;
  padding:80px 12px 12px;
  font-size: 18px;
  z-index: 2;
}
.slidecontent {
  background:rgb(185 205 205 / 82%);
  padding: 24px 40px ;
  border-radius: 0px;
}

.services .ss-nav {
  top: 0px;
  right: 0px;
  left: 0px;
  bottom:auto;
  gap: 0;
}
.services .ss-nav-btn {
  border: none;
  width: 33.3%;
  border-radius: 0;
  padding: 20px 12px;
  background: #222
}
.ss-nav-btn[aria-current="true"] {
border-top:1px solid rgb(0, 175, 175);
}
.ss-service h2 {
  font-size: 24px;
  text-align: center
}
  .content {
    width: 100%;
    padding-top: 20px
  }
  .content h1.title {
  display: none;
}
.modal__dialog {
  padding: 40px;
  max-width:100%;
  max-height:100vh;
  border-radius: 0
}
  
  .imagecontainer {
    flex-direction: column;
    box-sizing: border-box;
    align-items: inherit;
    padding:0;
    height: auto  
  }
  .imagecontent {
    flex-direction: column;
    position: relative;
    padding: 0px;
    gap:0;
    overflow: scroll
  }
  #lightbox-overlay iframe {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  }
  .imageinfo {
    width: 100%;
    padding:20px  40px 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .imagecontent, .image, .imageinfo {
    flex-grow:unset
  }
  .image {
    width: 100%;
    height: auto;
    padding: 4px;
  }
  #lightbox-close {
    background: none; 
    color: #fff;
    top: auto;
    bottom: 0;
    right: 33.3%;
    left:33.3%;
    width: 33.4%;
    background: rgba(0,0,0,.8);
    text-align: center;
    padding: 5px 0px;
  }
  
  #lightbox-close svg {
  width: 20px;
  }
  .lightbox-arrow {
    top: auto;
    width: 33.33333%;
    bottom:0;
    box-sizing: border-box;
    background: rgba(0,0,0,.8);
    color: #fff
  }
  #lightbox-prev { 
    left: 0;
    padding: 5px; 
  }
  #lightbox-next { 
    right: 0; 
    padding: 5px;
    text-align: right
  }

.featured {
    height: 600px;       /* or 100vh, etc. */
    overflow: hidden;    /* crop the excess */
  }
  
  /* The image should cover and be allowed to crop */
  .featured img,   .page-id-1106 .featured img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* preserve aspect, fill box, crop overflow */
  }
  
  /* Remove the rules that were fighting you */
  .page-id-1106 img, .featured img {
    /* DO NOT set aspect-ratio: 1; */
    /* DO NOT force height:auto if you want cropping */
    transform: none !important;
    animation: none !important;
  }
  
}