.onesignal-img {
  background: #fff;
  padding: 8px;
}

.form-message {
  margin-top: 30px;
  font-size: 1.3rem;
  text-align: center;
}

.projects-empty {
  grid-column: 1/-1;
  text-align: center;
  color: #a8a8b3;
}
.skills-empty {
  grid-column: 1/-1;
  text-align: center;
  color: #a8a8b3;
}
.skills-error {
  grid-column: 1/-1;
  text-align: center;
  color: #ff4444;
}
.projects-error {
  grid-column: 1/-1;
  text-align: center;
  color: #ff4444;
}
.certificates-empty {
  grid-column: 1/-1;
  text-align: center;
  color: #a8a8b3;
  font-size: 1.2rem;
  padding: 60px 20px;
}
.certificates-error {
  grid-column: 1/-1;
  text-align: center;
  color: #ff4444;
}
.explore-btn span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.explore-btn {
  display: inline-flex;
  align-self: flex-end;
  margin-top: 18px;
  margin-bottom: 0;
  padding: 8px 24px;
  background: #bc13fe;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(188, 19, 254, 0.08);
}

.explore-btn:hover,
.explore-btn:focus {
  background: #fff;
  color: #bc13fe;
  box-shadow: 0 4px 16px rgba(188, 19, 254, 0.18);
  outline: none;
  transform: translateY(-3px);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 0, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(188, 19, 254, 0.2);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #bc13fe;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #bc13fe;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #bc13fe;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.admin-link {
  padding: 0.5rem 1rem;
  border: 1px solid #bc13fe;
  border-radius: 6px;
  color: #bc13fe;
}

.nav-link.admin-link:hover {
  background: #bc13fe;
  color: #000;
}

#vurgu {
  color: #bc13fe;
  font-weight: 600;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #bc13fe;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

body {
  padding-top: 70px;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 0, 26, 0.98);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(188, 19, 254, 0.2);
  }

  .nav-menu.active {
    max-height: 300px;
  }

  .nav-link {
    display: block;
    padding: 1rem 5%;
    border-bottom: 1px solid rgba(188, 19, 254, 0.1);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.admin-link {
    border: none;
    border-radius: 0;
    color: #bc13fe;
  }
}

