
@media (max-width: 768x) {
    .row {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        max-width: 100%; /* Tüm genişliği kapsaması için */
    }
}
/* styles.css */

/* Genel stillendirmeler */
body {
    
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    
}

body::-webkit-scrollbar{
    display: none;
}


html {
    scroll-behavior: smooth; /* Yavaş kaydırma efekti */
}


/* Üst başlık stillendirmesi */
.top-header {
    display: flex;
    justify-content: center; /* Tüm içeriği yatayda ortalar */
    align-items: center; /* İçeriği dikeyde ortalar */
    padding: 0.6%;
    position: relative; /* Logo'nun ortalanmasını sağlar */
    background-color: #f8f8f8; /* Arka plan rengi */
    /*background-image: url("Untitled-1.png"); /* Arka plan resmi */
    background-size: cover; /* Resmi kaplamak için */
    background-position: center; /* Resmi ortalamak için */
    background-repeat: no-repeat; /* Resmin tekrar etmemesi için */
    z-index: 1;
}

.top-header{
    display: flex;
}


.logo {
    justify-content: center; /* Yatayda ortalar */
    align-items: center; /* Dikeyde ortalar */
    height: 80px; /* Header yüksekliği */
    z-index: 10; /* İçeriğin ön planda görünmesini sağlar */
    max-width: 260px;
    max-height: 80px;
}


.logo :hover {
    transform: scale(1.3);
    transition: 1.1s;
}

.sosyal :hover {
    transform: scale(1.3);
    transition: 1.1s;
}

.logo, .sosyal, .dropdown-content, .dropbtn, .navbar, .main-header, .top-header, :not(:hover) {
    transform: scale(1);
    transition:  1.5s;
}



/* Ana başlık ve navbar stillendirmesi */
.main-header {
    position: relative;
    z-index: 10;
    background-color: #003402;
    color: #fff;
    padding: 0.6%;
    margin-top: 0.2%;

}




.navbar ul {
    position: relative;
    z-index: 10;
    list-style: none;
    display: flex;
    justify-content: space-around;
    
}

.navbar a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
    transform: scale(1.1) 1.1s;
    
}

.navbar a:hover {
    color: #ff9900;
    transition: color 0.2s;
}


.dropdown-content { /*navbar, relativ yapma*/
    position: absolute; 
    display: none;
    background-color: #333;
    min-width: 160px;
    max-width: 160px;
    z-index: 1000;
    border-radius: 10px;
    
    
}

.dropdown-content a {
    color: white;
    padding: 5% 10%;
    text-decoration: none;
    display: block;
    text-align: left;
    border-radius: 10px;
    z-index: 1000;
    
}

.dropdown-content a:hover {
    background-color: #575757;
    border-radius: 10px;
    
}

.dropdown:hover .dropdown-content {
    display: block;
    z-index: 1000;
    
}

.dropdown-content:hover{
    transform: scale(1.1);
    transition: 1.1s;
}

.box:hover{
    transform: scale(1.3);
    transition: 1.1s;
}

.box :not(:hover){
    transform: scale(1);
    transition: 1.3s;
}

.dropdown-content .dropdown {
    position: relative;
    
}

.dropdown-content .dropdown .dropdown-content { /*açılan sekme*/
    display: none;
    position: absolute;
    left: 100%; /* Üst menünün yanında açılmasını sağlar */
    top: 0%;
    border: 1px solid #5f5f5f; /* Kenar rengi */
    z-index: 1000;
    min-width: 160px;
}


.dropdown:hover{ /*dokunma, sub-menu ayarlama */
    position: relative;
    z-index: 10;
}


.dropdown-content:hover{
    position: absolute; /* dokunma, dropdown tamamı*/
    z-index: 1000;

}

.dropdown-content .dropdown:hover .dropdown-content { 
    display: block;
    width: max-content; /* İçeriğe göre genişliği ayarlar */

    
}

.contact-info {
    position: absolute;
    right: 0;
    display: flex;
    gap: 20px; /* İletişim kutuları arasında boşluk */
    padding-right: 2%;
    padding-left: 50%;
    
}

