* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

/* GALERİ */
.container_galeri {
    width: 100%;
    padding-right: 10px;
    margin: 10px auto;
}

    .container_galeri ul {
        display: flex;
        flex-wrap: wrap;
        padding: 30px 0;
        list-style: none;
        gap: 0.5rem;
        justify-content: center;
    }

        .container_galeri ul button.filtre {
            padding: 0.6rem 1rem;
            border: 3px solid red;
            border-radius: 20px;
            background-color: #fff;
            font-size: 1.6rem;
            font-weight: normal;
            white-space: nowrap;
            cursor: pointer;
            transition: background-color 0.3s;
            width: 15%;
        }

            .container_galeri ul button.filtre:hover {
                background-color: antiquewhite;
            }

            .container_galeri ul button.filtre.active {
                background-color: red;
                color: white;
            }

                .container_galeri ul button.filtre.active:hover {
                    background-color: red;
                    color: white;
                    cursor: default;
                }

/* RESPONSIVE BUTONLAR */
@media (max-width: 600px) {
    .container_galeri ul {
        justify-content: flex-start;
    }

        .container_galeri ul button.filtre {
            flex: 1 1 calc(50% - 1rem);
            font-size: 0.9rem;
        }
}

/* GALERİ GÖRSELLER */
.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-left: 10px;
    margin: 5px auto;
}

    .images .imgBox {
        width: 15%;
        height: 235px;
        margin: 5px;
        border-radius: 5px;
        border: 2px solid #fe1848;
        position: relative;
        display: inline-block;
    }

@media (max-width: 768px) {
    .images .imgBox {
        width: 45%;
        height: 200px;
    }
}

.images .imgBox img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    border-radius: 5px;
    padding: 10px 10px 30px;
    transition: all 0.3s ease-in-out;
}

.images .imgBox:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0,0,0,0.8);
    cursor: pointer;
}

.images .imgBox .text {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: darkslategrey;
    font-size: 16px;
    font-weight: bold;
}

.images .imgBox.active img {
    transform: scale(1.1);
    opacity: 0.1;
}

/* POPUP */
.popup-container {
    display: flex;
    justify-content: center;
    padding: 25px 0;
}

    .popup-container .popuup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(128,128,128,0.9);
        z-index: 9999;
        display: none;
        overflow-y: auto;
    }

        .popup-container .popuup .inner {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #fff;
            border-radius: 10px;
            width: 100%;
            max-width: 1200px;
            max-height: 90vh;
            display: flex;
            flex-wrap: wrap;
            box-sizing: border-box;
            border: 2px solid red;
        }

            /* Pop-up başlık ve kapatma */
            .popup-container .popuup .inner .title {
                display: flex;
                justify-content: flex-end;
                align-items: center;
                height: 40px;
                padding: 0 15px;
                width: 100%;
            }

                .popup-container .popuup .inner .title label {
                    font-size: 40px;
                    font-weight: bold;
                    color: red;
                    cursor: pointer;
                    display: inline-grid;
                    justify-content: flex-end; /* sola değil sağa yasla */
                }

                    .popup-container .popuup .inner .title label:hover {
                        color: #333;
                    }

            /* Pop-up içerik bölümü */
            .popup-container .popuup .inner .content {
                width: 100%;
                max-width: 500px;
                flex: 1 1 40%;
                box-sizing: border-box;
                padding: 20px;
                overflow-y: auto;

            }

                .popup-container .popuup .inner .content ul li {
                    margin-bottom: 15px;
                }

                    .popup-container .popuup .inner .content ul li input,
                    .popup-container .popuup .inner .content ul li textarea {
                        width: 100%;
                        min-width: 260px;
                        max-width: 100%;
                        font-size: clamp(14px, 1.5vw, 16px);
                        box-sizing: border-box;
                        margin-bottom: 5px; /* Ekstra boşluk eklendi */
                        border: none;
                        border-bottom: 2px solid gray;
                        padding: 6px 0;
                    }

                        .popup-container .popuup .inner .content ul li input:focus,
                        .popup-container .popuup .inner .content ul li textarea:focus {
                            border-color: red; /* Yeşil renk */
                            outline: none;
                            border-bottom: 2px solid gray;
                            background-color: rgba(193, 18, 31, 0.05); /* Çok hafif kırmızı */
                        }

            /* Pop-up görsel kısmı */
            .popup-container .popuup .inner .resim {
                width: 60%;
                padding: 20px 15px 15px 15px; /* Üst boşluğu azalttık */
                display: flex;
                align-items: flex-start; /* Ortalamayı yukarı çektik */
                justify-content: center;
            }

                .popup-container .popuup .inner .resim img {
                    max-width: 100%;
                    max-height: 400px; /* Daha küçük bir yükseklik sınırı */
                    object-fit: contain; /* Oranlı şekilde göster */
                }

