:root {
  --primary-color: #2563eb;
  --secondary-color: #3b82f6;
  --accent-color: #60a5fa;
  --dark-bg: #0f172a;
  --darker-bg: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --border-color: #334155;
  --card-bg: #1e293b;
  --hover-color: #3b82f6;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  scroll-behavior: smooth;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
}

.navbar {
  background-color: var(--navbar-bg) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--navbar-text) !important;
  text-shadow: 0 2px 4px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.navbar .nav-items {
  margin-left: auto;
}

.nav-link {
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--navbar-text) !important;
  position: relative;
  padding: 0.5rem 1rem !important;
  margin: 0 0.2rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--navbar-text);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--navbar-text) !important;
}

.hero-section {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
              url('/images/hero-bg.jpg') center/cover;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 70px;
  color: #ffffff;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  color: #ffffff;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, #4facfe 0%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.typed-text {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 2rem;
}

.social-icons {
  margin-top: 2rem;
}

.social-icons a {
  font-size: 1.8rem;
  margin: 0 15px;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px) scale(1.1);
}

.about-section {
  padding: 120px 0 40px 0;
}

.profile-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.skill-box {
  background: rgba(30, 41, 59, 0.7);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.skill-box:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.skill-box h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.skill-level {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.1, 0.5, 0.2, 1);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 300px;
  width: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.portfolio-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(96, 165, 250, 0.07) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(30, 58, 138, 0.03) 0%, transparent 100%);
  z-index: 1;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  background-color: transparent;
  position: relative;
  z-index: 2;
}

.portfolio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.6) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease 0.1s;
}

.portfolio-overlay p {
  display: none;
}

.portfolio-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.portfolio-actions .btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease 0.3s;
}

.portfolio-item:hover .portfolio-overlay h4,
.portfolio-item:hover .portfolio-overlay .btn {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-actions .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.portfolio-actions .btn-outline-light {
  border-color: var(--primary-color);
  color: #fff;
}

.portfolio-actions .btn-outline-light:hover {
  background-color: rgba(37, 99, 235, 0.2);
  color: #fff;
}

.contact-form {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,.2);
}

.contact-info {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}

.contact-icon {
  font-size: 2rem;
  color: var(--icon-color);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--accent-color);
}

/* Responsive tasarım için ek stiller */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .typed-text {
    font-size: 1.5rem;
  }
  
  .social-icons a {
    font-size: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
  }
}

.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;
  padding: 1rem 0;
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .row {
  width: 100%;
  text-align: center;
}

.footer .col-md-6 {
  text-align: center !important;
}

.social-links {
  margin-bottom: 1rem;
}

.social-links a {
  font-size: 1.5rem;
  margin: 0 1rem;
  color: #ffffff !important;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #cccccc !important;
  transform: translateY(-3px);
}

.card {
  border: none;
  border-radius: 12px;
  transition: all 0.4s ease;
  overflow: hidden;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.card-body {
  color: var(--text-primary);
  padding: 1.5rem;
}

.btn {
  border-radius: 8px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.form-control {
  background: rgba(30, 41, 59, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.portfolio-filter {
  background: rgba(15, 23, 42, 0.5);
  padding: 15px 0;
  border-radius: 50px;
  margin: 30px auto;
  max-width: 600px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-filter .btn {
  background: transparent;
  color: var(--text-primary);
  border: none;
  margin: 0 10px;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.portfolio-filter .btn:hover {
  color: var(--accent-color);
}

.portfolio-filter .btn.active {
  background: rgba(37, 99, 235, 0.15);
  color: var(--accent-color);
}

/* Daha sade animasyon */
#portfolio-items > div {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Portfolyo sayfası - geometrik desenli koyu arka plan */
.portfolio-hero {
  position: relative;
  background: linear-gradient(45deg, 
                rgba(10, 15, 30, 1) 0%, 
                rgba(30, 40, 70, 1) 45%, 
                rgba(60, 90, 140, 1) 100%);
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  overflow: hidden;
}

/* Modern geometrik desen eklentisi */
.portfolio-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(30deg, var(--accent-color) 12%, transparent 12.5%, transparent 87%, var(--accent-color) 87.5%, var(--accent-color)),
    linear-gradient(150deg, var(--accent-color) 12%, transparent 12.5%, transparent 87%, var(--accent-color) 87.5%, var(--accent-color)),
    linear-gradient(30deg, var(--accent-color) 12%, transparent 12.5%, transparent 87%, var(--accent-color) 87.5%, var(--accent-color)),
    linear-gradient(150deg, var(--accent-color) 12%, transparent 12.5%, transparent 87%, var(--accent-color) 87.5%, var(--accent-color)),
    linear-gradient(60deg, rgba(60, 90, 140, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(60, 90, 140, 0.5) 75%, rgba(60, 90, 140, 0.5)),
    linear-gradient(120deg, rgba(60, 90, 140, 0.5) 25%, transparent 25.5%, transparent 75%, rgba(60, 90, 140, 0.5) 75%, rgba(60, 90, 140, 0.5));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 0 0;
  opacity: 0.1;
  z-index: 1;
}

/* Alt kısım geçiş efekti */
.portfolio-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--dark-bg) 10%, transparent 100%);
  z-index: 1;
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.portfolio-hero .typed-text {
  font-size: 3rem;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.portfolio-hero .social-icons {
  margin-top: 2rem;
}

.portfolio-hero .social-icons a {
  font-size: 1.8rem;
  margin: 0 1rem;
  color: #ffffff;
  transition: all 0.3s ease;
}

.portfolio-hero .social-icons a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

#contact {
  padding-top: 100px;
  margin-top: -100px;
  margin-bottom: 120px;
  padding-bottom: 2rem;
}

.contact-info a {
  color: var(--text-primary);
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--accent-color);
}

#portfolio-page {
  margin-bottom: 180px;
}

section#services {
  padding-top: 0;
  padding-bottom: 30px;
}

section#portfolio {
  padding-top: 0;
}

