/* ================= SYSTEM BASE ================= */
* {
  box-sizing: border-box;
}

.content-section {
  padding: 28px 10% 80px;
}

.scroll-cue {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  color: rgba(0, 0, 0, 0.45);
  opacity: 0.6;
  z-index: 10;
  pointer-events: none;
  animation: float 1.8s ease-in-out infinite;
  letter-spacing: 0.15em;
}

@keyframes float {
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, 6px); }
  100% { transform: translate(-50%, 0); }
}

/* #projects .section-title {
  margin-top: 16px;
  margin-bottom: 48px;
} */

.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 32px;
  color: rgba(0,0,0,0.75);
  position: relative;
  z-index: 5;
}

#projects .section-title {
  margin-top: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.project-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 28px 20px 20px;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}

.project-card h3 {
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 0;
}

.project-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.view-all-btn {
  padding: 22px 44px;
  font-size: 20px;
  border-radius: 999px;
  background: #f28b82;
  color: white;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
  box-shadow: 0 6px 16px rgba(242, 139, 130, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.project-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  margin-top: 4px;
  flex-grow: 1;
}

.project-btn {
  margin-top: 4px;
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.project-btn.pink {
  background: #f28B82;
  color: white;
}

.project-btn.purple {
  background: #f28B82;
  color: white;
}

.project-btn.yellow {
  background: #f28B82;
  color: white;
}

.project-btn.coral {
  background: #F28B82;
}

.project-btn.lavender {
  background: #C59CFA;
}

.project-btn.sand {
  background: #F2C078;
}

.project-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro Display",
    system-ui,
    sans-serif;
  position: relative;
  color: rgba(0,0,0,.85);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 30% 20%, rgba(255,255,255,.75), transparent 60%),
    radial-gradient(900px 600px at 70% 10%, rgba(255,255,255,.5), transparent 55%),
    linear-gradient(180deg, #f3ede4, #ece4d8);
  background-repeat: no-repeat;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(0,0,0,.75);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topbar-social-link:hover {
  color: rgba(0,0,0,1);
}

/* ============ HAMBURGER BUTTON (hidden on desktop) ============ */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(0,0,0,.75);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.topbar-social-icon {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.folder {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.folder:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  z-index: 1;
}

/* ================= TOP BAR ================= */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,.08);
  z-index: 10;
}

.topbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo {
  width: 40px;
  height: 38px;
  display: grid;
  place-items: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.brand-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 20px;
  text-decoration: none;
  color: rgba(0,0,0,.75);
}

.nav-link:hover {
  color: rgba(0,0,0,1);
}

.nav-separator {
  opacity: .35;
  font-size: 14px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* .search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(0,0,0,.12);
}

.search-icon {
  font-size: 30px;
  opacity: .65;
}

.search input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  width: 180px;
} */

.hero {
  min-height: calc(100vh);
  display: flex;
  align-items: center;
  padding-left: 100px;
  padding-right: 50px;
  position: relative;
  background: transparent;
}

.location {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 6px;
}

.hero-inner {
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-left {
  max-width: 520px;
  font-weight: 450;
}

.hero-left h1 {
  font-size: 38px;
  margin-bottom: 8px;
}

.hero-left h2 {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-left p {
  font-size: 17.5px;
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary {
  background: #f28b82;
  color: white;
}

.btn-secondary {
  background: #fbcf77;
  color: #333;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  
}

.hero-right {
  position: absolute;
  top: 102px;
  right: 40px;
  bottom: 40px;
  left: 50%;
  overflow: hidden;
  z-index: 1;
  border-radius: 20px;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

/* ================= DESKTOP ================= */
.desktop {
  margin-bottom: 24px;
  padding-top: 80px;
}

.icons {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  width: 100%;
  margin: 24px 0 12px;
}

.icon {
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.folder-svg {
  width: 230px;
  transition: transform 0.2s ease;
  filter: saturate(0.9);
}

.icon:hover .folder-svg {
  transform: translateY(-4px);
}

.label {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 500;
  opacity: 0.9;
}

.content-section {
  padding: 28px 10% 80px;
}

#skills.content-section {
  padding-bottom: 45px;
}

.contact-container {
  display: block;
  max-width: 600px;
  margin: 0 auto;
}

.contact-left h2 {
  font-size: 40px;
  margin-bottom: 12px;
}

.contact-left p {
  opacity: 0.85;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.socials img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.socials img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.socials a {
  text-decoration: none;
  font-size: 14px;
  opacity: 0.6;
}

.contact-section {
  padding: 24px 10% 72px;
}

.contact-section a {
  color: inherit;
  text-decoration: none;
}

/* ============ MOBILE BREAKPOINT ============ */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  /* Topbar: swap nav + socials for the hamburger */
  .topbar-center,
  .topbar-right {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .brand-name {
    font-size: 16px;
  }

  .logo {
    width: 32px;
    height: 32px;
  }

  /* Mobile dropdown menu */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0,0,0,.08);
    transition: max-height 0.3s ease;
    z-index: 9;
  }

  .mobile-menu.open {
    max-height: 400px;
  }

  .mobile-nav-link {
    padding: 16px 24px;
    font-size: 17px;
    text-decoration: none;
    color: rgba(0,0,0,.8);
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  .mobile-menu-socials {
    display: flex;
    gap: 20px;
    padding: 16px 24px;
  }

  /* Explore folder icons: stack vertically instead of side-by-side */
  .icons {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .folder-svg {
    width: 140px;
  }

  /* Hero: stack vertically, circular photo */
  .hero {
    padding: 100px 24px 60px;
    min-height: auto;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
    order: 2;
  }

  .hero-right {
    position: static;
    order: 1;
    width: 160px;
    height: 160px;
    margin: 0 auto 28px;
    border-radius: 50%;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .hero-right img {
    border-radius: 50%;
  }

  .hero-actions {
    justify-content: center;
  }
}