/* THEME VARIABLES */
:root {
  --bg: #ffffff;
  --text: #111111;
  --overlay: rgba(0, 0, 0, 0.6);
}

body.dark {
  --bg: #0f0f0f;
  --text: #ffffff;
  --overlay: rgba(0, 0, 0, 0.75);
}

/* ===== Preloader ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader-content {
  text-align: center;
  color: white;
}

.preloader-content .dot {
  width: 32px;
  height: 32px;
  background: #f4b400;
  border-radius: 50%;
  display: inline-block;
  margin-bottom: 24px;
  animation: pulseDot 2s infinite;
}

#preloader-name {
  font-family: 'Supermercado One', cursive;
  font-size: 2.8rem;
  margin: 0;
  opacity: 0;
  animation: fadeInText 1.2s 0.3s forwards;
}

#preloader-role {
  font-size: 1.2rem;
  color: #aaa;
  margin-top: 8px;
  opacity: 0;
  animation: fadeInText 1.2s 0.8s forwards;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes fadeInText {
  to { opacity: 1; transform: translateY(0); }
}

/* Fade out effect */
#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

/* Optional: hide scrollbar during preload */
body.preloading  {
  overflow: hidden;
}

/* end loader */



/* Apply variables */
.project-overlay {
  background: var(--overlay);
}

/* Toggle button */
.theme-toggle {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #000;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 10000;
}

body.dark .theme-toggle {
  background: #fff;
  color: #000;
}

@font-face {
  font-family: vasline;
  src: url(./fonts/vaseline_extra/Vaseline\ Extra.ttf);
}
@font-face {
  font-family: karina;
  src: url(./fonts/karina_4/Karina.ttf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #111;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

/* ---------- HEADER ---------- */
.header {
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
 
  /* position: fixed; */
}


.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 14px;
  height: 14px;
  background: #f4b400;
  border-radius: 50%;
  user-select: none;
}
#basit:hover{
  user-select: none;
  color: #f4b400;
}

.role {
  font-size: 14px;
  color: #555;
  user-select: none;
}
.role:hover{
  color: #f4b400;
}

/* Desktop Nav */
.nav a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
  padding: 0 15px;
  position: relative;
}

.nav a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -5px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;

  position: fixed; /* 👈 important */
  top: 25px;
  right: 30px;
  z-index: 10001; /* 👈 menu se upar */
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #000;
  transition: 0.3s;
}

/* X animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transform: translateX(100%);
  transition: 0.3s;
  z-index: 10000;
}

.mobile-menu a {
  font-size: 22px;
  text-decoration: none;
  color: #000;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* ---------- HERO ---------- */
.container {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 30px;
}

.profile-image {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.profile-image img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.content {
  max-width: 520px;
}

.content h1 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  user-select: none;
}

#heroText {
  transition: opacity 0.6s ease;
  color: #f4b400; /* Yellow */
  font-family: basitaliheading1, "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: 30px;
  word-spacing: -8px;
}

.changing-text {
  font-size: 22px;
  margin-bottom: 15px;
  user-select: none;
}

#roleText {
  font-weight: bold;
  transition: opacity 0.5s ease, color 0.5s ease;
}

#mbasitpara {
  padding-top: 2px;
  margin-top: 2px;
  text-align: justify;
}
#mbasitpara::selection {
  background-color: #f4b300a8;
}

.buttons {
  display: flex;
  gap: 20px;
  padding-top: 20px;
}

.btn {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  border: 0px solid #000;
  font-weight: bold;
  text-decoration: none;
}

.resume {
  background: #f4b300ce;
}
.resume:hover {
  background: #f1b307;
  transition: background 0.8s ease;
}
.projects {
  background: rgba(9, 206, 147, 0.644);
}
.projects:hover {
  background: rgba(6, 180, 128, 0.795);
  transition: background 0.8s ease;
}
.contact {
  background: #7ddad6;
}
.contact:hover {
  background: #1cc4bbd5;
  transition: background 0.8s ease;
}
.resume,
.projects,
.contact,
a {
  color: white;
}

