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

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

section {
  border: none; /* Removes any existing border lines */
}



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

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: #33333;
  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;
}

/* 4. BUTTONS & LINK OVERRIDES */
/* Target all anchor tags acting as action buttons */
a.w3-button, 
button.w3-button {
  border-radius: 12px;
  font-weight: 500;
  transition: all 0.2s ease-in-out !important;
  text-decoration: none;
  cursor: pointer;
}

/* Add a subtle interactive hover effect */
a.w3-button:hover, 
button.w3-button:hover {
 
  background-color: #333333 !important;
  color: #ffffff !important;
  border-color: #333333 !important;
}

a.w3-button2, 
button.w3-button {
  border-radius: 22px;
  font-weight: 500;
  transition: all 0.2s ease-in-out !important;
  text-decoration: none;
  cursor: pointer;
}
/* Add a subtle interactive hover effect */
a.w3-button2:hover, 
button.w3-button:hover {
 
  background-color: #30303a !important;
  color: #ffffff !important;
  border-color: #333333 !important;
}


/* 5. SLIDESHOW CONTAINER & COMPONENT ANIMATION */
.slideshow-container {
  width: 100%;
  max-width: 1000px;
  position: relative;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 8px;
  background-color: #eaeaea;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Hide slideshow images dynamically by default */
.mySlides {
  display: none;
}

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

/* Cross-fade transition animation */
.fade {
  animation-name: fadeEffect;
  animation-duration: 1.5s;
}

@keyframes fadeEffect {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Image Utility for standard image blocks */
img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  display: inline-block;
  margin: 15px 0;
}

/* Container holding the image and the text */
.container {
  position: relative;
  text-align: center;
  color: white;
}

/* Bottom left text */
.top-left {
  position: absolute;
  bottom: 20px;
  left: 16px;
}