* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body{
    background-color:#D7E5FA;
}
/* Hamburger ikon */
.hamburger {
    display: none; /* büyük ekranlarda gizli */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: white;
    border-radius: 2px;
}

/* Navbar */
header {
      background-color:#17223B; /* 0.5 = %50 şeffaflık */
    color: white;
    padding: 15px 0;
    width: 100%;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

header nav ul li a {
    font: bold;
    background-color: rgb(47, 47, 146);
    padding: 10px 20px;
    border-radius: 20px;
    color: white;
    text-decoration: none;
}


nav ul li a:hover {
    background-color: rgb(238, 226, 54);  /* hover arka plan rengi */
    color: black;                          /* yazı rengi */
    padding: 10px 20px;
    border-radius: 20px;
}

.logo img {
     border-radius: 5px;
    width: 100px;
    height: 80px;
}


/* Main box */
.main-box {
  width: 80%;
  max-width: 1000px;
  height: 650px;
  margin: 50px auto;
  background-color: #8EB6F1;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;  /* 2 eşit sütun */
  overflow: hidden;
}

/* Sol ve sağ taraf */
.left-side{
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    flex-direction: column;
}
/* Bu sınıf formu dikey hizalamaya zorlar (en güvenilir yol) */
.vertical-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
}

/* label'ları tam satır yap (inline davranışını kaldır) */
.vertical-form label {
  display: block;
  height: 36px;
  line-height: 36px;
  font-weight: 700;
  color: rgb(245,232,209);
}

/* input/textarea buton full width ve block */
.vertical-form input,
.vertical-form textarea {
  display: block;
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.15);
  box-sizing: border-box;
  font-size: 14px;
}

/* sabit textarea yüksekliği */
.vertical-form textarea {
  height: 120px;
  resize: vertical;
}

/* buton */
.vertical-form button {
  align-self: flex-start; /* isteğe bağlı: butonu sola yasla */
  padding: 10px 16px;
  background:#004aad;
  color:#fff;
  border:none;
  border-radius:6px;
  cursor:pointer;
}

.left-side h2{
    text-align: center;
    color: #04042E;
}
.left-side textarea {
    height: 130px; /* istediğin yüksekliği buraya yaz */
    resize: none;  /* kullanıcı yüksekliği değiştiremesin istersen */
}


.right-sidee {
    display: flex;
    flex-direction: column;   /* üstten alta dizmek için */
    align-items: center;      /* yatay ortala */
    color: white;
    font-weight: bold;
    height: 100%;             /* main-box içini kaplasın */
}

.right-sidee h2,h3 {
    margin-bottom: 20px;      /* başlık ile kutu arası boşluk */
    padding-top: 10px;
    color:  rgb(4, 4, 46);
}
.box-left p { 
  color:  rgb(4, 4, 46);
}

.box-right {
    border-radius: 10px;
    margin-bottom: 20px;
    background-color:#cddaec;
    height: 140px;
    width: 350px;
    
    justify-content: center;  /* kutu içi ortala */
    align-items: center;      /* kutu içi ortala */
    text-align: center;
}
.box-right-map {
    border-radius: 10px;
    margin-bottom: 20px;
    background-color:#cddaec;
    height: 250px;
    width: 350px;
    
    justify-content: center;  /* kutu içi ortala */
    align-items: center;      /* kutu içi ortala */
    text-align: center;
}
.right-sidee p {
    color: rgb(54, 54, 54);  /* istediğin renk */
}
h2{
    color: rgb(19, 2, 2);
}
.left-side2{
   display: flex;
    flex-direction: column;   /* üstten alta dizmek için */
    align-items: center;      /* yatay ortala */
    color: white;
    font-weight: bold;
    height: 100%;             /* main-box içini kaplasın */
}
.left-side2 h2{
  color:  rgb(4, 4, 46);
}
.left-side2 p{
  color: #5C574E;
}
.box-left{
    
    border-radius: 10px;
    margin-bottom: 20px;
    background-color:#cddaec;
    height: 300px;
    width: 350px;
    justify-content: center;  /* kutu içi ortala */
    align-items: center;      /* kutu içi ortala */
    text-align: center;
}

.main-box1 {
    padding-top: 10px;
  width: 80%;
  max-width: 1000px;
  height: 850px;
  margin: 50px auto;
  background-color: #8eb6f1;
  border-radius: 10px;
  
  overflow: hidden;
}
.main-box1 h1{
    text-align: center;
}
.main-box1 p{
    text-align: center;
}
.Font-Awesome {
    padding-top: 20px;
    padding-left: 20px;
    text-align: center;
    
    display: flex;
    align-items: center;
    font-size: px;
    color: rgb(92, 87, 78);
    margin: 0;
}

.Font-Awesome i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;       /* daire yapar */
    background-color: #8EB6F1; /* daire rengi */
    color: black;              /* ikon rengi */
    margin-right: 10px;        /* ikon ile yazı arası boşluk */
    font-size: 18px;
}

