:root {
  --blue-bg: #1e2a3a;
  --red-bg: #c41230;
  --green-bg: #006838;
  --orange-bg: #f7941d;
  --error-color: #e53935;
  --error-light: rgba(229, 57, 53, 0.1);
  --error-shadow: rgba(229, 57, 53, 0.25);
  --success-color: #43a047;
  --success-light: rgba(67, 160, 71, 0.1);
  --success-shadow: rgba(67, 160, 71, 0.25);
  --form-transition: all 0.3s ease;
  
  /* Kontrast iyileştirmeleri için yeni değişkenler */
  --text-on-dark: #ffffff; /* Koyu arka planlarda metin rengi */
  --text-on-light: #222222; /* Açık arka planlarda metin rengi */
  --light-accent: #e9ecef; /* Açık arka plan renkleri için */
  --dark-accent: #121a24; /* Koyu arka plan renkleri için vurgu */
  --orange-contrast: #e57200; /* Turuncu için daha yüksek kontrast versiyonu */
  --link-color: #0056b3; /* Açık arka planlarda linkler için */
  --link-hover: #003870; /* Link hover durumu için */
  --light-text-secondary: #555555; /* İkincil açık arka plan metinleri */
  --dark-text-secondary: #d0d0d0; /* İkincil koyu arka plan metinleri */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Raleway', sans-serif;
}

html, body {
  overflow-x: hidden;
  scrollbar-width: none; /* Firefox için scroll bar gizleme */
  -ms-overflow-style: none; /* IE ve Edge için scroll bar gizleme */
}

/* Chrome, Safari ve Opera için scroll bar gizleme */
::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  display: flex;
}

/* Ana içerik alanı */
.main-content {
  width: 50%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: var(--blue-bg);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: transform 0.8s ease;
  overflow: hidden;
}

.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 42, 58, 0.95);
  z-index: 1;
}

.main-content video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7;
  filter: blur(2px);
}

.main-content.slide-out {
  transform: translateX(-100%);
}

.main-content-inner {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.main-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-on-dark);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Logo stillerini güncelle */
.logo-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto 1.5rem 0;
}

.logo {
  width: 350px;
  height: auto;
  position: relative;
  animation: logo-glow 4s infinite ease-in-out;
  transform-origin: center center;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

@keyframes logo-glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)) brightness(0.95);
    transform: scale(0.98);
  }
  25% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7)) brightness(1.05);
    transform: scale(1.01);
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.9)) brightness(1.1);
    transform: scale(1.02);
  }
  75% {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.7)) brightness(1.05);
    transform: scale(1.01);
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5)) brightness(0.95);
    transform: scale(0.98);
  }
}

.main-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: var(--text-on-dark);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 2px solid white;
  color: var(--text-on-dark);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: white;
  color: var(--dark-accent); /* Daha koyu bir renk ile daha iyi kontrast */
}

/* Sağ menü */
.right-menu {
  width: 50%;
  margin-left: 50%;
  min-height: 100vh;
  transition: transform 0.8s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.right-menu.slide-out {
  transform: translateX(100%);
}

.menu-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.menu-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0;
  display: block !important;
  transition: transform 0.5s ease;
}

.menu-item:hover img {
  transform: scale(1.1);
}

.menu-item.about {
  background-color: var(--blue-bg);
}

.menu-item.services {
  background-color: var(--red-bg);
}

.menu-item.product {
  background-color: var(--green-bg);
}

.menu-item.contact {
  background-color: var(--orange-bg);
}

.menu-content {
  position: relative;
  z-index: 5;
  text-align: center;
}

.menu-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.menu-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 1rem;
  color: var(--text-on-dark); /* Kontrast iyileştirmesi */
}

/* Services Section */
#services {
  background-color: var(--red-bg);
  color: white;
}

/* Portfolio Section */
#product {
  background-color: var(--green-bg);
  color: white;
}

/* Contact Section */
#contact {
  background-color: var(--orange-bg);
  color: white;
}

.icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 30px;
}

/* Animasyonlar */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sayfa yüklendiğinde direkt olarak görünür olması için */
.main-content-inner.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Sayfa içeriği overflow kontrolü */
.page-content {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 60px 20px 80px; /* Alt padding uygun şekilde ayarlandı */
  min-height: calc(100vh - 120px);
}

.page-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100vh;
  background: white;
  z-index: 1000;
  overflow-y: auto;
  display: none;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  scrollbar-width: none; /* Firefox için scroll bar gizleme */
  -ms-overflow-style: none; /* IE ve Edge için scroll bar gizleme */
  padding-right: 100px; /* Dikey başlık genişliği kadar sağdan padding */
  padding-bottom: 0; /* Footer için padding kaldırıldı */
}

/* Page-section için Chrome, Safari ve Opera scroll bar gizleme */
.page-section::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.page-section.active {
  display: block;
  transform: translateY(0);
}

