/* Genel stiller */
body {
    font-family: Arial, sans-serif;
    text-align: justify;
    font-size: 14px;
}

/* Navbar */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    color: white;
    background-color: rgb(105, 105, 105);
}

.navbar-brand img {
    height: 16px;
}

.navbar-nav {
    display: flex;
    justify-content: flex-start;
    margin-right: auto;
}

.nav-item {
    margin-right: 10px;
    list-style: none;
}

.nav-item:last-child {
    margin-right: 0;
}

.nav-link {
    text-decoration: none;
    color: white;
}

.nav-link:hover {
    color: orange;
}

/* Alt menü stilleri */
.sub-menu {
    list-style: none;
    display: none;
    position: absolute;
    border-radius: 5px;
    padding: 10px;
    background-color: grey;
}

.nav-item:hover .sub-menu {
    display: block;
}

.sub-menu a {
    text-decoration: none;
    color: white;
}

.sub-menu a:hover {
    color: orange;
}

/* Resimler */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Slider */
.slider-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    max-width: 100%;
    overflow: hidden;
}

.slide {
    flex: 0 0 auto;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mobil cihazlar için stiller */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 0;
    }

    .navbar-nav .nav-item {
        width: 100%;
        text-align: center;
        border-bottom: 2px solid #ddd;
    }

    .navbar-nav .nav-link {
        padding: 15px;
        float: left;
    }

    .navbar-toggler {
        margin-right: 5px;
    }

    .navbar-collapse {
        margin-top: 50px;
    }
}

   User
body {
    font-family: Arial, sans-serif;
    text-align: justify;
   
   font-size:14px;
}

.nav {
    display: flex;
    justify-content:  flex-start;
    padding: 5px;
    color :white;
    background-color: rgb(105,105,105);
   
}

.navbar-brand img {
    height: 16px; /* Adjust the height of the logo */
}

.navbar-nav {
    display: flex;
    justify-content: flex-start; /* Öğeleri sağa yaslayalım */
    margin-right: 0px; /* Genel boşluğu dengelemek için navbar'ın sağındaki boşluğu ayarlayalım */
}



.nav-item {
    margin-right: 0px;
    margin-bottom:10px;
    list-style: none;
}

.nav-item a {
    display: inline-block; /* Metinleri alt sıraya düşürmeden yan yana hizalar */
    font-size: 16px; /* Metin boyutunu belirler, istediğiniz değeri kullanabilirsiniz */
    text-decoration: none; /* Linklerin alt çizgisini kaldırır */
    color: white; /* Metin rengini belirler, istediğiniz rengi kullanabilirsiniz */
    list-style: none;
}




/* Son öğenin sağ boşluğunu kapatmak için */
.nav-item:last-child {
    margin-right: 1px;
}


.nav-link {
    text-decoration: none;
    color :rgb(255,255,255);
   
}

.nav-link:hover {
    color: orange; /* Change the color on hover */
}

.sub-menu {
    list-style: none;
    display: none;
    position: absolute;
    border-radius: 5px;
    padding: 10px;
 background-color: grey;; /*Set the background color to violet*/
}

.nav-item:hover .sub-menu {
    display: block;
}
.sub-menu a {
    text-decoration: none;
    color: white;
}

.sub-menu a:hover {
    text-decoration: none;
    color: orange;
}

/* Sadece bir öğe yanacak */
.sub-menu li:hover a {
    color: orange;
}

/* Resimler */
img {
    max-width: 100%;
    height: auto;
}

/* Slider */
.slider-container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
   
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    max-width: 100%;
    overflow: hidden; /* Ekstra resimleri gizle */
}

.slide {
    flex: 0 0 auto;
    width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Resimlerin boyutunu koruyarak sığdır */
}





.slider-caption {
    color: #fff;
    background-color: inherit;

    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
   
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.additional-images {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.additional-slide {
    max-width: 25%; /* Make sure additional images don't exceed their container */
    margin: 0 10px;
}


   
 .metin-section {
            width: 80%;
            margin: 0 auto;
        }
        .metinslider img  {
            width: 25%; /* Ensure the image covers the width of its container */
           
        }
/*foot*/

 footer {
             background-color:rgb(0,179,90); 
            color: #fff;
            text-align: center;
            padding: 20px;
            margin:200px  5px 0 5px;
        }

        .social-icons a {
            color: white;
            text-decoration: none;
            font-size: 24px;
            margin: 0 10px;
        }
/*sosyal medya */

.fa {

  color: white;
  font-size: 30px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

/*image*/

.son {
    width:300px; 
    height:300px; 
    margin:30px; 
    text-align: center;
    display: flex;
    text-decoration: none;
    }
 
/* tablolar*/
table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
      
    }

    th, td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
    }

    th {
      background-color: #f2f2f2;
    }
section {
    margin: 20px; 
    padding: 20px; 
    border-radius: 5px;
     
    }

.form-container {
            width: 450px;
            margin: 0 auto;
            background: #fff;
          
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
        .form-container h2 {
            margin-bottom: 20px;
        }
        .form-container label {
            display: block;
            text-align: left;
            margin-bottom: 5px;
        }
        .form-container input[type="password"],
        .form-container input[type="eposta"] {
            width: 95%;
            padding: 10px;
            margin-bottom: 10px;
            border: 1px solid #ccc;
            border-radius: 3px;
        }
        .form-container input[type="submit"] {
            width: 100%;
            padding: 10px;
            background: #007bff;
            color: #fff;
            border: none;
            border-radius: 3px;
            cursor: pointer;
        }
        .form-container input[type="submit"]:hover {
            background: #0056b3;
        }
        .error-message {
            color: red;
            margin-top: 10px;
        }
        
        
        .ozet{
            font-size:24px;
            color: black;
            margin: 50px; 
            padding: 20px; 
            text-align: justify; 
            border-radius: 5px;
            
        }
        
   /* Özel stillendirme */
.back-button {
    display: inline-block;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    background-color: orangered;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: blue;
}

/* Font Awesome ikonunun stili */
.back-button i {
    margin-right: 5px;
}

/* Normal resim boyutları */
.additional-images img {
    transition: transform 0.3s ease;
    overflow-x: auto;
}

/* Üzerine gelindiğinde zoom efekti */
.additional-images .zoom-image:hover img {
    transform: scale(1.2); /* Değişebilir, istediğiniz zoom oranını buradan ayarlayabilirsiniz */
}



.custom-links ul {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
}

.custom-links ul li {
    display: block;
    margin-bottom: 10px; /* Metinler arası boşluk ekler */
}




