* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    font-size: 7px;
}

body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: 1.2px;
    text-align: center;
    background-color: #333;
}

a {
    text-decoration: none;
}

header {
    height: 100vh; /* Ekran yüksekliğine göre uyumlu hale geldi */
}

header .bgimg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover; /* Resmin tam olarak ekranı kaplamasını sağlar */
    background-image: url('images/image.jpg');
    background-position: center; /* Resmin ortalanmasını sağlar */
    opacity: 0.5;
    z-index: -1;
}


header .btn {
    font-size: 2rem;
    padding: 20px 40px;
    margin-top: 20px;
}

header .secondword {
    color: rgba(35, 154, 194, 255);
}

header h1 {
    font-size: 15rem;
    padding: 20rem 0;
    padding-bottom: 0;
    text-align: center;
}

.btn {
    display: inline-block;
    background: #333;
    color: #fff;
    border: 1px solid #666;
    padding: 1.6rem 3.2rem;
    margin: .5rem 0;
    transition: 0.8s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: #fff;
    color: #333;
}

p {
    font-size: 2rem;
}

img {
    margin-right: 20px;
}

/* Hizmetler ve Arka Plan */
#section-a {
    padding: 4rem 0;
    background: #eee;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Bu satır eklenebilir */
    background-size: cover; /* Arka planın her alanda görünmesi için */
    background-position: center; /* Arka planın düzgün hizalanması için */
}

#section-a h2 {
    font-size: 9rem;
    padding: 3rem 0;
    margin: 0;
}

#section-a .description-container {
    text-align: center;
    margin-bottom: 2rem;
}

#image-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Bu satır eklenebilir */
}

#image-container ul {
    display: flex;
    padding: 0;
    list-style: none;
}

#image-container li {
    position: relative;
}

.content {
    position: relative;
}

.content img {
    width: 400px;
    height: 400px;
    border-radius: 8px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content:hover .overlay {
    opacity: 1;
}

h3 {
    margin: 0;
}

h2 {
    font-size: 9rem;
    padding: 3rem 0;
    margin: 0;
}

h2 .second-word {
    color: rgba(35, 154, 194, 255);
}

#section-b {
    background: #eee;
    color: #333;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

#section-b ul {
    list-style: none;
    display: flex;
    padding: 0;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

#section-b li {
    flex: 0 1 calc(33.333% - 30px);
    margin: 15px;
}

#section-b .image-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#section-b .image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.col .btn {
    text-align: center;
}

@media screen and (min-width: 800px) {
    html {
        font-size: 9px;
    }
}

@media screen and (min-width: 1200px) {
    html {
        font-size: 11px;
    }

    #section-b li {
        width: 28%;
        margin: 1%;
        display: inline-block;
    }

    #section-c li {
        width: 28%;
        margin: 1%;
        display: inline-block;
    }

    .box {
        width: 50%;
        float: left;
    }
}

.colcontent {
    padding: 1.5rem;
}


/* Mobil uyumlu düzenlemeler */
@media screen and (max-width: 768px) {
    html {
        font-size: 6px;
    }

    body {
        font-size: 1.4rem;
    }

    header h1 {
        font-size: 8rem;
        padding: 10rem 0;
    }

    header h2, header h3 {
        font-size: 2rem;
    }

    .btn {
        font-size: 1.6rem;
        padding: 15px 30px;
    }

    /* Hizmetler bölümü */
    #image-container {
        flex-direction: column;
    }

    #image-container li {
        width: 100%;
        margin: 10px 0;
    }

    /* Portföy bölümü */
    #section-b ul {
        flex-direction: column;
    }

    #section-b li {
        width: 100%;
        margin: 10px 0;
    }

    /* Footer */
    footer {
        padding: 20rem;
    }

    /* Menüler ve butonlar */
    .menu ul {
        flex-direction: column;
    }

    .menu ul li {
        font-size: 1.4rem;
        margin: 10px 0;
    }
}
/* Resim galerisi stil */
.image-gallery {
    position: relative;
    width: 30%;
    height: auto;
}

/* Resim stilini ayarlıyoruz */
.image-container img {
    width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}
/* Navigation butonlarının düzenlenmesi */
.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

/* Buton stilini güncelleyelim */
.nav-btn {
    background-color: transparent;
    border: none;
    font-size: 3rem;
    color: rgb(29, 26, 26);
    padding: 1rem;
    transition: 0.3s ease;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Buton hover etkisi */
.nav-btn:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.nav-btn i {
    transition: 0.3s ease;
}

.nav-btn:hover i {
    transform: translateX(5px);
}

#section-b {
    background: #eee;
    color: #333;
    padding: 4rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

#section-b ul {
    list-style: none;
    display: flex;
    padding: 0;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

#section-b li {
    flex: 0 1 calc(33.333% - 20px); /* 3 resim sırasıyla */
    margin: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease-in-out;
    display: flex; /* Flex container ekliyoruz */
    justify-content: center; /* Resmi ortalamak için */
    align-items: center; /* Resmi ortalamak için */
    height: 250px; /* Sabit yükseklik */
    width: 250px; /* Sabit genişlik */
}

