*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Poppins', sans-serif;
}

body{
  color:#333;
  /* background-color: #f7f6f4;  */
  background-color: #f8f8f7; /* light grey */
}

/* HEADER */
header{
  position:fixed;
  width:100%;
  top:0;
  left:0;
  display:flex;
  justify-content:space-between;
  padding:20px 50px;
  /* background:rgba(0,0,0,0.4); */
  background:rgba(170, 163, 150, 0.8);
  color:#fff;
  z-index:1000;
}

header nav a{
  margin:0 15px;
  color:#fff;
  text-decoration:none;
  font-size:14px;
}

/* HERO */
html {
  scroll-behavior: smooth;
}
.hero {
  height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  padding:20px;

  background-size: cover;
  background-position: center;
  animation: slideShow 16s infinite;
}

@keyframes slideShow {
0% {
  background-image: url('https://pub-8fa1b0df8db24b5d8df5c0daa78b5887.r2.dev/hansi.jpg');
}
15% {
  background-image: url('https://pub-8fa1b0df8db24b5d8df5c0daa78b5887.r2.dev/hansi.jpg');
}
25% {
  background-image: url('https://pub-8fa1b0df8db24b5d8df5c0daa78b5887.r2.dev/260503-KMBedroom/2girls/br3.jpg');
}
50% {
  background-image: url('https://pub-8fa1b0df8db24b5d8df5c0daa78b5887.r2.dev/260503-KMBedroom/kmbr-1.jpg');
}
75% {
  background-image: url('https://pub-8fa1b0df8db24b5d8df5c0daa78b5887.r2.dev/bedroom.png');
}
100% {

  background-image: url('https://pub-8fa1b0df8db24b5d8df5c0daa78b5887.r2.dev/pm2-8.jpg');
}
}

.hero h1 {
  font-size: clamp(28px, 6vw, 70px);
  margin-bottom: 15px;
  color: #fff;
/* 
  text-shadow:
    -1px -1px 0 white,
    1px -1px 0 white,
    -1px  1px 0 white,
    1px  1px 0 white; */
}

.hero h5 {
  font-size: clamp(16px, 3vw, 30px);
  margin-bottom: 15px;
  color: #fff;

}


.hero p{margin-bottom:20px;}

.btn{
padding:10px 20px;
border:none;
margin:5px;
cursor:pointer;
}

.btn-primary{background:#fff;color:#000;}
.btn-dark{background:#AAA396;color:#2F2926;}

section{padding:80px 50px;text-align:center;}

.services{
display:flex;
justify-content:space-around;
flex-wrap:wrap;
margin-top:40px;
}

.service{
width:200px;
margin:20px;
}

.projects{
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto;
}

.project{
overflow: hidden;
border-radius: 10px;
width:300px;
margin:15px;
}

p + .btn{
  display: inline-block;
  margin-top: 15px;
}
.project img{
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.project:hover img {
  transform: scale(1.1);
}


.stats{
background:#AAA396;
color:#fff;
display:flex;
justify-content:space-around;
flex-wrap:wrap;
}

.stat{margin:10px;}

footer{
background:#AAA396;
color:#fff;
padding:40px;
text-align:center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.img-box {
  width: 100%;
  height: clamp(200px, 25vw, 300px);
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.img-box:hover img {
transform: scale(1.1);
}

.project h4 {
margin-top: 10px;
text-align: center;
}

.project h4 a{
  text-decoration: none;
  color: #2f2926;
}

.project h4 a:hover{
  color: #9C7A5A;
}



@media(max-width:768px){

  .services,
  .stats {
    flex-direction: column;
    align-items: center;
  }

  .projects{
    grid-template-columns: 1fr;
    justify-content: center;
    justify-items: center;
  }

  .project h4{
    text-align: center;
  }
}


/* project pages */

.page-content{
  padding:120px 50px 80px; /* space for fixed header */
  text-align:center;
}

.page-content h1{
  font-size:40px;
  margin-bottom:20px;
}

a i{
  margin-right: 5px;
  color: #0077b5; /* LinkedIn blue */
}

h2{
  color: #2f2926;
}

h3{
  margin-bottom: 6px;
  margin-top:30px ;
}

.project h4{
  text-align: center;
}

p {
  color: #2f2926;
}

.page-content p{
  max-width:700px;
  margin:0 auto 40px;
  line-height:1.6;
}

/* IMAGE GALLERY */
.gallery{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery img{
  width:100%;
  height:250px;
  object-fit:cover;
  border-radius:10px;
}


#popup{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
  z-index:2000;
}

#popup img{
  max-width:90%;
  max-height:90%;
  border-radius:10px;
}


a{
  text-decoration: none;
  color: inherit;
}