/* Genel stil */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  overflow-x: hidden; /* Sağdaki boşluğu engelle */
  width: 100%;
}
a {
  color: #D4AF37;
  text-decoration: none;
}
header, section, footer {
  padding: 60px 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  width: 100%;
}

/* Navbar Styles */
.navbar {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  padding: 15px 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-left: 15px; /* Sol kenar boşluğu eklendi */
}

.nav-logo a {
  display: flex;
  align-items: center;
  color: #D4AF37;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-logo a:hover {
  color: #ffffff;
}

.logo-image {
  height: 40px; /* Logo yüksekliği - orantıyı koruyarak genişliği otomatik ayarlanacak */
  width: auto;
  margin-right: 10px;
}

/* Navbar ikonları - daha büyük ve arası daha açık */
.nav-contact {
  display: flex;
  align-items: center;
}

.contact-icon {
  margin-left: 25px; /* 15px'den 25px'e çıkarıldı */
  font-size: 1.5rem; /* 1.2rem'den 1.5rem'e çıkarıldı */
  color: #D4AF37;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.contact-icon:hover {
  color: #ffffff;
}

/* SVG ikonlarının boyutu */
.phone-icon, .whatsapp-icon {
  width: 28px; /* 22px'den 28px'e çıkarıldı */
  height: 28px; /* 22px'den 28px'e çıkarıldı */
}

/* Header Stili - Arka plan ile */
header {
  position: relative;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
    url('https://www.transparenttextures.com/patterns/black-paper.png'),
    url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  padding-top: 20px;
}

/* Overlay ekleme */
header::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

/* Header içerik konteyner */
.header-content {
  position: relative;
  z-index: 1;
  padding: 25px 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
}

/* Logo container */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 30px;
}

/* Header logo */
.header-logo {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.header-logo-image {
  width: auto;
  height: 120px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

/* İsim bölümü */
.name-container {
  text-align: left;
}

.name-title {
  font-size: 60px;
  line-height: 0.9;
  margin: 0;
  padding: 0;
  color: #D4AF37;
  font-weight: 500;
  text-align: left;
  margin-bottom: 10px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
}

.profession {
  font-size: 16px;
  color: #D4AF37;
  text-align: left;
  margin: 0;
  letter-spacing: 1px;
  line-height: 1.3;
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About Section geliştirilmiş stiller */
#about {
  background-color: #111;
  padding: 80px 0;
}

#about h2 {
  color: #D4AF37;
  text-align: center !important;
  width: 100%;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-content p {
  color: #e0e0e0;
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 1.05rem;
  text-align: justify;
}

/* Services Section - renk düzenlemesi */
#services {
  background-color: #0a0a0a; /* Çok açık renk yerine koyu tema ile uyumlu renk */
  padding: 80px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

#services h2 {
  color: #D4AF37; /* Altın rengi başlık - siteyle uyumlu */
  text-align: center !important;
  width: 100%;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

/* Services Grid düzeltmesi - kenarlara dayanma sorunu */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Service kartları düzeltme */
.service-item {
  background-color: #111;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto; /* Ortala */
  width: 100%; /* Tam genişlik */
  max-width: 100%; /* Taşmayı engelle */
}

/* Resim konteyner - sabit boyut ve oran */
.service-item-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

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

/* İçerik alanı */
.service-item-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-item h3 {
  margin-bottom: 15px;
  color: #D4AF37;
  font-size: 1.4rem;
}

.service-item p {
  color: #e0e0e0;
  line-height: 1.6;
}

/* Footer Geliştirmeleri */
footer {
  background-color: #0a0a0a; /* Siyahtan çok koyu gri tona geçiş */
  color: #e0e0e0;
  padding-top: 70px;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.3); /* Altın rengi sınır çizgisi */
}

/* Üst kenar süslemesi */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3); /* Beyaz yerine altın rengi */
  margin-bottom: 20px;
}

.footer-content > div {
  flex: 1;
  min-width: 250px;
  margin: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-in-out, transform 1s ease-out;
}

