@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&family=Poppins:wght@400;600;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

.card-front h1 {
  font-family: 'Anton', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background:
    center/cover no-repeat,  
    linear-gradient(to right, rgba(64, 60, 60, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 1px, transparent 1px);
    
  background-size: cover, 30px 30px, 30px 30px;
  animation: gridPan 8s linear infinite;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Cambria, Cochin, Georgia, Times, 'Cursive', serif;
  overflow:hidden;
  padding-top: 5px;
}


/* Animations */
@keyframes popUpFromBottom {
  0% { opacity: 0; transform: translateY(80px) scale(0.9); }
  60% { opacity: 1; transform: translateY(-10px) scale(1.05); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tieDyeGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gridPan {
  50% { background-position: 0 0, 0 0, 0% 50%; }
  50% { background-position: 20px 20px, 20px 20px, 0% 50%; }
}

.container {
  position: relative;
  text-align: center;
}

.intro, .curved-title {
  opacity: 0;
  animation: popUpFromBottom 1s ease-out forwards;
}

.curved-title { animation-delay: 0.3s; }

.intro {
  font-family: "Playful Display", serif;
  font-weight: bolder;
  font-style: oblique;
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  color: #000000;
  text-shadow: 10px 10px 9px rgba(0, 0, 0, 0.3);
}

.container span {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

.container span:hover {
  transform: translateY(-10px) scale(1.2);
  text-shadow: 0 0 15px rgba(88, 88, 88, 0.6);
  color: #ffffff;
}

.curved-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px;
  font-weight: bold;
  font-style: italic;
  font-size: 4.5rem;
  color: #000000;
  margin-top: 6px;
  text-shadow: 10px 10px 9px rgba(0, 0, 0, 0.3);
}

.curved-title span:hover {
  transform: translateY(-10px) scale(1.2);
  text-shadow: 0 0 15px #a0cbff;
  color: #5494dc;
}

/* Floating labels */
.label {
  position: absolute;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #000000;
  border: 2px dashed #000000;
  border-radius: 50%;
  padding: 16px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #a0cbff;
  cursor:grabbing;
  z-index: 1000;
}

.label::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -5px;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 3px dashed rgba(0, 89, 255, 0.3);
  transform: rotate(5deg);
}

.label:hover {
  background: #a0cbff;
  color: #000000;
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 10 10 1px #a0cbff;
}

.label:active {
  cursor: grabbing;
}

.top-left { top: 10px; left: -390px; font-weight: bold; }
.top-right { top: -100px; right: -360px; font-weight: bold; }
.bottom-left { bottom: -160px; left: -340px; font-weight: bold; }
.bottom-right { bottom: -90px; right: -420px; font-weight: bold; }
.center-bottom { bottom: -230px; left: 50%; transform: translateX(-50%); font-weight: bold; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  background: #a0cbff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  z-index: 2000;
}

.logo { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: bold; color: #000; }

.nav-right a {
  margin-left: 50px;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-right a:hover { color: #4b53ff; transform: scale(1.9); }



/* Bottom Navbar */
.bottom-navbar {
  position: fixed;
  bottom: 0px;              /* little gap from bottom for floating look */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 80px);  /* similar spacing as top padding */
  
  backdrop-filter: blur(12px);
  background: #a0cbff;
  border: 1px solid #a0cbff;
  border-radius: 18px;

  display: flex;
  justify-content: space-around;
  align-items: center;

  padding: 10px 8444px;
  z-index: 2000;
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}




/* Sticky note */
.sticky-note {
  position: absolute;
  top: -100%;
  left: -55%;
  transform: translate(-50%, -50%) scale(0);
  width: 400px;
  background: #f6ffa2;
  color: #000;
  padding: 25px;
  border-radius: 20px;
  font-family: 'Comic Sans MS', 'Cursive', sans-serif;
  line-height: 1.2;
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 1000;

}

.sticky-note:hover{
  animation: all 0.3s ease;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
  cursor: pointer;
  animation: duration timing-function delay iteration-count direction fill-mode;

  }

.sticky-note.show { transform: translate(-50%, -50%) scale(0.95); opacity: 1; }

.sticky-note h3 { margin-bottom: 5px; }
.sticky-note ul { list-style-type: disc; padding-left: 20px; }


/* Popup windows */
#popup-container { position: absolute; inset: 0; pointer-events: none; z-index:3000; }

.popup-window {
  opacity:0;
  transform:scale(0.8);
  margin-top: 180px;
  margin-left: 22%;
  width: 360px;
  background: rgb(255, 255, 255);
  position: absolute;
  border-radius: 12px;
  box-shadow: 0px 50px 35px rgba(0,0,0,0.25);
  display: none;
  animation: popupScale 0.35s ease;
  pointer-events: auto;
  cursor: grab;
  z-index: 1000;
}
.popup-window.show {
  opacity: 1;
  transform: scale(1);
}
@keyframes popupScale {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.titlebar {
  background: #a0cbff;
  padding: 4px;
  display: flex;
  gap: 2px;
  border-radius: 12px 12px 0 0;
  cursor: grab;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background:hsl(257, 63%, 68%) }
.yellow { background:#2e85ff }
.green { background:#e7e7e7 }

.popup-img { width: 100%; border-radius: 0 0 10px 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }

#popup-text .popup-content {
  font-style: normal;
  
  font-size: 16px;       /* ← add this */
  text-align: left;
  color: #000000;
  letter-spacing: 0px;
  padding: 2px;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.3);
  line-height: 1.2;
  opacity: 1;            /* ← fix opacity */
  transition: transform 0.6s ease, opacity 0.6s ease;
  z-index: 1000;
}

/* Popup closing animation */
.popup-window.closing {
  animation: popupClose 0.3s ease forwards;
}

@keyframes popupClose {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Social icons */
.social-icons {
  position: fixed;
  bottom: 28px;
  left: 94%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 1000;
}

.social-icons a svg {
  width: 30px;
  height: 30px;
  fill: rgb(0, 0, 0);
  transition: transform 0.3s, fill 0.3s;
}

.social-icons a:hover svg {
  transform: scale(1.2);
  fill: #a0cbff;
}


/* =========================
   PROJECTS – FOLDER POPUP
   ========================= */

.folder-popup {
  width: 450px;
  height: 250px;
  background: #ffffff;
  border-radius: 26px;
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  display: none;
  z-index: 3000;
  
}


/* Folder content layout */
.folder-content {
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  justify-items: center;
}

/* Individual file icons */
.folder-popup .file-icon {
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease;
  filter: grayscale(10);
}

.folder-popup .file-icon:hover {
  transform: scale(1.04);
  filter: contrast(1);
}

.folder-popup .file-icon img {
  width: 52px;
  height: 52px;  
  /* size of pop up icons  */
}

.folder-popup .file-icon p {
  margin-top: 6px;
  font-size: 10px;
  color: #000000 ;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;}

/* =========================
   PROJECT DETAIL POPUP
   ========================= */

.project-popup {
  width: 720px;
  height: 420px;
  background: #a0cbff;
  border-radius: 26px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  box-shadow: 0 70px 70px rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 3100;

}



/* Main body */
.project-body {
  
  display: flex;
  gap: 22px;
  padding: 20px;
  height: calc(100% - 42px);
  width: calc(100% 500px);

}

/* Media section */
.project-media {
  flex: 1;
  border-radius: 14px;
  background-color: #000000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
}

/* Text section */
.project-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-text h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.project-text p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  flex-grow: 1;
}

/* Links */
.project-links {
  display: flex;
  gap: 16px;
}

.project-links a {
  font-size: 14px;
  text-decoration: none;
  color: #1a73e8;
}

.project-links a:hover {
  text-decoration: underline;
}

/* For Skills & Experience / Experience icons */



.skills-exp-content .exp-icon {
  flex: 0 0 45%;          /* 2 per row */
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  text-align: center;

  height: 100px;           /* SAME height for all icons */
  
}
.skills-exp-content .exp-icon img {
  width: 72px;
  height: 42px;
  object-fit: contain;
  margin-bottom: -5px;
}





/* For artwork icons (pencil, brush, eraser) */

.skills-exp-content {
  background-color: #ffffff;
  display: flex;
  flex-wrap: wrap;       /* allows multiple rows */
  gap: 5px;             /* spacing between icons */
  justify-content: center; /* center them horizontally */
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
  align-items: center;
  font-family: poppins, sans-serif;
  font-size: x-small;
}

.skills-exp-content .exp-icon img {
  
  opacity: 1;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 50px;
  filter: grayscale(10);

}
.skills-exp-content .exp-icon img:hover {
  transform: scale(1.15);
  opacity: 1;
  filter: contrast(1);
}

.exp-desc-popup {
  position: relative;
  background: #a0cbff;
  padding: 12px 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 14px;
  color: #000000;
  width: 400px;
  height: 200px;
  z-index: 4000;
}







/* =========================
   OPEN SOURCE POPUP
   ========================= */

.os-popup {
  width: 460px;
  background: #fffaf0;
  border-radius: 16px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.25);
  display: none;
  z-index: 3050;
}

.os-body {
  padding: 24px;
}

.os-body h3 {
  font-size: 20px;
  margin-bottom: 14px;
}

.os-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.os-body li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.os-body a {
  color: #1a73e8;
  text-decoration: none;
}

.os-body a:hover {
  text-decoration: underline;
}


/* ================= CONTACT POPUP ================= */
#popup-contact {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 300px;
  padding: 0;
  border-radius: 12px;
  display: none;
  opacity: 0;
  box-sizing: border-box;
  z-index: 0;
  cursor: grab;
  z-index: 9999;
  /* REMOVE ANY BACKGROUND */
  background: transparent;
  backdrop-filter: none;  
  


  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Active (open) state */
#popup-contact.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Dragging polish */
#popup-contact.dragging {
  transition: none !important;
}

/* Cursor feedback */
#popup-contact:active {
  cursor:help;
}

/* BUSINESS CARD */
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 90px; /* spacing between icons */
  margin-top: 40px;
}


/* Target the front name */
.card-front h1 {
  font-family: 'Impact', 'Arial Black', sans-serif; /* Bold, blocky font */
  font-size: 2.5rem;  /* Increase size */
  font-weight: 9000;   /* Extra bold */
  letter-spacing: 2px; /* Optional: spacing between letters */
  text-align: left;  /* Center the text */
  color: #1a1a1a;     /* Dark color for visibility */
  margin: 20px 0;     /* Adjust spacing as needed */
  
}

.contact-icon {
  width: 50px;  /* adjust size */
  height: 35px;
  fill: #a0cbff; /* icon color */
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  filter: grayscale(10);
}

.contact-icon:hover {
  transform: scale(1.2);
  fill: #a0cbff;
  filter:brightness(1);

}

.contact-card {
  padding: 18px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  background: #ffffff; /* card itself has white background */
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.contact-card a {
  color: #8d107e;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
  animation: forwards;
}

/* Drag handle if needed */
.contact-drag-area {
  cursor: grab;
}
.contact-drag-area:active {
  cursor: grabbing;
}


/* Active (open) state */
#popup-contact.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Dragging polish */
#popup-contact.dragging {
  transition: none !important;
}

/* Cursor feedback */
#popup-contact:active {
  cursor: grabbing;
}
.contact-card {
  padding: 18px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  background: transparent !important;
}

.contact-card h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.contact-card a {
  color: #b30000;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-drag-area {
  cursor: grab;
}
.contact-drag-area:active {
  cursor: grabbing;
}


/* ★★★★★ ARTWORK POPUP — FIXED AND CLEAN ★★★★★ */


#popup-artwork {
  position: fixed;
  top: 40%;
  left: 55%;
  transform: translate(-50%, -50%) scale(1); /* stable base state */
  width: 425px;
  height: auto;
  padding: 0;
  border-radius: 15px;

  background: rgb(255, 255, 255);
  box-shadow: 0 20 25px rgb(0, 0, 0);

  display: none;
  opacity: 1;
  z-index: 9999;

  /* use animation system ONLY */
  animation: popupScale 0.35s ease;
}