.work-time {
    padding-left: 30px;
    margin-top: 30px;
    color: rgb(4, 4, 46);
    display: flex;
    flex-direction: column;   /* p’leri alt alta diz */
    gap: 5px;                 /* p’ler arası boşluk */
}

.work-time p {
    display: flex;             /* p içeriğini flex ile hizala */
    justify-content: space-between; /* sol başlık sola, span sağa */
    margin: 0;
    color: rgb(3, 3, 61);              /* p yazısı rengi */
}

.work-time span {
    padding-right: 30px;
    color: black;             /* span rengi */
    /* text-align artık gerek yok çünkü flex kullanıyoruz */
}

.social-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.social-left, .social-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Ortak stil */
.social-left a, .social-right a {
    display: inline-block;    /* block gibi davranır */
    width: 120px;
    height: 40px;
    line-height: 40px;        /* dikey ortalamak için */
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    margin: 0;
    transition: 0.3s;
    color: white;
    text-decoration: none;    /* alt çizgi kaldırır */
}

/* Renkler ve hover */

/* Facebook */
.social-facebook {
    background-color: #4267B2;
}
.social-facebook:hover {
    background-color: #365899;
}

/* Instagram */
.social-instagram {
     background-color: rgb(231, 75, 101);
}
.social-instagram:hover {
    background-color: rgb(235, 94, 117);
}

/* Twitter */
.social-twitter {
    background-color: #1DA1F2;
}
.social-twitter:hover {
    background-color: #0d95e8;
}

/* LinkedIn */
.social-linkedin {
    background-color: #0077B5;
}
.social-linkedin:hover {
    background-color: #005983;
}

.Merkez-ofis{
   color: rgb(92, 87, 78);
    margin-top: 10px;
    text-align: left;
    padding-left: 20px;
    padding-right: 10px;
    line-height: 16px; 
}

.tel{
    margin-top: 10px;
    text-align: left;
    padding-left: 20px;
}
.tel h3{
    color: #04042E;
}
.tel h4{
  margin-top: -10px;
    color:#5C574E;
}
.Online-Baglanti{
    margin-top: -35px;
    color: grey;
}
.digital-iletisim{
    text-align: left;
    padding-left: 30px;
    color: rgb(75, 70, 62);
}
.digital-iletisim p{
    text-align: left;
    
    color: black;
}



/* Footer */
footer {
background-color: #17223b;
  color: white;
  padding: 40px 0 20px 0; /* sadece üst/alt boşluk, sağ/sol sende */
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 4 eşit sütun */
  gap: 0; /* sütunlar arasında boşluk olmasın */
  padding-left: 300px;
  padding-right: 200px;
}


.footer-item {
  padding: 0 16px; /* sadece içerik için çok küçük iç boşluk */
     
}
.footer-item p, 
.footer-item ul {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}


.footer-item h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: yellow;
}

.footer-item p, 
.footer-item ul {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  max-width: 300px;
  
}

.footer-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-item ul li {
  margin-bottom: 8px;
}
.footer-item ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: inline-block;      /* transform düzgün çalışsın diye */
  transition: transform 0.3s, color 0.3s;
}
.footer-item ul li a:hover {
 color: white;
 transform: scale(1.2);
}

/* Alt copyright */
footer .copyright {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 12px;
}

/* Navbar responsive */


