/* fallow-ignore-file unused-file */

/* =============================================
   CUSTOM PROPERTIES
   ============================================= */
:root {
  --smoky-black: #0f0f0f;
  --eerie-black-1: #1c1c1c;
  --eerie-black-2: #1a1a1a;
  --jet: #2a2a2a;
  --onyx: #333333;
  --light-gray: #d6d6d6;
  --light-gray-70: rgba(214, 214, 214, 0.7);
  --white-1: #ffffff;
  --white-2: #f0f0f0;
  --orange-yellow-crayola: #e8a93f;
  --vegas-gold: #c9a227;

  --bg-gradient-onyx: linear-gradient(
    to bottom right,
    hsl(240, 1%, 25%) 3%,
    hsl(0, 0%, 19%) 97%
  );
  --bg-gradient-jet:
    linear-gradient(
      to bottom right,
      hsla(240, 1%, 18%, 0.25) 0%,
      hsla(240, 2%, 11%, 0) 100%
    ),
    hsl(240, 2%, 13%);
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right,
    hsla(45, 100%, 71%, 0.25) 0%,
    hsla(36, 100%, 69%, 0) 100%
  );
  --border-gradient-onyx: linear-gradient(
    to bottom right,
    hsl(0, 0%, 25%) 0%,
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right,
    hsl(45, 100%, 72%),
    hsl(35, 100%, 68%)
  );

  --ff-poppins: "Poppins", sans-serif;
  --fs-1: clamp(1.25rem, 2.5vw, 1.5rem);
  --fs-2: 1.125rem;
  --fs-3: 1rem;
  --fs-4: 0.9375rem;
  --fs-5: 0.875rem;
  --fs-6: 0.8125rem;
  --fs-7: 0.75rem;
  --fs-8: 0.6875rem;

  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;
}

/* =============================================
   RESET
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
.sidebar,
.navbar,
article,
.service-item,
.skill-tag,
.extra-card,
.timeline-item,
.contact-info-item,
.form-input,
.project-item {
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease;
}

a {
  text-decoration: none;
}
li {
  list-style: none;
}
img,
ion-icon,
a,
button,
time,
span {
  display: inline-block;
}
input,
textarea,
button {
  font-family: var(--ff-poppins);
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
address {
  font-style: normal;
}

html {
  font-family: var(--ff-poppins);
}

body {
  background: var(--smoky-black);
  color: var(--light-gray);
  font-size: var(--fs-5);
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 60% 50% at 68% 38%,
      hsla(38, 100%, 62%, 0.22) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 45% at 18% 68%,
      hsla(195, 80%, 52%, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 35% 30% at 50% 85%,
      hsla(320, 60%, 60%, 0.1) 0%,
      transparent 55%
    );
}

::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--onyx);
}
::-webkit-scrollbar-thumb {
  background: var(--orange-yellow-crayola);
  border-radius: 5px;
}

/* =============================================
   REUSABLE COMPONENTS
   ============================================= */
.separator {
  width: 100%;
  height: 1px;
  background: var(--jet);
  margin: 16px 0;
}

ion-icon {
  pointer-events: none;
}

.icon-box {
  position: relative;
  background: var(--border-gradient-onyx);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--orange-yellow-crayola);
  box-shadow: var(--shadow-1);
  z-index: 1;
  flex-shrink: 0;
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
}

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  font-weight: var(--fw-500);
}
.h2 {
  font-size: var(--fs-1);
}
.h3 {
  font-size: var(--fs-2);
}
.h4 {
  font-size: var(--fs-3);
}
.h5 {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.article-title {
  position: relative;
  padding-bottom: 7px;
  margin-bottom: 30px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--text-gradient-yellow);
  border-radius: 3px;
}

/* =============================================
   MAIN LAYOUT
   ============================================= */
main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 15px;
  padding-bottom: 75px;
  gap: 25px;
}

/* =============================================
   SIDEBAR
   ============================================= */
.sidebar {
  position: relative;
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 5;
  max-height: 112px;
  overflow: hidden;
  transition: var(--transition-2);
}

.sidebar.active {
  max-height: 600px;
}

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.avatar-box {
  background: var(--bg-gradient-onyx);
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-box img {
  width: 80px;
  display: block;
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  letter-spacing: -0.25px;
  margin-bottom: 10px;
}

.info-content .title {
  color: var(--white-1);
  background: var(--onyx);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  padding: 3px 12px;
  border-radius: 8px;
  display: inline-block;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  color: var(--orange-yellow-crayola);
  background: var(--border-gradient-onyx);
  padding: 10px 15px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-jet);
  z-index: -1;
}

.info_more-btn:hover {
  background: var(--bg-gradient-yellow-1);
}
.info_more-btn span {
  display: none;
}

