/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Container */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.8); /* Başlangıçta daha şeffaf */
    color: white;
    padding: 15px 0;
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

header .logo h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navbar menu container */
header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-top: 10px; /* Navbar'daki üst boşluğu küçültüyoruz */
  margin-bottom: 10px; /* Alt boşluğu da küçültüyoruz */
}

/* Menü öğelerinin düzeni */
header nav ul li {
  margin: 0 20px; /* Menü öğelerinin arasını biraz daha daraltıyoruz */
  position: relative;
}

/* Menü linkleri */
header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem; /* Font boyutunu biraz küçültüyoruz */
  font-weight: 500; /* Daha hafif bir font ağırlığı */
  padding: 8px 15px; /* Padding değerlerini küçültüyoruz */
  border-radius: 25px; /* Kenarları daha yuvarlak yapıyoruz */
  background-color: transparent;
  border: 2px solid transparent; /* Başlangıçta şeffaf çerçeve */
  transition: all 0.3s ease; /* Yumuşak geçişler için */
  position: relative;
  display: inline-block;
}

/* Hover durumunda değişim */
header nav ul li a:hover {
  color: #fff;
  background-color: #00bcd4; /* Hover arka plan rengi */
  border-color: #00bcd4; /* Çerçeve rengi */
  transform: scale(1.03); /* Hover ile öğe biraz büyüyecek */
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3); /* Hafif gölge efekti */
}

/* Menü öğesinin altındaki çizgi */
header nav ul li a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background-color: #00bcd4; /* Alt çizgi rengi */
  position: absolute;
  bottom: -4px; /* Alt çizgiyi biraz daha yukarı alıyoruz */
  left: 0;
  transition: width 0.3s ease; /* Alt çizgi animasyonu */
}

/* Hover durumunda alt çizgi genişleyecek */
header nav ul li a:hover::after {
  width: 100%; /* Alt çizgi genişleyecek */
}


/* Hero Section */
.hero {
    background: url('tugbapekerresimler/PEKER\ HUKUK\ BÜROSU\ olsun\ law\ olmasın\ office\ olmasın\ PEKER\ HUKUK\ BÜROSU\ olsun\ gerçek\ hayattan\ resim\ alabilirsin\ terazi\ falan\ olsun\ güzel\ şey\ yap.jpg') no-repeat center center/cover;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    height: 100vh;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #e74c3c;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #c0392b;
}

/* Logo Style for Hero Section */
header .logo h1 {
    font-size: 2rem; /* Büyük yazı */
    font-weight: 900;
    text-transform: uppercase;
    color: #00bcd4; /* Aqua rengi */
    letter-spacing: 3px;
    position: relative;
    display: inline-block;
    text-align: center;
    right: 300px;
}

header .logo h1::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: #00bcd4; /* Aqua rengi alt çizgi */
    position: absolute;
    bottom: -10px;
    left: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

header .logo h1:hover::after {
    transform: scaleX(1);
}

/* About Section */
#about {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Services Section */
#services {
    background-color: #ecf0f1;
    padding: 60px 0;
}

#services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
#contact {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

#contact form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ecf0f1;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

#contact input, #contact textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#contact button {
    width: 100%;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
}

#contact button:hover {
    background-color: #34495e;
}

.footer-top {
  background-color: #45414d;
  padding: 40px 0;
  color: #b2b1b5;
  background-position: center;
  background-size: cover;
}
@media (min-width: 992px) {
  .footer-top {
      padding: 70px 0 80px;
  }
}
.footer-top__headings {
  color: #ffffff;
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 24px;
}
.footer-bottom {
  background-color: #393640;
  padding: 15px 0;
  text-align: center;
}
@media (min-width: 992px) {
  .footer-bottom {
      padding: 29px 0 19px;
  }
}
.footer-bottom a {
  color: #ffffff;
  font-weight: bold;
}
@media (min-width: 992px) {
  .footer-bottom__left {
      float: left;
  }
}
.footer-bottom__center {
  padding-top: 5px;
}
@media (min-width: 992px) {
  .footer-bottom__center {
      padding-top: 0;
  }
}
@media (min-width: 992px) {
  .footer-bottom__center .fa {
      margin-top: -10px;
  }
}
.footer-bottom__right {
  padding-top: 5px;
}
@media (min-width: 992px) {
  .footer-bottom__right {
      float: right;
      padding-top: 0;
  }
}
.footer .icon-container {
  color: #b2b1b5;
  font-size: 24px;
}
.footer .icon-container:hover {
  color: #ccb68d;
}

