* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --accent-color: #00d4ff;
  --accent-secondary: #007bff;
  --accent-gradient: linear-gradient(45deg, #00d4ff, #007bff);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(0, 212, 255, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --grid-color: rgba(0, 212, 255, 0.05);
  --shadow: rgba(0, 212, 255, 0.3);
  --button-hover-bg: rgba(0, 212, 255, 0.15);
}

[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
  --accent-color: #667eea;
  --accent-secondary: #764ba2;
  --accent-gradient: linear-gradient(45deg, #667eea, #764ba2);
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(102, 126, 234, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.25);
  --grid-color: rgba(102, 126, 234, 0.08);
  --shadow: rgba(102, 126, 234, 0.3);
  --button-hover-bg: rgba(102, 126, 234, 0.15);
}

/* Language Toggle */
.language-toggle {
  position: fixed;
  top: 130px;
  right: 30px;
  z-index: 1000;
  background: var(--glass-bg);
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px var(--shadow);
}

.language-icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.language-toggle:hover .language-icon {
  transform: rotate(20deg);
}

/* Theme Toggle */
.theme-toggle {
  position: fixed;
  top: 70px;
  right: 30px;
  z-index: 1000;
  background: var(--glass-bg);
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px var(--shadow);
}

.theme-icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
  transform: rotate(20deg);
}

html {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: all 0.3s ease;
}

body.loading {
  opacity: 0;
  transition: opacity 0.3s ease;
}

body {
  opacity: 1;
  transition: opacity 0.3s ease;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 5px var(--shadow);
}

.navbar-logo {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
}

.navbar-menu {
  display: flex;
  justify-content: center;
  flex-grow: 1;
  gap: 30px;
}

.navbar-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px; /* Eklenen kural */
}

.navbar-item:hover {
  color: var(--accent-color);
}

.navbar-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.navbar-item:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-icon {
  font-size: 0.8em;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 10px 0;
  min-width: 200px;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(10px);
}

[data-theme="dark"] .dropdown .dropdown-menu {
  background: rgba(26, 26, 26, 0.95);
}

@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.dropdown.active .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.dropdown.active .navbar-item {
  color: var(--accent-color);
}

.dropdown.active .navbar-item::after {
  width: 100%;
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1em;
  transition: all 0.3s ease;
  text-align: center;
}

.dropdown-item:hover {
  background: var(--button-hover-bg);
  color: var(--accent-color);
}

.navbar-toggle {
  display: none;
  font-size: 1.5em;
  color: var(--accent-color);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 30px;
  z-index: 1001;
}

.navbar-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggle span:nth-child(1) {
  top: 5px;
}

.navbar-toggle span:nth-child(2) {
  top: 13px;
}

.navbar-toggle span:nth-child(3) {
  top: 21px;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 13px;
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 13px;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 50px 0;
  margin-top: 40px;
  opacity: 1;
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 10;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animated background shapes */
.bg-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
}

.shape {
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.shape.active {
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

[data-theme="light"] .shape.active {
  opacity: 0.08;
}

.shape-square {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  transform: rotate(45deg);
  border-radius: 15px;
}

.shape-circle {
  width: 120px;
  height: 120px;
  background: var(--accent-gradient);
  border-radius: 50%;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 80px solid var(--accent-color);
}

.shape-hexagon {
  width: 80px;
  height: 80px;
  background: var(--accent-gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Animated background grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: -5;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  gap: 50px;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  flex-wrap: wrap;
}

.about-image-container {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about-image {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: contain;
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 20px var(--shadow);
}

.about-content {
  flex: 2;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
}

.about-content:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px var(--shadow);
  border-color: var(--accent-color);
}

.greeting {
  font-size: 3em;
  font-weight: 300;
  margin-bottom: 15px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  text-align: left;
}

.greeting .hello {
  display: inline;
}

.greeting .name {
  display: block;
}

.name {
  color: var(--accent-color);
  font-weight: 700;
  text-shadow: 0 0 20px var(--shadow);
}

.title {
  font-size: 2em;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.title-accent {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.description {
  font-size: 1.2em;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.9s forwards;
}

.buttons {
  display: flex;
  gap: 25px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.2s forwards;
}

.btn {
  padding: 15px 35px;
  border: 2px solid var(--accent-color);
  background: var(--glass-bg);
  color: var(--accent-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn:hover {
  background: var(--accent-gradient);
  color: var(--bg-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--shadow);
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--bg-primary);
  border-color: var(--accent-color);
}

.btn-primary:hover {
  background: var(--button-hover-bg);
  color: var(--accent-color);
}

.profile-section {
  position: relative;
  opacity: 0;
  animation: fadeInScale 1s ease-out 0.8s forwards;
}

.profile-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--accent-gradient);
  padding: 5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px var(--shadow);
}

.profile-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: contrast(1.2) brightness(1.1);
}

.glow-effect {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    var(--accent-color),
    transparent,
    var(--accent-secondary),
    transparent
  );
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Content Sections */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  z-index: 10;
}

.section-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.card,
.project-details {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 35px;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 10;
  text-decoration: none;
}

.card:hover,
.project-details:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px var(--shadow);
  border-color: var(--accent-color);
}

.card-title,
.project-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--accent-color);
  text-decoration: none;
}