/* Footer başlık stilleri */
.footer-info h3,
.footer-contact h4,
.footer-map h4 {
  color: #D4AF37; /* Altın başlıklar */
  margin-bottom: 20px;
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 10px;
}

/* Başlık altı çizgisi */
.footer-info h3::after,
.footer-contact h4::after,
.footer-map h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #D4AF37;
}

.footer-info p,
.footer-contact p {
  color: #e0e0e0;
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-map iframe {
  border: 0;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 250px;
}

/* Sosyal medya ikonları için stil (eklemek isterseniz) */
.social-icons {
  margin-top: 20px;
  display: flex;
}

.social-icons a {
  color: #D4AF37;
  margin-right: 15px;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #999;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
}

.designer-signature {
  margin-top: 12px;
  font-size: 0.8rem;
}

.designer-signature a {
  display: inline-flex;
  align-items: center;
  color: #888;
  transition: color 0.3s ease;
}

.designer-signature a:hover {
  color: #D4AF37;
}

.designer-signature i {
  font-size: 1rem;
  margin-right: 5px;
}

.designer-signature span {
  letter-spacing: 0.5px;
}

/* Animasyon stilleri */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

/* Responsive Design */
@media(max-width: 992px) {
  /* Tablet ve küçük dizüstü bilgisayarlar için */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  header {
    height: 90vh;
  }
  .logo h1 {
    font-size: 3rem;
  }
}

@media(max-width: 768px) {
  /* Genel düzenlemeler */
  header, section, footer {
    padding: 40px 15px;
  }
  
  /* Header */
  header {
    text-align: center;
    padding-top: 10px; /* Mobilde daha az padding */
  }
  
  .header-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    width: 90%;
  }
  
  .logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo h1 {
    width: 100%;
    text-align: center;
    font-size: 2.8rem; /* 2.5rem'den 2.8rem'e */
    margin-bottom: 15px;
  }
  
  header p {
    width: 100%;
    text-align: center;
    font-size: 1.2rem; /* 1rem'den 1.2rem'e */
    margin-top: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
  }
  
  header h1 {
    font-size: 2.8rem;
  }
  header p {
    font-size: 1.2rem;
  }
  
  /* Navbar */
  .navbar {
    padding: 12px 0; /* 10px'den 12px'e */
    position: fixed !important;
  }
  .navbar .container {
    padding: 0 15px;
  }
  
  .nav-logo {
    margin-left: 5px;
  }
  
  .nav-logo a {
    font-size: 1.3rem; /* 1.2rem'den 1.3rem'e */
  }
  
  .logo-image {
    height: 32px; /* 30px'den 32px'e */
  }
  
  .nav-logo span {
    font-size: 1.2rem; /* Mobil görünümde yazı boyutu küçülsün */
  }
  
  /* İkonların boyutu artırıldı */
  .phone-icon, .whatsapp-icon {
    width: 30px; /* 28px'den 30px'e */
    height: 30px; /* 28px'den 30px'e */
  }
  
  /* Dokunmatik hedefi büyütme */
  .contact-icon {
    padding: 8px; /* Tıklanabilir alan için padding eklendi */
  }
  
  /* Hizmetler */
  #services .container {
    padding: 0 15px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 5px;
  }
  
  .service-item {
    max-width: 480px;
  }
  
  .service-item-img {
    height: 180px;
  }
  
  /* Footer */
  footer {
    padding-top: 50px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    padding: 0 15px 30px;
  }
  
  .footer-content > div {
    width: 100%;
    margin: 0 0 40px 0;
  }
  
  /* Başlık altı çizgisini ortala */
  .footer-info h3::after,
  .footer-contact h4::after,
  .footer-map h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }
  
  .footer-map {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-map iframe {
    width: 100%;
    max-width: 450px;
    height: 220px;
    margin: 0 auto;
  }
  
  /* Sosyal medya ikonları */
  .social-icons {
    justify-content: center;
  }

  /* About Section */
  #about {
    padding: 60px 0;
  }
  
  #about h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center !important;
  }
  
  .about-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: left;
  }
  
  /* Header responsive ayarlar */
  .logo-container {
    flex-direction: row; /* column yerine row yapılıyor */
    gap: 15px; /* Mobilde biraz daha yakın dursun */
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .header-logo {
    justify-content: flex-end;
    flex-shrink: 0; /* Logo boyutu korunsun */
  }
  
  .header-logo-image {
    height: 80px; /* Mobilde biraz daha küçük */
    width: auto;
  }
  
  .name-container {
    text-align: left;
    flex-shrink: 1; /* Yazı gerektiğinde küçülebilsin */
  }
  
  .name-title {
    text-align: left;
    font-size: 38px; /* Mobilde daha küçük font */
    margin-bottom: 5px;
  }
  
  .profession {
    text-align: left;
    font-size: 12px; /* Mobilde daha küçük font */
  }
}

