/* style.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

body{

  font-family:'Poppins',sans-serif;

  background:

  radial-gradient(
    circle at top,
    #4b443c 0%,
    transparent 35%
  ),

  linear-gradient(
    180deg,
    #3a342f 0%,
    #575046 45%,
    #6a6258 100%
  );

  color:#DEDED1;

  overflow-x:hidden;

  min-height:100vh;
}

/* BACKGROUND */

.background-glow::before,
.background-glow::after{

  content:'';

  position:fixed;

  width:500px;
  height:500px;

  border-radius:50%;

  filter:blur(120px);

  z-index:-1;
}

.background-glow::before{

  background:#B6AE9F;

  top:-150px;
  left:-100px;

  opacity:0.22;

  animation:floatGlow 10s ease-in-out infinite;
}

.background-glow::after{

  background:#FBF3D1;

  bottom:-150px;
  right:-100px;

  opacity:0.08;

  animation:floatGlow 12s ease-in-out infinite alternate;
}

@keyframes floatGlow{

  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(30px);
  }

  100%{
    transform:translateY(0px);
  }

}

/* NAVBAR */

nav{

  width:100%;

  padding:25px 10%;

  display:flex;
  justify-content:space-between;
  align-items:center;

  position:fixed;
  top:0;

  z-index:999;

  transition:0.4s ease;

  background:transparent;
}

nav.scrolled{

  background:
  rgba(76, 63, 52, 0.6);

  backdrop-filter:blur(18px);

  border-bottom:
  1px solid rgba(255,255,255,0.05);
}

.logo{

  font-size:28px;
  font-weight:700;

  color:#FBF3D1;
}

nav ul{

  display:flex;

  gap:35px;

  list-style:none;
}

nav a{

  text-decoration:none;

  color:#DEDED1;

  opacity:0.75;

  transition:0.3s;
}

nav a:hover{

  opacity:1;

  color:#FBF3D1;
}

/* HERO */

.hero{

  position:relative;

  overflow:hidden;

  min-height:100vh;

  display:flex;

  align-items:center;
  justify-content:space-between;

  padding:120px 10%;

  gap:60px;

  background:

  linear-gradient(
    rgba(40,35,30,0.72),
    rgba(40,35,30,0.82)
  ),

  url('background.png');

  background-size:cover;

  background-position:center;

  background-repeat:no-repeat;
}

/* DREAMY HERO BG */

.hero::after{

  content:'';

  position:absolute;

  inset:0;

  background:

  radial-gradient(
    circle at 20% 20%,
    rgba(182,174,159,0.16),
    transparent 30%
  ),

  radial-gradient(
    circle at 80% 30%,
    rgba(251,243,209,0.08),
    transparent 30%
  ),

  radial-gradient(
    circle at 50% 80%,
    rgba(255,255,255,0.04),
    transparent 35%
  );

  z-index:-1;

  filter:blur(40px);
}

/* GRID */

.hero::after{

  content:'';

  position:absolute;

  inset:0;

  background-image:

  linear-gradient(
    rgba(255,255,255,0.025) 1px,
    transparent 1px
  ),

  linear-gradient(
    90deg,
    rgba(255,255,255,0.025) 1px,
    transparent 1px
  );

  background-size:50px 50px;

  z-index:-1;

  opacity:0.3;
}

/* TEXT */

.hero-text{

  max-width:600px;
}

.tag{

  display:inline-block;

  padding:10px 18px;

  border-radius:30px;

  background:
  rgba(255,255,255,0.05);

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(10px);

  margin-bottom:25px;

  color:#FBF3D1;
}

.hero h1{

  font-size:68px;

  line-height:1.1;

  margin-bottom:20px;

  color:#FBF3D1;
}

.hero h1 span{

  color:#B6AE9F;
}

.hero p{

  color:#DEDED1;

  opacity:0.8;

  line-height:1.9;

  font-size:17px;
}

/* BUTTON */

.buttons{

  display:flex;

  gap:20px;

  margin-top:35px;
}

.btn{

  padding:15px 28px;

  border-radius:18px;

  text-decoration:none;

  transition:0.4s;

  font-weight:500;
}

.primary{

  background:#B6AE9F;

  color:#2f2a25;

  box-shadow:
  0 10px 30px rgba(182,174,159,0.2);
}

.btn:not(.primary){

  background:
  rgba(255,255,255,0.04);

  border:
  1px solid rgba(255,255,255,0.08);

  color:#DEDED1;

  backdrop-filter:blur(10px);
}

.btn:hover{

  transform:translateY(-5px);
}

/* 3D CARD */

.hero-card{

  width:360px;
  height:500px;

  position:relative;

  border-radius:35px;

  overflow:hidden;

  cursor:grab;

  transform-style:preserve-3d;

  background:
  rgba(255,255,255,0.05);

  backdrop-filter:blur(20px);

  border:
  1px solid rgba(255,255,255,0.08);

  box-shadow:
  0 20px 40px rgba(0,0,0,0.2);
}

.hero-card img{

  width:100%;
  height:100%;

  object-fit:cover;
}

/* OVERLAY */

.card-overlay{

  position:absolute;

  inset:0;

  background:
  linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    transparent 50%
  );
}

