

@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
   ab.css - Custom Styles for Window Design Inc.
   ========================================================================== */

/* 1. GLOBAL LAYOUT SETTINGS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
  padding: 20px 10px;
}

section {
  border: none;
}

img {
  vertical-align: middle;
}

hr {
  border: 0;
  height: 1px;
  background: #e0e0e0;
  margin: 40px 0;
}

/* 2. STRUCTURAL WRAPPERS */
.content {
  max-width: 960px;
  margin: 0 auto;
  padding: 15px;
}

.aside {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* 3. TYPOGRAPHY STYLES */
h3 {
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

h3 small {
  color: #666666;
  font-weight: 400;
}




p {
  font-size: 16px;
  color: #4a4a4a;
  margin-bottom: 20px;
  max-width: 800px;
}




.slide-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out; /* Smooth image crossfade */
  background: #000; /* Dark background backing */
}



/* Text Overlay Block - Centers statement over the image frame */
.bio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4); /* Gentle shadow backdrop to ensure readability */
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease forward, transform 0.8s ease;
  transition-delay: 0.4s; /* Delays text fade slightly until the main slide finishes transitioning */
}

/* Fades in the text statement beautifully when its slide is active */
.slide-wrapper.active .bio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.bio-text {
  color: #ffffff;
  font-family: 'Segoe UI', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 550px; /* Fixed frame height keeps layout from bouncing */
  margin:  auto;
  overflow: hidden;
  border-radius: 6px;
  background-color: #000; /* Dark canvas behind fading items */
}

/* Hide images completely and prepare them for fading transitions */
.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

/* Only display the current active image frame */
.slide-img.active {
  opacity: 1;
  visibility: visible;
}

/* Dim active image when slideshow is manually paused */
.paused .slide-img.active {
  filter: brightness(50%);
}

/* Toggle button visuals alignment */
.slide-ctrl-btn {
  background-color: #ffffff;
  border: 1px solid #333333;
  border-radius: 6px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}
.slide-ctrl-btn:hover {
  background-color: #333333;
  color: #ffffff;
}

/* Add this to ad.css to keep icon layers from blocking your button events */
button i, a i {
  pointer-events: none;

/* 1. Ensure invisible slideshow images completely ignore mouse clicks */
.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* <-- Fixes click hijacking: lets mouse pass straight through */
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

/* 2. Allow only the active image to take clicks (if any) */
.slide-img.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto; 
}

/* 3. Give your section navigation or popups priority so they stay clickable */
.aside, .content, .col-12, button {
  position: relative;
  z-index: 5; /* Pushes other sections cleanly on top of the slideshow layer */
}

/* Custom product section buttons */
.section-toggle-btn {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  transition: all 0.2s ease-in-out;
}

.section-toggle-btn:hover {
  background: #333333;
  color: #ffffff;
  border-color: #333333;
}

/* Ensure font awesome icons don't capture clicks away from the button box */
.section-toggle-btn i {
  pointer-events: none;
}

/* Base styles for hidden product details */
.product-detail-box {
  display: none; /* Kept invisible until opened */
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #333333;
}

/* Restores visibility tracking for your Demo dropdown panels */
.w3-show {
  display: block !important;
}

.w3-hide {
  display: none !important;
}

/* Custom styled product section row blocks */
.section-toggle-btn {
  background: #ffffff;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  transition: all 0.2s ease-in-out;
}

.section-toggle-btn:hover {
  background: #333333;
  color: #ffffff;
  border-color: #333333;
}

/* Base style setup for your hidden details panel grids */
.product-detail-box {
  display: none; 
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 4px solid #333333;
}

/* Forces the slideshow to break out of its parent's padding boundaries */
.content > .slideshow-container {
  margin-left: -5px !important;
  margin-right: -5px !important;
  width: calc(100% + 10px) !important;
  max-width: calc(100% + 10px) !important;
}

<h6> {
  <small style="font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: #888888;">
    SLIDESHOW
  </small>
</h6>
}

css
/* Responsive mobile sizing safety valve */
  
  .slideshow-container {
  position: relative;
  width: 100%;
  max-width: 100%;    /* Forces the image deck to expand to the full width of the wrapper layout */
  height: 550px;      /* Bumps up the canvas vertical height to keep up with laptop width proportions */
  margin: 0 auto;
  overflow: hidden;
  background-color: #000;
  cursor: pointer;
}

/* Ensure the layout collapses beautifully on tablets and small laptops */
@media (max-width: 1024px) {
  .slideshow-container {
    height: 450px !important;
  }
}

/* Safety scale for mobile phones */
@media (max-width: 600px) {
  .slideshow-container {
    height: 320px !important;
  }
}
  
}
