/* ===== NAVBAR CLEAN DESIGN ===== */
html, body {
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding-top: 70px; 
  overflow-x: hidden; /* 🔥 prevents right gap */
}
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  z-index: 10000;
  font-family: 'Poppins', sans-serif;
}

.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #222;
  text-transform: uppercase;
}

.logo i {
  font-size: 28px;
  color: #ff6600;
  transition: transform 0.3s;
}

.logo i:hover {
  transform: rotate(-10deg) scale(1.1);
}

/* Menu */
.menu {
  display: flex;
  gap: 28px;
}

.menu a {
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: 17px;
  transition: color 0.3s;
}

.menu a:hover {
  color: #ff6600;
}

/* Toggle (mobile) */
.toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #222;
}
/* OVERLAY */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Menu above overlay */
.menu {
  z-index: 999;
}
/* Fixed navbar offset */




/* ===== MOBILE RESPONSIVE ===== */
@media(max-width: 768px) {
  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: 0.3s ease;
    z-index: 999;
  }

  .menu.active {
    transform: translateX(0);
  }

  .menu a {
    font-size: 20px;
    margin: 12px 0;
  }

  .toggle {
    display: flex;
  }
}
/* ===== PORTFOLIO SECTION ===== */
.page-title {
  text-align: center;
  font-size: 32px;
  margin: 10px 0 20px;
}


.filter-bar {
  text-align: center;
  margin-bottom: 25px;
}

.filter-bar button {
  margin: 5px;
  padding: 10px 20px;
  border: none;
  background: #ff6600;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.filter-bar button:hover,
.filter-bar button.active {
  background: #e05500;
  transform: scale(1.05);
}

/* Portfolio Grid */
.portfolio-grid,
#recent-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ✅ force equal columns */
  gap: 14px;
  padding: 0;   /* ✅ no inner padding */
}


.portfolio-grid img,
#recent-projects img {
  width: 100%;
  height: 180px;        /* uniform but smaller height */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.portfolio-grid img:hover,
#recent-projects img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  cursor: pointer;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
/* ===== HERO SECTION ===== */
.hero {
  width: 100%;
  height: 85vh;
  background: url("../assets/images/hero.jpg") center center no-repeat;
  background-size: cover;   /* ✅ FIX */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* HERO LOGO */
.hero-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-logo i {
  font-size: 54px;
  color: #ff6600;
}

/* HERO TAGLINE */
.hero-tagline {
  font-size: 20px;
  max-width: 520px;
  line-height: 1.6;
  opacity: 0.9;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.hero-overlay {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 20px;
}


.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-overlay p {
  font-size: 1.2rem;
  opacity: 0.9;
}



/* MOBILE */
@media(max-width:768px){
  .filter-bar button {
    padding: 8px 16px;
    font-size: 14px;
  }
 
  .portfolio-grid,
  #recent-projects {
    grid-template-columns: repeat(1, 1fr);
  }



  

  .portfolio-grid img,
  #recent-projects img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;   /* square thumbnails */
    object-fit: cover;
    border-radius: 10px;
  }

  .lightbox img {
    max-width: 95%;
    max-height: 70%;
  }

   .hero {
    height: 65vh;
  }

  .hero-overlay h1 {
    font-size: 2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
  .hero-logo {
    font-size: 32px;
  }

  .hero-logo i {
    font-size: 36px;
  }

  .hero-tagline {
    font-size: 16px;
    padding: 0 10px;
  }

}
/* ===== FOOTER (GLOBAL) ===== */
footer {
  width: 100%;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 24px 10px;
  margin-top: 40px;
}

footer p {
  margin-bottom: 12px;
  font-size: 15px;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-icons a {
  color: #fff;
  font-size: 22px;
  transition: transform 0.3s, color 0.3s;
}

.footer-icons a:hover {
  color: #ff6600;
  transform: scale(1.2);
}
@media (min-width: 992px) {
  .hero {
    background-size: cover;
  }
   }