.info-box {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.info-box i {
    font-size: 20px;
    color: #f5f5f5;
    margin-right: 1vh;
}

.info-text {
    font-size: 16px;
    color: #333;
}

.social-container {
    display: flex;
    gap: 2vh; /* Space between buttons */
    position: absolute;
    left: 30px; /* Distance from the left edge */
    top: 30px; /* Adjust if needed to align with other content */
    z-index: 1001; /* Ensure the icons are above other elements */
    justify-content: flex-start; /* Align items to the left */
}

.social-box {
    display: flex;
    align-items: center;
    left: 30%;
    justify-content: center;
    width: 50px; /* Adjust the size of the button */
    height: 50px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


/* Instagram ikon stil ayarları */
.social-box i {
    font-size: 24px; /* İkon boyutu */
    color: #E1306C; /* Instagram rengi */
}

.social-box:hover{
    transform: scale(1.2);
    transition: 1.3s;
}

.social-box :not(:hover){
    transform: scale(1);
    transition: 1.1 s;
}

.info-box:hover{
    transform: scale(1.2);
    transition: 1.3s;
}

.info-box :not(:hover){
    transform: scale(1);
    transition: 1.1 s;
}

.bg img {
    width: 100%; /* Resmi div genişliğine göre uyarlar */
    height: auto; /* Resmin orantısını korur */
    display: block; /* Görüntüleme hatalarını önler */

}

.bg p{
    font-size: xx-small;
}

.icerik {
    position: relative;
    text-align: center;
    color: white;
}

.bg img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: brightness(45%); /* Parlaklığı azalt */
    transition: filter 0.3s ease; /* Geçiş efekti */
}

.text-overlay {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 20px; /* Hafifçe aşağıya kaydırmak için */
    text-align: center;
    background-color: #f3f3f3;
    border-radius: 35px;
    width: 75%;
    height: 45%;
    background: rgba(51, 51, 51, 0.5);
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 4.5px );
    -webkit-backdrop-filter: blur( 4.5px );
    border-radius: 48px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    
}

.text-overlay h1 {
    font-size: 90px;
    margin-bottom: 90px;
}

.text-overlay h2 {
    font-size: 36px;
    margin-top: 0;
    font-weight: 300;
}


@keyframes slideUp {
    from {
        transform: translateY(30px); /* Başlangıçta aşağıda */
        opacity: 0; /* Başlangıçta görünmez */
    }
    to {
        transform: translateY(0); /* Sonunda yukarıda */
        opacity: 1; /* Sonunda görünür */
    }
}

.text-overlay h1, .text-overlay h2 {
    opacity: 0; /* Başlangıçta görünmez */
    animation: slideUp 1s ease-out forwards; /* Animasyon uygula */
}

/* Başlık için animasyon süresi ve gecikme */
.text-overlay h1 {
    animation-delay: 0.5s; /* Animasyon gecikmesi */
}

/* Açıklama için animasyon süresi ve gecikme */
.text-overlay h2 {
    animation-delay: 1s; /* Animasyon gecikmesi */
}

/* Animasyon tanımı */
@keyframes slideUp {
    from {
        filter: blur(5px) brightness(50%); /* Başlangıçta bulanık ve karanlık */
        transform: translateY(30px); /* Başlangıçta aşağıda */
        opacity: 0; /* Başlangıçta görünmez */
    }
    to {
        filter: blur(0) brightness(100%); /* Sonunda net ve normal parlaklıkta */
        transform: translateY(0); /* Sonunda yukarıda */
        opacity: 1; /* Sonunda görünür */
    }
}

/* .bg ve img stilleri */
.bg {
    position: relative; /* Çocuk öğelerin doğru şekilde konumlanabilmesi için */
    overflow: hidden; /* İçerik dışarı taşarsa gizler */
}

.bg img {
    width: 100%; /* Resmin genişliğini konteynerle uyumlu hale getirir */
    height: auto; /* Yüksekliği otomatik ayarlar */
    opacity: 0; /* Başlangıçta görünmez */
    animation: slideUp 1s ease-out forwards; /* Animasyon uygula */
}

/* Footer stilleri */
.footer {
    background-color: #003402; /* Footer arka plan rengi */
    padding: 20px;
    text-align: center;
    border-top: 0px solid #ffffff; /* Üst kenarına çizgi ekler */
    position: relative; /* Pozisyonlandırma için */
    z-index: 1;
}

.footer p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    display: inline;
    margin: 0 0;
}

.footer-nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
}

.footer-nav a:hover {
    text-decoration: underline;
}


.bg p{
    font-size: x-large;
    display: flex;
}


.services-section {
    display: flex;
    flex-direction:column;
    gap: 2vh;
    margin-bottom: 5%;
}

.row {
    display: flex;
    justify-content: center;
    gap: 2vh;
}

.service-box {
    flex: 1;
    min-width: 120px;
    padding: 15px;
    background-color: #f0f0f0; /* Gri arka plan rengi */
    border-radius: 3px; /* Köşelerin yuvarlanması */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif bir gölge efekti */
    margin: 15px; /* Görüntüye etrafında boşluk bırakır */
}

