/* ----------  Base resets  -------------------------------------------- */
* { margin:0; padding:0; box-sizing:border-box; }

html,body { height:100%; font-family:"Cutive Mono", monospace; }

/* ----------  HERO layout  ------------------------------------------- */
.hero {
  position:relative;
  height:100vh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
}

/* --- small intro sentence (front) --- */
.intro {
  margin-top:40px;
  font-size:28px;
  z-index:3;     /* sits on top of everything */
}

/* --- huge Bowlby One headline (back) --- */
.headline {
  font-family:"Bowlby One", sans-serif;
  font-size:10vw;           /* scales with screen width */
  text-align:center;
  line-height:0.9;
  user-select:none;
  pointer-events:none;
  position:absolute;
  top:15%;                  /* tweak until it peeks nicely behind face */
  left:50%;
  transform:translateX(-50%);
  z-index:1;                /* BEHIND the face */
  padding-top: 3%;
}


/* --- face cut‑out photo (front) --- */
.face {
  width: 37vw;               /* increased from 26vw */
  min-width: 280px;          /* was 250px */
  max-width: 1500px;          /* was 420px */
  margin-top: 8vh;           /* reduced from 12vh to shift it down */
  z-index: 2;
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
/* --- social icon strip (front, beside face) --- */
.social {
  position:absolute;
  left:calc(50% + 200px);   /* push to the right of face – adjust 200px as needed */
  top:60vh;                 /* vertically around middle of photo */
  display:flex;
  gap:24px;
  z-index:3;
  align-items:center;
}

.social i {                 /* FA glyphs */
  font-size:32px;
  color:#9e9e9e;
  transition:color .3s, transform .3s;
}

.social img {               /* LeetCode raster */
  width:32px; height:32px;
  filter:grayscale(1) brightness(.6);
  transition:filter .3s, transform .3s;
}

.social a:hover i,
.social a:hover img { transform:scale(1.2); }

/* brand colours on hover */
.social a.github:hover   i { color:#181717; }
.social a.spotify:hover  i { color:#1DB954; }
.social a.medium:hover   i { color:#000;    }
.social a.leetcode:hover img{ filter:none;  }

/* ----------  filler content section  -------------------------------- */
.content {
  height:100vh;
  background:#f5f5f5;
  padding:80px 20px;
  text-align:center;
}

/* ----------  responsive tweaks  ------------------------------------- */
@media (max-width:900px){
  .social{
    left:50%;
    top:calc(100% - 110px); /* put icons under face for small screens */
    transform:translateX(-50%);
  }
}


.projects-heading {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(2rem, 6vw, 5rem); /* responsive scaling */
  text-align: center;
  margin-bottom: 40px;
}

/* From Uiverse.io by Smit-Prajapati */ 
.parent {
  width: 400px;
  padding: 10px;
  perspective: 1500px;
}

.card {
  padding-top: 50px;
  /* border-radius: 10px; */
  border: 3px solid rgb(255, 255, 255);
  transform-style: preserve-3d;
  background: linear-gradient(135deg,#0000 18.75%,#f3f3f3 0 31.25%,#0000 0),
      repeating-linear-gradient(45deg,#f3f3f3 -6.25% 6.25%,#ffffff 0 18.75%);
  background-size: 60px 60px;
  background-position: 0 0, 0 0;
  background-color: #f0f0f0;
  width: 100%;
  box-shadow: rgba(142, 142, 142, 0.3) 0px 30px 30px -10px;
  transition: all 0.5s ease-in-out;
}

.card:hover {
  background-position: -100px 100px, -100px 100px;
  transform: rotate3d(0.5, 1, 0, 30deg);
}

.content-box {
  background: rgba(33, 33, 33, 0.732);
  /* border-radius: 10px 100px 10px 10px; */
  transition: all 0.5s ease-in-out;
  padding: 60px 25px 25px 25px;
  transform-style: preserve-3d;
}

.content-box .card-title {
  display: inline-block;
  color: white;
  font-size: 25px;
  font-weight: 900;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 50px);
}

.content-box .card-title:hover {
  transform: translate3d(0px, 0px, 60px);
}

.content-box .card-content {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #f2f2f2;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 30px);
}

.content-box .card-content:hover {
  transform: translate3d(0px, 0px, 60px);
}

.content-box .see-more {
  cursor: pointer;
  margin-top: 1rem;
  display: inline-block;
  font-weight: 900;
  font-size: 9px;
  text-transform: uppercase;
  color: rgb(37, 37, 37);
  /* border-radius: 5px; */
  background: white;
  padding: 0.5rem 0.7rem;
  transition: all 0.5s ease-in-out;
  transform: translate3d(0px, 0px, 20px);
  text-decoration: none;
}

.content-box .see-more:hover {
  transform: translate3d(0px, 0px, 60px);
  text-decoration: none;
}

.date-box {
  position: absolute;
  top: 30px;
  right: 30px;
  height: 60px;
  width: 60px;
  background: white;
  border: 1px solid white;
  /* border-radius: 10px; */
  padding: 10px;
  transform: translate3d(0px, 0px, 80px);
  box-shadow: rgba(100, 100, 111, 0.2) 0px 17px 10px -10px;
}

.date-box span {
  display: block;
  text-align: center;
}

.date-box .month {
  color: rgb(37, 37, 37);
  font-size: 9px;
  font-weight: 700;
}

.date-box .date {
  font-size: 20px;
  font-weight: 900;
  color: rgb(37, 37, 37);
}
 
.projects-row{
  display:flex;
  justify-content:center;
  gap:40px;          /* space between cards */
  flex-wrap:wrap;    /* lets them wrap on very narrow screens */
}

/* make the content section grow naturally */
.content{
  min-height:100vh;  /* keep full‑screen feel */
  height:auto;       /* let it expand if rows wrap */
}

/* — optional: center the whole block on mobile — */
@media (max-width:600px){
  .projects-row{
    gap:24px;
  }
}

.Btn {
  width: 130px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(15, 15, 15);
  border: none;
  color: white;
  font-weight: 600;
  gap: 8px;
  cursor: pointer;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.103);
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
   margin: 40px auto 0;   /* centers horizontally + adds spacing */
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.svgIcon {
  width: 16px;
}

.svgIcon path {
  fill: white;
}

.Btn::before {
  width: 130px;
  height: 130px;
  position: absolute;
  content: "";
  background-color: white;
  border-radius: 50%;
  left: -100%;
  top: 0;
  transition-duration: .3s;
  mix-blend-mode: difference;
}

.Btn:hover::before {
  transition-duration: .3s;
  transform: translate(100%,-50%);
  border-radius: 0;
}

.Btn:active {
  transform: translate(5px,5px);
  transition-duration: .3s;
}

.section-heading {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  text-align: center;
  margin: 80px 0 40px;
}

.stack-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  padding: 0 20px;
}

.stack-category {
  flex: 0 1 180px;
  text-align: center;
}

.stack-category h3 {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: bold;
}

.icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.tech-icon {
  width: 48px;
  height: auto;
  filter: grayscale(1) brightness(0.4);
  transition: filter 0.35s ease;
}

.tech-icon:hover {
  filter: none;
}

/* Optional mobile tweaks */
@media (max-width: 600px) {
  .stack-columns { gap: 40px; }
  .stack-category { flex: 0 1 140px; }
  .tech-icon { width: 40px; }
}

/* ---------- HOME ICON ---------- */
.home-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #111;
  color: #fff;
  font-size: 22px;
  padding: 12px 14px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  z-index: 1000; /* always on top */
}

.home-icon:hover {
  background: #fff;   /* accent color */
  color: #111;
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}


/* ------ CONTACT SECTION ------ */
.contact-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.contact-heading {
  font-family: "Bowlby One", sans-serif;
  font-size: clamp(2rem, 6vw, 5rem);
  margin-bottom: 20px;
}

.contact-intro {
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 40px;
  font-family: "Cutive Mono", monospace;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-link {
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  color: #222;
  font-family: "Cutive Mono", monospace;
  border: 2px solid #222;
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.contact-link i {
  margin-right: 10px;
}

.contact-link:hover {
  background: #222;
  color: #fff;
}

.button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(255, 255, 255, 0.89);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden; 
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000; /* ensures it stays on top */
}

.svgIcon {
  width: 12px;
  transition-duration: 0.3s;
}

.svgIcon path {
  fill: white;
}

.button:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: rgb(198, 198, 198);
  align-items: center;
}

.button:hover .svgIcon {
  /* width: 20px; */
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.button::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: black;
  /* transition-duration: .3s; */
  font-size: 0px;
}

.button:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  /* transform: translateY(-30px); */
  transition-duration: 0.3s;
}

/* --- Footer --- */
.site-footer{
  background:#000;
  color:#fff;
  padding:60px 20px;
  text-align:center;
  font-family:"Cutive Mono",monospace;
}

.footer-tagline{
  font-family:"Cutive Mono",sans-serif;
  font-size:clamp(1.5rem,5vw,3rem);
  margin-bottom:30px;
  line-height:1.2;
}

.footer-copy{
  font-size:0.9rem;
  opacity:0.8;
}

.footer-copy .heart{
  color:#e63946;
}

#typed-role {
  font-weight: 700;
  color: #e63946; /* pick any accent */
}

/*==================== RESPONSIVENESS MAKER ============================*/

/* ──────────────── TABLETS & PHONES (≤ 900px) ──────────────── */
@media (max-width: 900px) {
  .headline {
    font-size: 9.5vw;               /* shrink just a bit more */
    top: 8%;
    line-height: 1;
    white-space: normal;
    text-align: center;
    max-width: 95vw;
    word-break: normal;             /* avoid ugly letter breaks */
  }

  .face {
    width: calc(100vw - 20px);      /* full width minus padding */
    max-width: 100%;
    margin-top: 5vh;
    margin-bottom: -2vh;            /* keep it close to socials */
  }

  .intro {
    font-size: 20px;
    text-align: center;
    margin-top: 24px;
    line-height: 1.4;
    padding: 0 16px;
    max-width: 90vw;
  }

  .social {
    position: static;
    margin-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transform: none;                /* remove previous shifts */
  }

  .social i,
  .social img {
    font-size: 28px;
    width: 28px;
    height: 28px;
  }
}

/* ─────────────────  PREVENT SIDE‑SCROLL ON ZOOM  ─────────────────── */
html, body {
  overflow-x: hidden;
}


.tech-slider {
  width:100%;
  overflow:hidden;
  padding:20px 0;
}

.slider {
  overflow:hidden;
  position:relative;
}

.slide-track {
  display:flex;
  width:calc(250px * 30); /* depends on number of images */
  animation:scroll 30s linear infinite;
}

.tech-logo {
  width:80px;
  margin:0 30px;
  transition:0.3s ease;
  filter: grayscale(100%) brightness(0.4);
}

.tech-logo:hover {
  filter:none;
  transform:scale(1.15);
}

@keyframes scroll {
  0% { transform:translateX(0); }
  100% { transform:translateX(-50%); }
}

/* PROJECT THING KA CSS */
/* Container alignment (RIGHT side like screenshot) */
.project-container {
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
    margin-top: 50px;
}

/* Card */
.project-card {
    width: 380px;
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease;
}

/* Image wrapper (NEW) */
.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* Image */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

/* Overlay animation (NEW) */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
        rgba(23, 23, 23, 0.45),
        rgba(83, 83, 83, 0.45)
    );
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
    pointer-events: none;
}