/* Mobil responsive */
@media (max-width: 768px) {
    header nav {
        flex-direction: row; /* yatay hizalama */
        justify-content: space-between; /* logo solda, hamburger sağda */
        align-items: center;
        width: 90%;
        margin: auto;
        position: relative;
    }

    .logo img {
        width: 80px;
        height: 60px;
    }

    .hamburger {
        display: flex; /* görünür */
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .nav-links {
        display: none; /* başta gizli */
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(47, 47, 146, 0.95);
        position: absolute;
        top: 100%; /* nav’in altına açılır */
        left: 0;
        padding: 10px 0;
        z-index: 1000;
    }

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

    .nav-links li a {
        color: white;
        font-size: 1rem;
        padding: 8px 0;
        display: block;
        border-radius: 0;
        background-color: transparent;
    }

    .nav-links li a:hover {
        background-color: rgba(238, 226, 54, 0.8);
        color: black;
    }

    .nav-links.active {
        display: flex; /* hamburger tıklanınca açılır */
    }
}

/* main kısmı */

/* ===== Tablet / küçük masaüstü (≤ 900px) ===== */
@media (max-width: 900px) {

  /* main-box: iki sütun -> tek sütun akışı */
  .main-box {
    width: 92%;
    max-width: 920px;
    margin: 28px auto;
    grid-template-columns: 1fr; /* tek sütun */
    gap: 18px;
    padding: 18px;
    height: auto; /* sabit yüksekliği iptal et */
  }

  /* Sol ve sağ taraflar akışa uygun hale gelsin */
  .left-side,
  .right-sidee {
    width: 100%;
    height: auto;
    padding: 8px 6px;
    align-items: stretch;
  }

  /* Form elemanları tam genişlik */
  .vertical-form input,
  .vertical-form textarea,
  .vertical-form button {
    width: 100%;
    box-sizing: border-box;
  }

  .vertical-form button {
    align-self: stretch;
  }

  /* Sağ kutular daha esnek */
  .box-right,
  .box-right-map,
  .box-left {
    width: 100%;
    max-width: none;
    height: auto;
    padding: 14px;
    border-radius: 10px;
  }

  .box-right-map {
    min-height: 280px;
  }

  /* iframe responsive */
  .box-right-map iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border-radius: 10px;
  }

  /* main-box1 alt bölüm akış düzeni */
  .main-box1 {
    width: 92%;
    max-width: 920px;
    margin: 20px auto;
    padding: 14px;
    height: auto;
  }

  .main-box1 .main-box {
    display: grid;
    grid-template-columns: 1fr; /* içeriği dikey sırala */
    gap: 14px;
    padding: 0;
    background-color: transparent;
  }

  /* Sol/sağ kolonlardaki kutular */
  .left-side2,
  .right-sidee {
    width: 100%;
    padding: 8px;
  }

  .left-side2 .box-left,
  .right-sidee .box-left {
    width: 100%;
    height: auto;
  }

  /* Yazı ve başlık ölçeklendirme */
  .main-box h2,
  .main-box1 h1 {
    font-size: 1.15rem;
  }

  .main-box h3,
  .main-box1 p,
  .work-time p,
  .digital-iletisim p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  /* Sosyal bağlantılar daralt */
  .social-left a, .social-right a {
    width: 110px;
    height: 36px;
    line-height: 36px;
    font-size: 0.9rem;
  }
}

/* ===== Mobil / Telefonlar (≤ 480px) ===== */
@media (max-width: 480px) {

  .main-box {
    width: 96%;
    margin: 14px auto;
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
    border-radius: 8px;
    height: auto;
  }

  .left-side {
    padding: 10px 8px;
  }

  /* Label ve form elemanları daha kompakt */
  .vertical-form label {
    height: auto;
    line-height: 1.3;
    font-size: 0.95rem;
  }

  .vertical-form input,
  .vertical-form textarea {
    font-size: 14px;
    padding: 8px;
  }

  .vertical-form textarea {
    height: 120px;
  }

  .vertical-form button {
    padding: 10px;
    font-size: 0.95rem;
  }

  .right-sidee {
    padding: 8px;
    gap: 10px;
  }

  .box-right,
  .box-right-map,
  .box-left {
    width: 100%;
    height: auto;
    padding: 10px;
    border-radius: 10px;
  }

  .box-right-map {
    min-height: 200px;
  }

  .box-right-map iframe {
    min-height: 200px;
  }

  /* main-box1 alt bölüm */
  .main-box1 {
    width: 96%;
    margin: 12px auto;
    padding: 12px;
    height: auto;
  }

  .left-side2, .right-sidee {
    padding: 8px 6px;
  }

  .box-left {
    height: auto;
  }

  /* Yazı boyutlarını küçült */
  .main-box h2 {
    font-size: 1rem;
  }

  .main-box h3,
  .main-box1 p,
  .work-time p,
  .digital-iletisim p {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .social-left a, .social-right a {
    width: 96px;
    height: 34px;
    line-height: 34px;
    font-size: 0.9rem;
  }

  /* ikonlu başlıklar için (Font-Awesome) hizalama */
  .Font-Awesome {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Buton genişliğini tam yap (erişilebilirlik) */
  .vertical-form button {
    width: 100%;
    align-self: stretch;
  }
}




/* footer */
/* Tablet / küçük masaüstü: 900px altı -> 2 sütun */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-left: 40px;   /* büyük paddingleri küçülttük */
    padding-right: 40px;
  }

  .footer-item {
    padding: 8px 12px;
  }

  .footer-item p,
  .footer-item ul {
    max-width: none;      /* genişlik sınırlamasını kaldır */
    font-size: 0.95rem;
  }

  .footer-item h3 {
    font-size: 1.05rem;
  }

  footer {
    padding: 30px 0 16px 0;
  }
}

/* Mobil: 480px altı -> 1 sütun, daha kompakt */
@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer-item {
    padding: 10px 8px;
  }

  .footer-item p,
  .footer-item ul {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: none;
  }

  .footer-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .footer-item ul li {
    margin-bottom: 6px;
  }

  .footer-item ul li a {
    display: inline; /* daha sıkışık görünüm için inline yeterli */
  }

  footer .copyright {
    padding-top: 10px;
    font-size: 0.85rem;
  }

  footer {
    padding: 20px 0 12px 0;
  }
}