/* Animasyonlar */
@keyframes animasyonAdi {
    0%, 100% {
        transform: scale(1.0) rotateX(0deg);
    }

    50% {
        transform: scale(1.4) rotateX(60deg);
    }
}

@keyframes animasyon {
    0%, 100% {
        transform: scale(0.8);
    }
}

/* Diğer yapılar */
.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

    .map-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.sertifikalar .sertifika {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-content: center;
}
/* Masaüstünde hem bayrak hem metin göster */
@media (min-width: 577px) {
    #languageSelect option[value="tr"]::after {
        content: " Türkçe";
    }

    #languageSelect option[value="en"]::after {
        content: " English";
    }
}

/* Masaüstünde hem bayrak hem metin göster */
@media (min-width: 577px) {
    #languageSelect option[value="tr"]::after {
        content: " Türkçe";
    }

    #languageSelect option[value="en"]::after {
        content: " English";
    }
}

/* Mobilde sadece bayraklar gözüksün */
@media (max-width: 576px) {
    #languageSelect {
        font-size: 14px;
        width: 50px;
        padding: 4px 6px;
    }
}
@keyframes swing {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

#receiver {
    animation: swing 0.8s infinite ease-in-out;
    transform-origin: center;
}
@keyframes phoneColorShift {
    0% {
        color: #ffffff;
    }
    /* Beyaz */
    50% {
        color: #000000;
    }
    /* Siyah */
    100% {
        color: #ffffff;
    }
}

@keyframes emailColorShift {
    0% {
        color: #000000;
    }

    50% {
        color: #ffffff;
    }

    100% {
        color: #000000;
    }
}

.top-bar-text li {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    font-weight: bold;
}

    .top-bar-text li:nth-child(1) a{
   /* .top-bar-text li:nth-child(1) {*/
        animation: phoneColorShift 2s infinite;
        transition: color 0.3s ease-in-out;
    }

    .top-bar-text li:nth-child(2) a{
    /*.top-bar-text li:nth-child(2) {*/
        animation: emailColorShift 2s infinite;
        transition: color 0.3s ease-in-out;
    }
.hero-slider
{
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}
.hero-slice-wrapper {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 100%;
    height: 100%;
}

    .hero-slice-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        grid-column: 1 / -1;
    }
.hero-text {
    position: absolute;
    top: 50%;
    left: 10%;
    
    max-width: 90%;
    z-index: 10;
    color: white;
    font-family: 'Segoe UI', sans-serif;
}

.text-title {
    font-size: clamp(3rem, 6.5vw, 6.5rem);
    line-height: 1.1;
    word-break: break-word;
    white-space: normal;
    max-width: 100%;
    text-align: center; /* veya left */
    padding: 0 1rem;
}
.text-subtitle {
    font-size: clamp(2rem, 4vw, 4rem); /* eskisi 1.25rem idi */
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-40px);
    background-color: rgba(0, 0, 0, 0.35); /* Hafif siyah, saydam */
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    display: inline-block;
    line-height: 1.5;
    color: #a7c6d6; /* Daha önce tespit ettiğimiz açık mavi */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #e4002b;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(30px);
    transition: background-color 0.3s ease;
}

    .hero-button:hover {
        background-color: #b80022;
    }

/* 📱 Mobile uyumluluk */
@media (max-width: 768px) {
    .hero-text {
        top: 70%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        padding: 0 1rem;
        z-index: 20;
        position: absolute;
        backdrop-filter: blur(6px);
        border-radius: 12px;
        width: 90%
    }
}

    .hero-slice-wrapper > div {
        z-index: 1;
    }

    @media (max-width: 768px) {
        .text-title {
            margin-bottom: 10rem; /* Başlığın altına ekstra boşluk */
        }

        .text-subtitle {
            margin-bottom: 2.5rem; /* Açıklamanın altında da rahat mesafe */
        }

        .hero-button {
            margin-top: 1rem; /* Butonun metinlerden ayrı durması için opsiyonel */
        }
    }

    .teklif-btn {
        background-color: #fff;
        color: #c1121f;
        border: 2px solid #c1121f;
        padding: 12px 28px;
        font-size: 16px;
        font-weight: bold;
        border-radius: 20px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        width: 100%;
    }

    label[for="form_file"] {
        display: block;
        margin-top: 6px;
        font-size: 12px;
        color: #555;
    }

    .teklif-btn:hover,
    .teklif-btn:focus {
        background-color: #c1121f;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.2);
    }

    .file-upload-info {
        padding: 6px 12px;
        border: 1px solid #ccc;
        border-radius: 6px;
        background-color: #f0f0f0;
        font-size: 14px;
        cursor: pointer;
        width: 100%;
    }

  