/* Hover effects (NEW) */
.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Content */
.project-content {
    padding: 22px;
}

/* Title + Version */
.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.version {
    font-size: 13px;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 9999px;
}

/* Description */
.project-desc {
    margin: 16px 0;
    color: #555;
    line-height: 1.6;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.tag {
    padding: 6px 12px;
    background: #f6f6f6;
    border-radius: 12px;
    font-size: 13px;
}

/* Footer */
.project-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fafafa;
    border-radius: 10px;
    font-size: 14px;
    text-decoration: none;
    color: #222;
    border: 1px solid #e7e7e7;
}

.icon {
    width: 16px;
    height: 16px;
}

.deploy-status {
    font-size: 13px;
    color: #777;
}

/* 3-CARD GRID LAYOUT */
.project-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 60px;
    justify-items: end;
}

/* Responsive: 2 per row */
@media (max-width: 1100px) {
    .project-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 per row */
@media (max-width: 700px) {
    .project-container {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}


.status-dot {
  width:10px;
  height:10px;
  border-radius:50%;
  display:inline-block;
}

.online {
  background:#2ecc71;
  box-shadow:0 0 8px #2ecc71;
}

.progress {
  background:#c7cc2e;
  box-shadow:0 0 8px #c3ff00;
}


/* FULL-CARD RESTRICTED TAPE */
.restricted-card {
    position:relative;
    overflow:hidden;
}

.restricted-banner {
    position:absolute;
    top:50%;
    left:-40%;
    width:180%;
    padding:18px 0;
    text-align:center;
    background:repeating-linear-gradient(
        45deg,
        #ffdf00,
        #ffdf00 12px,
        #000 12px,
        #000 24px
    );
    color:#000;
    font-weight:900;
    letter-spacing:4px;
    font-size:26px;
    transform:rotate(-20deg);
    z-index:20;
    pointer-events:none;
    box-shadow:0 4px 14px rgba(0,0,0,0.3);
    border-top:3px solid #000;
    border-bottom:3px solid #000;
    text-transform:uppercase;
    opacity:0.85;
}

/* MINI TAPE INSIDE IMAGE (OPTIONAL) */
.restricted-tape {
    position:absolute;
    top:14px;
    left:-40px;
    width:180px;
    padding:8px 0;
    text-align:center;
    background:repeating-linear-gradient(
        45deg,
        #ffdf00,
        #ffdf00 10px,
        #000 10px,
        #000 20px
    );
    color:#000;
    font-weight:800;
    letter-spacing:2px;
    transform:rotate(-20deg);
    font-size:14px;
    box-shadow:0 4px 10px rgba(0,0,0,0.25);
    pointer-events:none;
    text-transform:uppercase;
    border:2px solid #000;
    z-index:15;
}

.alert-banner{
  position:relative;
  top:0;
  z-index:9999;
  width:100%;
  padding:12px 20px;
  background:linear-gradient(90deg,#5757575f,#1c171a4f);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:16px;
  font-family:'Cutive Mono',monospace;
}

.alert-text{
  color:#fff;
  font-size:14px;
  font-weight:600;
}

.alert-btn{
  padding:8px 14px;
  background:#fff;
  color:#353535;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  border-radius:6px;
  transition:all .3s ease;
}

.alert-btn:hover{
  background:#000;
  color:#fff;
  transform:translateY(-2px);
}
/* 
.hero{
  margin-top: 10px;
} */

.center-wrapper{
            display:flex;
            flex-direction:column;
            align-items:center;
            gap:20px;
        }

.project-container{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
}

@media(max-width:768px){
  .project-container{
    flex-direction:column;
    align-items:center;
  }

  .project-card{
    width:90%;
    max-width:380px;
  }
}