* {
margin:0;
padding:0;
box-sizing: border-box;
font-family: sans-serif;

}

body p {
/*font-size: 1em;*/
color:black;

}

body h1, h2 {
color:black;
}




.footer-ust{
            display: flex;
            
            align-items: center;     /* dikey ortalama */
            justify-content: center; /* yatay ortalama */
            height: 30px;
            position: top;
            background: #0F172A ;
        }
            

        .footer-ust p {
            color: #ffffff;
            margin-top: 5px;
            font-size:1.5em;
            background: #0F172A ;
        }      



        @media (max-width: 768px) {
  .footer-ust {
    display: none;
  }
   
}


/* slider */




.footer-ust{
            display: flex;
            
            align-items: center;     /* dikey ortalama */
            justify-content: center; /* yatay ortalama */
            height: 30px;
            position: top;
            background: #FEF8F0 ;
        }
            

        .footer-ust p {
            color: black;
            margin-top: 5px;
            font-size:1.5em;
            background: #FEF8F0 ;
        }      



        @media (max-width: 768px) {
  .footer-ust {
    display: none;
  }
   
}


/* slider */

* {
  box-sizing: border-box;
  margin: 0; padding: 0;
}
body {
  background: white;
  font-family:  
}
#captioned-gallery {
  max-width: 900px;
  margin: 40px auto;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.slider-wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}
.slider figure {
  flex: 0 0 100%;
  position: relative;
  min-width: 100%;
}
.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider figcaption {
  position: absolute;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  color: #fff;
  width: 100%;
  font-size: 1.2rem;
  padding: 0.6rem;
  text-align: center;
}
button.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: background-color 0.3s;
}
button.nav:hover {
  background: rgba(0,0,0,0.8);
}
button.prev {
  left: 10px;
}
button.next {
  right: 10px;
}

/* Mobilde scroll snap, scrollbar gizleme */
@media (max-width: 767px) {
  .slider-wrapper {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE scrollbar gizle */
    scrollbar-width: none;     /* Firefox scrollbar gizle */
  }
  .slider-wrapper::-webkit-scrollbar {
    display: none;             /* Chrome, Safari scrollbar gizle */
  }

  .slider {
    transition: none !important;
    flex-wrap: nowrap;
    width: auto;
    overflow: visible;
  }
  .slider figure {
    scroll-snap-align: start;
    flex: 0 0 100%;
    min-width: 100%;
  }
  button.nav {
    display: none;
  }
}



/*ara banner*/


/* Ara Banner Özel Stilleri */
.ara-banner-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.ara-banner-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.ara-banner-bottom-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.ara-banner-text-cell {
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.ara-banner-text-cell h2 {
    color: #333;
    margin-bottom: 10px;
}

.ara-banner-text-cell p {
    color: #666;
    font-size: 16px !important; /* Mevcut body p stilini override etmek için */
}

.ara-banner-image-card {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.ara-banner-zoom-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.ara-banner-image-title {
    padding: 15px;
    background-color: white;
    text-align: center;
}

.ara-banner-image-title h3 span {
    color: #7A7A7A;
    position: relative;
    display: inline-block;
}

.ara-banner-underline {
    height: 2px;
    width: 0;
    background-color: #3498db;
    transition: width 0.4s ease;
    margin: 10px auto 0;
}

/* Efektler */
.ara-banner-image-card:hover .ara-banner-zoom-image {
    transform: scale(1.05);
}

.ara-banner-image-card:hover .ara-banner-underline {
    width: 60%;
}

/* Mobil Dokunmatik Efekt */
.ara-banner-image-card:active .ara-banner-zoom-image {
    transform: scale(1.03);
}

.ara-banner-image-card:active .ara-banner-underline {
    width: 50%;
}

/* Tablet ve Masaüstü */
@media (min-width: 768px) {
    .ara-banner-top-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .ara-banner-bottom-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    /* Mobildeki active efektini desktop'ta kapat */
    .ara-banner-image-card:active .ara-banner-zoom-image {
        transform: none;
    }
    
    .ara-banner-image-card:active .ara-banner-underline {
        width: 0;
    }
}








/*ara banner*/


/* Ara Banner Özel Stilleri */
.ara-banner-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

.ara-banner-top-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.ara-banner-bottom-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.ara-banner-text-cell {
    padding: 20px;
    background-color: #FAF0DF;
    border-radius: 8px;
}

.ara-banner-text-cell h2 {
    color: #333;
    margin-bottom: 10px;
}

.ara-banner-text-cell p {
    color: #666;
    font-size: 16px !important; /* Mevcut body p stilini override etmek için */
}

.ara-banner-image-card {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.ara-banner-zoom-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.ara-banner-image-title {
    padding: 15px;
    background-color: white;
    text-align: center;
}

.ara-banner-image-title h3 span {
    color: #7A7A7A;
    position: relative;
    display: inline-block;
}

.ara-banner-underline {
    height: 2px;
    width: 0;
    background-color: #3498db;
    transition: width 0.4s ease;
    margin: 10px auto 0;
}

.ara-banner-text-cell-1{
text-align: center;
}

/* Efektler */
.ara-banner-image-card:hover .ara-banner-zoom-image {
    transform: scale(1.05);
}

.ara-banner-image-card:hover .ara-banner-underline {
    width: 60%;
}

/* Mobil Dokunmatik Efekt */
.ara-banner-image-card:active .ara-banner-zoom-image {
    transform: scale(1.03);
}

.ara-banner-image-card:active .ara-banner-underline {
    width: 50%;
}

/* Tablet ve Masaüstü */
@media (min-width: 768px) {
    .ara-banner-top-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .ara-banner-bottom-row {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    /* Mobildeki active efektini desktop'ta kapat */
    .ara-banner-image-card:active .ara-banner-zoom-image {
        transform: none;
    }
    
    .ara-banner-image-card:active .ara-banner-underline {
        width: 0;
    }
}



/* ilceler*/
.ilcelersayfa-body {
  font-family: Arial, sans-serif;
  ...
}

.ilceler-container img{

max-width: 90%;
display:block;
margin:0 auto;
margin-bottom: 2%;

}


#ilceler {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 10px;
}

.ilcelersayfa-h1{
text-align: center;
margin-bottom: 1%;

}

#ilceler a.ilce-kutu {
  display: block;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

#ilceler a.ilce-kutu:hover {
  background: #f3f3f3;
  transform: scale(1.03);
  color: black;
}

@media (max-width: 768px) {
  #ilceler {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  #ilceler {
    grid-template-columns: 1fr;
  }

.ilcelersayfa-body img {
    max-width: 100%;


}

}


/* footer*/

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  position: relative; /* veya fixed yaparsan hep görünür olur */
  bottom: 0;
  width: 100%;
}
footer a {
  color: #fff;
  text-decoration: underline;
}

footer p {
    color:white;
}

/* hizmet bölgeleri*/
.hizmet-bolgesi {
    font-size: 14px;
    line-height: 1.5;
    text-align: justify;
    padding: 10px;
}

@media (max-width: 768px) {
    .hizmet-bolgesi {
        font-size: 12px;   /* Yazıyı küçült */
        line-height: 1.3;  /* Satır aralığını daralt */
    }
}





/* whatssap*/

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    animation: pulse 1.5s infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Hafif Nabız Efekti */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}