/* Project section start styleing */
/* ===== PROJECTS (PREMIUM STYLE) ===== */

.projects-section {
  padding: 60px 60px;
  word-spacing: 5px;
  text-align: center;
  text-transform: capitalize;
}

.section-title {
  text-align: center;
  font-size: 44px;
  font-weight: 400;
  /* letter-spacing: 0px; */
  margin-bottom: 40px;
  
  letter-spacing: -1px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  user-select: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.project-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* Image subtle zoom */
.project-item:hover img {
  transform: scale(1.08);
}

/* Overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 236, 170, 0.178);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-item:hover .project-overlay {
  opacity: 1;
}
#project1-overlay:hover {
  background: rgba(12, 150, 214, 0.555);
}
/* Actions */
.project-actions {
  display: flex;
  gap: 18px;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.project-item:hover .project-actions {
  transform: translateY(0);
}

.project-actions a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(12, 214, 197, 0.555);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.project-actions a:hover {
  background: #fff;
  color: #f4b400;
  transform: scale(1.1);
}
.project-actions svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.project-item {
  perspective: 800px;
}

/* .section-border {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: 40px;
}

.section-border svg {
  width: 100%;
  height: 60px;
} */





/* Project section end */
.thumbnail-section {
  padding: 80px 60px;
  word-spacing: 5px;
  text-align: center;
  text-transform: capitalize;
}
.section-title {
  text-align: center;
  font-size: 44px;
  font-weight: 400;
  /* letter-spacing: 0px; */
  margin-bottom: 30px;
  letter-spacing: -1px;
  font-family:   'Helvetica Neue', sans-serif;
  user-select: none;
}
.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.thumbnail-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.thumbnail-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

/* Image subtle zoom */
.thumbnail-item:hover img {
  transform: scale(1.08);
}
/* Overlay */
.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 236, 170, 0.178);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thumbnail-item:hover .thumbnail-overlay {
  opacity: 1;
}
.action-btn {
  margin-left: 3px;
  margin-right: 3px;
  padding: 12px 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.action-btn:hover {
  transform: translateY(-4px);
}
.action-btn.view:hover {
  background: #0c96d6;
  color: #fff;
}

.action-btn.download:hover {
  background: #10b981;
  color: #fff;
}

.action-btn.order:hover {
  background: #f4b400;
  color: #000;
}

/* footer styling start */
/* FOOTER */
.site-footer {
  background: var(--bg);
  color: var(--text);
  padding: 80px 60px 40px;
  position: relative;
}

/* Animated Border */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #f4b400, #10b981, #0c96d6);
  animation: move 6s linear infinite;
}
@keyframes move {
  to {
    background-position: 300%;
  }
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Social */
.social-icons a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}
.social-icons a:hover {
  box-shadow: 0 0 18px rgba(244, 180, 0, 0.6);
  transform: translateY(-3px);
}

.social-icons i {
  display: inline-block !important;
  font-size: 18px;
}

/* FORCE social icons in ROW */
.social-icons {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

/* CTA */
.hire-btn {
  padding: 12px 34px;
  border-radius: 40px;
  background: #f4b400;
  font-weight: 600;
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-social .social-icons {
  display: flex;
  gap: 16px;
  margin: 12px 0 24px;
}

.footer-cta {
  margin-top: 10px;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 9999;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 25px;

  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f4b400;
  border: none;
  cursor: pointer;

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

  /* 🔽 SMOOTH FADE SETUP */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top i {
  font-size: 18px;
  line-height: 1;
  display: block;
}


/* Success Animation */
.form-success {
  display: none;
  color: #10b981;
  margin-top: 10px;
  animation: fade 0.6s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
  }
}
.footer-col{
  /* text-align: center; */
  align-content: center;
}
/* Remove bullets from footer lists */
.footer-col ul {
  list-style: none;
  padding: 8px;
  
  margin: 0;
}

/* Footer links color black */
.footer-col ul li a {
  color: var(--text); /* black in light mode */
  text-decoration: none;
  font-size: 14px;
}

/* Icon + text spacing */
.footer-col ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

/* Hover effect (soft) */
.footer-col ul li a:hover {
  text-decoration: underline;
}
/* Footer Form Wrapper */
.footer-form {
  max-width: 520px;
  margin: 50px auto 0;
  text-align: center;
}

/* Form Layout */
.footer-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Labels */
.footer-form label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text);
}

/* Inputs & textarea */
.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  margin-top: 4px;
  background: transparent;
  color: var(--text);
}

