
/* Gallery Specific Styles extracted from sppl2025 */

:root {
  --gallery-primary: #D4AF37; /* Match worldwidemice accent gold */
  --gallery-bg: #050B14;
  --gallery-text: rgba(254, 254, 254, 0.7);
  --gallery-heading: #FEFEFE;
  --gallery-border: #4D4D4D;
  --gallery-card-bg: #0A1424;
}

.cs-portfolio_page {
  padding: 120px 0 60px 0;
  background-color: var(--gallery-bg);
}

/* Isotope Grid */
.cs-isotop {
  transition: all 0.4s ease;
}

.cs-isotop.cs-has_gutter_24 {
  margin-left: -12px;
  margin-right: -12px;
  margin-bottom: -24px;
}
.cs-isotop.cs-has_gutter_24 .cs-isotop_item {
  padding: 0 12px;
  margin-bottom: 24px;
}

.cs-isotop_col_4 .cs-grid_sizer,
.cs-isotop_col_4 .cs-isotop_item {
  width: 25%;
}

@media screen and (max-width: 1199px) {
  .cs-isotop_col_4 .cs-grid_sizer,
  .cs-isotop_col_4 .cs-isotop_item {
    width: 33.333333%;
  }
}
@media screen and (max-width: 991px) {
  .cs-isotop_col_4 .cs-grid_sizer,
  .cs-isotop_col_4 .cs-isotop_item {
    width: 50%;
  }
}
@media screen and (max-width: 767px) {
  .cs-isotop_col_4 .cs-grid_sizer,
  .cs-isotop_col_4 .cs-isotop_item {
    width: 100%;
  }
}

/* Portfolio Item Style 1 */
.cs-portfolio.cs-style1 {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  height: 400px;
  display: block;
}

.cs-portfolio.cs-style1 .cs-portfolio_hover {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  background-color: rgba(5, 11, 20, 0.6);
  transition: all 0.4s ease;
  z-index: 2;
}

.cs-portfolio.cs-style1 .cs-plus {
  position: absolute;
  height: 50px;
  width: 50px;
  left: 50%;
  z-index: 3;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.4);
  transition: all 0.4s ease;
}

.cs-portfolio.cs-style1 .cs-plus::before, 
.cs-portfolio.cs-style1 .cs-plus::after {
  content: "";
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: var(--gallery-primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cs-portfolio.cs-style1 .cs-plus::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cs-portfolio.cs-style1:hover .cs-portfolio_hover {
  opacity: 1;
}

.cs-portfolio.cs-style1:hover .cs-plus {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cs-portfolio.cs-style1 .cs-portfolio_bg {
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
}

.cs-portfolio.cs-style1:hover .cs-portfolio_bg {
  transform: scale(1.1);
}

.cs-portfolio.cs-style1.cs-size1 {
  height: 300px;
}
.cs-portfolio.cs-style1.cs-size2 {
  height: 500px;
}

/* Lightbox Pointer */
.cs-portfolio.cs-lightbox_item:hover {
  cursor: zoom-in;
}

/* Section Heading for Gallery */
.gallery-hero {
  padding: 150px 0 60px;
  background-color: var(--gallery-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gallery-hero h1 {
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.gallery-hero .breadcrumb {
  color: var(--gallery-primary);
  font-weight: 500;
}

.gallery-hero .breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.gallery-hero .breadcrumb span {
  margin: 0 10px;
  color: rgba(255,255,255,0.5);
}