#section-b li img {
    width: 100%; /* Resimler container'ın genişliğine uyacak şekilde */
    height: 100%; /* Yükseklik de %100 olacak şekilde */
    object-fit: cover; /* Resmin kesilmeden container'a uyum sağlaması için */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Hafif gölge */
}

#section-b li:hover {
    transform: scale(1.05); /* Hover efektinde büyüme */
}

#section-b .image-container {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#section-b .image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Mobil uyumlu düzenleme */
@media screen and (max-width: 768px) {
    #section-b ul {
        flex-direction: column;  /* Mobilde resimler alt alta gelecek */
    }

    #section-b li {
        width: 100%;  /* Resimler mobilde tam genişlikte olacak */
        margin: 10px 0;
    }
}
.image-container {
    position: relative;
    width: 100%;
    height: auto;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 2rem;
    text-align: center;
    border-radius: 10px;
}

.image-container:hover .image-overlay {
    opacity: 1;
}
/* Galeri container'ı */
.image-gallery {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px; /* Galerinin genişliği */
    height: 400px; /* Sabit yükseklik */
    margin: 0 auto;
    overflow: hidden;
}

/* Resmin boyutlarını sabitleyelim */
#current-image {
    width: 100%;  /* Resmin genişliğini %100 yapalım */
    height: 100%; /* Resmin yüksekliğini de %100 yapalım */
    object-fit: cover; /* Resmin container'ına uygun şekilde kesilsin */
    border-radius: 10px;
}

/* Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 1.8rem;  /* Overlay metninin boyutunu sabit tutalım */
    text-align: center;
    padding: 1rem;
    border-radius: 10px;
}

/* Hover'da overlay'in görünmesi */
.image-gallery:hover .image-overlay {
    opacity: 1;
}
#section-b .image-container img {
    width: 100%;  /* Resmi container'ın genişliğine uyar */
    height: 200px;  /* Sabit yükseklik ayarlandı */
    object-fit: cover;  /* Resmi kesmeden container'a uydurur */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); /* Hafif gölge efekti */
}
/* Bize Ulaşın Bölümü */
#contact-section {
    padding: 4rem 0;
    background: url('images/image20.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.contact-container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5); /* Koyu bir arka plan */
    padding: 3rem;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
}

.contact-container h2 {
    font-size: 6rem;
    margin-bottom: 2rem;
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    padding: 1rem;
    font-size: 1.4rem;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
}

textarea {
    resize: vertical;
}

button.btn {
    background-color: rgba(35, 154, 194, 255);
    color: #fff;
    font-size: 1.6rem;
    padding: 1rem 3rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
}

button.btn:hover {
    background-color: #fff;
    color: #333;
}

.social-media {
    margin-top: 3rem;
}

.social-media h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.social-icon {
    font-size: 3rem;
    color: #fff;
    margin: 0 1rem;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}
.contact-number {
    font-size: 5rem; /* Yazının büyük olması için */
    font-weight: bold; /* Kalın yazı */
    color: #fff; /* Beyaz renk */
    text-align: center; /* Ortalanması için */
    margin-bottom: 2rem; /* Alt boşluk */
    display: block; /* Satırı tamamen kaplar */
}


p h5, p ul, p p {
    margin-bottom: 2rem;  /* Her bir yazı bloğu arasında 1.5rem'lik boşluk eklenir */
}

h5 {
    margin-top: 1rem;  /* H5 başlığı ile üstündeki metin arasında 1rem boşluk eklenir */
}

ul li {
    margin-bottom: 1rem;  /* Her listedeki öğe arasında 0.8rem boşluk eklenir */
}
p, h5, ul li {
    font-size: 2rem;  /* Metinlerin büyüklüğünü 1.2rem olarak ayarlar */
}

h5 {
    font-size: 3rem;  /* H5 başlığının büyüklüğünü daha fazla artırır */
}




/* Mobil uyumlu düzenlemeler */
@media screen and (max-width: 768px) {
    #contact-section {
        padding: 3rem 1rem;
    }

    .contact-container h2 {
        font-size: 5rem;
    }

    .contact-form {
        gap: 1.5rem;
    }

    .social-media h3 {
        font-size: 1.8rem;
    }

    .social-icon {
        font-size: 2.5rem;
        margin: 0.5rem;
    }
}