@media(max-width: 480px) {
  /* Mobil cihazlar için ekstra düzenlemeler */
  header, section, footer {
    padding: 30px 10px;
  }
  
  /* Header */
  header {
    height: 80vh;
    padding-top: 5px; /* En küçük ekranlarda minimal padding */
  }
  .logo h1 {
    font-size: 2.4rem; /* 2rem'den 2.4rem'e */
    margin-bottom: 10px;
  }
  header p {
    font-size: 1.1rem; /* 0.9rem'den 1.1rem'e */
    letter-spacing: 0.3px;
  }
  
  .header-content {
    padding: 15px 20px;
    width: 95%;
  }
  
  /* About */
  #about h2, #services h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  #about, #services {
    padding: 40px 0;
  }
  
  /* Servisler */
  .services-grid {
    gap: 20px;
    padding: 0;
  }
  .service-item {
    margin: 0 auto 15px;
  }
  .service-item-content {
    padding: 15px 12px;
  }
  .service-item-img {
    height: 160px;
  }
  .service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .service-item p {
    font-size: 0.9rem;
  }
  
  /* Footer */
  footer {
    padding-top: 40px;
  }
  
  .footer-content {
    padding: 0 10px 20px;
  }
  
  .footer-content > div {
    margin-bottom: 30px;
  }
  
  .footer-info h3,
  .footer-contact h4,
  .footer-map h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  
  .footer-map iframe {
    max-width: 100%;
    height: 180px;
  }
  
  .footer-bottom {
    padding: 15px;
    font-size: 0.8rem;
  }
  
  .designer-signature {
    margin-top: 8px;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .logo-image {
    height: 28px; /* 25px'den 28px'e */
  }
  
  .nav-logo span {
    font-size: 1.1rem; /* 1rem'den 1.1rem'e */
  }
  
  /* Daha büyük ikonlar */
  .phone-icon, .whatsapp-icon {
    width: 26px; /* 24px'den 26px'e */
    height: 26px; /* 24px'den 26px'e */
  }
  
  .contact-icon {
    margin-left: 15px; /* 18px'den 15px'e - daha yakın ama hala erişilebilir */
    padding: 6px; /* Tıklanabilir alan için padding eklendi */
  }
  
  /* Container boşlukları */
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  /* Servis kartları ekstra düzeltme */
  .services-grid {
    gap: 20px;
    padding: 0 10px;
  }
  
  /* Daha küçük ikonlar */
  .phone-icon, .whatsapp-icon {
    width: 24px; /* Mobilde biraz daha küçük */
    height: 24px;
  }
  
  .contact-icon {
    margin-left: 18px; /* Mobilde biraz daha az ama yine de yeterli */
  }
  
  /* Header responsive ayarlar */
  .logo-container {
    gap: 12px;
  }
  
  .header-logo-image {
    height: 65px; /* Daha da küçült */
  }
  
  .name-title {
    font-size: 30px; /* Daha da küçült */
  }
  
  .profession {
    font-size: 10px; /* Daha da küçült */
  }
  
  .hexagon-logo {
    width: 100px;
    height: 115px;
  }
  
  .big-m {
    font-size: 60px;
  }
  
  .header-logo-image {
    height: 80px;
  }
}
