/* Dark mode base styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
}

header {
    text-align: center;
    padding: 15px;
    background-color: #1e1e1e;
}

.green-text {
    color: #4CAF50; /* Brighter green for better visibility */
}

.green-link {
    color: #4CAF50;
    text-decoration: none;
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    background-color: #1e1e1e;
}

/* Slides */
.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

/* Caption text */
.text {
    color: #ffffff;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    background-color: rgba(30, 30, 30, 0.85);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding : 8px 12 px ;
    position :absolute ;
    top :0 ;
}

/* The dots/bullets/indicators */
.dot {
     height: 15px;
     width: 15px;
     margin: 2px;
     background-color: #555;
     border-radius: 50%;
     display: inline-block;
     transition: background-color 0.6s ease;
}

.dot:hover, .dot.active {
    background-color: #a0a0a0;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  background-color: rgba(30, 30, 30, 0.7);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px;
  user-select: none;
}

.green-text, .green-link {
  color: #66BB6A;
}

.mySlides img {
  max-height: 80vh; /* Limits height to viewport */
  object-fit: contain; /* Ensures proper scaling */
  /* rest of existing styles */
}

.next {
 right: 10px;
}

.prev {
 left:10px;
}

.prev:hover, .next:hover {
 background-color: rgba(76,175,80,0.8); /* Green hover matching theme */
}

.green-link:focus,
.prev:focus,
.next:focus,
.dot:focus {
  outline: 2px solid #4CAF50;
  outline-offset: 2px;}

/* On smaller screens decrease text size and adjust navigation buttons */
@media only screen and (max-width:600px) {
 .prev, .next, .text { font-size:11px }
}

@media only screen and (max-width:300px) {
 .prev, .next, .text { font-size:10px }
}

@media (prefers-color-scheme: dark) {
  /* Your existing dark mode styles */
}

/* Slide indicators */
.slide-indicators {
 text-align:center;
 padding:20px;
}