/* Faydalı Linkler Başlığı */
.footer-top .widget_nav_menu h6.footer-top__headings {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  border-bottom: 2px solid #f1c40f; /* Başlık altında ince sarı çizgi */
  padding-bottom: 10px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

/* Genel Footer Ayarları */
.footer {
  background-color: #2c3e50; /* Mavi tonlarında koyu renk */
  color: #b2b1b5;
  padding: 60px 0;
}

.footer .footer-top {
  background-color: #34495e; /* Mavi tonlarında bir başka koyu renk */
  padding: 40px 0;
  color: #b2b1b5;
}

/* Footer Logo */
.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

/* Footer Menüler - Faydalı Linkler */
.footer-top .footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-top .footer-menu li {
  margin-bottom: 12px;
}

.footer-top .footer-menu li a {
  color: #b2b1b5;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease, padding-left 0.3s ease;
  padding-left: 0;
}

.footer-top .footer-menu li a:hover {
  color: #f1c40f;
  padding-left: 10px;
  font-weight: 600;
  text-decoration: underline;
}

.footer-top .footer-menu li a:before {
  content: "\2022"; 
  color: #f1c40f; 
  font-size: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

/* Footer Kart Yapısı */
.footer .widget {
  background-color: #5d6d7e; /* Mavi tonlarında orta koyu bir renk */
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin: 10px;
  display: flex;
  flex-direction: column;
}

.footer .footer-top__headings {
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
  border-bottom: 2px solid #f1c40f;
  padding-bottom: 10px;
}

/* Footer İçeriği */
.footer .textwidget p {
  font-size: 16px;
  line-height: 1.7;
  color: #d1d1d1;
  margin-bottom: 20px;
}

.footer .btn-privacy {
  display: inline-block;
  background-color: #f1c40f;
  color: #fff;
  padding: 12px 25px;
  border-radius: 4px;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.footer .btn-privacy:hover {
  background-color: #e0a900;
}

/* Footer Alt Bölüm */
.footer .footer-bottom {
  background-color: #2c3e50; /* Mavi tonlarında koyu renk */
  padding: 20px 0;
  text-align: center;
  color: #b2b1b5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer .footer-bottom__left,
.footer .footer-bottom__right {
  font-size: 16px;
  color: #fff;
}

.footer .footer-bottom__left a,
.footer .footer-bottom__right a {
  color: #f1c40f;
  font-weight: bold;
  text-decoration: none;
}

.footer .footer-bottom__left a:hover,
.footer .footer-bottom__right a:hover {
  color: #ffffff;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .footer-top .footer-menu li {
    margin-bottom: 10px;
  }

  .footer-top .footer-menu li a {
    font-size: 14px;
  }

  .footer-top .widget_nav_menu h6.footer-top__headings {
    font-size: 18px;
  }

  /* Footer Kartları Mobil Düzenleme */
  .footer .widget {
    margin: 10px 0;
    flex: 1 1 100%;
  }

  .footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom__left,
  .footer-bottom__right {
    text-align: center;
    margin-bottom: 10px;
  }
}

/* Scroll Effects for Navbar */
header.scrolled {
    background-color: rgba(44, 62, 80, 1); /* Navbar daha belirgin olur */
    transform: translateY(0); /* Yavaşça kayma efekti */
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
/* Sosyal Medya İkonları */
.footer .social-icon {
  color: #b2b1b5;
  font-size: 30px; /* İkon boyutunu arttırdık */
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer .social-icon:hover {
  color: #f1c40f; /* Hover durumunda renk değişimi */
}
/* Footer İletişim Bilgileri Stili */


.footer .corporate-address {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .corporate-address li {
  font-size: 16px;
  color: #d1d1d1;  /* Metin rengi */
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.footer .corporate-address li i {
  margin-right: 12px;  /* İkon ile metin arasındaki boşluk */
  font-size: 20px;
  color: #f1c40f;  /* İkon rengi */
}

.footer .corporate-address li a {
  color: #f1c40f;  /* E-posta linkinin rengi */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .corporate-address li a:hover {
  color: #fff;  /* Link hoverda beyaz olur */
  text-decoration: underline;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  .footer-box {
    padding: 15px;
  }

  .footer .corporate-address li {
    font-size: 14px;
  }

  .footer .corporate-address li i {
    font-size: 18px;
  }
}
/* Sosyal medya ikonları ve metinlerinin genel stilini ayarlıyoruz */
.social-media-item {
  display: flex; /* İkon ve metni yatayda hizalamak için flexbox kullanıyoruz */
  align-items: center; /* Dikeyde ortalama */
  margin-bottom: 15px; /* Her öğe arasında boşluk */
}

/* Sosyal medya ikonları */
.social-media-item .social-icon {
  font-size: 36px; /* İkon boyutunu büyütüyoruz */
  margin-right: 10px; /* İkon ile yazı arasına boşluk */
  transition: color 0.3s ease;
}

/* Renkli sosyal medya ikonları */
.social-icon.facebook {
  color: #3b4998; /* Facebook için mavi */
}

.social-icon.twitter {
  color: #1da1f2; /* Twitter için mavi */
}

.social-icon.instagram {
  color: #e4405f; /* Instagram için pembe */
}

/* Hover durumu için renk değiştirme */
.social-icon:hover {
  color: #f1c40f;
}

/* Sosyal medya adreslerinin metin stili */
.social-media-item .social-text {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hoverda metin rengi değişimi */
.social-media-item .social-text:hover {
  color: #f1c40f;  /* Hoverda sarı renge dönüşür */
}

/* Mobil uyumluluk için stil */
@media (max-width: 768px) {
  .social-media-item .social-text {
      font-size: 16px; /* Mobilde yazı boyutunu küçült */
  }
}

