@import url("https://fonts.googleapis.com/css2?family=Boldonse&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Boldonse", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {

  background: linear-gradient(to bottom, rgba(255, 209, 41, 0.703), #f79545);

  
}

:root {
  --background-color: #c8d8ff;
  --orange-color: #f79645;
  --light-blue: #2d52a0;
  --red: #df131f;
  --pink: #ffe8c2c6;
  --yellow: #efc21e;
  --neon-pink: #ff007f;
  --electric-blue: #00e5ff;
  --black: #0d0d0d;
  --soft-purple: #9b59b6;
  --light-cyan: #81d4fa;
  --cream: #ffccbc;
  --slate: #2c3e50;
  --light-emerald: #2ecc71;
  --cloudy-white: #ecf0f1;
}
:root {
  --header-color: #efc21e;
  --background-color: #efc21e89;
}
model-viewer {
  width: 100%;
  height: 100vh;
  display: block;
  background-color: transparent;
}

.header-text {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  align-items: center;

  background-color: #ffa19a90;
}

header {
  height: 100vh;
  position: relative;
  overflow: hidden;

  background: linear-gradient(to bottom, rgba(255, 209, 41, 0.703), #f79545);

}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.Model-3D {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 700px;
  z-index: 1;
}

.header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  color: white;

  transform: translate(-50%, -50%);

  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.header-text2 {
  font-size: 10px;

  color: var(--red);
}

.header-text h1 {
  font-size: 60px;
}

.header-text p {
  font-size: 18px;
}

@media (max-width: 920px) {
  .header-text h1 {
    font-size: 40px;
  }

  .header-text p {
    font-size: 14px;
  }
}

/* section1  */

.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #010000;
  color: white;
  position: relative;
}

.about-text {
  width: 65%;
  max-height: 40vh;
  padding: 20vh 50px;
  position: relative;
  z-index: 2;
}

.about-img-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}


.about-img {
  display: none;
}

@media (max-width: 920px) {
  
.about-text {
  width: 90%;
  font-size: 15px;
  max-height: 100vh;
  padding: 20vh 50px;
  position: relative;
  z-index: 2;
}
  .about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  }
}


.about-img-wrapper::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(
    to bottom,
    #010000 0%,
    rgba(1, 0, 0, 0.8) 50%,
    rgba(1, 0, 0, 0) 100%
  );
  filter: blur(15px);
  pointer-events: none;
  z-index: 2;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to bottom,
    #010000 0%,
    rgba(1, 0, 0, 0.8) 50%,
    rgba(1, 0, 0, 0) 100%
  );
  filter: blur(15px);
  pointer-events: none;
  z-index: 2;
}

.about-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: white;
  color: #010000;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: 0.5s;
}

.about-btn:hover {
  border: 1px solid var(--neon-pink);
  background-color: transparent;
  color: var(--neon-pink);
}

/* section 2 */

.main-section {
  height: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #010000;
  position: relative;
  padding: 100px 0px;
}


.main-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 500px;
  padding: 20px;
  border: 5px solid #df131f;
  border-top: 40px solid #df131f;
  background-color: var(--pink);
  font-weight: 300;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  color: var(--black);
}