#portfolio-items {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

#portfolio-items > div {
  padding: 0 15px;
  margin-bottom: 30px;
}

#portfolio-items .portfolio-item {
  height: 300px;
  width: 100%;
  margin-bottom: 0;
}

#portfolio-items .portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--dark-bg);
  border-radius: 12px;
}

#portfolio-items .portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, 
      rgba(30, 41, 59, 0.95),
      rgba(15, 23, 42, 0.98)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

#portfolio-items .portfolio-overlay h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 600;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

#portfolio-items .portfolio-overlay p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

#portfolio-items .portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

#portfolio-items .portfolio-item:hover img {
  transform: scale(1.05);
}

#portfolio-items .portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

#portfolio-items .portfolio-item:hover .portfolio-overlay h4,
#portfolio-items .portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
  opacity: 1;
}

#portfolio-items .portfolio-overlay .btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0 0.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

#portfolio-items .portfolio-item:hover .portfolio-overlay .btn {
  transform: translateY(0);
  opacity: 1;
}

#portfolio-items .portfolio-overlay .btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991.98px) {
  #portfolio-items .portfolio-item,
  .portfolio-item {
    height: 280px;
  }
}

@media (max-width: 767.98px) {
  #portfolio-items .portfolio-item,
  .portfolio-item {
    height: 250px;
  }
}

@media (max-width: 575.98px) {
  #portfolio-items .portfolio-item,
  .portfolio-item {
    height: 240px;
  }
}

.service-item {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
}

.service-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.service-item i {
  color: var(--accent-color);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.service-item:hover i {
  opacity: 1;
  transform: scale(1.1);
}

/* Modal Stilleri */
.modal-dialog {
  max-width: 90%;
  margin: 1.75rem auto;
}

.modal-content {
  background: var(--card-bg);
  border: none;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  color: var(--text-primary);
  font-weight: 600;
}

.btn-close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.btn-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-body {
  padding: 1.5rem;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-body h6 {
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

.modal-body p {
  color: var(--text-secondary);
}

.modal-body ul {
  padding-left: 20px;
  color: var(--text-secondary);
}

.modal-body li {
  margin-bottom: 5px;
}

.modal-body img {
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.omer-emlik {
  color: black;
}

/* Mobil ekranlar için footer boyutunu ayarlama */
@media (max-width: 768px) {
  .footer {
    padding: 0.5rem 0; /* Mobilde daha az boşluk */
  }

  .modal-dialog {
    max-width: 95%;
    margin: 1rem auto;
  }

  .modal-body {
    padding: 1rem;
    max-height: 75vh;
  }

  .modal-body img {
    max-height: 60vh;
  }
}

/* Animasyonlar */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .container {
    padding: 0 20px;
  }
}

/* Hizmetler kısmı modernleştirme */
.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

.card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Yeteneklerim kısmı iyileştirmeleri */
.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.skill-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  color: var(--accent-color);
  transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: rotateY(180deg);
  color: var(--primary-color);
}

.skill-progress {
  height: 8px;
  margin-top: 10px;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress-bar {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 1s ease;
  width: 0;
}

/* Proje kutucukları butonları */
#portfolio-items .card-body .btn-group {
  opacity: 1;
  transition: all 0.3s ease;
}

#portfolio-items .card-body .btn {
  border-radius: 30px;
  padding: 6px 15px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  background: transparent;
  color: var(--text-primary);
}

#portfolio-items .card-body .btn:hover {
  background: var(--accent-color);
  color: #fff;
  box-shadow: 0 5px 15px rgba(96, 165, 250, 0.4);
}

