:root {
  --orange: #ff8c42;
  --orange-dark: #e07a35;
  --black: #0f0f0f;
  --dark: #1a1a1a;
  --light: #f5f5f5;
  --white: #ffffff;
  --gray: #e0e0e0;
  --gray-text: #888888;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 24px;
  --radius-pill: 999px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light);
  color: var(--black);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 1100px;
  height: 64px;
  background: var(--black);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

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

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

.logo-icon {
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}

.logo-text {
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.nav-link {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  cursor: pointer;
}

.nav-link:hover {
  color: var(--orange);
  opacity: 0.85;
}

.nav-link.active {
  background: var(--orange);
  color: var(--white);
  padding: 8px 20px;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: 88%;
  max-width: 1100px;
  background: var(--black);
  border-radius: 20px;
  padding: 16px 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mobile-nav-link {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-align: center;
}

.mobile-nav-link:hover {
  color: var(--orange);
}

.mobile-nav-link.active {
  background: var(--orange);
  color: var(--white);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 700px;
}

.hero-badge {
  background: var(--gray);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
}

.hero-title .highlight {
  color: var(--orange);
}

.hero-image-wrapper {
  position: relative;
  width: 280px;
  height: 340px;
  margin: 20px 0;
}

.hero-blob {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.25;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray);
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-side {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hero-side-left {
  left: 40px;
}

.hero-side-right {
  right: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 200px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.testimonial-author {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--orange);
  font-size: 0.8rem;
}

.experience-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stars {
  display: flex;
  gap: 4px;
}

.experience-text {
  font-weight: 600;
  font-size: 0.85rem;
}

/* ===== PROJECTS SECTION ===== */
.projects {
  background: url('../glasswallpaper.jpg') center/cover no-repeat fixed;
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 0;
}

.projects-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--orange);
  top: -100px;
  right: -100px;
  opacity: 0.15;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: var(--orange);
  bottom: -80px;
  left: -80px;
  opacity: 0.12;
}

.shape-3 {
  width: 250px;
  height: 250px;
  background: var(--orange-dark);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.1;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-title .white {
  color: var(--white);
}

.section-title .orange {
  color: var(--orange);
}

.glass-container {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(255, 255, 255, 0.3);
  border-left-color: rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto;
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.glass-container:hover {
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05),
    0 0 30px rgba(255, 140, 66, 0.08);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.12) 100%
  );
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 0 20px rgba(255, 140, 66, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.3);
}

.card-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.card-image {
  width: 100%;
  height: 160px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.card-mockup {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}

.mockup-python {
  background-image: url('../python.jfif');
  background-size: cover;
  background-position: center;
}

.mockup-web {
  background-image: url('../webdev.jfif');
  background-size: cover;
  background-position: center;
}

.mockup-java {
  background-image: url('../java.jfif');
  background-size: cover;
  background-position: center;
}

.mockup-test {
  background-image: url('../testprojects.jfif');
  background-size: cover;
  background-position: center;
}

.card-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.card-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.project-card:hover .card-arrow {
  background: var(--orange);
  border-color: var(--orange);
  transform: rotate(0deg);
}

/* ===== EXPERIENCE SECTION ===== */
.experience {
  background: var(--light);
  padding: 100px 24px;
}

.section-title-light {
  color: var(--black);
}

.section-title-light .white {
  color: var(--black);
}

.timeline {
  max-width: 900px;
  margin: 0 auto;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 40px;
}

.timeline-left {
  text-align: right;
}

.timeline-left h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-left .date {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
}

.timeline-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-orange {
  background: var(--orange);
}

.dot-dark {
  background: var(--black);
}

.timeline-line {
  width: 2px;
  flex: 1;
  min-height: 60px;
  background: var(--gray);
  margin-top: 8px;
}

.timeline-right h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-right p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===== WHY HIRE ME SECTION ===== */
.hire-me {
  background: var(--white);
  padding: 100px 24px;
}

.hire-me-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.hire-me-image img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-title-left {
  text-align: left;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hire-me-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 32px;
}

.stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-top: 4px;
}

/* ===== CONTACT / FOOTER ===== */
.contact {
  background: var(--black);
  padding: 100px 24px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.contact-text {
  color: var(--gray-text);
  font-size: 1.1rem;
  max-width: 500px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.footer {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 800px;
}

.footer p {
  color: var(--gray-text);
  font-size: 0.85rem;
}

/* ===== CAROUSEL DOTS ===== */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.carousel-dot.active {
  background: var(--orange);
  width: 24px;
  border-radius: 4px;
}

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

  .glass-container {
    padding: 24px;
  }

  .hero-side {
    display: none;
  }
}

@media (max-width: 768px) {
  .projects {
    background-attachment: scroll;
  }

  .hamburger {
    display: flex;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .navbar {
    width: 92%;
    padding: 0 20px;
    height: 60px;
  }

  .mobile-menu {
    display: flex;
    top: 92px;
    width: 92%;
  }

  .logo-text {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-title-left {
    font-size: 2rem;
  }

  .projects-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 8px 24px 16px;
    max-width: 100%;
    scrollbar-width: none;
  }

  .projects-grid::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    flex: 0 0 85vw;
    scroll-snap-align: center;
    min-width: 0;
  }

  .glass-container {
    padding: 24px 0 20px;
    border-radius: 20px;
    max-width: 95vw;
    margin: 0 auto;
  }

  .carousel-dots {
    display: flex;
  }

  .timeline-row {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .timeline-left {
    grid-column: 2;
    text-align: left;
  }

  .timeline-center {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .timeline-right {
    grid-column: 2;
  }

  .hire-me-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hire-me-image {
    display: flex;
    justify-content: center;
  }

  .stats {
    justify-content: center;
  }

  .section-title-left {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-left,
  .nav-right {
    gap: 4px;
  }

  .nav-link {
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}
