.hero-section {
  min-height: 80vh;
  background-image: url('/wp-content/uploads/core-hero-kitchen.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  position: relative;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
}
.hero-text {
  position: absolute; top: 50%; right: 10%; transform: translateY(-50%);
  text-align: right; color: white; z-index: 2;
}
.hero-heading { font-family: 'Playfair Display', serif; font-size: 48px; }
@media (max-width: 768px) {
  .hero-section { min-height: 60vh; background-attachment: scroll; }
  .hero-text { right: 5%; text-align: center; }
}
.main-teaser { position: relative; overflow: hidden; cursor: pointer; }
.main-teaser:hover img { transform: scale(1.05); transition: 0.4s; }
.main-teaser::after {
  content: attr(data-caption);
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,0.7); color: #fff; padding: 20px;
  transform: translateY(100%); transition: 0.3s;
}
.main-teaser:hover::after { transform: translateY(0); }
.tf-showcase-menuitem { display: none !important; }
.ast-below-header-wrap { display: none !important; }

/* ==== SHOWCASE GALLERY – FINAL GLOBAL STYLES ==== */

/* Hover caption on main teaser images */
.cw-teaser { 
    position: relative; 
    overflow: hidden; 
    border-radius: 8px;
}
.cw-caption-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    font-family: 'Roboto', sans-serif;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.cw-teaser:hover .cw-caption-overlay { opacity: 1; }

/* Carousel slides – only active one is visible */
.cw-slide { 
    display: none; 
    width: 100%; 
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.cw-slide.active { display: block; }

/* Optional nice touch – slight zoom on hover for main image */
.cw-main-img { 
    transition: transform 0.4s ease; 
}
.cw-teaser:hover .cw-main-img { 
    transform: scale(1.03); 
}
.fl-module-html a:hover {
    background: rgba(0,0,0,0.8) !important;
    transform: scale(1.02);
    transition: all 0.3s ease;
}
/* Main image zoom on hover (simplified magnifier) */
.tf-finishes-main-image {
    position: relative; overflow: hidden; cursor: zoom-in; border-radius: 8px;
}
.tf-finishes-main-image img {
    transition: transform 0.3s ease; width: 100%; height: auto;
}
.tf-finishes-main-image:hover img {
    transform: scale(1.1); /* 10% zoom; increase to 1.2 for more */
}

/* Thumbnails: Vertical stack, active highlight */
.thumb-gallery {
    display: flex; flex-direction: column; gap: 10px; max-height: 400px; overflow-y: auto;
}
.thumb-gallery .gallery-item {
    border: 2px solid transparent; border-radius: 4px; transition: border 0.3s; cursor: pointer;
}
.thumb-gallery .gallery-item img {
    width: 100%; height: auto; opacity: 0.8;
}
.thumb-gallery .gallery-item:hover img {
    opacity: 1; transform: scale(1.05);
}
.thumb-gallery .gallery-item.active {
    border-color: #007cba; /* Blue like Woo/Affinity */
}
.thumb-gallery .gallery-item.active img {
    opacity: 1;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .thumb-gallery { max-height: none; gap: 5px; }
}