/*
=================================================================
  DONCP - Domain Ownership Nexus Control Platform
  Author and Version: DONCP and PlusLayer & v1.01
=================================================================
*/

/* 1. GOOGLE FONTLARI VE TEMEL AYARLAR
----------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|Raleway:400,500,700&display=swap');

:root {
  --primary-color: #005A9C;
  --secondary-color: #0d47a1;
  --dark-color: #222;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --grey-color: #777;
  --success-color: #28a745;
  --danger-color: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.7;
  color: var(--dark-color);
  background-color: var(--white-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

p {
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 2. DİL DEĞİŞTİRME MEKANİZMASI
----------------------------------------------------------------*/
body.lang-en .lang-tr {
  display: none;
}

body.lang-tr .lang-en {
  display: none;
}

/* 3. HEADER (NAVİGASYON)
----------------------------------------------------------------*/
.header {
  background: var(--white-color);
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-brand {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-color);
  text-decoration: none;
  flex-shrink: 0; 
}

.logo-brand span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  flex-direction: row; 
  align-items: center;
}

.nav-links ul {
  display: flex; 
  flex-direction: row;
}

.nav-links li {
  margin-left: 25px;
}

.nav-links li a {
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
  color: var(--dark-color);
  font-size: 16px;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease; 
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.lang-switcher {
  display: flex; 
  margin-left: 20px; 
}

.lang-switcher button {
  background: none;
  border: 1px solid #ddd;
  padding: 5px 10px;
  margin-left: 5px;
  cursor: pointer;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.3s ease; 
}

.lang-switcher button:hover {
  background: var(--light-color);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.lang-switcher button.active {
  background: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--dark-color);
  order: 3; 
}

/* 4. HERO SECTION (ANA SAYFA)
----------------------------------------------------------------*/
.hero {
  background: var(--light-color);
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  color: var(--grey-color);
  margin-bottom: 30px;
  font-weight: 300;
  text-align: center; 
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.3s ease; 
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent; 
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white-color);
  transform: translateY(-4px) scale(1.02); 
  box-shadow: 0 8px 15px rgba(0, 90, 156, 0.2); 
}

/* 5. FEATURES GRID (ANA SAYFA ÖZELLİKLERİ)
----------------------------------------------------------------*/
.features-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title p {
  font-size: 18px;
  color: var(--grey-color);
  text-align: center; 
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-box {
  background: var(--white-color);
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.feature-box:hover {
  transform: translateY(-12px) scale(1.02); 
  box-shadow: 0 15px 30px rgba(0, 90, 156, 0.15); 
}

.feature-box .icon {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.feature-box p {
  font-size: 15px;
  color: var(--grey-color);
  text-align: center; 
}

/* 6. GENEL İÇERİK SAYFALARI (Makaleler, Hakkımızda)
----------------------------------------------------------------*/
.page-header {
  padding: 60px 0;
  background: var(--light-color);
  text-align: center;
  border-bottom: 1px solid #eee;
}

.page-header h1 {
  font-size: 40px;
}

.content-section {
  padding: 80px 0;
}

.content-section .container {
  max-width: 900px; 
}

.content-section h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 5px;
  display: inline-block;
}

.content-section h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-top: 25px;
}

.content-section p {
  font-size: 17px;
  line-height: 1.8;
  text-align: justify; 
}

.content-section li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.content-section ul, 
.content-section ol {
  list-style-position: inside;
  padding-left: 5px;
  margin-bottom: 15px;
}
.content-section ul {
  list-style-type: disc;
}
.content-section ol {
  list-style-type: decimal;
}


.content-section strong {
  color: var(--dark-color);
  font-weight: 600;
}

/* 7. İLETİŞİM SAYFASI
----------------------------------------------------------------*/
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch; /* Sütun yüksekliklerini eşitler */
}

.contact-info {
  background: var(--light-color);
  padding: 30px;
  border-radius: 8px;
  height: 100%; /* Sütun yüksekliğini eşitle */
}

.contact-info h3 {
  font-size: 24px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start; 
  text-align: left; 
}

.contact-info p i.material-icons {
    font-size: 18px;
    color: var(--primary-color);
    margin-right: 15px;
    width: 20px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-maps h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.map-container {
  border-radius: 8px;
  overflow: hidden; 
  background: var(--light-color);
  border: 1px solid #eee;
  padding: 20px; 
  height: 100%; 
}

.map-container iframe {
  width: 100%;
  height: 400px; 
  border: 0;
  border-radius: 8px; 
}

/* 8. FOOTER
----------------------------------------------------------------*/
.footer {
  background: var(--dark-color);
  color: #aaa;
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 18px;
  color: var(--white-color);
  margin-bottom: 20px;
}

.footer p, .footer li, .footer a {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 10px;
  text-align: left; 
}

.footer a:hover {
  color: var(--white-color);
  text-decoration: underline;
}

.footer-grid > div:first-child p {
  text-align: justify;
}

.footer-grid > div:nth-child(2) {
  text-align: center;
}
.footer-grid > div:nth-child(2) li,
.footer-grid > div:nth-child(2) a {
  text-align: center;
}

.footer-info-tr {
  display: none; 
}

body.lang-tr .footer-info-tr {
  display: block;
}

body.lang-tr .footer-info-en {
  display: none;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #888;
}

.footer-hosting-link {
  display: inline-block;
  margin-top: 10px; 
  font-size: 13px; 
  color: #888;
}

.copyright a {
  color: #aaa;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.copyright a:hover {
  color: #fff;
  text-decoration: underline;
}

/* 9. MOBİL UYUMLULUK (Responsive)
----------------------------------------------------------------*/
@media (max-width: 992px) {
  .nav-links li {
    margin-left: 15px;
  }
  .nav-links li a {
    font-size: 15px;
  }
  .lang-switcher {
    margin-left: 15px;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap; 
    justify-content: space-between; 
  }

  .logo-brand {
    order: 1; 
  }
  
  .hamburger {
    display: block; 
    order: 2; 
  }

  .nav-links {
    order: 4; 
    flex-direction: column;
    width: 100%;
    max-height: 0; 
    overflow: hidden;
    background: var(--white-color);
    transition: max-height 0.3s ease-out;
  }

  .nav-links.active {
    max-height: 500px; 
    border-top: 1px solid #eee;
    margin-top: 15px;
  }
  
  .nav-links ul {
    flex-direction: column; 
    width: 100%;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 15px;
    border-bottom: 1px solid #f5f5f5;
  }
  
  .nav-links li a:hover,
  .nav-links li a.active {
    border-bottom-color: #f5f5f5; 
    background: var(--light-color); 
  }

  .lang-switcher {
    order: 3; 
    flex-basis: 100%; 
    margin-left: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    justify-content: center; 
  }

  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid > div {
    margin-bottom: 20px;
  }
  .footer p, .footer li, .footer a {
    text-align: center; 
  }

  .footer-grid > div:first-child p {
    text-align: center;
  }
  .footer-grid > div:nth-child(2) {
    text-align: center;
  }
}