/* Genel ayarlar */
body {
    margin: 0;
    padding-top: 110px; /* Sabit menü yüksekliği kadar */
    font-family: Arial, sans-serif;
    background-color: #fff;
}

/* Sabit menü yapısı */
.topbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}
.logo img {
    width: 120px;
    height: auto;
}

/* Menü */
.navbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    padding-right: 30px; /* ← sağdan boşluk verir */

}
.navbar a {
    background-color: #0066cc;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}
.navbar a:hover {
    background-color: #004999;
}

/* Harita */
#mapContainer {
    position: relative;
    width: 100%;
    max-width: 1086px;
    margin: 0 auto;
}
#mapImage {
    width: 100%;
    height: auto;
    display: block;
}

.pin-group {
    position: absolute;
    text-align: center;
    transform: translate(-50%, -100%);
}
.pin {
    width: 65px;
    height: 65px;
    animation: bounce 2s infinite;
}
.pin-label {
    margin-top: 4px;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 5px #000;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Bilgi kutuları */
.bilgi-kutu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    gap: 30px;
    border-bottom: 1px solid #eee;
}
.bilgi-kutu:nth-child(even) {
    flex-direction: row-reverse;
}
.bilgi-resim {
    flex: 1 1 300px;
    max-width: 300px;
    text-align: center;
}
.bilgi-resim img {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
}
.bilgi-yazi {
    flex: 2;
    font-size: 1.1em;
    line-height: 1.6;
}
.bilgi-yazi h3 {
    margin: 0 0 10px;
    color: #004aad;
}

/* Footer */
.footer {
    background-color: #ececec;
    text-align: center;
    padding: 20px 10px;
    font-size: 14px;
    color: #333;
}
.footer-main {
    font-weight: bold;
    font-size: 15px;
}
.footer-sub {
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}
.modal-box {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    animation: scaleUp 0.3s ease-in-out;
    max-width: 90%;
    max-height: 90%;
}
.modal-box img {
    display: block;
    width: 100%;
    height: auto;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes scaleUp {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Form Stili */
.contact-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.contact-form h2 {
    text-align: center;
    margin-bottom: 30px;
}
.contact-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}
.contact-group {
    flex: 1 1 48%;
    display: flex;
    flex-direction: column;
}
.contact-group label {
    margin-bottom: 6px;
    font-weight: bold;
}
.contact-group input,
.contact-group select,
.contact-group textarea {
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-group input:focus,
.contact-group select:focus,
.contact-group textarea:focus {
    border-color: #0078d7;
    box-shadow: 0 0 0 2px rgba(0,120,215,0.2);
    outline: none;
}
.contact-group textarea {
    resize: vertical;
}
.contact-submit {
    text-align: center;
    margin-top: 20px;
}
.btn-modern {
    padding: 10px 25px;
    background-color: #0078d7;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-modern:hover {
    background-color: #005ea6;
    transform: scale(1.03);
}

/* Mobil görünüm */
@media (max-width: 768px) {
    .topbar-container {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 10px;
    }

    .navbar {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .navbar a {
        padding: 8px 12px;
        font-size: 14px;
    }

    .pin {
        width: 36px;
        height: 36px;
    }

    .pin-label {
        font-size: 12px;
    }

    .bilgi-kutu {
        flex-direction: column !important;
        align-items: center;
        gap: 10px;
        padding: 20px 15px;
        margin: 30px auto;
    }

    .bilgi-resim {
        max-width: 200px;
        width: 100%;
    }

    .bilgi-yazi {
        text-align: center;
        font-size: 0.95em;
    }
@media (max-width: 768px) {
  .topbar-container {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  .navbar {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
    z-index: 10;
  }

  .navbar a {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  #mapContainer {
    margin-top: 0;
    padding-top: 0;
    position: relative;
    z-index: 1;
  }

  h1, h2, h3 {
    margin: 0;
    padding: 0;
  }

  .pin {
    width: 36px;
    height: 36px;
  }

  .pin-label {
    font-size: 12px;
  }

  .bilgi-kutu {
    flex-direction: column !important;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    margin: 30px auto;
  }

  .bilgi-resim {
    max-width: 200px;
    width: 100%;
  }

  .bilgi-yazi {
    text-align: center;
    font-size: 0.95em;
  }
}
/* Mobilde sabit menüye göre body içeriğini aşağı kaydır */
@media (max-width: 768px) {
  body {
    padding-top: 180px !important;
  }

  .topbar-container {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  .navbar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
  }

  .navbar a {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
  }

  #mapContainer {
    margin-top: 0;
    position: relative;
    z-index: 1;
  }

  h1, h2, h3 {
    margin: 0;
    padding: 0;
  }

  .pin {
    width: 36px;
    height: 36px;
  }

  .pin-label {
    font-size: 12px;
  }

  .bilgi-kutu {
    flex-direction: column !important;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    margin: 30px auto;
  }

  .bilgi-resim {
    max-width: 200px;
    width: 100%;
  }

  .bilgi-yazi {
    text-align: center;
    font-size: 0.95em;
  }
}
