/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Header */
header {
  background-color: #ffffff;
  padding: 12px 0;
}

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

.logo {
  height: 50px;
  margin-top: 20px;
}

.nav-right ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-right a {
  color: #003366; /* koyu mavi ton */
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-right a:hover {
  color: #005b96; /* açık mavi hover */
}

/* Hamburger icon */
.hamburger {
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  cursor: pointer;
}

/* Hamburger icon */
.hamburger {
  display: none;
}

.hamburger-text {
  font-size: 1.6rem;
}

/* Mobil menu kapalıyken gizli */
.nav-right {
  display: flex;
}

/* Hizmetler */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.grid li {
  background: #fff;
  border-left: 4px solid #444;
  padding: 15px;
  list-style: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
  background-color: #111;
  color: #bbb;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
}

.footer-link {
  color: #fff;
  text-decoration: underline;
}
.footer-nav {
  margin: 10px 0;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}
.footer-nav a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #1c52b0; /* Menü arka planı */
    position: absolute;
    top: 90px;
    left: 0;
    z-index: 999;
  }

  .nav-right.show {
    display: flex;
  }

  .nav-right ul {
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
  }

  .nav-right li {
    margin: 10px 0;
  }

  .nav-right li a {
    color: white; /* Yazılar beyaz */
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
  }

  .nav-right li a:hover {
    text-decoration: underline;
  }

  .hamburger {
    display: block;
  }
}
/* Section */
.section {
  padding: 20px 20px;
  line-height: 1.8;
}

/* Container */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 0 10px;
}

/* Başlıklar */
.section h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #111;
}

.section h3 {
  font-size: 1.3rem;
  margin: 25px 0 10px;
  color: #222;
}

/* Paragraflar */
.section p {
  font-size: 1.05rem;
  margin-bottom: 18px;
  color: #333;
}