.service-box img {
    max-width: 100%; /* Görsellerin maksimum yüksekliğini belirleyin */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 5px;
    aspect-ratio: 4 / 3; /* Görsellerin en-boy oranını belirleyin */
    transition: transform 0.3s ease;
    

}

.service-box p {
    font-size: 14px;
    color: #333;

}

.info-box i{
    color: #da0303;

}

.service-box:hover{
    transform: scale(1.1);
    transition: 1.4s;
}

.service-box :not(:hover){
    transform: scale(1);
    transition: 1 s;
}


.kutu1 {
    display: grid;
    place-items: center;
    padding: 10%; /* Header ve footer ile mesafeyi ayarlar */
    margin: 0 auto; /* Kutunun ortalanmasını sağlar */
    width: 30%; /* Kutu genişliği */
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

.box-container{
    display: grid;
    min-height: 120vh;
}


/* Responsive ayarlar */
@media (max-width: 600px) {
    .box {
        width: 90%;
        padding: 15px;
    }

    header, footer {
        padding: 15px;
    }
}

.references {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.references h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.references ul {
    list-style-type: none;
    padding: 0;
}

.references li {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.references i {
    margin-right: 10px;
    color: #333;
}

.row h3{
    color: #000;
}


.slideshow {
    width: 100%;
    height: 700px;
    object-fit: contain;
    overflow: hidden;
    position: relative;
}

.slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}


.info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.info-item {
    text-align: center;
    background: #f4f4f4;
    border-radius: 8px;
    padding: 20px;
    width: 200px;
}

.info-item i {
    font-size: 2rem;
    color: #007BFF;
    display: block;
    margin-bottom: 10px;
}

.info-item p {
    margin: 0;
    font-size: 1.2rem;
}


.count {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

/* İletişim bölümü */
.contact-bar {
    background: linear-gradient(45deg, #007BFF, #00D084);
    color: white;
    text-align: center;
    padding: 20px;
    z-index: 4;
    transition: background 1s linear;
    font-size: larger;
}

/* Modal background */
.new-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal content */
.new-modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

/* Close button */
.new-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
}

.new-close:hover,
.new-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}



/* Konum ve çalışma saatleri bölümü */

.location-hours {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Saatlerin yukarıdan hizalanmasını sağlar */
    width: 100%;
    padding: 0px; /* İç boşlukları ayarlayın */
    box-sizing: border-box; /* Padding ve border'ı genişliğe dahil edin */
    gap: 15px; /* Harita ve çalışma saatleri arasındaki boşluğu ayarlayın */
    margin-top: 15px;
}

.map {
    width: 80%; /* Harita genişliği */
    height: 600x; /* Harita yüksekliği */
    max-width: 800px; /* Maksimum genişlik */
    margin-bottom: 20px;
}

.hours {
    width: 20%; /* Çalışma saatleri genişliği */
    text-align: center;
    font-size: 1rem;
    max-width: 250px; /* Maksimum genişlik */
    background: linear-gradient(45deg, #00D084, #007BFF);
    border-radius: 32px;
    margin-top: 150px;
    color: #f8f8f8;
    padding: 15px;

}

iframe {
    width: 100%;
    height: 450px; /* Yükseklik, isteğe bağlı olarak ayarlanabilir */
    border: 0;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 15px;
}

.gallery img {
    width: 350px;
    height: auto;
    object-fit:cover;
    background-color: #bbb;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    width: auto;
    height: auto;
    align-items: center;
    padding-top: 30px;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 5px;
  }
  
  /* Create four equal columns that sits next to each other */
  .column {
    flex: 25%;
    max-width: 50%;
    padding: 0 5px;
  }
  
  .column img {
    margin-top: 8px;
    margin-bottom: 30px;
    vertical-align: middle;
    width: 100%;
    height: auto;
  }













  @media screen and (max-width: 1650px) {
    .column {
        flex: 50%;
        max-width: 50%;
      }
  
    .contact-info {
        display: flex;
        gap: 12px; /* Space between buttons */
        position: absolute;
        right: 1%;
        top: 35% ; /* Adjust if needed to align with other content */
        z-index: 1001;
        justify-content: center;
        
    }


    .info-box span{
        display: none;
    }

    .info-box i{
        color: #da0303;

    }

    .info-box{
        display: flex;
        left: 10px;
        justify-content: center;
        width: 2%; /* Adjust the size of the button */
        height: 28%;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .social-container {
        display: flex;
        gap: 12px; /* Space between buttons */
        position: absolute;
        left: 2%; /* Distance from the left edge */
        top: 28% ; /* Adjust if needed to align with other content */
        z-index: 1001; /* Ensure the icons are above other elements */
        justify-content: flex-start; /* Align items to the left */
    }
    
    .social-box {
        display: flex;
        align-items: center;
        left: 30%;
        justify-content: center;
        width: 50px; /* Adjust the size of the button */
        height: 50px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

          
}





  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column {
      flex: 50%;
      max-width: 50%;
    }
    .social-box {
        display: none;
    }

    .contact-info{
        display: none;
    }
    .navbar ul li:nth-child(5){
        display: none;
    }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      flex: 100%;
      max-width: 100%;
    }
    .social-box {
        display: none;
    }

    .contact-info{
        display: none;
    }
    .logo:hover{
        transform: scale(1);
    }
    .dropdown-content :not(:hover){
        display: none;
    }
    .dropdown{
        display: flex;
        gap: 35px; /* Menü öğeleri arasına boşluk ekler */
        justify-content: center;
        text-align: center;
    }
    .navbar ul {
        flex-direction: column; /* Dikey düzen */
        gap: 6px; /* Mobilde öğeler arasına daha küçük bir boşluk */
    }
    .navbar ul li:nth-child(5){
        display: none;
    }
    .hours{ 
        color: white;
        text-align: center;
        width: 100%; /* Yüzde genişliği belirliyoruz */
        max-width: 300px; /* Maksimum genişlik */
        margin: 0 auto; /* Ortalamak için otomatik yan margin */
        z-index: 4;
        font-size: larger;
        margin-bottom: 30px;
        margin-top: 1px;
    }
    .location-hours{
        display: flex;
        flex-direction: column; /* Dikey düzen */
    }
    .map{
        width: 100%;
        height: auto;
        margin-bottom: 1px;
    }
    
    .row {
        display: flex;
        justify-content: center;
        gap: 1px;
    }
    .services-section {
        display: flex;
        flex-direction:column;
        gap: 1px;
        margin-bottom: 1%;
    }
    .service-box {
        flex: 1;
        min-width: 160px;
        padding: 1px;
        background-color: #f0f0f0; /* Gri arka plan rengi */
        border-radius: 3px; /* Köşelerin yuvarlanması */
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Hafif bir gölge efekti */
        margin: 5px; /* Görüntüye etrafında boşluk bırakır */
        
    }
    .service-box:hover{
        transform: scale(1);
        
    }
    .modal {
        display: none;
        position: fixed;
        z-index: 1001;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .modal-content {
        display: block;
        margin: auto;
        max-width: 90%;
        max-height: 80%;
        width: auto;
        height: auto;
        align-items: center;
        padding-top: 90px;
    }
    .close {
        position: absolute;
        top: 10px;
        right: 25px;
        color: #fff;
        font-size: 35px;
        font-weight: bold;
        cursor: pointer;
        z-index: 1002;
    }
    
    .close:hover,
    .close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

    .icerik {
        position: relative;
        display: flex;
        text-align: center;
        color: white;
    }
    
    .bg img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        filter: brightness(45%); /* Parlaklığı azalt */
        transition: filter 0.3s ease; /* Geçiş efekti */
    }

    .text-overlay {
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding-top: 20px; /* Hafifçe aşağıya kaydırmak için */
        text-align: center;
        background-color: #f3f3f3;
        border-radius: 35px;
        width: 75%;
        height: 45%;
        background: rgba(51, 51, 51, 0.5);
        box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
        backdrop-filter: blur( 4.5px );
        -webkit-backdrop-filter: blur( 4.5px );
        border-radius: 48px;
        border: 1px solid rgba( 255, 255, 255, 0.18 );
        
    }
       
    .text-overlay h2 {
        font-size: sma;
        margin-top: 0;
        font-weight: 300;
    }


    .photo-item {
        flex: 1 1 calc(33% - 10px);
      }
      
    .photo-container{
        gap: 12px;
        width: 90%;
        
      }   

    .photo-item img:hover {
        transform: scale(1); /* Hover üzerinde fotoğrafın büyümesi */
    }

	 #gallery {
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
		justify-content: center;
		margin: 15px;
}
   #gallery img {
		width: 350px;
		height: auto;
		object-fit:cover;
		background-color: #bbb;
		aspect-ratio: 4 / 3;
		border-radius: 8px;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
		cursor: pointer;
		transition: transform 0.2s ease-in-out;
}

#gallery img:hover {
 	   transform: scale(1.05);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

	  
	  

}}
  }

  #gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 15px;
}

#gallery img {
    width: 350px;
    height: auto;
    object-fit:cover;
    background-color: #bbb;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

#gallery img:hover {
    transform: scale(1.05);
}