/* LIGHT */

.light{

  position:absolute;

  inset:0;

  pointer-events:none;

  mix-blend-mode:screen;
}

/* INFO */

.card-info{

  position:absolute;

  bottom:25px;
  left:25px;
}

.card-info h3{

  font-size:28px;

  color:#FBF3D1;
}

.card-info p{

  color:#DEDED1;

  opacity:0.85;
}

/* SECTION */

.about,
.projects,
.contact{

  padding:120px 10%;
}

.section-title{

  font-size:45px;

  margin-bottom:40px;

  color:#FBF3D1;
}

/* GLASS */


.project-card{

  background:
  rgba(255,255,255,0.04);

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(20px);

  padding:40px;

  border-radius:30px;

  box-shadow:
  0 10px 30px rgba(0,0,0,0.08);
}

/* PROJECTS */

.project-grid{

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(250px,1fr));

  gap:25px;
}

.project-card{

  transition:0.4s;
}

.project-card:hover{

  transform:translateY(-8px);

  background:
  rgba(255,255,255,0.06);
}

/* SOCIAL */

.socials{

  display:flex;

  gap:25px;

  justify-content:center;

  margin-top:30px;
}

.socials a{

  width:65px;
  height:65px;

  display:flex;
  justify-content:center;
  align-items:center;

  border-radius:50%;

  background:
  rgba(255,255,255,0.04);

  color:#FBF3D1;

  text-decoration:none;

  font-size:24px;

  backdrop-filter:blur(10px);

  border:
  1px solid rgba(255,255,255,0.08);

  transition:0.3s;
}

.socials a:hover{

  transform:translateY(-5px);

  background:
  rgba(255,255,255,0.08);
}

/* MOBILE */

@media(max-width:900px){

  .hero{

    flex-direction:column;

    text-align:center;
  }

  .hero h1{

    font-size:48px;
  }

  .buttons{

    justify-content:center;
  }

  nav ul{

    display:none;
  }

  .hero-card{

    width:320px;
    height:450px;
  }

}
/* =========================
   ABOUT SECTION
========================= */

.about{

  position:relative;

  padding:140px 10%;

  overflow:hidden;
}

.about-container{

  display:grid;

  grid-template-columns:
  1.1fr 1fr;

  gap:60px;

  align-items:center;
}

.mini-tag{

  display:inline-block;

  padding:10px 18px;

  border-radius:20px;

  background:
  rgba(255,255,255,0.05);

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(12px);

  color:#FBF3D1;

  margin-bottom:25px;
}

.about-text h3{

  font-size:56px;

  line-height:1.1;

  margin-bottom:25px;

  color:#FBF3D1;
}

.about-text p{

  font-size:16px;

  line-height:2;

  color:#DEDED1;

  opacity:0.8;

  max-width:650px;
}

.about-tags{

  display:flex;

  flex-wrap:wrap;

  gap:15px;

  margin-top:35px;
}

.about-tags span{

  padding:12px 20px;

  border-radius:18px;

  background:
  rgba(255,255,255,0.04);

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(10px);

  color:#FBF3D1;
}

.about-cards{

  display:grid;

  gap:22px;
}

.about-card{

  padding:32px;

  border-radius:30px;

  background:
  rgba(255,255,255,0.04);

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(20px);

  transition:0.45s ease;
}

.about-card:hover{

  transform:
  translateY(-10px);

  background:
  rgba(255,255,255,0.06);
}

.about-card i{

  font-size:30px;

  margin-bottom:18px;

  color:#FBF3D1;
}

.about-card h4{

  font-size:24px;

  margin-bottom:12px;

  color:#FBF3D1;
}

.about-card p{

  line-height:1.8;

  opacity:0.76;
}

@media(max-width:900px){

  .about-container{

    grid-template-columns:1fr;
  }

}
/* =========================
   PROJECTS
========================= */

.projects{

  padding:140px 10%;
}

.project-grid{

  display:grid;

  grid-template-columns:
  repeat(auto-fit,minmax(320px,1fr));

  gap:30px;

  margin-top:60px;
}

/* CARD */

.project-card{

  position:relative;

  overflow:hidden;

  border-radius:32px;

  background:
  rgba(255,255,255,0.04);

  border:
  1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(20px);

  transition:0.45s ease;
}

.project-card:hover{

  transform:
  translateY(-10px);
}

/* IMAGE */

.project-image{

  height:240px;

  overflow:hidden;
}

.project-image img{

  width:100%;
  height:100%;

  object-fit:cover;

  transition:0.6s;
}

.project-card:hover img{

  transform:scale(1.08);
}

/* CONTENT */

.project-content{

  padding:28px;
}

.project-tag{

  display:inline-block;

  padding:8px 14px;

  border-radius:14px;

  background:
  rgba(255,255,255,0.05);

  border:
  1px solid rgba(255,255,255,0.08);

  color:#FBF3D1;

  font-size:13px;

  margin-bottom:18px;
}

.project-content h3{

  font-size:28px;

  margin-bottom:15px;

  color:#FBF3D1;
}

.project-content p{

  line-height:1.8;

  opacity:0.75;

  color:#DEDED1;
}