
:root {
  --primary-color: #1e1e1e;
  --secondary-color: #f5f5f5;
  --accent-color: #d35400;
  --font-family: 'Poppins', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--primary-color); }

/* Navbar */
nav {
  position: fixed; top:0; left:0; width:100%;
  background: rgba(0,0,0,0.7);
  padding: 1rem 2rem;
  display: flex; justify-content: space-between;
  z-index: 1000;
}
nav .logo img {
  height: 50px;
  cursor: pointer;
}
nav ul { display:flex; gap:2rem; list-style:none; margin-left: auto; align-items: center;}
nav a { color:#fff; text-decoration:none; font-weight:500; }

/* Hero Slider */
header.slider {
  position: relative; margin-top:0;
  width:100%; height:100vh; overflow:hidden;
}
.slides img { display:none; width:100%; height:100%; object-fit:contain; }
.slides img.active { display:block; }
.controls span {
  position:absolute; top:50%; transform:translateY(-50%);
  color:grey; font-size:2rem; cursor:pointer; user-select:none;
}
.prev { left:1rem; }
.next { right:1rem; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: auto;           /* pushes burger to the right */
  z-index: 1001;               /* above nav background */
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}


/* Sections */
section {
  padding:4rem 2rem; max-width:1200px; margin:0 auto;
  scroll-margin-top: 80px;
}

/* Services */
.services {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:2rem;
}
.service-card {
  background:#fff; border-radius:8px; padding:2rem;
  box-shadow:0 4px 6px rgba(0,0,0,0.1);
  text-align:center;
}
.service-card i {
  font-size:2rem; color:var(--accent-color); margin-bottom:1rem;
}
.service-card h3 { margin-bottom:.5rem; }
.service-card p { font-size:.95rem; color:#666; }

/* Testimonials */
.testimonial-carousel {
  position:relative; overflow:hidden;
  margin:2rem auto;
  max-width:800px;
}
.testimonial-item {
  position:absolute; top:0; left:0;
  width:100%; height:100%; display:none;
  padding:2rem; background:var(--secondary-color);
  border-radius:8px; text-align:center;
}
.testimonial-item.active { display:block; }
.testimonial-item .quote-icon {
  position:absolute; top:1rem; left:1rem;
}
.testimonial-item .quote-icon svg {
  width:40px; height:32px; fill:var(--accent-color);
}
.testimonial-item p {
  font-style:italic; margin:3rem 1rem 1rem;
}
.testimonial-item h4 {
  margin:0; font-weight:600; color:var(--primary-color);
}

/* About */
#about .about {
  display:flex; flex-direction:column;
  align-items:center; text-align:center;
}
#about p { max-width:800px; color:#555; }

/* Contact */
#contact .contact {
  display:flex; gap:2rem; align-items:stretch;
  flex-wrap:wrap;
}
.contact-form { flex:1; }
.contact-form form {
  display:grid; gap:1rem;
  background:var(--secondary-color);
  padding:2rem; border-radius:8px;
}
.contact-form input, .contact-form textarea {
  padding:.75rem; border:1px solid #ccc;
  border-radius:4px; font-family:var(--font-family);
}
.contact-form button {
  background:var(--accent-color); color:#fff;
  padding:.75rem; border:none; border-radius:4px;
  font-weight:600; cursor:pointer; transition:background .3s;
}
.contact-form button:hover { background:#e67e22; }
.contact-map { flex:1; border-radius:8px; overflow:hidden; }
.contact-map iframe {
  width:100%; height:100%; border:0; display:block;
}

/* Footer */
footer {
  background:#1e1e1e; color:#fff;
  text-align:center; padding:2rem;
}
.footer-info {
  display:flex; justify-content:center;
  gap:2rem; flex-wrap:wrap; margin-bottom:1rem;
}
.footer-info p, .footer-info a {
  color:#ccc; margin:0;
}
.footer-info a { color:#fff; text-decoration:none; }
.socials a { color:#fff; margin:0 .5rem; font-size:1.5rem; }

@media(max-width:768px) {
    
    header.slider { 
    height: 80svh !important; 
    min-height: 60vh !important;
    background: #000 !important;
    overflow: hidden !important;
  }

  header.slider .slides img,
  .slides img.slide {
    object-fit: contain !important; 
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    inset: 0 !important;
    background: #000 !important;
    display: none !important;           
  }

  /* ensure the active slide shows */
  header.slider .slides img.active { 
    display: block !important; 
  }
  
  #contact .contact { flex-direction:column; }
  .testimonial-item { position:static; height:auto; }
  
  nav ul {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 60px; 
    right: 0;
    background: rgba(0,0,0,0.9);
    width: 200px;
    padding: 1rem;
    gap: 1rem;
  }
  nav ul.show {
    display: flex; 
  }
  .menu-toggle {
    align-self: center;
    display: flex; 
  }
  
}
