*{
    margin: 0;
    padding: 0;
}
html{
  scroll-behavior: smooth;
}
body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
nav{
    width: 100%;
    height: 60px;
    background: black;
    position:static;
}
nav ul{
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}
nav ul li{
    padding: 10px;
    margin: right(20px);
    border: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    margin-right: 10px;
    background:none;
    cursor: pointer;
    transition: transform 3 ease-in-out;
}
nav ul li :hover{
  background: #fff;
  color: black;
  padding: 8px;
  border-radius: 5px;
  transform: scale(1.1);
}
nav ul li a{
    color: #fff;
    font: 20px;
    text-decoration: none;
}
.nav-link.active {
  background: white;
  color: black !important;
  padding: 8px 10px;
  border-radius: 5px;
}


#home{
    width: 100%;
    height: fit-content;
}
#home img{
  width: 100%;
  height: auto;
}
.about-section {
  background-color: #fff;
  padding: 80px 20px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

@media (max-width:700px) {
  .about-content{
    flex-wrap: none;
  }
}

.about-image img {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
  margin-right: 40px;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #222;
}

.about-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text ul {
  list-style: none;
  padding: 0;
}

.about-text ul li {
  font-size: 16px;
  margin-bottom: 8px;
}
.about-btn{
  padding: 5px;
  cursor: pointer;
  background: rgb(34, 182, 34);
  border: none;
  box-shadow: 0px 0px 15px rgb(34, 182, 34);
  border-radius: 5px;
  transition: 0.3s;
}
.about-btn:hover{
  transform: scale(1.2);
}



#portfolio {
  width: 100%;
  margin-top: 20px;
  padding-top: 100px;
  
  display: flex;
  flex-direction: row;  
  flex-wrap: wrap;      
  justify-content: center;
  gap: 20px;             
}

.image-card {
  width: 250px;
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
  display: flex; 
  flex-wrap: wrap;
  position: relative;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.overlay {
    position:absolute ;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: 0.3s ease-in-out;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card:hover .overlay {
  opacity: 1;
  visibility: visible;
  cursor: pointer;
}
.image-card button{
  width: 80px;
  height: 35px;
  border-radius: 6px;
  cursor: pointer;
  background: 	rgb(31, 173, 31);
  border: none;
  margin-top: 5px;
  transform: 0.3s;
}
.image-card button:hover{
  background:	rgb(24, 139, 24) ;
  transform: scale(1.1);
  transition: 0.3s;
}

.image-card button:active{
  transform: scale(1.1);
}
@media(max-width: 740px){
  .image-card{
    width: 100%;
    height: auto;
    justify-content: center;
  }
}



#contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

#contact form {
    margin-left: 30px;
    margin-top: 30px;
    border: 1px solid black;
    width: 25%;
    height: fit-content;
    padding: 20px;
    box-sizing: border-box;
}

#contact form input[type="text"],
#contact form input[type="email"],
#contact form textarea {
    width: 100%;
    border: 1px solid black;
    padding: 5px;
    outline: none;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#contact form input[type="text"],
#contact form input[type="email"] {
    height: 35px;
}

#contact form textarea {
    height: 100px;
    resize: none;
}

#contact form input[type="submit"] {
    width: 100%;
    height: 40px;
    padding: 5px;
    cursor: pointer;
    background: green;
    border: none;
    box-shadow: 5px 5px 5px rgb(129, 126, 126);
    margin-top: 10px;
    box-shadow: 0px 0px 15px green;
    transition: 01s;
}
#contact form input[type="submit"]:hover{
  transform: scale(1.05);
}


/* Map image container */
.maps-img {
    height: 350px;
    width: 70%;
    margin-top: 30px;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.maps-img img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}


.maps-img:hover img {
    transform: scale(1.05);
}


.maps-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: 0.3s ease-in-out;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.maps-img:hover .maps-overlay {
    opacity: 1;
}

.maps-overlay button {
    width: 120px;
    height: 40px;
    background: green;
    border: none;
    box-shadow: 0px 4px 12px;
    cursor: pointer;
}

@media (max-width: 700px) {
    #contact {
        flex-direction: column;
        margin: 0;
        align-items: center;
    }

    #contact form {
        width: 90%;
        margin: 20px 0;
        padding: 20px;
    }

    .maps-img {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0 10px;
    }

    .maps-img img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .maps-overlay {
        left: 0;
    }
}


#social{
    background: rgba(31, 29, 29, 0.87);
    height: 300px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-self: baseline;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 50px;
    height: 200px;
}
#social button{
    width: 50px;
    height: 50px;
    border: 1px solid white;
    margin-left: 30px;
    border-radius: 50%;
}
#social button:hover{
    box-shadow: 0px 1px 5px rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

#motion {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 15, 247, 0.555), transparent);
  filter: blur(40px);
  pointer-events: none; 
  z-index: 0;
  transition: 0.1s ease-out;
}

.social-link{
  color:  blue;
  font-size: 25px;
  background: transparent;
  transition: 0.1s;
}
.social-link:hover{
  transform: scale(1.1);
  background: rgba(128, 128, 128, 0.664);
}
.social-link:active{
  transform: scale(1.2);
}
