* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
	background: #f9f9f9;
	color: #333;
}
.top-bar {
	background: #222;
	color: #fff;
	text-align: right;
	font-size: 0.9rem;
	padding: 0.5rem 1rem;
}
.top-bar a {
	color: #fff;
	text-decoration: none;
     margin-left: 5px
}
.navbar {
	display: flex;
	justify-content: space-between;
    align-items: center;
	background: grey;
	padding: 1rem;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	font-size: 15px;
}
.logo {
	font-size: 1.5rem;
	font-weight: bold;
	color: #B8860B;
}
.nav-links {
list-style: none;
	display: flex;
	gap:1rem;
}
.nav-links a {
	text-decoration: none;
	color: black;
	padding: 0.5rem 0.75rem;
	transition: color 0.3s ease;
}
.nav-links a:hover {
    color: #f28c28;
}
.projects-heading {
	background: #B0B0B0;
	text-align: center;
	text-align: center;
	padding: 20px 0;
	
}
.projects-heading h1 {
	margin: 0;
	font-size: 2rem;
	font-weight: bold;
	color: #5e5a54;
	
}
.showcase {
	background: url('images/showcase2.jpg') no-repeat center center/cover;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	color: #fff;
}
.overlay {
	background-color: rgba(0,0,0,0.0);
	padding:20px;
	width:100%;
	text-align:center;
}
.overlay h2 {
	font-size: 1.4rem;
	font-weight: bold;
	color:#f28c28;
	margin-bottom:22px;
	font-weight: bold;
}
.service-nav {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin: 20px 0;
}
.service-nav a {
	color: #f28c28;
	text-decoration: none;
	font-size: 1rem;
	font-weight: bold;
	background: none;
	padding: 8px 15px;
	border-radius: 5px;
	transition: background 0.3s;
}
.service-nav a:hover,
.service-nav a:active {
	background: #f28c28;
}
.gallery-section {
	padding: 40px 20px;
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
.gallery-section.show {
	display: block;
	opacity: 1;
}
.gallery-section.active {
	display: block;
}
.gallery-section h3 {
	text-align: center;
	font-size: 1.8rem;
	margin-bottom: 20px;
	background-color: #d3d3d3;
	color: #f28c28;
  border-bottom: 2px solid #5e5a54;
  border-left: 3px solid #5e5a54;
  border-top: 2px solid #5e5a54;
  border-right: 2px solid #5e5a54;
  
	
}
.gallery-container {
	display: flex;
flex-wrap: wrap;
justify-content: center;
	gap: 15px;
	padding: 10px;
}
.gallery-container img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	max-width: 300px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}
.gallery-container img:hover {
	transform: scale(1.05);
}
footer {
	background: #222;
	color: #fff;
	text-align: center;
   padding: 1rem;
}

/* ===============================
   📱 FULL RESPONSIVE FIXES
   =============================== */
@media (max-width: 768px) {

  /* Navbar layout: logo left, menu right stacked vertically */
  .navbar {
    display: flex;
    flex-direction: row;       /* keep logo and menu on same line */
    justify-content: space-between; /* logo left, menu right */
    align-items: flex-start;   /* top-align logo & menu */
    padding: 1rem;
  }

  .logo {
    flex: 0 0 auto;            /* keep logo size fixed */
  }

  .nav-links {
    flex-direction: column;    /* stack links vertically */
    align-items: flex-end;     /* keep them to the right */
    gap: 8px;
  }

  .nav-links a {
    display: block;
    padding: 8px 12px;
    background: #eee;
    border-radius: 4px;
    width: auto;
    color: #222;
    font-size: 1rem;
  }

  /* Showcase banner */
  .showcase {
    height: 200px;
    background-position: center;
  }

  .overlay h1 {
    font-size: 1.2rem;
  }

  /* Service navigation */
  .service-nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .service-nav a {
    font-size: 1rem;
    padding: 8px 15px;
  }

  /* Gallery layout */
  .gallery-container {
    justify-content: center;
    gap: 10px;
  }

  .gallery-container img {
    max-width:100%;
    height: 220px;
    object-fit: cover;
  }

  /* Headings and text scaling */
  .projects-heading h2 {
    font-size: 1.2rem;
  }

  .gallery-section h3 {
    font-size: 1.4rem;
  }

  /* Footer */
  footer {
    font-size: 0.9rem;
    padding: 0.8rem;
  }
}

/* 🧠 Optional: slightly tighter layout for very small phones */
@media (max-width: 600px) {
  .service-nav a {
    font-size: 1rem;
    width: 90%;
  }
}
/* Ensure showcase is tall enough to contain service-nav */
@media (max-width: 1024px) {
  .showcase {
    height: auto;           /* Allow height to expand with content */
    padding: 40px 20px;     /* Add spacing inside */
    display: flex;
    flex-direction: column; /* Stack overlay content vertically */
    justify-content: center;
    align-items: center;
  }

  .overlay {
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack heading and service-nav */
    align-items: center;
    gap: 20px;              /* Space between heading and nav */
    padding: 0 10px;
  }

  .overlay h1 {
    text-align: center;
    font-size: 1.5rem;
  }

  .service-nav {
    flex-direction: column;   /* Stack nav links vertically */
    align-items: center;
    gap: 15px;
  }

  .service-nav a {
    width: 80%;
    text-align: center;
    font-size: 1.2rem;
    padding: 12px 0;
  }
}


 
  
  
   