/* Close animation — SAME as About Me */
#popup-artwork.closing {
  animation: popupClose 0.3s ease forwards;
}

#popup-artwork.show {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}


/* Desk container */
.desk-container {
  padding: 12px;
  position: relative;
}

/* The sketchbook image pages */
.sketchbook {
  width: 360px;
  height: 400px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.art-page {
  width: 100%;
  height: 100%;
  object-fit:fill;
  display :none;
}

.art-page.active {
  display: block;
}

/* Tools (pencil, brush, eraser) */
.tool {
  position: absolute;
  width: 25px;
  opacity: 0.9;
  pointer-events:none;
}

.pencil { bottom: -10px; left: 5px; }
.brush  { top: 5px; right: 5px; }
.eraser { bottom: -10px; right: 5px; }

/* Sticky note text */
.sticky-note-art {
  margin-top: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
  opacity: 0.75;
}

/* Page change buttons */
.page-controls {
  text-align: center;
  padding: 10px 0 15px;
}

.page-controls button {
  padding: 6px 14px;
  margin: 0 6px;
  border: none;
  background: rgb(255, 255, 255);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
}

.icon-btn {
  background: rgb(255, 255, 255);
  border: none;
  padding: 10px 18px;
  font-size: 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
  color: rgb(0, 0, 0);
}

.icon-btn:hover {
  background: rgba(214, 214, 214, 0.35);
  transform: scale(1.1);
}


.business-card-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  z-index: 999;
}

.business-card {
  width: 360px;
  height: 210px; /* real business card ratio */
  background: #fdfcf9;
  border-radius: 12px;
  padding: 20px;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.25),
    inset 0 0 0.5px rgba(0,0,0,0.3);

  background-size: cover;
  transform: rotate(-1.2deg);
  transition: transform 0.4s ease;
}

.business-card:hover {
  transform: rotate(0deg) scale(1.02);
}


.resume-icon img {
  
  position: fixed;
  bottom: 30px;
  left: 1315px;
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.resume-icon:hover img {
  
  transform: scale(1.2);
  filter: invert(84%) sepia(21%) saturate(620%) hue-rotate(190deg) brightness(98%) contrast(92%);

}



.popup-window:active { cursor: grabbing; } 