body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    color: #d3f9ff;
}
header h1 {
    font-size: 40px;
    margin: 0;
}
header h1{
    color: #0a9549;
}

header p {
    font-size: 20px;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    background: white;
    color: #0a9549;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
    position: relative;
    z-index: 10;
}

#background-image {
    position: relative;
    z-index: 1; 
  }
  
.btn:hover {
    background: #d3f9ff;
}

section {
    padding: 40px 20px;
}

h2 {
    font-size: 30px;
    color: #333;
}

.hizmet {
    background: #797878;
    margin: 10px auto;
    padding: 15px;
    max-width: 600px;
    border-radius: 5px;
}

footer {
    background: #1b4ba6;
    color: white;
    padding: 20px;
    margin-top: 20px;
}
#anasayfa {
    
}

.slider-contenti {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    color: white;
}

/* Başlık */
.slider-contenti h1 {
    font-size: 40px;
    margin-bottom: 20px;
}

/* Hizmetler Butonu */
.slider-btn {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 15px 25px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background: #e68900;
    transform: scale(1.05);
}

#iletisim {
    background-color: white;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 16px;
}
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

.whatsapp-btn img {
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* Slider Konteyneri */
.slider-container {
    position: relative;
    width: 100%;
    height: 600px; /* Yükseklik */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #f4f4f4;
}

/* Slider Alanı (Sol Taraf - Geçişli Resimler) */
.slider {
    width: 70%;
    height: 100%;
    display: flex;
    animation: slideAnimation 9s infinite;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resim kaymasını önler */
}

/* Sağ Taraf - Logo ve Buton */
.slider-content {
    width: 30%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-left: 3px solid #1b4ba6;
}

/* Logo */
.slider-content img {
    width: 150px; /* Logo Boyutu */
    height: auto;
    margin-bottom: 20px;
}

/* Hizmetler Butonu */
.slider-btn {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 12px 20px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: 0.3s;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.slider-btn:hover {
    background: #e68900;
    transform: scale(1.05);
}

/* Otomatik Slider Animasyonu */
@keyframes slideAnimation {
    0%, 100% { transform: translateX(0); }
    33% { transform: translateX(-100%); }
    66% { transform: translateX(-200%); }
}

input[type="range"] {
    width: 500px; /* Genişliği artır */
    height: 70px; /* Yüksekliği artır */
  }
  

  input[type="range"]::-webkit-slider-thumb {
    width: 30px;  
    height: 30px; 
    background-color: #4CAF50; 
    border-radius: 50%; 
    border: 2px solid #333; 
    cursor: pointer; 
  }
  
  input[type="range"]::-webkit-slider-runnable-track {
    height: 10px; 
    background: #ddd;  
  }
  