html,
body {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

body {
  background: linear-gradient(
    -45deg,
    #0a001a,
    #000000,
    #1a0033,
    #0f0022,
    #000000
  );
  background-size: 400% 400%;
  animation: deepGradient 20s ease infinite;
  background-attachment: fixed;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

@keyframes deepGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(188, 19, 254, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 120px 0 100px;
}

.hero-text,
.hero-right {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: center;
}

.I {
  font-family: "Lexend Deca", sans-serif;

  font-size: 4rem;
  line-height: 1.2;
}

.I span {
  color: #bc13fe;
  letter-spacing: 3px;
}

.dev {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  margin-top: 20px;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 40px;
  border: 4px solid #bc13fe;
  box-shadow: 0 0 40px rgba(188, 19, 254, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro {
  font-size: 1.6rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.contact-links.horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 50px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 28px;
  background: rgba(188, 19, 254, 0.1);
  border: 1px solid rgba(188, 19, 254, 0.3);
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 1.2rem;
  transition: 0.4s;
}

.contact-item:hover {
  background: rgba(188, 19, 254, 0.3);
  border-color: #bc13fe;
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(188, 19, 254, 0.4);
}

.contact-item i {
  font-size: 24px;
  color: #bc13fe;
}

.cta-button {
  display: inline-block;
  padding: 16px 45px;
  background: transparent;
  border: 2px solid #bc13fe;
  color: #bc13fe;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.4s;
  margin-top: 40px;
}

.cta-button:hover {
  background: #bc13fe;
  color: #000;
  box-shadow: 0 0 40px rgba(188, 19, 254, 0.6);
}

.tech-marquee {
  margin-top: 80px;
  overflow: hidden;
  width: 100%;
}

.marquee-wrapper {
  display: flex;
}

.marquee-content {
  display: flex;
  gap: 60px;
  animation: infinite-scroll 35s linear infinite;
}

@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 90px;
}

.skill-item img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid #bc13fe;
  background: #111;
  padding: 10px;
  object-fit: contain;
  box-shadow: 0 0 30px rgba(188, 19, 254, 0.6);
}

.skill-item span {
  margin-top: 15px;
  font-size: 1rem;
}

.section {
  padding: 120px 0;
  text-align: center;
}

.section-title {
  font-family: "Lexend Deca", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 80px;
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: #bc13fe;
  margin: 30px auto;
  box-shadow: 0 0 20px #bc13fe;
}

.about-text p {
  max-width: 800px;
  margin: 30px auto;
  font-size: 1.3rem;
  line-height: 2;
}

.portfolio-section {
  padding: 120px 0;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  padding: 0 20px;
}

.stat-card {
  background: linear-gradient(
    135deg,
    rgba(188, 19, 254, 0.15),
    rgba(188, 19, 254, 0.05)
  );
  border: 1px solid rgba(188, 19, 254, 0.3);
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  border-color: #bc13fe;
  box-shadow: 0 10px 40px rgba(188, 19, 254, 0.3);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #bc13fe;
  margin-bottom: 10px;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.filter-btn {
  padding: 12px 35px;
  background: rgba(188, 19, 254, 0.1);
  border: 2px solid rgba(188, 19, 254, 0.4);
  border-radius: 50px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.filter-btn:hover {
  background: rgba(188, 19, 254, 0.2);
  border-color: #bc13fe;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(188, 19, 254, 0.3);
}

.filter-btn.active {
  background: #bc13fe;
  color: #000;
  border-color: #bc13fe;
  box-shadow: 0 5px 20px rgba(188, 19, 254, 0.5);
}

.portfolio-content {
  width: 100%;
  min-height: 400px;
}

.content-section {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.certificate-card {
  width: 100%;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(188, 19, 254, 0.3);
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.certificate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(188, 19, 254, 0.4);
  border-color: #bc13fe;
  background: rgba(188, 19, 254, 0.1);
}

.certificate-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.certificate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.certificate-card:hover .certificate-image img {
  transform: scale(1.1);
}

.certificate-content {
  padding: 25px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.certificate-content h3 {
  font-size: 1.4rem;
  color: #bc13fe;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.certificate-content p {
  font-size: 1rem;
  color: #e0e0e0;
  margin: 5px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.certificate-content p i {
  color: #bc13fe;
  font-size: 0.9rem;
}

.certificate-issuer {
  font-weight: 600;
}

.certificate-date {
  opacity: 0.8;
  font-size: 0.95rem;
}

.certificate-owner {
  opacity: 0.7;
  font-size: 0.9rem;
}

.certificate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(188, 19, 254, 0.2);
  border: 1px solid rgba(188, 19, 254, 0.5);
  border-radius: 50px;
  color: #bc13fe;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.certificate-link:hover {
  background: #bc13fe;
  color: #000;
  border-color: #bc13fe;
  box-shadow: 0 5px 15px rgba(188, 19, 254, 0.3);
}

.certificate-link i {
  font-size: 0.85rem;
}

.certificates-empty {
  grid-column: 1/-1;
  text-align: center;
  color: #a8a8b3;
  font-size: 1.2rem;
  padding: 60px 20px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-card {
  padding: 20px 25px;
  background: linear-gradient(
    135deg,
    rgba(138, 43, 226, 0.15) 0%,
    rgba(75, 0, 130, 0.15) 100%
  );
  border-radius: 15px;
  border: 2px solid rgba(188, 19, 254, 0.4);
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.skill-card:hover {
  transform: translateY(-5px);
  border-color: #bc13fe;
  box-shadow: 0 8px 30px rgba(188, 19, 254, 0.4);
  background: linear-gradient(
    135deg,
    rgba(138, 43, 226, 0.25) 0%,
    rgba(75, 0, 130, 0.25) 100%
  );
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.skill-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.skill-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(188, 19, 254, 0.3);
}

.skill-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.skill-percentage {
  font-size: 1.3rem;
  font-weight: 700;
  color: #bc13fe;
  min-width: 55px;
  text-align: right;
}

.skill-progress-bar {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #bc13fe 0%, #7c3aed 50%, #4ade80 100%);
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(188, 19, 254, 0.6);
  position: relative;
}

.skill-progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.project-card {
  width: 100%;
  max-width: 350px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(188, 19, 254, 0.3);
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  box-shadow: 0 20px 40px rgba(188, 19, 254, 0.25);
  border-color: #bc13fe;
  background: rgba(188, 19, 254, 0.1);
  transform: translateY(-1200px);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  transition: all 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-content {
  padding: 25px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 180px;
}

.project-content h3 {
  font-size: 1.4rem;
  color: #bc13fe;
  margin: 0 0 10px 0;
}

.project-content p {
  font-size: 0.95rem;
  color: #a8a8b3;
  line-height: 1.5;
  margin: 0;
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  border-radius: 15px;
  border: 1px solid rgba(188, 19, 254, 0.4);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.1rem;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #bc13fe;
  box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
}

.submit-btn {
  align-self: center;
  padding: 16px 50px;
  background: transparent;
  border: 2px solid #bc13fe;
  color: #bc13fe;
  font-size: 1.3rem;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.4s;
}

.submit-btn:hover {
  background: #bc13fe;
  color: #000;
}

.footer {
  padding: 60px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links a {
  color: #bc13fe;
  margin: 0 15px;
  text-decoration: none;
}

.scroll-down {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  50% {
    transform: translateY(-20px) translateX(-50%);
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 32px;
  background: rgba(188, 19, 254, 0.1);
  border: 1px solid rgba(188, 19, 254, 0.3);
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.4s ease;
  min-width: 160px;
  justify-content: center;
  white-space: nowrap;
}

.contact-item img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 100px 0 80px;
  }

  .I {
    font-size: 4rem;
  }
  .dev {
    font-size: 3rem;
  }
  .contact-item {
    padding: 14px 28px;
    font-size: 1.1rem;
    min-width: 140px;
    width: 80%;
    max-width: 300px;
    white-space: normal;
    text-align: center;
  }

  .contact-item img {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .hero-text {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
  }
  .I {
    font-size: 2.5rem;
  }
  .dev {
    font-size: 1rem;
  }

  .profile-image {
    width: 220px;
    height: 220px;
  }

  .marquee-content {
    gap: 40px;
    animation-duration: 30s;
  }
  .skill-item img {
    width: 60px;
    height: 60px;
  }

  .skills-grid {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .skill-card {
    padding: 15px 20px;
  }

  .skill-icon {
    width: 40px;
    height: 40px;
  }

  .skill-name {
    font-size: 1rem;
  }

  .skill-percentage {
    font-size: 1.1rem;
  }

  .skill-progress-bar {
    height: 10px;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .project-card img {
    height: 220px;
  }

  .contact-links.horizontal {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .contact-item {
    padding: 14px 24px;
    font-size: 1.1rem;
    min-width: auto;
    width: 80%;
    max-width: 300px;
    white-space: normal;
    text-align: center;
  }

  .contact-item img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .contact-item {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .contact-item img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 768px) {
  .filter-buttons {
    gap: 12px;
    padding: 0 20px;
  }

  .filter-btn {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .filter-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .certificates-empty {
    font-size: 1rem;
    padding: 40px 15px;
  }

  .skill-card {
    padding: 12px 15px;
  }

  .skill-icon {
    width: 35px;
    height: 35px;
  }

  .skill-name {
    font-size: 0.9rem;
  }

  .skill-percentage {
    font-size: 1rem;
    min-width: 50px;
  }

  .skill-progress-bar {
    height: 8px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .certificate-card {
    max-width: 100%;
  }

  .certificate-content h3 {
    font-size: 1.2rem;
  }

  .certificate-content p {
    font-size: 0.9rem;
  }

  .certificate-link {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}