.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 8px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.contact-info {
  min-width: 0;
}

.contact-title {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-link,
.contact-info address {
  color: var(--white-2);
  font-size: var(--fs-7);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-link:hover {
  color: var(--orange-yellow-crayola);
}

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding-left: 7px;
  padding-bottom: 4px;
}

.social-item .social-link {
  color: var(--light-gray-70);
  font-size: 20px;
  transition: var(--transition-1);
}

.social-item .social-link:hover {
  color: var(--light-gray);
}

.sidebar-cv-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--border-gradient-onyx);
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-7);
  font-weight: var(--fw-600);
  padding: 10px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  transition: var(--transition-1);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.sidebar-cv-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.sidebar-cv-btn:hover {
  background: var(--bg-gradient-yellow-1);
}

.sidebar-cv-btn ion-icon {
  font-size: 15px;
}

/* =============================================
   NAVBAR (TAB NAVIGATION)
   ============================================= */
.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(240, 1%, 17%, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--jet);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 5;
}

.navbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.navbar-link {
  color: var(--light-gray);
  font-size: var(--fs-8);
  padding: 20px 7px;
  transition: color var(--transition-1);
}

.navbar-link:hover,
.navbar-link:focus {
  color: var(--light-gray-70);
}

.navbar-link.active {
  color: var(--orange-yellow-crayola);
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.main-content {
  min-width: 0;
  width: 100%;
}

/* =============================================
   ARTICLES
   ============================================= */
article {
  display: none;
}

article.active {
  display: block;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* =============================================
   ABOUT TAB
   ============================================= */
.about {
  padding: 15px;
}

.about-text p {
  color: var(--light-gray);
  font-weight: var(--fw-300);
  line-height: 1.6;
  margin-bottom: 12px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.service {
  margin-top: 30px;
}

.service-title {
  margin-bottom: 20px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.service-item {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.service-icon-box {
  margin-bottom: 10px;
}

.service-icon-box ion-icon {
  font-size: 26px;
  color: var(--orange-yellow-crayola);
}

.service-item-title {
  margin-bottom: 6px;
  color: var(--white-2);
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
}

.service-item-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

/* =============================================
   RESUME TAB
   ============================================= */
.resume {
  padding: 15px;
}

.timeline {
  margin-bottom: 35px;
}

.timeline-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.timeline-list {
  font-size: var(--fs-6);
  margin-left: 45px;
}

.timeline-item {
  position: relative;
}

.timeline-item:not(:last-child) {
  margin-bottom: 20px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -30px;
  width: 1px;
  height: calc(100% + 50px);
  background: var(--jet);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  height: 6px;
  width: 6px;
  background: var(--text-gradient-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--jet);
}

.timeline-item-title {
  font-size: var(--fs-5);
  line-height: 1.3;
  margin-bottom: 5px;
  color: var(--white-1);
}

.timeline-company {
  color: var(--vegas-gold);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  margin-bottom: 3px;
}

.timeline-period {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  margin-bottom: 8px;
}

.timeline-text {
  color: var(--light-gray);
  font-weight: var(--fw-300);
  line-height: 1.6;
  font-size: var(--fs-6);
}

/* Skills */
.skills-section {
  margin-bottom: 35px;
}

.skills-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.skill-category-block {
  margin-bottom: 20px;
}

.skill-category-name {
  color: var(--light-gray-70);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: var(--onyx);
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-family: var(--ff-poppins);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--jet);
  transition: var(--transition-1);
}

.skill-tag:hover {
  border-color: var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
}

/* Extras (honors, certs, languages) */
.extras-section {
  margin-bottom: 10px;
}

.extras-title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.extras-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.extra-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.extra-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.extra-card-title {
  color: var(--orange-yellow-crayola);
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.extra-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.extra-item:last-child {
  margin-bottom: 0;
}

.extra-item ion-icon {
  color: var(--orange-yellow-crayola);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.extra-item-title {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
}

.extra-item-sub {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.lang-item:last-child {
  margin-bottom: 0;
}

.lang-name {
  color: var(--white-2);
  font-size: var(--fs-6);
  min-width: 90px;
}

.lang-dots {
  display: flex;
  gap: 5px;
}

.lang-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--onyx);
  border: 1px solid var(--jet);
}

.lang-dot.filled {
  background: var(--orange-yellow-crayola);
  border-color: var(--orange-yellow-crayola);
}

/* =============================================
   PORTFOLIO TAB
   ============================================= */
.portfolio {
  padding: 15px;
}

/* Mobile select filter */
.filter-select-box {
  position: relative;
  margin-bottom: 25px;
}

.filter-select {
  background: var(--eerie-black-2);
  color: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  font-size: var(--fs-6);
  font-family: var(--ff-poppins);
  font-weight: var(--fw-300);
  cursor: pointer;
  transition: var(--transition-1);
}

.filter-select.active {
  border-color: var(--orange-yellow-crayola);
}

.filter-select ion-icon {
  font-size: 16px;
  transition: var(--transition-2);
}

.filter-select.active ion-icon {
  transform: rotate(0.5turn);
}

.select-list {
  background: var(--eerie-black-2);
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  padding: 6px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in-out;
}

.filter-select.active + .select-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.select-item button {
  background: var(--eerie-black-2);
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-family: var(--ff-poppins);
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  text-align: left;
  transition: var(--transition-1);
}

.select-item button:hover {
  color: var(--orange-yellow-crayola);
}

/* Desktop filter buttons */
.filter-list {
  display: none;
}

/* Project grid */
.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.project-item {
  display: none;
}

.project-item.active {
  display: block;
}

@keyframes fadeItem {
  0% {
    opacity: 0;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.project-item > a {
  width: 100%;
  display: block;
}

.project-img {
  position: relative;
  width: 100%;
  height: 175px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--jet);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-2);
}

.project-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item > a:hover .project-img::before {
  background: hsla(0, 0%, 0%, 0.5);
}

.project-item-icon-box {
  --scale: 0.85;
  background: var(--jet);
  color: var(--orange-yellow-crayola);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 20px;
  padding: 18px;
  border-radius: 12px;
  opacity: 0;
  z-index: 2;
  transition: var(--transition-1);
}

.project-item > a:hover .project-item-icon-box {
  --scale: 1;
  opacity: 1;
}

.project-title {
  color: var(--light-gray);
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  text-transform: capitalize;
  line-height: 1.3;
  margin-bottom: 4px;
  transition: var(--transition-1);
}

.project-item > a:hover .project-title {
  color: var(--orange-yellow-crayola);
}

.project-category {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  text-transform: capitalize;
}

/* Empty/loading states */
.portfolio-loading,
.portfolio-error {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  text-align: center;
  padding: 40px 0;
  grid-column: 1 / -1;
}

/* =============================================
   CONTACT TAB
   ============================================= */
.contact {
  padding: 15px;
}

.contact-info-list {
  margin-bottom: 25px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.contact-info-label {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-info-value,
.contact-info-value a {
  color: var(--white-2);
  font-size: var(--fs-6);
  transition: var(--transition-1);
}

.contact-info-value a:hover {
  color: var(--orange-yellow-crayola);
}

.availability-note {
  background: var(--onyx);
  border: 1px solid var(--jet);
  border-left: 3px solid var(--orange-yellow-crayola);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: var(--fs-6);
  color: var(--light-gray);
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Contact form */
.form-title {
  margin-bottom: 20px;
}

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-input {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  padding: 13px 20px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  outline: none;
  background: var(--eerie-black-2);
  transition: var(--transition-1);
  width: 100%;
}

.form-input:focus {
  border-color: var(--orange-yellow-crayola);
}
.form-input::placeholder {
  color: var(--light-gray-70);
  font-weight: var(--fw-300);
}

textarea.form-input {
  min-height: 120px;
  height: 120px;
  max-height: 200px;
  resize: vertical;
  margin-bottom: 20px;
}

.form-btn {
  position: relative;
  width: 100%;
  background: var(--border-gradient-onyx);
  color: var(--orange-yellow-crayola);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-600);
  font-family: var(--ff-poppins);
  box-shadow: var(--shadow-3);
  z-index: 1;
  transition: var(--transition-1);
}

.form-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.form-btn ion-icon {
  font-size: 16px;
}
.form-btn:hover {
  background: var(--bg-gradient-yellow-1);
}
.form-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

/* =============================================
   RESPONSIVE — 580px
   ============================================= */
@media (min-width: 580px) {
  .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
  }

  .sidebar {
    padding: 30px;
    max-height: 180px;
  }
  .sidebar.active {
    max-height: 650px;
  }
  .avatar-box img {
    width: 120px;
  }
  .info_more-btn span {
    display: block;
    font-size: var(--fs-8);
  }

  .navbar-link {
    padding: 20px 10px;
    font-size: var(--fs-7);
  }

  .about,
  .resume,
  .portfolio,
  .contact {
    padding: 30px;
  }
  .article-title {
    padding-bottom: 10px;
    margin-bottom: 40px;
  }
  .article-title::after {
    width: 40px;
    height: 4px;
  }

  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  .input-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  .project-list {
    grid-template-columns: 1fr 1fr;
  }
  .project-img {
    height: 185px;
  }

  .extras-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =============================================
   RESPONSIVE — 768px
   ============================================= */
@media (min-width: 768px) {
  .navbar {
    border-radius: 20px 20px 0 0;
  }
  .navbar-link {
    font-size: var(--fs-6);
    padding: 20px 15px;
  }

  /* Desktop filter buttons replace mobile select */
  .filter-select-box {
    display: none;
  }

  .filter-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding-left: 5px;
    margin-bottom: 30px;
  }

  .filter-item button {
    color: var(--light-gray);
    font-size: var(--fs-6);
    font-family: var(--ff-poppins);
    transition: var(--transition-1);
    padding: 3px 0;
    cursor: pointer;
    background: none;
    border: none;
  }

  .filter-item button:hover {
    color: var(--light-gray-70);
  }
  .filter-item button.active {
    color: var(--orange-yellow-crayola);
  }

  .project-list {
    grid-template-columns: 1fr 1fr;
  }

  .extras-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* =============================================
   RESPONSIVE — 1250px (side-by-side layout)
   ============================================= */
@media (min-width: 1250px) {
  main {
    flex-direction: row;
    align-items: flex-start;
    padding: 60px;
    padding-bottom: 0;
    gap: 25px;
    justify-content: center;
  }

  .sidebar {
    position: sticky;
    top: 60px;
    max-height: none;
    height: max-content;
    width: 320px;
    overflow: visible;
    flex-shrink: 0;
  }

  .sidebar-info {
    flex-direction: column;
  }
  .avatar-box img {
    width: 150px;
  }
  .info-content .name {
    text-align: center;
    white-space: nowrap;
  }
  .info-content .title {
    display: block;
    text-align: center;
  }
  .info_more-btn {
    display: none;
  }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }

  .contacts-list {
    grid-template-columns: 1fr;
  }
  .social-list {
    justify-content: center;
  }

  .main-content {
    max-width: 900px;
  }

  .navbar {
    position: sticky;
    top: 0;
    border-radius: 0 0 20px 20px;
    margin-bottom: 0;
  }

  .navbar-list {
    gap: 0;
  }
  .navbar-link {
    font-size: var(--fs-5);
    padding: 25px 30px;
  }

  .about,
  .resume,
  .portfolio,
  .contact {
    padding: 60px;
  }

  .project-list {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* =============================================
   LANGUAGE SWITCHER
   ============================================= */

.lang-switcher {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 4px;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--jet);
  border-radius: 4px;
  color: var(--light-gray-70);
  cursor: pointer;
  font-family: var(--ff-poppins);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}

.lang-btn:hover {
  border-color: var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
}

.lang-btn.active {
  background: var(--orange-yellow-crayola);
  border-color: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

/* =============================================
   THEME TOGGLE BUTTON
   ============================================= */

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--jet);
  border-radius: 4px;
  color: var(--light-gray-70);
  cursor: pointer;
  font-size: 1.05rem;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  margin: 8px auto 0;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.theme-toggle-btn:hover {
  border-color: var(--orange-yellow-crayola);
  color: var(--orange-yellow-crayola);
}

.icon-moon {
  display: block;
}
.icon-sun {
  display: none;
}

html[data-theme="light"] .icon-moon {
  display: none;
}
html[data-theme="light"] .icon-sun {
  display: block;
}

/* =============================================
   LIGHT MODE
   ============================================= */

html[data-theme="light"] {
  --smoky-black: #f5f0e8;
  --eerie-black-1: #ece7de;
  --eerie-black-2: #efe9df;
  --jet: rgba(0, 0, 0, 0.1);
  --onyx: rgba(0, 0, 0, 0.15);
  --light-gray: #1e1e1e;
  --light-gray-70: rgba(30, 30, 30, 0.7);
  --white-1: #111111;
  --white-2: #222222;
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.08);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.08);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.08);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.06);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.08);
  --bg-gradient-onyx: linear-gradient(to bottom right, #e5dfd5 3%, #dbd5cb 97%);
  --bg-gradient-jet:
    linear-gradient(
      to bottom right,
      rgba(0, 0, 0, 0.04) 0%,
      rgba(0, 0, 0, 0) 100%
    ),
    #ece7de;
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right,
    hsla(45, 100%, 71%, 0.2) 0%,
    hsla(36, 100%, 69%, 0) 100%
  );
  --border-gradient-onyx: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 50%
  );
}

html[data-theme="light"] .navbar {
  background: hsla(35, 20%, 94%, 0.85);
}

html[data-theme="light"] body::before {
  background:
    radial-gradient(
      ellipse 60% 50% at 68% 38%,
      hsla(38, 100%, 62%, 0.22) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 45% at 18% 68%,
      hsla(195, 80%, 52%, 0.18) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 35% 30% at 50% 85%,
      hsla(320, 60%, 60%, 0.1) 0%,
      transparent 55%
    );
}