/* Mobil için ek geliştirmeler */
@media (max-width: 768px) {
  /* Mobil sağ menu düzeltmeleri */
  .right-menu {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    top: auto;
    margin-top: 0;
    border-top: 5px solid;
    border-image: linear-gradient(90deg, var(--blue-bg), var(--red-bg), var(--green-bg), var(--orange-bg)) 1;
    z-index: 500;
  }
  
  /* Main content ve right menu dikey olarak sıralanmalı */
  body {
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }
  
  .main-content {
    position: relative;
    height: 100vh;
    width: 100%;
    z-index: 400;
  }
  
  /* Page section scroll düzeltmesi */
  .page-section {
    padding-right: 20px; 
    padding-top: 60px;
    height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0; /* Footer için padding kaldırıldı */
  }
  
  /* Page section içerik düzenleme */
  .page-content {
    padding: 20px 15px 0;
    min-height: calc(100vh - 120px);
  }
  
  /* İçerik öğelerinin mobil görünümde daha iyi görünmesi */
  .page-title {
    font-size: 2rem;
    margin-bottom: 25px;
    padding-top: 20px;
  }
  
  .page-section.active {
    display: block;
    top: 0;
    left: 0;
    position: fixed;
    width: 100%;
    z-index: 2000;
    padding-bottom: 0; /* Footer için padding kaldırıldı */
    transition: transform 0.5s ease;
  }
  
  /* Sayfa geçişlerinde ana içerik ve menü görünürlüğü */
  .main-content.slide-out,
  .right-menu.slide-out {
    display: none !important;
  }
  
  /* Menü içeriğinin mobil görünümde iyileştirilmesi */
  .menu-content {
    text-align: center;
    width: 100%;
  }
  
  .menu-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .menu-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .menu-item {
    height: 140px !important;
    flex: 0 0 100%;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .page-content {
    padding: 15px 10px 0;
  }
  
  .vertical-title span {
    font-size: 1.3rem;
    padding: 12px;
  }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    overflow-x: hidden;
  }
  
  .main-content {
    width: 100%;
    height: 100vh;
    position: relative;
    left: 0;
    top: 0;
    overflow: hidden;
  }
  
  .main-content video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .logo-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 1rem auto;
  }
  
  .logo {
    width: 220px;
  }
  
  .main-title {
    font-size: 2.5rem;
  }
  
  .main-subtitle {
    font-size: 1.2rem;
  }
  
  .right-menu {
    width: 100%;
    margin-left: 0;
    position: relative;
    margin-top: 100vh;
    display: flex;
    flex-direction: column;
    height: auto;
  }
  
  .menu-item {
    height: 200px !important;
    flex: 1;
    min-height: 150px;
    overflow: hidden;
  }
  
  .menu-item img {
    height: 100% !important;
    object-position: center center !important;
  }
  
  .btn {
    padding: 10px 15px;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
  }
  
  /* Diğer sayfa bölümlerinde düzenlemeler */
  .page-section {
    margin-left: 0;
    width: 100%;
    padding: 60px 20px;
    padding-bottom: 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  /* Mobil cihazlar için kaydırma animasyonları */
  .main-content.slide-out {
    transform: translateY(-100%);
  }
  
  .right-menu.slide-out {
    transform: translateY(100%);
  }

  /* Sayfalar aktif olduğunda ana içerik ve sağ menüyü gizle */
  .page-section.active ~ .main-content,
  .page-section.active ~ .right-menu {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-container {
    width: 180px;
    height: 180px;
    margin-left: 0;
  }
  
  .logo {
    width: 160px;
  }
  
  .main-title {
    font-size: 2.5rem;
  }
  
  .main-subtitle {
    font-size: 1.2rem;
  }
  
  .btn {
    display: block;
    margin-bottom: 15px;
    text-align: center;
    margin-right: 0;
  }
}

/* About Us Page */
.page-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background: white;
    z-index: 1000;
    overflow-y: auto;
    display: none;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: none; /* Firefox için scroll bar gizleme */
    -ms-overflow-style: none; /* IE ve Edge için scroll bar gizleme */
    padding-right: 100px; /* Dikey başlık genişliği kadar sağdan padding */
    padding-bottom: 0; /* Footer için padding kaldırıldı */
}

/* Page-section için Chrome, Safari ve Opera scroll bar gizleme */
.page-section::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.page-section.active {
    display: block;
    transform: translateY(0);
}

.close-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 100000;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 20px;
}

.close-btn:hover {
    transform: scale(1.1);
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 50px;
    position: relative;
}

.page-title span {
    font-weight: 600;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: #000;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.video-section {
    width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #f5f5f5;
    overflow: hidden;
}

.video-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-section {
    padding: 0 20px;
}

.text-section h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.main-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

.story-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.story-col p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    margin-top: 4rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.stats-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 0.5rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    width: 90%;
    height: 100%;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--blue-bg);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-title {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .stat-item {
        margin-bottom: 1.5rem;
    }
}

/* Services Page */
.services-content {
    margin-top: 40px;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background: #f8f9fa;
    display: inline-block;
    text-align: center;
}

.service-icon i {
    font-size: 3rem;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.service-text {
    color: #666;
    line-height: 1.6;
}

.pricing-section h2 {
    position: relative;
    padding-bottom: 15px;
}

.pricing-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: #000;
}

.pricing-section h2 span {
    font-weight: 600;
}

.pricing-card {
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price {
    font-size: 3rem;
    font-weight: 600;
    margin: 20px 0 5px;
}

.price-period {
    color: #999;
    margin-bottom: 25px;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.text-primary {
    color: var(--red-bg) !important;
}

.btn-primary {
    background-color: var(--red-bg) !important;
    border-color: var(--red-bg) !important;
}

.btn-outline-primary {
    color: var(--red-bg) !important;
    border-color: var(--red-bg) !important;
}

.btn-outline-primary:hover {
    background-color: var(--red-bg) !important;
    color: white !important;
}

@media (max-width: 768px) {
    .pricing-section .row {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        max-width: 80%;
        margin-bottom: 30px;
    }
}

/* Portfolio Page */
.product-content {
    margin-top: 30px;
}

.product-filter {
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 15px;
    margin: 0 5px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    color: #666;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--green-bg);
    transition: width 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    color: var(--green-bg);
}

.filter-btn:hover::after, .filter-btn.active::after {
    width: 80%;
}

.product-gallery {
    margin-top: 40px;
}

.product-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    cursor: pointer;
    height: 250px; /* Yüksekliği küçülttüm (3 ürün için) */
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-item:hover img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 104, 56, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.overlay-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Özel masonry grid için */
.product-item {
    height: 100%;
    min-height: 300px;
}

.product-gallery .row > div:first-child .product-item {
    height: 100%;
}

/* Responsive ayarlamalar */
@media (max-width: 992px) {
    .product-item {
        height: 220px; /* Tablet için daha küçük yükseklik */
    }
}

@media (max-width: 768px) {
    .product-item {
        height: 200px; /* Mobil için daha küçük yükseklik */
    }
    
    .col-md-4 {
        width: 50%; /* Mobilde iki sütun göster */
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        width: 100%; /* Çok küçük ekranlarda tek sütun */
    }
    
    .product-item {
        height: 250px; /* Tek sütunda daha büyük yükseklik */
    }
}

/* Contact Page */
.contact-content {
    margin-top: 20px;
}

.contact-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-detail {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--orange-bg);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item-content h4 {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.contact-item-content p {
    color: #666;
    margin-bottom: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-on-dark);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--text-on-dark);
    color: var(--blue-bg);
}

.contact-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.form-label {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.form-control {
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
    color: var(--text-on-light);
    width: 100%;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--blue-bg);
    box-shadow: 0 0 0 0.25rem rgba(30, 42, 58, 0.25);
}

textarea.form-control {
    min-height: 100px;
    resize: none;
}

.btn-submit {
    background-color: var(--orange-bg); /* #f7941d turuncu renk */
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(247, 148, 29, 0.2);
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important; /* Butonu tam genişlikte yap */
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    min-width: 120px;
}

.btn-submit:hover, 
.btn-submit:focus {
    background-color: #e78a19; /* Turuncu rengin biraz daha koyu tonu */
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(247, 148, 29, 0.3);
}

.btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(196, 18, 48, 0.2);
}