/* Focus state */
.footer-form input:focus,
.footer-form textarea:focus {
  outline: none;
  border-color: #f4b400;
}

/* Submit button */
.footer-form button {
  margin-top: 10px;
  padding: 12px;
  border-radius: 30px;
  border: none;
  background: #f4b400;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.footer-form button:hover {
  background: #10b981;
  color: #fff;
}
.form-success {
  text-align: center;
}

/* Footer Bottom Design */
.footer-bottom {
    margin-top: 50px;
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #666;
  border-top: 1px solid rgba(0,0,0,0.12);
  letter-spacing: 0.3px;
  opacity: 0; /* for animation */
  transform: translateY(8px);
  user-select: none;
}

/* Powered by text */
.powered-by {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #888;
}

.powered-by strong {
  color: #f4b400;
  font-weight: 600;
}

/* Dark mode support */
body.dark .footer-bottom {
  color: #aaa;
  border-top: 1px solid rgba(146, 138, 138, 0.15);
}

body.dark .powered-by {
  color: #999;
}

/* Footer bottom link style (future proof) */
.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
.site-footer .footer-bottom {
  animation: footerFade 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes footerFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FIX: Footer social icons visible */
.footer-social .social-icons a {
  color: #111; /* black icons */
}

body.dark .footer-social .social-icons a {
  color: #fff; /* white icons in dark mode */
}


/* footer end */

/* Hire Me Modal */
.hire-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10002;
}

.hire-modal.show {
  display: flex;
}

.hire-modal-content {
  background: var(--bg);
  color: var(--text);
  padding: 30px;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  position: relative;
}

.hire-modal-content h3 {
  margin-bottom: 20px;
  text-align: center;
}

.hire-modal-content form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hire-modal-content input,
.hire-modal-content textarea,
.hire-modal-content select {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: transparent;
}

.hire-modal-content button {
  margin-top: 10px;
  padding: 12px;
  border-radius: 30px;
  border: none;
  background: #f4b400;
  font-weight: 600;
  cursor: pointer;
}

.hire-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 22px;
  cursor: pointer;
}





/*  */





/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-social {
    grid-column: span 2;
  }
}
@media (max-width: 900px) {
  .container {
    flex-direction: column;
    text-align: center;
  }
}
/* @media (hover: none) {
  .thumbnail-overlay {
    opacity: 1;
  }

  .thumbnail-actions {
    transform: translateY(0);
    opacity: 1;
  }
} */

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
   .projects-section,
  .thumbnail-section {
    padding: 50px 20px;
  }


  .section-title {
    font-size: 32px;
    margin-bottom: 40px;
  }
  .thumbnail-item img {
    height: 300px;
  }
  .site-footer {
    padding: 60px 20px 30px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col ul li {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-form form {
    max-width: 100%;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    bottom: 90px;
    right: 20px;
  }
  .footer-form {
    padding: 0 20px;
  }
}
@media (max-width: 480px) {
  .footer-col h4 {
    font-size: 16px;
  }

  .hire-btn {
    width: 100%;
    display: inline-block;
  }

  .footer-bottom {
    font-size: 12px;
    padding-top: 14px;
  }
}
/* Scroll Lock */
.no-scroll {
  overflow: hidden;
}
.profile-image img {
  /* width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(); */
  object-position: top;
}
.projects-section {
  padding: 80px 20px;
}

.project-item img {
  height: 300px;
}