.card-subtitle,
.project-subtitle {
  font-size: 1.2em;
  color: var(--text-secondary);
  margin-bottom: 10px;
  text-decoration: none;
}

.card-date,
.project-date {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  opacity: 0.8;
  text-decoration: none;
}

.card-description,
.project-description {
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 1.05em;
  text-decoration: none;
}

.card-image,
.project-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
  background: transparent;
}

[data-theme="dark"] .card-image,
[data-theme="dark"] .project-image {
  box-shadow: none;
  background: transparent;
}

.card:hover .card-image,
.project-details:hover .project-image {
  transform: scale(1.05);
}

/* Project Content */
.project-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
}

.project-content .project-title {
  font-size: 2em;
  margin-bottom: 10px;
}

.project-content .project-subtitle {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.project-content .project-date {
  font-size: 1em;
  margin-bottom: 20px;
}

.project-content .project-description {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
}

.project-content .project-details-content {
  margin-top: 30px;
}

.project-content .project-details-content h3 {
  font-size: 1.5em;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.project-content .project-details-content ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px;
}

.project-content .project-details-content li {
  padding: 10px 0;
  color: var(--text-secondary);
  font-size: 1.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.project-content .project-details-content li i {
  color: var(--accent-color);
}

/* Project Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.project-image-large {
  width: 100%;
  height: 350px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.project-image-large:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px var(--shadow);
}

/* Social Links for Contact Section */
.social-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.3em;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  transition: left 0.3s ease;
  z-index: -1;
}

.social-link:hover::before {
  left: 0;
}

.social-link:hover {
  color: var(--bg-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px var(--shadow);
}

/* Timeline for Experience Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  min-height: 100%;
  z-index: 10;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.5s ease-out;
  z-index: 0;
}

.timeline.visible::before {
  transform: scaleY(1);
}

.timeline-item {
  margin: 40px 0;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: flex;
  justify-content: flex-end;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--shadow);
  z-index: 5;
}

.timeline-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 25px;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  width: 45%;
  position: relative;
  z-index: 10;
}

.timeline-item:nth-child(even) .timeline-card {
  margin-left: 55%;
}

.timeline-item:nth-child(odd) .timeline-card {
  margin-right: 55%;
}

.timeline-card:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 30px var(--shadow);
  border-color: var(--accent-color);
}

/* Skills Section */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-category {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.skill-category:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow);
  border-color: var(--accent-color);
}

.skill-category-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-category-icon {
  font-size: 1.8em;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.skill-item {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: 25px;
  padding: 8px 16px;
  font-size: 0.9em;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-item:hover {
  background: var(--accent-color);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -3;
}

.floating-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: floatDot 4s ease-in-out infinite;
}

@keyframes floatDot {
  0%,
  100% {
    transform: translateY(0px);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-30px);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Footer */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--card-border);
  padding: 30px 50px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 1em;
  position: relative;
  z-index: 10;
}

footer p {
  margin: 0;
  line-height: 1.5;
}

footer .heart {
  color: var(--accent-color);
  font-size: 1.2em;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1200px) {
  .navbar {
    padding: 15px 30px;
  }

  .hero {
    padding: 0 30px;
    gap: 40px;
  }

  .content-section {
    padding: 0 30px;
  }

  .about-container {
    padding: 0 30px;
  }

  .profile-circle {
    width: 350px;
    height: 350px;
  }

  .about-image {
    width: 300px;
    height: 300px;
  }

  .greeting {
    font-size: 2.5em;
  }

  .title {
    font-size: 1.8em;
  }

  .section-title {
    font-size: 3em;
  }

  .cards-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .project-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .project-content {
    padding: 0 30px;
  }

  .card-image,
  .project-image {
    height: 180px;
  }

  .project-image-large {
    height: 300px;
  }

  footer {
    padding: 20px 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .navbar-menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-bottom: 1px solid var(--card-border);
    z-index: 999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    height: auto;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .navbar-menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .navbar-toggle {
    display: block;
  }

  .navbar-item {
    margin: 15px 0;
    font-size: 1.2em;
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .dropdown .navbar-item::after {
    display: none;
  }

  .dropdown .dropdown-menu {
    display: none;
    position: static;
    transform: none;
    background: transparent;
    border: none;
    padding: 10px 0;
    width: 100%;
    text-align: center;
  }

  .dropdown.active .dropdown-menu {
    display: block;
    opacity: 1;
    transform: none;
  }

  .dropdown-item {
    margin: 10px 0;
    font-size: 1.1em;
    text-align: left;
    width: 100%;
    padding: 10px 30px;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
  }

  .dropdown-item::before {
    content: "•";
    margin-right: 10px;
    color: var(--accent-color);
  }

  .dropdown-item:hover {
    color: var(--accent-color);
    background: var(--button-hover-bg);
    border-radius: 5px;
  }

  .hero {
    flex-direction: column;
    text-align: left;
    padding: 20px;
    gap: 30px;
  }

  .hero-left {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
  }

  .hero-right {
    order: 1;
  }

  .profile-circle {
    width: 300px;
    height: 300px;
  }

  .about-image {
    width: 250px;
    height: 250px;
  }

  .greeting {
    font-size: 2.2em;
    text-align: left;
  }

  .title {
    font-size: 1.6em;
  }

  .section-title {
    font-size: 2.5em;
  }

  .content-section {
    padding: 0 20px;
  }

  .about-container {
    padding: 0 20px;
    flex-direction: column;
    align-items: center;
  }

  .about-image-container {
    min-width: 0;
  }

  .about-content {
    width: 100%;
    padding: 30px;
  }

  .buttons {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  .project-content {
    padding: 0 20px;
  }

  .project-content .project-title {
    font-size: 1.8em;
  }

  .project-content .project-subtitle {
    font-size: 1.2em;
  }

  .project-content .project-description {
    font-size: 1em;
  }

  .skills-container {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
    z-index: 0;
  }

  .timeline-item::before {
    left: 20px;
    transform: translateX(-50%);
    z-index: 5;
  }

  .timeline-item {
    justify-content: flex-start;
  }

  .timeline-card {
    width: calc(100% - 60px);
    margin-left: 50px;
    margin-right: 10px;
  }

  .timeline-item:nth-child(even) .timeline-card,
  .timeline-item:nth-child(odd) .timeline-card {
    margin-left: 50px;
    margin-right: 10px;
  }

  .theme-toggle {
    top: 60px;
    right: 15px;
    padding: 8px 15px;
    font-size: 0.9em;
  }

  .language-toggle {
    top: 110px;
    right: 15px;
    padding: 8px 15px;
    font-size: 0.9em;
  }

  .card-image,
  .project-image {
    height: 160px;
  }

  .project-image-large {
    height: 300px;
  }

  footer {
    padding: 15px 20px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 10px 15px;
  }

  .navbar-logo {
    font-size: 1.3em;
  }

  .navbar-toggle {
    width: 25px;
    height: 25px;
  }

  .navbar-toggle span {
    height: 2px;
  }

  .navbar-toggle span:nth-child(1) {
    top: 4px;
  }

  .navbar-toggle span:nth-child(2) {
    top: 11px;
  }

  .navbar-toggle span:nth-child(3) {
    top: 18px;
  }

  .navbar-toggle.active span:nth-child(1) {
    top: 11px;
  }

  .navbar-toggle.active span:nth-child(3) {
    top: 11px;
  }

  .navbar-menu {
    padding: 15px;
  }

  .navbar-item {
    font-size: 1em;
    margin: 10px 0;
  }

  .dropdown-item {
    font-size: 0.9em;
    margin: 8px 0;
    padding: 8px 25px;
  }

  .profile-circle {
    width: 250px;
    height: 250px;
  }

  .about-image {
    width: 200px;
    height: 200px;
  }

  .greeting {
    font-size: 1.8em;
  }

  .title {
    font-size: 1.4em;
  }

  .section-title {
    font-size: 2em;
  }

  .btn {
    padding: 12px 25px;
    font-size: 1em;
  }

  .card,
  .project-details {
    padding: 25px;
  }

  .card-title,
  .project-title {
    font-size: 1.4em;
  }

  .card-description,
  .project-description {
    font-size: 1em;
  }

  .skill-category {
    padding: 20px;
  }

  .skill-category-title {
    font-size: 1.2em;
  }

  .skill-item {
    font-size: 0.85em;
  }

  .content-section {
    padding: 0 15px;
  }

  .about-container {
    padding: 0 15px;
  }

  .project-image-large {
    height: 250px;
  }

  .card-image,
  .project-image {
    height: 140px;
  }

  .project-content {
    padding: 0 15px;
  }

  .project-content .project-title {
    font-size: 1.6em;
  }

  .project-content .project-subtitle {
    font-size: 1.1em;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1em;
  }

  .theme-toggle {
    top: 50px;
    right: 10px;
    padding: 6px 12px;
    font-size: 0.8em;
  }

  .language-toggle {
    top: 100px;
    right: 10px;
    padding: 6px 12px;
    font-size: 0.8em;
  }

  .language-icon {
    font-size: 1em;
  }

  .language-text {
    font-size: 0.9em;
  }

  footer {
    padding: 10px 15px;
    font-size: 0.85em;
  }
}