.section p:last-child {
  margin-bottom: 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.project-gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.person-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 24px 28px;
  margin-bottom: 32px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.person-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.person-card h3 {
  color: #003366;
  border-left: 5px solid #005bbb;
  padding-left: 12px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.contact-box {
  background: linear-gradient(to right, #eaf6ff, #d6e9ff);
  border-left: 35px solid #1c4e80;
  padding: 30px;
  margin-top: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contact-box a {
  text-decoration: none;
  color: inherit;
}

.whatsapp-label {
  color: #1da851 !important; /* WhatsApp yeşiline yakın ama koyu ve sade */
  font-size: 1.6rem !important;
  font-weight: bold;
  margin-bottom: 5px;
}

.section {
  flex: 1;
}

.read-more {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background-color: #246eb9; /* daha doygun bir mavi */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}

.read-more:hover {
  background-color: #164e86;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.grid li {
  transition: all 0.3s ease;
  cursor: pointer;
}

.grid li:hover {
  background-color: #f0f8ff; /* açık mavi ton */
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #246eb9; /* mavi vurgu çizgisi */
}

.section h1 .container h1 {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: bold;
}

.section h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

.section p {
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.section ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.section ul li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.5;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 20px;
}

.contact-box .adres {
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.accordion {
  margin: 1em 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.accordion h3 {
  margin: 0;
  padding: 15px 20px;
  background: #368fd2;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}
.accordion-content {
  display: none;
  padding: 15px 20px;
  background: #f9f9f9;
  line-height: 1.6;
}
.accordion.active .accordion-content {
  display: block;
}

.accordion-content .table-scroll {
  overflow-x: auto;
}

.eurocode-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.eurocode-table th,
.eurocode-table td {
  border: 1px solid #ccc;
  padding: 8px 10px;
  text-align: left;
}

.eurocode-table th {
  background-color: #e5f1ff;
}

.eurocode-table tbody tr:hover {
  background-color: #f1f7fc;
}

.clients-section {
  padding: 60px 20px 0px;
  background-color: #f4f4f4;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.client-box {
  background-color: #003c76;
  color: white;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  padding: 30px 25px;
  max-width: 350px;
  min-width: 280px;
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.client-box:hover {
  transform: translateY(-5px);
}

.client-box h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #ffc107; /* sarı */
  font-weight: bold;
}

.client-box p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero {
  background: linear-gradient(
    to right,
    #002f4b,
    #005b96
  ); /* kurumsal mavi geçiş */
  color: white;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08; /* çok hafif desen efekti */
  z-index: -1;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.hero h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  color: #f1f1f1;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 12px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.1);
}

.project-gallery a img {
  transition: transform 0.2s ease;
  cursor: zoom-in;
}
.project-gallery a img:hover {
  transform: scale(1.03);
}
.hero {
  background-image: url("/assets/images/facade.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 120px 120px;
  text-align: center;
  position: relative;

  animation: heroSlide 15s infinite;
}

@keyframes heroSlide {
  0% {
    background-image: url("/assets/images/facade.jpg");
  }
  33% {
    background-image: url("/assets/images/cephe.jpg");
  }
  66% {
    background-image: url("/assets/images/giydirme-cephe.jpg");
  }
  100% {
    background-image: url("/assets/images/facade.jpg");
  }
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2); /* Koyu filtre */
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.ts498-table {
  border-collapse: collapse;
  margin: 12px 0;
  width: 100%;
  max-width: 100%;
  font-size: 0.95rem;
  overflow-x: auto;
  display: block;
  margin: 12px auto; /* Ortalar */
}

.ts498-table caption {
  font-weight: bold;
  margin-bottom: 6px;
  text-align: left;
  font-size: 1rem;
  color: #0d3f67;
  white-space: normal;
}

/* Yalnızca geniş ekranlar için nowrap */
@media screen and (min-width: 768px) {
  .ts498-table caption {
    white-space: nowrap;
  }
}

.ts498-table th,
.ts498-table td {
  border: 1px solid #444;
  padding: 6px 8px;
  text-align: center;
}

.ts498-table th {
  background-color: #e5edf4;
}

/* style-eurocode.css */

.hesaplama-container {
  max-width: 100%;
  margin: 30px auto;
  padding: 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: Arial, sans-serif;
  /* Ortalamalar */
  text-align: center; /* metin ve inline öğeler ortalanır */
  display: flex; /* blok öğeler de ortalanır */
  flex-direction: column; /* dikey dizilim */
  align-items: center; /* yatay ortalama */
}

.hesaplama-container h2 {
  color: #005c8a;
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
}

.hesaplama-container label {
  display: block;
  font-weight: bold;
  margin-top: 12px;
  color: #333;
}

.hesaplama-container input,
.hesaplama-container select {
  display: block;
  width: 220px;
  max-width: 100%;
  padding: 6px;
  margin-top: 4px;
  font-size: 0.95rem;
  border: 1px solid #bbb;
  border-radius: 3px;
}

.hesaplama-container button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #005c8a;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.hesaplama-container button:hover {
  background-color: #0073aa;
}

#sonuclar {
  margin-top: 25px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
}

#sonuclar p {
  font-weight: bold;
  margin: 6px 0;
  color: #222;
}

/* Container sınırlaması */

/* Mobil Görünüm */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #e0e0e0;
  }

  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 10px;
  }
}

.page-heading-calc {
  font-size: 26px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #222;
}

.page-heading-info {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #222;
}

.page-heading-calc,
.page-heading-info {
  text-align: center;
}
.page-subtext-center {
  text-align: center;
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.mavi-linkler a {
  color: #0056cc;
  text-decoration: underline;
}

.mavi-linkler a:hover {
  color: #003399;
}

.sonuc-uygun {
  color: green;
  font-weight: bold;
  border: 1px solid green;
  padding: 5px;
  border-radius: 4px;
  background-color: #eafae7;
}

.sonuc-yetersiz {
  color: red;
  font-weight: bold;
  border: 1px solid red;
  padding: 5px;
  border-radius: 4px;
  background-color: #fdeaea;
}

.language-selector {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1000;
}

.language-selector img {
  width: 24px;
  height: auto;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.language-selector img:hover {
  transform: scale(1.1);
}

.phone-left {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 13px;
  color: #333;
  z-index: 1000;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
}

.phone-left span {
  font-size: 12px;
  color: #666;
}

/* Cephe Danışmanı sadece masaüstünde görünsün */
.phone-left strong .only-desktop {
  display: inline;
}

.whatsapp-link {
  text-decoration: none;
}

.phone-left img.whatsapp-icon {
  width: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

@media (max-width: 1600px) {
  .phone-left strong .only-desktop {
    display: none;
  }
}

.cta-button {
  display: inline-block;
  background: #ffd600;
  color: #0e2d5c;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.2s;
  margin: 20px 20px 0;
}
.cta-button:hover {
  filter: brightness(1.1);
}

.profile-photo {
  width: 100%;
  max-width: 300px; /* büyük ekranda en fazla 300px olur */
  height: auto; /* oranı korur */
  aspect-ratio: 1 / 1; /* kare kalmasını sağlar */
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
  display: block;
}

.linkedin-button {
  display: inline-block;
  color: #4727bd;
  padding: 10px 10px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  margin-top: 12px;
  transition: background-color 0.3s ease;
}

.linkedin-button:hover {
  background-color: #27a4de;
}

.nowrap {
  white-space: nowrap;
}

.contact-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-name .title {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #6b7280;
  text-transform: uppercase;
}

.infoadres {
  white-space: nowrap; /* satır kaymasını engeller */
  direction: rtl; /* sağdan sola */
  unicode-bidi: bidi-override; /* karakter sırasını tersle */
}

/* Çocuk seçicileri doğru sınıfla eşleştir */
.infoadres .et::before {
  content: "@";
  direction: ltr;
  unicode-bidi: normal;
}

.infoadres .nokta::before {
  content: ".";
  direction: ltr;
  unicode-bidi: normal;
}

.sample-report {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-top: 20px;
  text-align: center;
  margin-bottom: 20px;
}
.pdf-icon {
  transition: transform 0.2s ease;
}
.report-link:hover .pdf-icon {
  transform: scale(1.05);
}
.report-desc {
  font-size: 0.95rem;
  color: #374151;
  margin-top: 10px;
}
.report-desc a {
  color: #1d4ed8;
  font-weight: 600;
}
.report-desc a:hover {
  text-decoration: underline;
}

/* Chrome, Edge, Safari */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.person-card summary {
  font-weight: bold; /* burayı ekledim */
}

.r-fig img { max-width: 100%; height: auto; display: block; }

/* Programın Çalışma Mantığı listesinin sola 10px boşlukla başlaması */
#program-mantik > ol {
  margin-left: 10px; /* numaralar + içerik birlikte 10px kayar */
  list-style-position: outside;
}