.btn-submit: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.6s ease;
}

.btn-submit:hover:before {
    left: 100%;
}

.map-section {
    margin-top: 50px;
}

.map-container {
    height: 400px;
    background-color: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-error {
    text-align: center;
    color: #666;
}

.map-error i {
    font-size: 3rem;
    color: #999;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .contact-form {
        margin-top: 30px;
    }
}

/* Sayfa yanında dikey başlık */
.vertical-title {
    position: fixed;
    right: 0;
    top: 0;
    width: 100px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: inherit;
    color: white;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 1002;
    transition: all 0.8s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.vertical-title span {
    display: block;
    transform: rotate(-90deg);
    white-space: nowrap;
    font-size: 2.5rem;
    font-weight: 600;
    padding: 20px;
}

.page-section.active .vertical-title {
    opacity: 1;
    visibility: visible;
}

.vertical-title.about-title {
    background-color: var(--blue-bg);
}

.vertical-title.services-title {
    background-color: var(--red-bg);
}

.vertical-title.product-title {
    background-color: var(--green-bg);
}

.vertical-title.contact-title {
    background-color: var(--orange-bg);
}

@media (max-width: 768px) {
    .vertical-title {
        width: 70px;
        top: 0;
        right: 0;
        height: auto;
        min-height: 50px;
    }
    
    .vertical-title span {
        font-size: 1.5rem;
        padding: 10px;
        transform: none;
        text-align: center;
    }
    
    .contact-form {
        margin-top: 30px;
    }
    
    body {
        flex-direction: column;
        overflow-x: hidden;
    }
    
    .main-content {
        width: 100%;
        height: 100vh;
        position: relative;
        overflow: hidden;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .right-menu {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
    
    .menu-item {
        height: 200px !important;
        flex: 0 0 50%;
        min-height: 150px;
        overflow: hidden;
    }
    
    .page-section {
        padding-right: 20px;
        padding-top: 70px;
        padding-bottom: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .close-btn {
        top: 20px;
        right: 20px;
        font-size: 1.8rem;
    }
    
    .footer-content {
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    /* Mobil kaydırma animasyonlarını düzelt */
    .main-content.slide-out,
    .right-menu.slide-out {
        display: none;
    }

    .page-section.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2000;
    }
    
    .menu-title {
        font-size: 1.6rem;
    }
    
    .menu-icon {
        font-size: 2rem;
        margin-bottom: 5px;
    }
    
    .page-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .vertical-title {
        width: 60px;
    }
    
    .vertical-title span {
        font-size: 1.2rem;
        padding: 10px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .main-subtitle {
        font-size: 1.2rem;
    }
    
    .btn {
        display: block;
        margin-bottom: 15px;
        text-align: center;
        margin-right: 0;
    }
    
    .page-section {
        padding-right: 60px;
    }
    
    .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .footer-content {
        width: calc(100% - 60px);
    }
    
    .copyright, .credits {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 40px 15px;
    }

    /* Mobil için menü oklarını daha belirgin hale getir */
    .menu-content {
        padding: 10px;
    }
    
    .menu-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    /* İletişim formu mobil iyileştirmeleri */
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-control {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    /* CAPTCHA alanı mobil uyumlu hale getir */
    .custom-captcha {
        background-color: rgba(0, 0, 0, 0.03);
        border-radius: 8px;
        padding: 15px;
    }
    
    .captcha-img-container {
        background: linear-gradient(135deg, #ffffff, #e0e0e0);
        border-radius: 5px;
        position: relative;
        overflow: hidden;
        width: 180px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .captcha-code {
        font-family: 'Arial', sans-serif;
        font-size: 1.5rem;
        font-weight: bold;
        letter-spacing: 5px;
        color: #ffffff;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
        user-select: none;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .refresh-captcha {
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .refresh-captcha:hover {
        background-color: #6c757d;
    }
    
    /* Logo daha kompakt */
    .loader {
        width: 80%;
        max-width: 300px;
    }
    
    /* Ana menü butonları */
    .buttons-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .buttons-container .btn {
        width: 200px;
        margin: 0 auto;
    }
}

/* Küçük mobil ekranlar için ek ayarlar */
@media (max-width: 360px) {
    .main-subtitle {
        font-size: 1.2rem !important;
    }
    
    .service-item {
        font-size: 0.85rem;
    }
    
    .city-item .fs-4 {
        font-size: 1.2rem !important;
    }
}

/* Footer Styles */
.page-footer {
    position: relative;
    width: 100%;
    padding: 15px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    z-index: 10;
    transition: position 0.3s ease;
}

.page-footer.fixed-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.copyright, .credits {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.credits {
    text-align: right;
}

/* Her sayfa için özel footer renkleri */
#about-page .page-footer {
    background-color: var(--blue-bg);
}

#services-page .page-footer {
    background-color: var(--red-bg);
}

#product-page .page-footer {
    background-color: var(--green-bg);
}

#contact-page .page-footer {
    background-color: var(--orange-bg);
}

@media (max-width: 768px) {
    .page-section {
        padding-right: 0;
        padding-bottom: 0; /* Footer için padding kaldırıldı */
    }
    
    .page-footer {
        padding: 10px 20px;
    }
    
    .page-content {
        margin-bottom: 0;
        padding-bottom: 60px; /* Mobil için daha fazla alt boşluk */
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .credits {
        text-align: center;
    }
    
    /* Vertical title düzeltmesi */
    .vertical-title {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 60px;
        z-index: 2400;
    }
    
    .vertical-title span {
        transform: none;
        text-align: center;
        font-size: 1.5rem;
        padding: 15px;
    }
    
    /* Close buton düzeltmesi - başlık ve footer'dan daha üstte olmalı */
    .close-btn {
        z-index: 3100;
        position: fixed;
        top: 15px;
        right: 15px;
    }
    
    /* Sayfa içeriği scroll için daha fazla alan */
    .page-content {
        margin-bottom: 60px; /* Footer yüksekliğinden daha fazla */
        padding-bottom: 30px !important;
    }
    
    /* Page section'lar için scroll ayarları */
    .page-section.active {
        overflow-y: auto;
        height: 100%;
        padding-bottom: 0 !important; /* Footer için padding kaldırıldı */
    }
}

@media (max-width: 480px) {
    .page-section {
        padding-right: 15px;
        padding-left: 15px;
        padding-bottom: 0; /* Footer için padding kaldırıldı */
    }
    
    .page-footer {
        padding: 8px 15px;
    }
    
    .copyright, .credits {
        font-size: 0.7rem;
        line-height: 1.3;
    }
    
    /* Menü öğeleri tek sütun halinde */
    .right-menu {
        flex-direction: column;
    }
    
    .menu-item {
        flex: 0 0 100%;
        height: 130px !important;
    }
    
    /* Close buton pozisyonu */
    .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    /* Page içeriği için daha fazla alt boşluk */
    .page-content {
        margin-bottom: 0;
        padding-bottom: 50px; /* Küçük mobil cihazlar için alt boşluk */
    }
}

/* Menü arkaplan resimleri */
.menu-item.about .background {
    background-image: linear-gradient(rgba(30,42,58,0.65), rgba(30,42,58,0.65)), url('/assets/img/navigation/about2.jpg');
    background-size: cover;
    background-position: center 37%;
}

.menu-item.services .background {
    background-image: linear-gradient(rgba(196,18,48,0.65), rgba(196,18,48,0.65)), url('/assets/img/navigation/service2.jpg');
    background-size: cover;
    background-position: center 50%;
}

.menu-item.product .background {
    background-image: linear-gradient(rgba(0,104,56,0.65), rgba(0,104,56,0.65)), url('/assets/img/navigation/product.jpg');
    background-size: cover;
    background-position: center 50%;
}

.menu-item.contact .background {
    background-image: linear-gradient(rgba(247,148,29,0.65), rgba(247,148,29,0.65)), url('/assets/img/navigation/contact2.jpg');
    background-size: cover;
    background-position: center 50%;
}

/* Preloader Styles */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 400px;
  height: auto;
  margin-bottom: 20px;
  animation: logo-pulse 2s infinite ease-in-out;
}

.loader-text {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes logo-pulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2)) brightness(0.95);
    transform: scale(0.95);
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(0, 0, 0, 0.4)) brightness(1.05);
    transform: scale(1.05);
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2)) brightness(0.95);
    transform: scale(0.95);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Daha küçük ekranlar için ek düzenlemeler */
@media (max-width: 576px) {
  .main-title {
    font-size: 2.2rem;
  }
  
  .main-subtitle {
    font-size: 1.1rem;
  }
  
  .logo-container {
    width: 150px;
    height: 150px;
  }
  
  .logo {
    width: 200px;
  }
  
  .btn {
    padding: 8px 15px;
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .menu-item {
    height: 150px !important;
    flex: 0 0 100%;
  }
  
  .menu-icon {
    font-size: 1.8rem;
  }
  
  .menu-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
    .menu-item {
        flex: 0 0 50%; /* 2 öğe yan yana */
    }
}

/* Küçük mobil ekranlar için ek ayarlar */
@media (max-width: 360px) {
    .main-subtitle {
        font-size: 1rem !important;
    }
    
    .service-item {
        font-size: 0.85rem;
    }
    
    .city-item .fs-4 {
        font-size: 1.2rem !important;
    }
    
    .page-content {
        padding: 40px 10px;
    }
    
    .page-section {
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* Hem mobil hem de masaüstünde çalışacak şekilde sayfa geçiş animasyonlarını düzenle */
.page-section {
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-section.active {
    transform: translateY(0);
}

/* Mobil cihazlarda menü öğeleri ve içerik görünümü için özel düzenlemeler */
@media (max-width: 768px) {
    .right-menu {
        margin-top: 0;
        position: absolute;
        top: 100vh;
    }
    
    .main-content-inner {
        max-width: 90%;
        text-align: center;
        margin: 0 auto;
    }
    
    .service-item, .city-item {
        justify-content: center;
    }
    
    .services-highlights, .cities-container {
        justify-content: center !important;
    }
    
    .services-highlights .row, .cities-container .d-flex {
        justify-content: center !important;
    }
    
    .page-section.active .page-content {
        padding-top: 70px;
    }
    
    .close-btn {
        z-index: 2001;
    }
    
    /* Sağ menü öğelerinin temiz görünmesi için */
    .menu-content {
        width: 100%;
        text-align: center;
    }
}

/* About Page Styles */
.about-header {
    margin-bottom: 3rem;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2rem;
}

.about-content {
    margin-bottom: 4rem;
}

.about-image {
    position: relative;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.about-image:hover {
    transform: translateY(-5px);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    right: -15px;
    bottom: 30px;
    width: 100px;
    height: 100px;
    background-color: #1e2a3a;
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
    padding: 5px;
}

.experience-badge .years {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.2;
}

.section-title {
    color: #1e2a3a;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    background-color: #c41230;
}

.section-title.text-center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.2rem;
}

.about-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.about-features li {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.about-features li i {
    color: #c41230;
    margin-right: 10px;
    font-size: 1.1rem;
}

.stats-section {
    padding: 3rem 0;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 3rem 0;
}

.section-title-wrapper {
    margin-bottom: 2.5rem;
    text-align: center;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: #1e2a3a;
    margin-bottom: 1rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #c41230;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.testimonials-section {
    padding: 2rem 0;
}

.testimonial-card {
    background-color: white;
    padding: 1.8rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.2rem;
}

.quote-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    color: #c41230;
    opacity: 0.5;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e2a3a;
}

.author-position {
    font-size: 0.9rem;
    color: #777;
}

.cta-section {
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background-color: #c41230;
    border-color: #c41230;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #a50f28;
    border-color: #a50f28;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(196, 18, 48, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .experience-badge {
        width: 90px;
        height: 90px;
        right: 10px;
        bottom: 20px;
    }
    
    .stat-item {
        padding: 1.2rem 0.8rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .about-image {
        margin-bottom: 2rem;
    }
    
    .experience-badge {
        width: 80px;
        height: 80px;
        right: 30px;
        bottom: 30px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .stat-item {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .about-header {
        margin-bottom: 2rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .experience-badge {
        width: 70px;
        height: 70px;
        right: 20px;
        bottom: 20px;
    }
    
    .experience-badge .years {
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
    }
}

/* Dil değiştirme için bayrak stilleri */
.lang-flag {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.flag-container {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    margin-right: 6px !important;
    display: inline-block !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    flex-shrink: 0 !important;
}

.custom-captcha {
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    padding: 15px;
}

.captcha-img-container {
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.captcha-code {
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 5px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    user-select: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-captcha {
    transition: var(--form-transition);
    cursor: pointer;
}

.refresh-captcha:hover {
    opacity: 0.8; /* Hafif bir hover efekti olarak sadece opaklık değişimi bırakıyorum */
}

/* =========================================
   İndex Sayfası Stilleri
   ========================================= */

/* Yönlendirme Konteynerı */
.redirect-container {
    max-width: 600px;
    padding: 20px;
}

/* Ana index.html için özel body stil tanımı */
.redirect-page {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #1e2a3a;
    color: white;
    text-align: center;
}

.redirect-page h1 {
    margin-bottom: 20px;
}

.redirect-page p {
    margin-bottom: 30px;
    font-size: 18px;
}

.redirect-page a {
    color: #f7941d;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    border: 2px solid #f7941d;
    border-radius: 5px;
    transition: all 0.3s;
}

.redirect-page a:hover {
    background-color: #f7941d;
    color: white;
}

/* Dil değiştirme kontrolü için stiller */
.language-switcher {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
}

.language-options {
    display: flex;
    background-color: rgba(30, 42, 58, 0.7);
    border-radius: 20px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.language-option {
    display: flex;
    align-items: center;
    padding: 5px 8px;
    margin: 0 2px;
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.language-option.active {
    background-color: rgba(196, 18, 48, 0.8);
}

.language-option:hover {
    background-color: rgba(196, 18, 48, 0.6);
}

.language-option span:not(.flag-container) {
    font-size: 12px;
    font-weight: bold;
}

/* Flag container stili */
.flag-container {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 6px;
    display: inline-block;
}

.flag-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobil cihazlar için düzenlemeler */
@media (max-width: 768px) {
    .language-switcher {
        top: 10px;
        left: 10px;
    }
}

/* =========================================
   Mobil Uyumluluk ve Sayfa Özel Düzenlemeler 
   ========================================= */

/* Navigasyon ve Menü Düzenlemeleri */
.right-menu {
    visibility: visible !important;
    opacity: 1 !important;
}

.menu-item {
    position: relative !important;
    overflow: hidden !important;
}

.menu-item img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 0 !important;
    display: block !important;
}

.menu-content {
    position: relative !important;
    z-index: 2 !important;
}

/* Fallback solid background colors for menu items */
.menu-item.about {
    background-color: #1e2a3a !important;
}

.menu-item.services {
    background-color: #c41230 !important;
}

.menu-item.product {
    background-color: #006838 !important;
}

.menu-item.contact {
    background-color: #f7941d !important;
}

/* =========================================
   İş İlanı Modal Stilleri
   ========================================= */
.job-modal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 850px;
    z-index: 10000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    background-color: rgba(196, 18, 48, 0.95);
    color: #fff;
    border-radius: 8px;
    margin: 0 auto;
}

/* Modal kapalıyken */
.job-modal.hidden {
    bottom: -300px;
    opacity: 0;
    visibility: hidden;
}

/* Her sayfa için modal rengi */
.job-modal.about-theme {
    background-color: rgba(30, 42, 58, 0.95);
}

.job-modal.about-theme .job-position h5 {
    color: #1e2a3a;
}

.job-modal.product-theme {
    background-color: rgba(0, 104, 56, 0.95);
}

.job-modal.product-theme .job-position h5 {
    color: #006838;
}

.job-modal.contact-theme {
    background-color: rgba(247, 148, 29, 0.95);
}

.job-modal.contact-theme .job-position h5 {
    color: #f7941d;
}

.job-modal-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    position: relative;
}

.job-modal-text {
    display: flex;
    align-items: center;
    font-size: 16px;
    flex: 1;
}

.job-modal-icon {
    margin-right: 12px;
    font-size: 20px;
}

.job-modal-text a {
    color: #fff;
    text-decoration: underline;
    margin-left: 8px;
    font-weight: bold;
    transition: color 0.2s ease;
}

.job-modal-text a:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

.job-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.show-job-details-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    padding: 5px 10px;
    transition: all 0.2s ease;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.show-job-details-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.show-job-details-btn i {
    transition: transform 0.3s ease;
}

.show-job-details-btn.active i {
    transform: rotate(180deg);
}

.job-modal-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    padding: 5px 10px;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* İş detayları paneli */
.job-details-panel {
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease;
    padding: 0 20px;
    border-radius: 0 0 8px 8px;
}

.job-details-panel.active {
    max-height: 500px; /* İçerik fazla olduğu için yükseltildi */
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    overflow-y: auto; /* İçerik fazla olursa scroll görünsün */
}

.job-position {
    background-color: #fff;
    border-radius: 6px;
    padding: 15px;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.job-position:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.job-position h5 {
    color: #c41230;
    margin-bottom: 10px;
    font-weight: 600;
}

.job-position p {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

/* CAPTCHA Yenileme butonu pointer */
.refresh-captcha {
    cursor: pointer;
}

/* =========================================
   Kritik CSS - Sayfa İlk Yüklenmesi için
   ========================================= */
/* Kritik CSS - Sayfanın ilk görünümü için gerekli stiller */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader .spinner-border {
    width: 3rem;
    height: 3rem;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* =========================================
   Mobil Uyumluluk için Ek Düzenlemeler
   ========================================= */
@media (max-width: 768px) {
    .job-modal {
        bottom: 15px;
        width: 92%;
        max-width: none;
        border-radius: 6px;
    }
    
    .job-modal-content {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    .job-modal-text {
        font-size: 14px;
        flex: 0 0 100%;
        margin-bottom: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .job-modal-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .job-details-panel.active {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .job-position {
        height: auto;
        margin-bottom: 15px;
    }
    
    .close-btn {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .job-modal {
        bottom: 10px;
        width: 94%;
    }
    
    .job-modal-content {
        padding: 10px;
    }
    
    .job-modal-text {
        font-size: 13px;
        text-align: center;
    }
    
    .job-modal-icon {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .job-modal-text span,
    .job-modal-text a {
        margin: 2px 4px;
    }
    
    .show-job-details-btn {
        padding: 6px 10px;
    }
    
    .show-job-details-btn span {
        display: none;
    }
    
    .job-details-panel.active {
        max-height: 70vh;
        padding: 10px;
    }
    
    .job-position {
        padding: 12px;
    }
    
    .job-position h5 {
        font-size: 16px;
    }
    
    .job-position p {
        font-size: 13px;
    }
    
    .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }
}

/* Her sayfa için kapatma tuşunun rengi */
#about-page .close-btn {
    background-color: rgba(30, 42, 58, 0.9); /* about sayfası teması */
}

#services-page .close-btn {
    background-color: rgba(196, 18, 48, 0.9); /* services sayfası teması */
}

#product-page .close-btn {
    background-color: rgba(0, 104, 56, 0.9); /* product sayfası teması */
}

#contact-page .close-btn {
    background-color: rgba(247, 148, 29, 0.9); /* contact sayfası teması */
}

.close-btn:hover {
    transform: scale(1.1);
}

/* Mobil için close-btn uyarlamaları */
@media (max-width: 768px) {
    .close-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        font-size: 18px;
        z-index: 150000; /* Çok yüksek z-index ile her zaman en üstte görünmesini sağla */
        visibility: visible !important; /* Zorunlu görünür */
        opacity: 1 !important; /* Zorunlu opak */
        background-color: rgba(0, 0, 0, 0.7); /* Koyu arka plan */
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); /* Belirgin gölge */
    }
}

@media (max-width: 480px) {
    .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* Form validasyon stilleri - Modern yapı */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Hata durumu */
.is-invalid {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem) !important;
    transition: all 0.2s ease-in-out;
}

.is-valid {
    border-color: #198754 !important;
    padding-right: calc(1.5em + 0.75rem) !important;
    transition: all 0.2s ease-in-out;
}

.input-error {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    font-size: 0.875em;
    color: #dc3545;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border-left: 3px solid #dc3545;
    animation: fadeIn 0.3s ease-in-out;
    transition: opacity 0.3s ease, transform 0.3s ease, height 0.3s ease;
}

.input-error.d-none {
    opacity: 0;
    transform: translateY(-10px);
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-error-highlight {
    animation: form-error-pulse 1s cubic-bezier(0.66, 0, 0.33, 1);
}

@keyframes form-error-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes validationShake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-8px);
    }
    50% {
        transform: translateX(8px);
    }
    75% {
        transform: translateX(-8px);
    }
}

.validation-shake {
    animation: validationShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both !important;
    transform: translateX(0);
    backface-visibility: hidden;
    perspective: 1000px;
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.5) !important;
}

/* Form field focus styles */
.form-control:focus {
    border-color: #1e2a3a !important;
    box-shadow: 0 0 0 0.2rem rgba(30, 42, 58, 0.25) !important;
}

.form-control:focus.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control:focus.is-valid {
    border-color: #198754 !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25) !important;
}

/* Input transition effects */
.form-control {
    transition: border-color 0.2s ease-in-out, 
                box-shadow 0.2s ease-in-out,
                transform 0.2s ease;
}

/* Style adjustments for real-time validation */
.form-control.is-invalid,
.form-control.is-valid {
    padding-right: calc(1.5em + 0.75rem) !important;
}

/* CAPTCHA focus */
.custom-captcha .form-control:focus {
    border-color: #1e2a3a;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(30, 42, 58, 0.25);
}

.custom-captcha .is-invalid ~ .captcha-img-container {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    animation: validationShake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* Contact form için ekstra stiller */
#contact-form {
    position: relative;
}

#form-success, #form-error {
    width: 100%;
    margin-bottom: 20px;
}

/* Alert kapatma butonu */
.alert .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* WebP fallback kullanımı */
.webp .main-content::before {
  background-image: linear-gradient(rgba(30,42,58,0.65), rgba(30,42,58,0.65)), url('/assets/img/navigation/webp/about2.webp');
}

.no-webp .main-content::before {
  background-image: linear-gradient(rgba(30,42,58,0.65), rgba(30,42,58,0.65)), url('/assets/img/navigation/about2.jpg');
}

.webp .vertical-title.about {
  background-image: linear-gradient(rgba(30,42,58,0.65), rgba(30,42,58,0.65)), url('/assets/img/navigation/webp/about2.webp');
}

.no-webp .vertical-title.about {
  background-image: linear-gradient(rgba(30,42,58,0.65), rgba(30,42,58,0.65)), url('/assets/img/navigation/about2.jpg');
}

.webp .vertical-title.services {
  background-image: linear-gradient(rgba(196,18,48,0.65), rgba(196,18,48,0.65)), url('/assets/img/navigation/webp/service2.webp');
}

.no-webp .vertical-title.services {
  background-image: linear-gradient(rgba(196,18,48,0.65), rgba(196,18,48,0.65)), url('/assets/img/navigation/service2.jpg');
}

.webp .vertical-title.product {
  background-image: linear-gradient(rgba(0,104,56,0.65), rgba(0,104,56,0.65)), url('/assets/img/navigation/webp/product.webp');
}

.no-webp .vertical-title.product {
  background-image: linear-gradient(rgba(0,104,56,0.65), rgba(0,104,56,0.65)), url('/assets/img/navigation/product.jpg');
}

.webp .vertical-title.contact {
  background-image: linear-gradient(rgba(247,148,29,0.65), rgba(247,148,29,0.65)), url('/assets/img/navigation/webp/contact2.webp');
}

.no-webp .vertical-title.contact {
  background-image: linear-gradient(rgba(247,148,29,0.65), rgba(247,148,29,0.65)), url('/assets/img/navigation/contact2.jpg');
}

/* Resim optimizasyonu */
img {
  max-width: 100%;
  height: auto;
}

/* Responsive resimler */
.responsive-image {
  max-width: 100%;
  height: auto;
}

/* Font gösterimi ayarları */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local('Raleway Light'), local('Raleway-Light'),
       url('https://fonts.gstatic.com/s/raleway/v18/1Ptug8zYS_SKggPNyC0ITw.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Raleway'), local('Raleway-Regular'),
       url('https://fonts.gstatic.com/s/raleway/v18/1Ptug8zYS_SKggPNyC0ITw.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Raleway Medium'), local('Raleway-Medium'),
       url('https://fonts.gstatic.com/s/raleway/v18/1Ptug8zYS_SKggPNyC0ITw.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: local('Raleway SemiBold'), local('Raleway-SemiBold'),
       url('https://fonts.gstatic.com/s/raleway/v18/1Ptug8zYS_SKggPNyC0ITw.woff2') format('woff2');
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Raleway Bold'), local('Raleway-Bold'),
       url('https://fonts.gstatic.com/s/raleway/v18/1Ptug8zYS_SKggPNyC0ITw.woff2') format('woff2');
}

/* Performans optimizasyonları */
/* Animasyon performansı */
.menu-item, .menu-content, .fade-in, .btn, .close-btn {
  will-change: transform, opacity;
}

/* Hardware ivmelendirme */
.right-menu, .main-content, .page-section {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Print medya sorgusu */
@media print {
  .right-menu, .sidebar, .language-switcher {
    display: none;
  }
  
  .main-content, .page-section {
    position: static;
    width: 100%;
    height: auto;
    overflow: visible;
    transform: none;
  }
  
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  a[href^="http"]:after {
    content: " (" attr(href) ")";
  }
}

/* Karanlık Mod Desteği */
@media (prefers-color-scheme: dark) {
  /* Zaten karanlık temayız, herhangi bir değişiklik gerekmez */
  
  /* Footer ve yan menü için hafif düzeltmeler */
  .contact-footer {
    background-color: #111922;
  }
  
  .right-menu {
    background-color: #111922;
  }
  
  /* Formlar için koyu arka plan */
  input, textarea, select {
    background-color: white !important;
    color: #212529;
    border-color: #ced4da;
  }
  
  input::placeholder, textarea::placeholder {
    color: #6c757d;
  }
  
  /* Karanlık modda metin kontrast ayarlamaları */
  .dark-text {
    color: #fff !important;
  }
  
  /* Kartlar ve diğer içerik kutuları */
  .card, .accordion-item {
    background-color: #1e2a3a;
    border-color: #3d556c;
  }
  
  .accordion-button {
    background-color: #111922;
    color: #fff;
  }
  
  .accordion-button:not(.collapsed) {
    background-color: #0d151e;
    color: #fff;
  }
  
  /* Butonlar ve bağlantılar */
  .btn-outline-dark {
    border-color: #fff;
    color: #fff;
  }
  
  .btn-outline-dark:hover {
    background-color: #fff;
    color: #1e2a3a;
  }
}

/* Işık Modu Desteği (istek üzerine) */
@media (prefers-color-scheme: light) {
  /* Başlangıçta aydınlık mod görünümüne geçiş */
  body {
    background-color: #f8f9fa;
    color: #333;
  }
  
  .main-content {
    background-color: #f8f9fa;
    color: #333;
  }
  
  .main-content::before {
    background-image: linear-gradient(rgba(248, 249, 250, 0.85), rgba(248, 249, 250, 0.85)), url('/assets/img/navigation/about2.jpg');
  }
  
  /* Ana menü ve içerik alanları */
  .right-menu {
    background-color: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .vertical-title {
    color: #fff;
  }
  
  /* Footer */
  .contact-footer {
    background-color: #f0f2f5;
    color: #333;
  }
  
  /* Butonlar */
  .btn-primary {
    background-color: #1e2a3a;
    border-color: #1e2a3a;
  }
  
  .btn-primary:hover {
    background-color: #c41230;
    border-color: #c41230;
  }
  
  /* Formlar */
  input, textarea, select {
    background-color: #fff !important;
    color: #333 !important;
    border-color: #ced4da !important;
  }
  
  input::placeholder, textarea::placeholder {
    color: #6c757d !important;
  }
  
  /* Kartlar ve içerik kutuları */
  .card, .accordion-item {
    background-color: #fff;
    border-color: #dee2e6;
  }
  
  .accordion-button {
    background-color: #f8f9fa;
    color: #333;
  }
  
  .accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    color: #333;
  }
}

/* Tema geçişi animasyonu */
body, .main-content, .right-menu, .contact-footer, 
.card, .accordion-item, .accordion-button, 
input, textarea, select, .btn {
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

/* Manuel tema değiştirme */
.dark-mode-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(30, 42, 58, 0.8);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
}

/* Karanlık mod için manuel sınıf (JavaScript ile etkinleştirilecek) */
body.dark-theme {
  background-color: #1e2a3a;
  color: #fff;
}

body.light-theme {
  background-color: #f8f9fa;
  color: #333;
}

/* =========================================
   Erişilebilirlik Yardımcıları
   ========================================= */
.sr-only,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* İş ilanı modalı için klavye odaklanma stilleri */
.job-modal-close:focus,
.show-job-details-btn:focus,
.job-modal a:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

/* İş modalı klavye navigasyonu için focus göstergeleri */
.job-position:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  outline: 2px solid #c41230;
}

/* İş ilanı modal geçişleri için animasyon */
.job-modal {
  animation: slideUpModal 0.5s ease forwards;
}

.job-modal.hidden {
  animation: slideDownModal 0.5s ease forwards;
}

@keyframes slideUpModal {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

@keyframes slideDownModal {
  from {
    bottom: 20px;
    opacity: 1;
    visibility: visible;
  }
  to {
    bottom: -300px;
    opacity: 0;
    visibility: hidden;
  }
}

/* =========================================
   İletişim Formu İyileştirmeleri
   ========================================= */

/* Floating Label Stilleri */
.form-floating {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-floating input,
.form-floating textarea,
.form-floating select {
  height: auto;
  padding: 1.25rem 0.75rem 0.5rem;
  line-height: 1.25;
  border-radius: 6px;
  border: 1px solid #ced4da;
  transition: all 0.2s ease-in-out;
  background-color: white;
}

.form-floating textarea {
  min-height: 120px;
  resize: none;
}

.form-floating label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  transform-origin: 0 0;
  transition: opacity .2s ease-in-out, transform .2s ease-in-out, color .2s ease-in-out;
  color: #6c757d;
  font-size: 0.85rem;
}

.form-floating input:focus,
.form-floating textarea:focus,
.form-floating select:focus {
  border-color: var(--orange-bg);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(247, 148, 29, 0.25);
}

.form-floating input:focus ~ label,
.form-floating textarea:focus ~ label,
.form-floating select:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label,
.form-floating select:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
  color: var(--orange-bg);
  background-color: white;
  padding: 0 .25rem;
  height: auto;
  opacity: 1;
}

/* Dosya Yükleme Alanı Stilleri */
.file-drop-area {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border: 2px dashed #ced4da;
  border-radius: 6px;
  text-align: center;
  transition: 0.3s;
  cursor: pointer;
  margin-bottom: 1.5rem;
  background-color: white;
}

.file-drop-area:hover {
  border-color: #f7941d;
}

.file-drop-area.highlight {
  border-color: #f7941d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-message {
  font-size: 0.9rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.file-message i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  background-color: white;
}

.file-item {
  padding: 3px 8px;
  background: rgba(247, 148, 29, 0.1);
  border-radius: 4px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  color: #333;
}

.file-item .file-remove {
  margin-left: 5px;
  cursor: pointer;
  color: #dc3545;
}

/* Genişletilmiş Sosyal Medya Butonları */
.social-contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-contact h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #555;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange-bg);
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
  background: #e78a19;
}

/* İletişim formu buton iyileştirmeleri */
.btn-submit {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(247, 148, 29, 0.2);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  padding: 0.75rem 2rem;
}

.btn-submit: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.6s ease;
}

.btn-submit:hover:before {
  left: 100%;
}

/* Form Etkinleştirme Animasyonu */
@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form .form-group {
  animation: formFadeIn 0.5s ease-out forwards;
  animation-delay: calc(var(--form-item-index, 0) * 0.1s);
  opacity: 0;
}

/* Ensure form elements stay white in both themes */
body.dark-theme .form-control,
body.dark-theme .form-floating input,
body.dark-theme .form-floating textarea,
body.dark-theme .form-floating select,
body.dark-theme .file-drop-area {
  background-color: white !important;
  color: #212529 !important;
}

body.dark-theme .form-floating input:focus ~ label,
body.dark-theme .form-floating textarea:focus ~ label,
body.dark-theme .form-floating select:focus ~ label,
body.dark-theme .form-floating input:not(:placeholder-shown) ~ label,
body.dark-theme .form-floating textarea:not(:placeholder-shown) ~ label,
body.dark-theme .form-floating select:not(:placeholder-shown) ~ label {
  background-color: white;
  color: var(--orange-bg);
}

/* =========================================
   İletişim Formu İyileştirmeleri - Modern Güncelleme
   ========================================= */

/* Form genel stilleri modernleştirme */
.contact-form {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0 0.5rem;
}

/* Floating Label İyileştirmeleri */
.form-floating {
  position: relative;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease-in-out;
}

.form-floating:focus-within {
  transform: translateY(-2px);
}

.form-floating input,
.form-floating textarea,
.form-floating select {
  height: auto;
  padding: 1.25rem 0.75rem 0.5rem;
  line-height: 1.25;
  border-radius: 8px;
  border: 1px solid #ced4da;
  transition: all 0.3s ease;
  background-color: white;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.form-floating textarea {
  min-height: 120px;
  resize: none;
}

.form-floating label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 1rem 0.75rem;
  pointer-events: none;
  transform-origin: 0 0;
  transition: opacity .3s ease, transform .3s ease, color .3s ease;
  color: #6c757d;
  font-size: 0.85rem;
  font-weight: 500;
}

.form-floating input:focus,
.form-floating textarea:focus,
.form-floating select:focus {
  border-color: var(--orange-bg);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.15);
}

.form-floating input:focus ~ label,
.form-floating textarea:focus ~ label,
.form-floating select:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label,
.form-floating textarea:not(:placeholder-shown) ~ label,
.form-floating select:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.75rem) translateX(0.15rem);
  color: var(--orange-bg);
  background-color: white;
  padding: 0 .25rem;
  height: auto;
  opacity: 1;
  font-weight: 600;
}

/* Dosya Yükleme Alanı İyileştirmeleri */
.file-drop-area {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.7rem;
  border: 2px dashed #ced4da;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 1.5rem;
  background-color: white;
}

.file-drop-area:hover {
  border-color: #f7941d;
  background-color: rgba(247, 148, 29, 0.03);
}

.file-drop-area.highlight {
  border-color: #f7941d;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(247, 148, 29, 0.1);
  background-color: rgba(247, 148, 29, 0.05);
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-message {
  font-size: 0.95rem;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: 500;
}

.file-message i {
  margin-right: 10px;
  font-size: 1.4rem;
  color: #f7941d;
}

.file-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  background-color: white;
}

.file-item {
  padding: 5px 10px;
  background: rgba(247, 148, 29, 0.1);
  border-radius: 6px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.file-item:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.file-item .file-remove {
  margin-left: 8px;
  cursor: pointer;
  color: #dc3545;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.file-item .file-remove:hover {
  opacity: 1;
}

/* CAPTCHA İyileştirmeleri */
.custom-captcha {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.custom-captcha:focus-within {
  transform: translateY(-2px);
}

.custom-captcha label {
  font-weight: 600;
  font-size: 0.9rem;
}

.captcha-img-container {
  border-radius: 8px;
  height: 46px;
  min-width: 140px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.refresh-captcha {
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
}

.refresh-captcha:hover {
  background-color: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.refresh-captcha i {
  transition: transform 0.5s ease;
}

.refresh-captcha:hover i {
  transform: rotate(180deg);
}

/* Buton İyileştirmeleri */
.btn-submit {
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(247, 148, 29, 0.25);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  padding: 0.75rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(247, 148, 29, 0.3);
}

.btn-submit:active {
  transform: translateY(-1px);
}

.btn-submit:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.6s ease;
}

.btn-submit:hover:before {
  left: 100%;
}

/* Sosyal Medya İyileştirmeleri */
.social-contact {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.social-contact h5 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: #444;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange-bg);
  color: white;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-icon i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.social-icon:hover i {
  transform: scale(1.15);
}

/* Form etkinleştirme animasyonu iyileştirmesi */
@keyframes formFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form .form-group,
.contact-form .form-floating,
.contact-form div[style*="--form-item-index"] {
  animation: formFadeIn 0.6s ease-out forwards;
  animation-delay: calc(var(--form-item-index, 0) * 0.1s);
  opacity: 0;
}

/* Validation iyileştirmeleri */
.is-invalid {
  border-color: #dc3545 !important;
  padding-right: calc(1.5em + 0.75rem) !important;
  transition: all 0.3s ease;
}

.is-valid {
  border-color: #198754 !important;
  padding-right: calc(1.5em + 0.75rem) !important;
  transition: all 0.3s ease;
}

.input-error {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #dc3545;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 5px;
  border-left: 3px solid #dc3545;
  box-shadow: 0 3px 8px rgba(220, 53, 69, 0.1);
  animation: errorShake 0.5s ease-out forwards;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

/* Mobil uyumluluk iyileştirmeleri */
@media (max-width: 768px) {
  .form-floating input,
  .form-floating textarea,
  .form-floating select {
    padding-top: 1.5rem;
    font-size: 16px; /* iOS zoom sorununu engeller */
  }
  
  .file-drop-area {
    padding: 1.5rem 1rem;
  }
  
  .social-icons {
    gap: 15px;
  }
  
  .btn-submit {
    width: 100% !important;
    padding: 0.85rem 1rem;
  }
  
  .captcha-img-container {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Koyu tema uyumu sürdürmek için ek stiller */
body.dark-theme .contact-form {
  background-color: #2c3e50;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body.dark-theme .form-floating label:not(:focus-within):not(.form-floating input:not(:placeholder-shown) ~ label) {
  color: #9bb0c3;
}