/* Hover animasyonları */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Temel section yapısı */
section {
  padding: 100px 0; /* Tüm section'lar için standart padding */
  scroll-margin-top: 70px; /* Scroll offset */
}

/* Services section için özel stil */
#services {
  scroll-margin-top: 50px; /* Hizmetler için daha az margin */
  padding-top: 80px; /* Üst padding'i azaltıyoruz */
}

/* Portfolyo ve İletişim bölümleri arasındaki boşluk */
.portfolio-section {
  margin-bottom: 220px !important; 
  padding-bottom: 120px !important;
}

.contact-section {
  position: relative;
  padding-top: 120px !important;
  margin-top: 100px !important;
  scroll-margin-top: 100px !important;
}

/* Görünmez üst dolgu elemanı */
.contact-section::before {
  display: none; /* Önceki before elemanını kaldırıyoruz */
}

/* İletişim bölümü başlığı */
.contact-section .section-title {
  position: relative;
  top: 0;
  margin-bottom: 40px;
}

/* Tüm scroll margin değerlerini sıfırlayalım */
section {
  scroll-margin-top: 80px;
}

#contact {
  scroll-margin-top: 80px !important; /* Diğer değerleri eziyoruz */
}

/* .NET Core ve Entity Framework kutularını yan yana getirme */
@media (min-width: 768px) {
  .skills-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  /* İlk üç kutu tam genişlikte */
  .skill-box:nth-child(1),
  .skill-box:nth-child(2),
  .skill-box:nth-child(3) {
    grid-column: span 1;
  }
  
  /* Son iki kutuyu (4. ve 5.) özel düzenle */
  .skill-box:nth-child(4) {
    grid-column: 1 / span 1;
  }
  
  .skill-box:nth-child(5) {
    grid-column: 2 / span 1;
  }
}

/* Mobil görünüm için ince ayar */
@media (max-width: 767px) {
  .skills-container {
    grid-template-columns: 1fr;
  }
}

/* İletişim kısmı tasarım iyileştirmesi */
.contact-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.contact-form .form-control {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  background: rgba(15, 23, 42, 0.8);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-form .btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.contact-form .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.contact-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.contact-form .btn-primary:hover::before {
  left: 100%;
}

.contact-info {
  margin-top: 60px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 20px;
  font-size: 1.5rem;
  color: var(--accent-color);
  flex-shrink: 0;
}

.contact-info-content h5 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-info-content p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  #portfolio-items {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }

  #portfolio-items .portfolio-item img {
    height: 220px;
    padding: 15px;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #portfolio-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Detay sayfası için ek stiller */
.project-detail-page {
  padding-top: 100px;
  padding-bottom: 80px;
}

.project-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.project-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.project-image img {
  width: 100%;
}

.project-tags {
  margin: 1.5rem 0;
}

.project-tag {
  display: inline-block;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--accent-color);
  padding: 5px 15px;
  border-radius: 50px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Animasyonlar için ek stiller */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.5s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

/* Portfolyo kartlarındaki butonlar için ek stiller */
.portfolio-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.portfolio-actions .btn {
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 14px;
    padding: 6px 12px;
}

.portfolio-actions .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.portfolio-actions .btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.portfolio-actions .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Etiket (tag) tasarımları için stiller */
.technology-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.technology-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.technology-tag i {
  margin-right: 5px;
  font-size: 0.7rem;
}

/* Özellikler listesi için stiller */
.features-list {
  margin: 15px 0;
}

.features-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: start;
}

.features-list li i {
  color: var(--accent-color);
  margin-right: 10px;
  margin-top: 4px;
}

/* Özellikler metni için yeni stil */
.features-text {
  margin: 15px 0;
  line-height: 1.6;
  color: #333;
}

/* Teknoloji etiketlerinin daha iyi görünmesi için */
.technology-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0;
}

.technology-tag {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}