@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800;900&display=swap');

:root{
  --primary:#00aaff;
  --secondary:#0066ff;
  --bg:#050509;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Inter',sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:var(--bg);
  color:white;
  overflow-x:hidden;
}

/* Ambient blue glow background layer */

body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;

  background:
    radial-gradient(circle at 20% 30%, rgba(0,170,255,0.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,80,255,0.18), transparent 40%);

  filter:blur(120px);
  animation: blobFloat 14s ease-in-out infinite alternate;
  pointer-events:none;
}

@keyframes blobFloat{
  from{
    transform:translateY(0px) scale(1);
  }
  to{
    transform:translateY(-40px) scale(1.05);
  }
}

/* NAV */

nav{
  position:fixed;
  top:0;
  width:100%;
  padding:18px 10%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  backdrop-filter:blur(14px);
  background:rgba(5,5,10,0.7);
  z-index:1000;
}

nav h1{
  font-weight:900;
  font-size:22px;
  background:linear-gradient(90deg,#00aaff,#0044ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.menu{
  display:flex;
  gap:8px;
}

.menu a{
  text-decoration:none;
  color:white;
  padding:10px 18px;
  border-radius:24px;
  border:1px solid transparent;
  transition:0.3s ease;
}

.menu a:hover{
  border:1px solid var(--primary);
  background:rgba(0,170,255,0.1);
  transform:translateY(-2px);
}

.hamburger{
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
}

.hamburger span{
  width:26px;
  height:3px;
  background:white;
}

/* HERO */

.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:80px;
  padding:140px 10% 80px;
}

.hero-text h1{
  font-size:clamp(4.5rem,9vw,8.5rem);
  font-weight:900;
  line-height:1.05;
  padding-bottom:12px;
  
  background:linear-gradient(90deg,#00aaff,#ffffff,#00aaff);
  background-size:200%;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  animation:gradientMove 6s linear infinite;
}

.hero-text p{
  font-size:1.35rem;
  margin-top:25px;
  color:#9ca3af;
}

.hero-image{
  width:100%;
  max-width:420px;
  border-radius:24px;
  justify-self:center;
  box-shadow:0 20px 50px rgba(0,120,255,0.25);
}

/* BUTTONS */

.buttons{
  display:flex;
  gap:16px;
  margin-top:35px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 30px;
  border-radius:30px;
  font-weight:600;
  text-decoration:none;
  color:white;
  background:linear-gradient(90deg,#0066ff,#00aaff);
  transition:0.3s ease;
}

.btn:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 30px rgba(0,170,255,0.6);
}

.btn.linkedin-btn{
  width:52px;
  height:52px;
  padding:0;
  border-radius:20%;
  font-size:20px;
}

/* EXPLORE SECTION */

.section{
  padding:120px 10%;
  text-align:center;
}

.explore-section{
  padding:140px 10%;
}

.explore-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:40px;
}

.explore-header h2{
  font-size:3.5rem;
  font-weight:900;
}

/* WORK BUTTONS */

.work-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.work-btn{
  padding:14px 28px;
  border-radius:40px;
  font-weight:600;
  text-decoration:none;
  color:white !important;
  background:linear-gradient(90deg,#0066ff,#00aaff);
  transition:0.3s ease;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.1rem;
}

.work-btn:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 30px rgba(0,170,255,0.5);
}

/* GRID CARDS */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:40px;
}

.card{
  background:rgba(20,20,35,0.6);
  backdrop-filter:blur(12px);
  border-radius:22px;
  overflow:hidden;
  transition:0.4s ease;
}

.card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 50px rgba(0,120,255,0.3);
}

.card img{
  width:100%;
  height:220px;
  object-fit:cover;
}

.card-content{
  padding:25px;
}

.card-content p{
  color:#9ca3af;
  font-size:14px;
}

/* FORM */

form{
  max-width:500px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:20px;
}

input,textarea{
  padding:15px;
  border-radius:10px;
  border:none;
  background:#111122;
  color:white;
}

textarea{
  min-height:120px;
}

/* REVEAL */

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:1s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* =========================
   ABOUT SECTION
========================= */

.about-section{
  padding:140px 10%;
  display:flex;
  flex-direction:column;
  gap:120px;
}

.about-intro{
  max-width:800px;
}

.about-intro h2{
  font-size:3.5rem;
  font-weight:900;
  margin-bottom:20px;
}

.about-intro p{
  font-size:1.3rem;
  color:#9ca3af;
  line-height:1.6;
}

.about-image img{
  width:100%;
  max-width:420px;
  height:260px;
  object-fit:cover;
  border-radius:20px;
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
  transition:0.4s ease;
}

.about-image img:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 60px rgba(0,120,255,0.25);
}

.main-about-image img{
  width:100%;
  max-width:420px;
  border-radius:24px;
  justify-self:center;
  box-shadow:0 20px 40px rgba(0,0,0,0.4);
  transition:0.4s ease;
}

.main-about-image img:hover{
  transform:translateY(-8px);
  box-shadow:0 30px 60px rgba(0,120,255,0.25);
}

/* Blocks */

.about-block{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:80px;
}

.about-block.reverse{
  direction:rtl;
}

.about-block.reverse .about-text{
  direction:ltr;
}

.about-text h3{
  font-size:2.5rem;
  font-weight:800;
  margin-bottom:20px;
}

.about-text p{
  font-size:1.2rem;
  line-height:1.7;
  color:#9ca3af;
}

.about-text strong{
  color:white;
  font-weight:600;
}

/* Image Placeholder */

.about-image{
  display:flex;
  justify-content:center;
}

.image-placeholder{
  width:100%;
  max-width:420px;
  height:260px;
  border-radius:20px;
  background:linear-gradient(135deg,#111122,#1b1b35);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#666;
  font-weight:600;
  border:1px solid rgba(255,255,255,0.05);
}

/* Mobile */

@media(max-width:900px){

.about-section{
  gap:80px;
}

.about-block{
  grid-template-columns:1fr;
  text-align:center;
}

.about-block.reverse{
  direction:ltr;
}

.about-text h3{
  font-size:2rem;
}

.about-intro h2{
  font-size:2.5rem;
}

}

/* MOBILE */

@media(max-width:900px){

.hero{
  grid-template-columns:1fr;
  text-align:center;
  padding:120px 8% 60px;
}

.hero-image{
  max-width:280px;
  margin:auto;
}

.buttons{
  justify-content:center;
}

.explore-header{
  flex-direction:column;
  text-align:center;
}

.explore-header h2{
  font-size:2.5rem;
}

.menu{
  position:fixed;
  right:-100%;
  top:0;
  height:100vh;
  width:260px;
  background:rgba(10,15,25,0.95);
  backdrop-filter:blur(20px);
  flex-direction:column;
  padding:80px 30px;
  transition:0.35s ease;
  z-index:999;
}

.menu.active{
  right:0;
}

.menu a{
  width:100%;
  text-align:left;
}

.hamburger{
  display:flex;
}


}
