/* ===============================
   Global Styles
================================*/
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
}

p {
  font-weight: 400;
  font-style: normal;
}

/* ===============================
   Sidebar (Desktop)
================================*/
.sidebar {
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #f8f9fa;
  border-left: 1px solid #ddd;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.sidebar img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 5px;
}

.sidebar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 0;
  margin: 0;
  width: 100px;
  height: 80px;
  font-size: 14px;
  color: #000229;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #ccc;
}

.sidebar a:last-child {
  border-bottom: none;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: #f59e0b1a;
  color: #f59e0b;
}

.sidebar a i {
  font-size: 22px;
  margin-bottom: 5px;
}

/* ===============================
   Hero Carousel Responsive
================================*/
#heroCarousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#heroCarousel .carousel-item {
  position: relative;
  height: 100vh;
}

#heroCarousel .carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  padding: 15px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  #heroCarousel .carousel-item {
    height: 50vh;
  }
}

@media (max-width: 768px) {
  #heroCarousel .carousel-item {
    height: 35vh;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  #heroCarousel .carousel-item {
    height: 25vh;
  }
}

/* ===============================
   Our work
================================*/

#presentation h2 {
  color: #000229;
}

#presentation video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile spacing */
@media (max-width: 768px) {
  #presentation {
    padding: 40px 15px;
  }
}




/* ===============================
   About Section
================================*/
#about {
  background-color: #fef9f1;
}

#about h2 {
  color: #000229;
  font-weight: 700;
}

#about p {
  font-size: 1rem;
  line-height: 1.6;
}

#about .btn-warning {
  background-color: #f59e0b;
  border: none;
  transition: 0.3s;
}

#about .btn-warning:hover {
  background-color: #d97706;
}

#about img {
  width: 400px;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
}

/* ===============================
   Section Spacing
================================*/
section {
  padding: 60px 20px;
}

/* ===============================
   Services Section
================================*/
#services h2 {
  color: #000229;
  font-weight: 700;
}

/* ===============================
   Our Work Section
================================*/
#our-work {
  background-color: #fef9f1;
}

#project-gallery,
#our-gallery {
  padding: 0 100px;
}

#our-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: 0.3s;
}

#our-gallery img:hover {
  transform: scale(1.03);
}

/* ===============================
   Footer
================================*/
footer {
  background: #1f2937;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 15px;
}

/* ===============================
   Mobile Navbar
================================*/
.mobile-navbar {
  display: none;
  background-color: #ffffff;
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
}

.mobile-toggle {
  font-size: 24px;
  border: none;
  background: none;
}

/* ===============================
   Mobile Sidebar
================================*/
.mobile-sidebar {
  display: none;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.mobile-sidebar.show {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
}

.mobile-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  font-size: 16px;
  color: #000229;
  text-decoration: none;
  transition: 0.3s;
}

.mobile-sidebar a:hover,
.mobile-sidebar a.active {
  color: #f59e0b;
}

/* ===============================
   RESPONSIVE STYLES
================================*/

/* Tablet */
@media (max-width: 992px) {
  #project-gallery,
  #our-gallery {
    padding: 0 40px;
  }

  section {
    padding: 50px 20px;
  }

  #about img {
    width: 100%;
    max-width: 350px;
  }

  .carousel-item {
    height: 70vh;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .main-content {
    margin: 0;
    padding: 0;
  }

  .mobile-navbar {
    display: flex;
  }

  #project-gallery,
  #our-gallery {
    padding: 0 15px;
  }

  section {
    padding: 40px 10px;
  }

  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 0.95rem;
  }

  .carousel-item {
    height: 60vh;
  }

  #about img {
    width: 100%;
  }

  footer {
    font-size: 13px;
    padding: 15px 5px;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .carousel-item {
    height: 50vh;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 0.9rem;
  }

  section {
    padding: 30px 10px;
  }

  #project-gallery,
  #our-gallery {
    padding: 0 10px;
  }
}
