 /* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* NAVBAR */
nav {
  position: fixed;
  width: 100%;
  background: black;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  z-index: 1000;
}

.logo {
  font-weight: bold;
}

.menu a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}
 
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 40%;
  left: 10%;
  color: white;
}

.overlay h1 {
  font-size: 45px;
}

.overlay button {
  padding: 12px 25px;
  background: #FFD700;
  border: none;
  cursor: pointer;
}

.music-btn {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* SECTIONS */
.section {
  padding: 80px 20px;
  text-align: center;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  margin-top: 20px;
}

/* CARD */
.card {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 10px;
}

/* AGENDA */
.agenda {
  background: #e8f5e9;
}

/* FORM */
form input, form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}

form button {
  padding: 12px;
  background: black;
  color: white;
  border: none;
}

/* FOOTER */
footer {
  background: black;
  color: white;
  padding: 20px;
  text-align: center;
}
 


/* FIX IMAGE FIT */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
 
/* HERO */
 
.hero {
  position: relative;
  height: 100vh;   /* full screen */
  overflow: hidden;
}
/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100vh;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* IMAGE */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1);
  transition: transform 6s ease;
}

.slide.active img {
  transform: scale(1.1);
}

/* DARK OVERLAY */
.slide::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  top: 0;
  left: 0;
}

/* TEXT */
.overlay {
  position: absolute;
  top: 60%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  z-index: 2;
}

.overlay h1 {
  font-size: 45px;
  margin-bottom: 10px;
}

.overlay button {
  padding: 12px 25px;
  background: #FFD700;
  border: none;
}

/* TEXT ANIMATION */
.overlay h1,
.overlay button {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.slide.active .overlay h1,
.slide.active .overlay button {
  opacity: 1;
  transform: translateY(0);
}

/* ARROWS */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 3;
}

.prev { left: 10px; }
.next { right: 10px; }

/* DOTS */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dots span {
  height: 12px;
  width: 12px;
  margin: 5px;
  background: white;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
}

.dots span.active-dot {
  opacity: 1;
}
 
.music-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 5;

  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  backdrop-filter: blur(6px);
}
.music-btn {
  position: fixed; /* ðŸ”¥ important */
  top: 80px;       /* move below navbar */
  right: 20px;
  z-index: 9999;   /* always on top */

  background: rgba(0,0,0,0.7);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}
.footer {
  display: flex;
  justify-content: space-between; /* ðŸ”¥ pushes to far ends */
  align-items: center;
  padding: 15px 30px;
  background: black;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

/* LEFT SIDE */
.footer .left {
  opacity: 0.8;
}

/* RIGHT SIDE */
.footer .right {
  opacity: 0.7;
}
.footer {
  border-top: 1px solid #333;
  font-size: 13px;
}
.slide:nth-child(1) h1 { color: #e2eaec; }
.slide:nth-child(4) h1 { color: #FFD700; } /* housing */
.slide:nth-child(5) h1 { color: #00ffcc; } /* electricity */
.section {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s;
}

.section.show {
  opacity: 1;
  transform: translateY(0);
}
/* HAMBURGER BUTTON */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: black;
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .menu a {
    display: block;
    padding: 15px;
    border-top: 1px solid #333;
  }

  .menu-toggle {
    display: block;
  }
}
.menu {
  transition: all 0.3s ease;
}
@media (max-width: 768px) {

  .slide img {
    object-fit: contain !important;   /* show full image */
    object-position: center;
    transform: scale(1) !important;   /* remove zoom */
  }

}
@media (max-width: 768px) {
  .overlay {
    top: 50%;
    left: 5%;
    right: 5%;
  }

  .overlay h1 {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .slide.active img {
    transform: scale(1) !important;
  }
}
@media (max-width: 768px) {

  .slide img {
    object-fit: cover !important;   /* fill screen */
    object-position: center;        /* center image */
    height: 100%;
  }

}