/* 🌐 Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
}
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

/* 🍔 Navigation Styles */
header {
  background: #333;
  color: white;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}
.logo {
  font-weight: bold;
  font-size: 1.2rem;
}
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}
nav ul li a {
  color: white;
  text-decoration: none;
}
#about {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
}
#about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
#about p {
  max-width: 800px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  color: #333;
}

#menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
  }
  #menu {
    display: none;
    flex-direction: column;
    background: #444;
    width: 100%;
    padding: 10px;
  }
  #menu.open {
    display: flex;
  }
}

/* 🖼️ Slider */
#slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}
.slide {
  display: none;
  position: relative; /* Needed for caption positioning */
}
.slide.active {
  display: block;
}
#slider img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ⬅️➡️ Slider Controls */
#slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
#slider-controls button {
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  pointer-events: auto;
  padding: 10px;
  border-radius: 50%;
}

/* 📝 Slider Caption Overlay 
.caption {
  position: absolute;
  bottom: 30px;
  left: 20px;
  padding: 12px 18px;
  font-size: 1.3rem;
  border-radius: 6px;
  max-width: 80%;
  opacity: 0;
  transition: opacity 0.8s ease;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8); this is black 
  color: #fff;
  background: rgba(0, 0, 0, 0.6);*/
  
  


}
.slide.active .caption {
  opacity: 1;
}

@media (max-width: 480px) {
  .caption {
    font-size: 1rem;
    padding: 8px 12px;
    bottom: 20px;
    left: 10px;
    max-width: 90%;
  }
}

/* 💬 About Section */
#about {
  text-align: left;
}
#about h2 {
  margin-bottom: 10px;
}

/* 📞 Contact Form */
form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 600px;
  margin: auto;
}
input,
textarea {
  padding: 10px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}
button[type="submit"] {
  background: #333;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}
button[type="submit"]:hover {
  background: #555;
}
.form-feedback {
  margin-top: 10px;
  font-size: 0.9rem;
}

/* 📱 Mobile Tweaks */
@media (max-width: 480px) {
  section {
    padding: 20px 10px;
  }
  textarea {
    min-height: 100px;
  }
  .caption {
    font-size: 0.5rem;
    padding: 8px 12px;
    bottom: 20px;
    left: 10px;
    max-width: 90%;
  }
}

/* 📝 Caption Styling */
.caption {
  position: absolute;
  bottom: 30px;
  left: 20px;
  padding: 12px 18px;
  font-size: 1.3rem;
  color: #000; /* ✅ black text for contrast */
  background: rgba(255, 255, 255, 0.6); /* ✅ soft white overlay */
  border-radius: 6px;
  max-width: 80%;
  opacity: 0;
  transition: opacity 0.8s ease;
  text-shadow: none; /* ✅ optional: remove dark shadow */
}

.slide.active .caption {
  opacity: 0.7;
}

/* 🖼️ Slider Container */
#slider {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}

/* Slide Logic */
.slide {
  display: none;
  position: relative;
}
.slide.active {
  display: block;
}

/*here are the IMAGES and to incres the size  Images */
#slider img {
  width: 100%;
  height: auto;
  display: block;
}

/* ⬅️➡️ Arrows - Centered over image */
#slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
#slider-controls button {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  pointer-events: auto;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease;
}
#slider-controls button:hover {
  background: rgba(255, 255, 255, 0.9);
}