.main-info:hover{
  transform: rotateY(0deg) rotateX(10deg) translateZ(40px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.main-info-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 20px;
}



.main-section-img-wrapper {
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-section-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.main-section-img-wrapper {
  perspective: 1000px;
}

.main-section-img {
  width: 600px;
  height: auto;
  border-radius: 20px;
  padding: 50px;

  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transform: rotateY(20deg) rotateX(10deg) translateZ(30px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.main-section-img:hover {
  transform: rotateY(60deg) rotateX(10deg) translateZ(30px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}



@media (max-width: 900px) {
  .main-section {
    flex-direction: column;
    
  }

  .main-info {
    width: 90%;
    height: auto;
  }

  .main-section-img-wrapper {
    width: 80%;
    height: auto;
    margin: 50px;
  }

  .main-section-img {
    width: 100%;
    height: auto;
  }
}



.main-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(
    to top,
    #010000 20%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(1, 0, 0, 0) 100%
  );
  filter: blur(15px);
  pointer-events: none;
  z-index: 2;
}

/* Projects */

.projects{
  margin-top: 25vh;
}

.banner{
  width: 100%;
  height: 100vh;
  overflow: hidden;
  text-align: center;
  position: relative;
}

.banner .slider{
  position: absolute;
  width: 200px;
  height: 200px;
  top: 10%;
  left: calc(50% - 100px);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  animation: autoRun 20s linear infinite;
}

@keyframes autoRun {
  from{
    transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
  }
  to{
    transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
  }
}

.banner .slider .item{
  inset: 0 0 0 0;
  position: absolute;
  transform: 
  rotateY(calc(var(--position) * 36deg))
  translateZ(550px);
  transition: 0.5s ease-in-out;

}

.banner .slider .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.banner .slider .item:hover{
  scale: 1.2;
  transition: 0.5s ease-in-out;
}

.banner .content{
  position: absolute;
  bottom: 0%;
  left: 50%;
  color: black;
  transform: translateX(-50%);
  z-index: 1;
  width: min(1400px, 100vw);
  height: max-content;
  padding-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  z-index: -2;

}

.banner .content h1{
  font-size: 7em;
  line-height: 1em;
  
}

.banner .content .model{
  width: 100%;
  bottom: 0;
  background-image: url(../portfolio-imgs/creative-sticker/Project-sticker.png);
  height: 75vh;
  position: absolute;
  left: 0;
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: top center;
}

/* Contact */

.contact-section {
  width: 100%;
  min-height: 100vh;
  background-color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; 
}



.contact-wrapper {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.contact-container1 {
  width: 50%;
  color: white;
}

.contact-container2 {
  width: 50%;
  display: flex;
  justify-content: center;
}

.Contact-Model {
  width: 100%;
  max-width: 800px;
  height: 800px;
}

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    margin-top: 100px;
  }

  .contact-container1,
  .contact-container2 {
    width: 100%;
    text-align: center;
  }

}

.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--red);
  border-radius: 8px;
  font-size: 16px;
  background-color: var(--black);
  color: white;
  resize: vertical;
}

.contact-form textarea {
  min-height: 120px; 
}

.contact-form button {
  padding: 12px;
  font-size: 18px;
  background-color: var(--red);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: transparent;
  border: 2px solid var(--neon-pink);
  color: var(--neon-pink);
}

.contact-list{
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 10px;
  animation: moveLeft 25s linear infinite;
  margin-top: 25px;
}
.contact-container1 {
  overflow: hidden;  
  position: relative;
  border: 2px solid var(--red);
  padding: 50px;
  border-radius: 20px;
}

@keyframes moveLeft {
  0% { transform: translateX(100%); }   
  100% { transform: translateX(-100%); }
}

.contact-list a{
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.contact-list i:hover, a:hover {
  color: var(--neon-pink);
  transition: 0.3s;
}

.contact-list li {
  font-size: 18px;
  color: white;
  padding: 10px 20px;
  white-space: nowrap;
}


.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background: linear-gradient(
    to bottom,
    #010000 20%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(1, 0, 0, 0) 100%
  );
  filter: blur(15px);
  pointer-events: none;
  z-index: 3;
}
footer {
  width: 100%;
  padding: 20vh 10%;
  background-color: #010000;
  color: var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-align: center;
  position: relative;  
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;  
  top: -30px;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(
    to bottom,
    #0d0d0d 0%,
    #0d0d0d 50% ,
    rgba(0, 0, 0, 0) 100%
  );
  filter: blur(15px);
  pointer-events: none;
  z-index: 2;
}



footer p{
  cursor: pointer;
}

.footer-p{
  color: white;
}

.home-footer a {
  margin: 0 10px;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

.site-footer a:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 8px var(--neon-pink), 0 0 16px var(--neon-pink);
}

.footer-socials i {
  font-size: 22px;
  margin: 0 8px;
  transition: transform 0.3s, color 0.3s, text-shadow 0.3s;
  color: white;
}

.footer-socials i:hover {
  color: var(--neon-pink);
  text-shadow: 0 0 10px var(--black), 0 0 12px var(--neon-pink);
}

/* skill container */

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: 100%;
  background-color: transparent;
  margin-top: 50px;
}

.skill {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 15px 20px;
  border-radius: 12px;

  background: transparent;
  border: 1px solid white;

  color: white;
  cursor: pointer;

  transition: 0.3s;
}

.skill i {
  font-size: 24px;
}

.skill:hover {
  transform: translateY(-5px);
  border-color: var(--neon-pink);
  box-shadow: 0 0 15px var(--neon-pink);
  color: var(--neon-pink);
}