@import url("https://fonts.googleapis.com/css2?family=Roboto:wdth,wght@75..100,100..900&display=swap");

:root {
  --primary-color: #edf0f2;
  --secondary-color: #ffffff;
  --dark: #08080a;
  --semi-dark: #2b2b2b;
  --light-gray: #606060;
  --mainFontColor: #ceb016;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--semi-dark);
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: normal;
  color: var(--primary-color);
}
p {
  font-variation-settings: "wght" 200;
}
header {
  background: var(--dark) url("./src/Achal_Vohra.webp") no-repeat center;
  background-size: cover;
  height: 100vh;
  display: flex;
  place-items: center;
  .heroContent {
    padding: 30px;
    h1 {
      color: var(--mainFontColor);
      font-variation-settings: "wght" 500;
      font-size: 4rem;
    }
    h3 {
      color: var(--primary-color);
      font-variation-settings: "wght" 300;
      font-size: 2.5rem;
    }
  }
}
.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 40px;
  .about {
    height: 100vh;
    /* padding: 50px 40px; */
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    p {
      text-align: center;
      font-size: 1.2rem;
    }
  }
  .work {
    display: flex;
    flex-direction: column;
    /* margin-top: 100px; */
    width: 100%;
    
    h2 {
      font-size: 4rem;
      text-align: right;
      padding-bottom: 20px;
    }




.swiper {
  width: 100%;
  padding-bottom: 60px;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  background-color: var(--dark);
  border-radius: 8px;
  padding: 20px;
  color: var(--primary-color);
  transition: transform 0.4s ease, filter 0.4s ease;
}

.swiper-slide img {
  width: 100%;
  height: 250px;
  border-radius: 5px;
  margin: 10px 0;
  transition: transform 0.4s ease, filter 0.4s ease;
  cursor: pointer;
}

.swiper-slide img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.swiper-slide h4 {
  font-size: 1.5rem;
  font-variation-settings: "wght" 400;
}

.swiper-slide h5 {
  font-size: 1rem;
  font-variation-settings: "wght" 300;
  margin-bottom: 10px;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--mainFontColor);
  transition: color 0.3s ease, transform 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.swiper-pagination-bullet {
  background: var(--mainFontColor);
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

  }
}
footer {
  background-color: var(--light-gray);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 40px;
  align-items: flex-start;
  h6 {
    font-variation-settings: "wght" 900;
    font-size: 2.5rem;
  }
  img {
    width: 20%;
    border-radius: 5px;
  }
  ul {
    list-style: none;
    a {
      color: var(--primary-color);
      text-decoration: none;
      font-variation-settings: "wght" 300;
    }
  }
  .contact{
    li{
        display: flex;
        /* align-items: center; */
        gap: 5px;
    }
    img{
        width: 20px;
        height: 20px;
    }
  }
  .social-links {
    display: flex;
    gap: 4px;
    width: auto;
    img {
      width: 50px;
      height: 50px;
      transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
    }
    img:hover{
        /* transform: scale(1.2) rotate(5deg); 
  filter: brightness(1.3); */
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px var(--mainFontColor));
    }
  }
}


/* Mobile Devices (up to 600px wide) */
@media (max-width: 600px) {
  footer {
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  footer img {
    width: 50%; 
  }

  footer ul {
    align-items: center;
  }

  footer .social-links {
    justify-content: center;
    width: 100%;
    gap: 12px;
  }

  footer h6 {
    font-size: 1.8rem;
  }

  .main-content {
    padding: 60px 20px;
  }

  .main-content .about {
    width: 100%;
    height: 50vh;
    p{
      font-size: 1rem;
    }
  }

  .main-content .work h2 {
    font-size: 3rem;
    text-align: center;
    margin-top: 40px;
  }
   .swiper-slide {
    padding: 15px;
  }
  header{
      height:70vh;
    align-items: end;
    justify-content: center;
    text-align: center;
  }
}

/* Tablets (601px to 900px wide) */
@media (min-width: 601px) and (max-width: 900px) {
  footer {
    padding: 30px;
  }

  footer img {
    width: 30%;
  }

  footer .social-links {
    justify-content: flex-start;
    gap: 10px;
  }

  footer h6 {
    font-size: 2rem;
  }

  .main-content {
    padding: 80px 30px;
  }

  .main-content .about {
    width: 80%;
  }

  .main-content .work h2 {
    font-size: 4rem;
  }

  .main-content .work .work-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
   .swiper-slide {
    padding: 18px;
  }
  header{
    align-items: end;
    justify-content: center;
    text-align: center;
  }
}
