body {
    font-family: 'Roboto', sans-serif;

}
*{scroll-behavior: smooth;}
.hero-section {
    
    color: white;
    padding: 100px 0;
    
}
.navbar {
    transition: opacity 0.3s ease-in-out; /* Geçiş efekti */
}
.services-icon {
    font-size: 40px;
    color: #0d6efd;
}
.footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçeriği eşit şekilde dağıt */
    min-height: 100%; /* Kartın tam yüksekliğini garanti et */
    height: 100%; /* Eşit yükseklik */
    padding: 50px; /* İç boşluk */
     /* Opsiyonel: Arka plan ekleyin */
    border: 1px solid #ddd; /* Opsiyonel: Çerçeve */
    border-radius: 8px; /* Köşe yuvarlatma */
    margin: 5px;


    
}
.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* İçeriği eşit şekilde dağıt */
    min-height: 100%; /* Kartın tam yüksekliğini garanti et */
    height: 100%; /* Eşit yükseklik */
    padding: 50px; /* İç boşluk */
     /* Opsiyonel: Arka plan ekleyin */
    border: 1px solid #ddd; /* Opsiyonel: Çerçeve */
    border-radius: 8px; /* Köşe yuvarlatma */
    margin: 5px;


    
}
.contact-card:hover{
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
transform: scale(1.05) ;
}
.service-card:hover {
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
transform: scale(1.05) ;
filter: brightness(1.1);
}   

.code-container {
text-align: center;
}

/* Kod metni animasyonu */
.code-text {
display: inline-block;
font-size: 24px;
white-space: nowrap; /* Satır sonu yapmamak için */
overflow: hidden; /* Fazla metni gizler */
/* İmleç efekti */
width: 0; /* Başlangıçta metin görünmesin */
animation: typing 3s steps(40) 1s forwards; /* Typing animasyonu ve imleç blink efekti */
}
/* Yazma animasyonu */
@keyframes typing {
0% {
width: 0;
}
100% {
width: 24ch; /* Tam metnin uzunluğu */
}
}

/* İmleç blink efekti */
@keyframes blink {
50% {
border-color: transparent; /* İmleç kaybolur */
}
}


.projects .gallery {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.gallery-item {
    width: 300px;
    height: 200px;
    background: #ccc;
    border-radius: 10px;
   
}

@media (max-width:768px) {
    .gallery-item {
        width: 90%;
        height: 200px;
        background: #ccc;
        border-radius: 10px;
        margin: 20px;
    }
    
}


.responsive-image {
    width: 100%; /* Resmin genişliğini konteynerin genişliği kadar yapar */
    max-width: 100%; /* Resmin taşmasını önler */
    height: auto; /* Oranları koruyarak yüksekliği ayarlar */
    display: block; /* Çevresinde boşluk bırakmaması için */
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videoyu kapsayacak şekilde ölçeklendirir */
    z-index: -1; /* Video arka planda kalır */
}