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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #1A1A1A 0%, #0D0D0D 100%);
  color: #F1F1F1;
  min-height: 100vh;
  line-height: 1.6;
}

h3 {
  font-size: 1.2rem;
  color: #F1F1F1;
  margin-bottom: 0.5rem;
}

.navbar-container {
  background: #1A1A1A;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 1rem 0;
}

.navbar-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.link-btn:hover {
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}

.navbar-content a {
  text-decoration: none;
  color: #F1F1F1;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.navbar-content a:hover {
  color: #FF6B6B;
  background: rgba(255, 107, 107, 0.1);
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  overflow: visible;
}

.nav-text {
  position: relative;
  z-index: 2;
}

.nav-indicator {
  position: relative;
  width: 100%;
  height: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.indicator-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0);
}

.indicator-line {
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #FF6B6B, #FFA500);
  border-radius: 1px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.active-link {
  color: #FF6B6B;
}

.active-link .indicator-dot {
  background: linear-gradient(135deg, #FF6B6B, #FFA500);
  transform: scale(1);
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.active-link .indicator-line {
  width: 100%;
}

.active-link:hover {
  background: rgba(255, 107, 107, 0.15);
}

.nav-link:hover .indicator-dot {
  transform: scale(0.7);
  background: rgba(255, 107, 107, 0.6);
}

.nav-link:hover .indicator-line {
  width: 50%;
  background: rgba(255, 107, 107, 0.6);
}

.hero-section-container {
  background: linear-gradient(120deg, #1A1A1A 0%, #0D0D0D 100%);
  padding: 3rem 1rem 2rem 1rem;
}

.hero-section-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
}

.profile-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  flex-direction: column;
  margin: 0 auto;
  width: 100%;
}

.profile-image img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  background: #1A1A1A;
  border: 3px solid #FF6B6B;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.profile-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.profile-text h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #F1F1F1;
}

.profile-text p {
  font-size: 1.1rem;
  color: #F1F1F1;
}

.profile-text h3 {
  margin-bottom: 0.7rem;
  text-align: center;
}

.tech-container {
  background: linear-gradient(120deg, #1A1A1A 0%, #0D0D0D 100%);
  padding: 2rem 1rem;
}

.tech-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-content h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #F1F1F1;
}

.tech-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tech {
  background: #1A1A1A;
  color: #F1F1F1;
  padding: 0.7rem 1.5rem;
  border-radius: 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
  min-height: 70px;
}

/* Progress Bar Styles */
.progress-bar-container {
  width: 100px;
  background: #1A1A1A;
  border-radius: 1rem;
  height: 12px;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #FFA500 60%, #FF6B6B 100%);
  border-radius: 1rem 0 0 1rem;
  transition: width 0.6s cubic-bezier(.4,2,.3,1);
}

.progress-label {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #F1F1F1;
  font-weight: 600;
  text-shadow: 0 1px 2px #0D0D0D88;
}

.project-container {
  background: linear-gradient(120deg, #1A1A1A 0%, #0D0D0D 100%);
  min-height: 60vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 1rem 2rem 1rem;
}

.project-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.project-content h1,
.project-content h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 1.2rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(255,209,102,0.08);
}

.project-item {
  display: flex;
  align-items: center;
  background: rgba(34, 34, 34, 0.97);
  border-radius: 1.5rem;
  box-shadow: 0 6px 32px rgba(0,0,0,0.25);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
  gap: 2.2rem;
  transition: transform 0.18s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.18s;
  position: relative;
  overflow: hidden;
}

.project-item:hover {
  transform: translateY(-6px) scale(1.025);
  box-shadow: 0 12px 48px rgba(255,107,107,0.13), 0 2px 24px rgba(255,209,102,0.10);
}



.image-project {
  flex: 0 0 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(255,107,107,0.10);
  background: #232323;
}

.project-item img.image-project {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-item:hover img.image-project {
  transform: scale(1.08) rotate(-2deg);
}

.project-item h2 {
  color: #FF6B6B;
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
  letter-spacing: 0.5px;
}

.project-item p {
  color: #F1F1F1;
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
  opacity: 0.92;
}

.link-btn {
  display: inline-block;
  background: linear-gradient(90deg, #FF6B6B 0%, #FFD166 100%);
  color: #181818;
  font-weight: 600;
  text-align: center;
  padding: 0.55rem 1.3rem;
  border-radius: 2rem;
  margin-right: 0.7rem;
  margin-top: 0.3rem;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(255,107,107,0.10);
  transition: background 0.2s, color 0.2s, transform 0.18s;
}

.link-btn:hover {
  background: linear-gradient(90deg, #FFD166 0%, #FF6B6B 100%);
  color: #232323;
  transform: scale(1.07);
  box-shadow: 0 4px 24px rgba(255,209,102,0.18);
}

.fade-in {
  animation: fadeInUp 1s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered Fade In Animation for Landing Page */
.hero-section-container.fade-in {
  animation-delay: 0.1s;
}
.tech-container.fade-in {
  animation-delay: 0.5s;
}
.project-container.fade-in {
  animation-delay: 0.9s;
}

/* Footer Styles */
.footer {
  width: 100%;
  background: #181818;
  color: #B0B0B0;
  text-align: center;
  padding: 1.1rem 0 1rem 0;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-top: 1px solid #232323;
  margin-top: 3rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
}

.footer span {
  color: #FF6B6B;
  font-weight: 500;
}

@media (max-width: 700px) {
  .footer {
    font-size: 0.92rem;
    padding: 0.8rem 0 0.7rem 0;
  }
}


/* About Me Short Section */
.about-me-short {
  background: #1A1A1A;
  border-left: 4px solid #FF6B6B;
  border-radius: 0.7rem;
  padding: 1rem 1.2rem;
  margin-top: 0.7rem;
  font-size: 1.05rem;
  color: #F1F1F1;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 0.7rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Tagline Style */
.tagline {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.5rem 0 1.2rem 0;
  text-align: center;
  letter-spacing: 0.01em;
  width: 100%;
  color: #FF6B6B;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .navbar-content, .hero-section-content, .tech-content, .project-content, .footer-content {
    max-width: 95vw;
    padding: 0 1rem;
  }
  .profile-content {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
  .project-item {
    max-width: 100%;
    align-items: center;
  }
  .project-content {
    padding: 0 0.5rem;
  }
  .project-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1rem;
    gap: 1.2rem;
  }
  .image-project {
    width: 100%;
    height: 180px;
    margin-bottom: 0.7rem;
  }
}

@media (max-width: 600px) {
  .navbar-content {
    gap: 0.5rem;
    padding: 0 0.5rem;
  }
  
  .navbar-content a {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }
  
  /* Adjust navigation for mobile */
  .nav-indicator {
    height: 15px;
  }
  
  .indicator-dot {
    width: 4px;
    height: 4px;
  }
  
  .indicator-line {
    height: 1px;
  }
  
  .navbar-content a {
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .hero-section-container {
    padding: 1.5rem 0.5rem 1rem 0.5rem;
  }
  
  .profile-content {
    gap: 1rem;
  }
  
  .profile-image img {
    width: 140px;
    height: 140px;
  }
  
  .profile-text h1 {
    font-size: 1.5rem;
  }
  
  .tagline {
    font-size: 0.9rem;
  }
  
  .about-me-short {
    font-size: 0.9rem;
    padding: 0.7rem 0.8rem;
    margin: 0.3rem 0;
  }
  
  .tech-grid {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }
  
  .tech {
    width: 100%;
    max-width: 200px;
    min-height: 55px;
    padding: 0.5rem 0.8rem;
  }
  
  .project-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0.8rem;
  }
  
  .image-project {
    width: 100%;
    height: 140px;
    margin-bottom: 1rem;
  }
  
  .project-item h2 {
    font-size: 1.1rem;
  }
  
  .project-item p {
    font-size: 0.9rem;
  }
  
  .link-btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .navbar-content {
    gap: 0.3rem;
  }
  
  .navbar-content a {
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
  }
  
  /* Adjust navigation for mobile */
  .nav-indicator {
    height: 12px;
  }
  
  .indicator-dot {
    width: 3px;
    height: 3px;
  }
  
  .indicator-line {
    height: 1px;
  }
  
  .profile-image img {
    width: 120px;
    height: 120px;
  }
  
  .profile-text h1 {
    font-size: 1.3rem;
  }
  
  .tagline {
    font-size: 0.85rem;
  }
  
  .about-me-short {
    font-size: 0.85rem;
    padding: 0.6rem 0.7rem;
  }
  
  .tech {
    min-height: 50px;
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
  }
  
  .progress-bar-container {
    width: 70px;
    height: 8px;
  }
  
  .progress-label {
    font-size: 0.7rem;
  }
  
  .project-content h1 {
    font-size: 1.2rem;
  }
  
  .image-project {
    height: 120px;
  }
  
  .project-item h2 {
    font-size: 1rem;
  }
  
  .project-item p {
    font-size: 0.85rem;
  }
  
  .link-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  

}

@media (max-width: 360px) {
  .navbar-content {
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  
  .navbar-content a {
    font-size: 0.75rem;
    padding: 0.25rem 0.4rem;
    flex: 1;
    min-width: 60px;
  }
  
  /* Adjust navigation for mobile */
  .nav-indicator {
    height: 10px;
  }
  
  .indicator-dot {
    width: 2px;
    height: 2px;
  }
  
  .indicator-line {
    height: 1px;
  }
  
  .profile-image img {
    width: 100px;
    height: 100px;
  }
  
  .profile-text h1 {
    font-size: 1.1rem;
  }
  
  .tagline {
    font-size: 0.8rem;
  }
  
  .about-me-short {
    font-size: 0.8rem;
    padding: 0.5rem 0.6rem;
  }
  
  .tech {
    min-height: 45px;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .image-project {
    height: 100px;
  }
  
  .project-item h2 {
    font-size: 0.95rem;
  }
  
  .project-item p {
    font-size: 0.8rem;
  }
  
  .link-btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.7rem;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .link-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .navbar-content a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .tech {
    min-height: 44px;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section-container {
    padding: 1rem 1rem 0.5rem 1rem;
  }
  
  .profile-content {
    flex-direction: row;
    gap: 1rem;
  }
  
  .profile-image img {
    width: 80px;
    height: 80px;
  }
  
  .profile-text h1 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }
  
  .tagline {
    font-size: 0.9rem;
    margin: 0.2rem 0 0.5rem 0;
  }
  
  .about-me-short {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    margin: 0.2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .profile-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
  }
  
  .project-item:hover {
    transform: none;
  }
  
  .link-btn:hover {
    transform: none;
  }
  
  .navbar-content a:hover {
    transform: none;
  }
}

/* Mobile Navigation Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #F1F1F1;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Mobile menu styles */
@media (max-width: 600px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 4rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.3);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: center;
    border-radius: 0.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
  }
  
  .nav-links a:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateX(5px);
  }
  
  .navbar-content {
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }
  
  .nav-indicator {
    display: none;
  }
  
  /* Ensure active link is still visible on mobile */
  .active-link {
    color: #FF6B6B !important;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 0.5rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    width: 220px;
  }
  
  .nav-links a {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}

@media (max-width: 360px) {
  .nav-links {
    width: 200px;
  }
  
  .nav-links a {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
  
  .mobile-menu-toggle span {
    width: 22px;
    height: 2.5px;
  }
}

/* Overlay for mobile menu */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Additional Mobile UX Improvements */

/* Touch-friendly button improvements */
.touch-device .link-btn {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.touch-device .navbar-content a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

.touch-device .tech {
  min-height: 44px;
  touch-action: manipulation;
}

/* Better mobile scrolling */
@media (max-width: 768px) {
  html {
    scroll-behavior: smooth;
  }
  
  body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Hide indicators on mobile */
  .nav-indicator {
    display: none;
  }
  
  /* Ensure active link is still visible on mobile */
  .active-link {
    color: #FF6B6B !important;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 0.5rem;
  }
}

/* Improved mobile focus states */
@media (max-width: 768px) {
  .link-btn:focus,
  .navbar-content a:focus,
  .tech:focus {
    outline: 2px solid #FF6B6B;
    outline-offset: 2px;
  }
}

/* Better mobile loading states */
.project-item {
  will-change: transform;
}

.project-item:hover {
  will-change: auto;
}

/* Mobile-specific animations */
@media (max-width: 768px) {
  .fade-in {
    animation-duration: 0.6s;
  }
  
  .project-item:hover {
    transform: translateY(-3px) scale(1.02);
  }
  
  .link-btn:hover {
    transform: scale(1.05);
  }
}

/* Better mobile text rendering */
@media (max-width: 768px) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}

/* Mobile-specific spacing improvements */
@media (max-width: 480px) {
  .hero-section-container,
  .tech-container,
  .project-container {
    scroll-margin-top: 80px;
  }
}

/* Better mobile image loading */
.image-project img {
  loading: lazy;
}

/* Mobile-specific hover states */
@media (hover: none) {
  .project-item:hover {
    transform: none;
  }
  
  .link-btn:hover {
    transform: none;
  }
  
  .navbar-content a:hover {
    transform: none;
  }
  
  .tech:hover {
    transform: none;
  }
}

/* Mobile-specific active states */
@media (hover: none) {
  .project-item:active {
    transform: scale(0.98);
  }
  
  .link-btn:active {
    transform: scale(0.95);
  }
  
  .navbar-content a:active {
    background: rgba(255, 107, 107, 0.2);
  }
  
  .tech:active {
    transform: scale(0.95);
  }
}

/* Better mobile form elements */
@media (max-width: 768px) {
  input, textarea, select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Mobile-specific performance optimizations */
@media (max-width: 768px) {
  .project-item {
    contain: layout style paint;
  }
  
  .tech {
    contain: layout style paint;
  }
} 