@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sansita:ital,wght@0,400;0,700;0,800;0,900;1,400;1,700;1,800;1,900&display=swap");


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgb(255, 255, 255);
    color: black;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
}

.navbar-links {
    margin: 0 auto;
}

.navbar img {
    margin-left: 10px;
}

.navbar a {
    color: black;
    font-size: 16px;
    font-weight: bold;
    margin-right: 20px;
}

.navbar a:hover {
    color: rgb(141, 140, 140);
}


.hmbrgr-menu button {
    display: none;
}

/* Main MEnu */


#herosection {
    margin-top: 100px;
    padding: 0;
}

.banner {
    max-width: 40%;
    margin: 0 auto;
    padding: 0 3rem;
}

.page-header {
    font-family: Lato, sans-serif;
    font-weight: bold;
    font-size: 64px;
    text-align: center;
    margin-bottom: 35px;
}

.page-header2 {
    font-family: Sansita;
    color: rgb(195, 5, 85);
    font-size: 50px;
    text-align: center;
    margin-bottom: 25px;
}


.page-content {
    font-family: kanit, sans-serif;
    font-size: 24px;
    text-align: center;
    font-weight: 300;
    color: rgb(46, 50, 56);
    padding-bottom: 30px;
}

/* Carousel*/
.carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-container {
    --carousel-img-size: 184px;
    display: flex;
    width: calc(var(--carousel-img-size) * 18); /* 9 images + 9 duplicate images */
    animation: scrolls 200s linear infinite;
    text-overflow: ellipsis;
    gap: .5rem;
}

.carousel-container__item {
    width: var(--carousel-img-size);
    height: 300px;
    border-radius: 1rem;
    object-fit: cover;
    position: relative;
}

.carousel-photo {
    position: relative;
    white-space: nowrap;
    display: inline-block;
    word-wrap: break-word;
    margin-bottom: 2rem;
}

.carousel-photo img:hover {
    transition: 0.5s;
    border-radius: 1rem;
}

.img-container {
    position: relative;
}

.img-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 45%);
    z-index: 1;
    border-radius: 1rem;
}

.carousel-photo:hover .carousel-container__item {
    transition: 0.5s;
    width: calc(var(--carousel-img-size) * 2);
    border-radius: 1rem;
    height: 300px;
}

.text-overlay {
    position: absolute;
    top: 0;
    left: 16px;
    color: #fff;
    padding: 10px;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    width: 100%;
    height: auto;
}

.text-overlay h6 {
    margin: 0;
    padding: 15px 0 0 15px;
    display: inline-block;
    border-bottom: 3px solid #dddddd;
    font-family: "Segoe UI Light", sans-serif;
    font-size: 20px;
    font-weight: 400;
}

.text-overlay p {
    margin: 0;
    padding: 15px;
    font-family: "Segoe UI Light", sans-serif;
    font-size: 30px;
    font-weight: 600;
}

.carousel-photo p {
    white-space: wrap;
}

.carousel-photo:hover .text-overlay {
    opacity: 1;
    z-index: 9;
}

@keyframes scrolls {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Translate by half of the total width to loop seamlessly */
    }
}


.menu-logo {
    margin: 0;
    padding: 0;
    background-color: rgb(195, 5, 85);
    height: 120px;
    justify-content: center;
    align-items: center;
    display: flex;
}

.menu-logo img {
    width: 150px;
    height: auto;
    margin-left: 30px;
    margin-right: 30px;
    justify-content: center;
    align-items: center;
    display: flex;
}

/* Services */
#service {
    color: azure;
    background-color: rgb(31, 34, 43);
    display: flex;
    height: 100vh;
    margin: 0;
}


.services-left,
.services-right {
    padding: 50px;
}

.services-left {
    width: 50%;
    padding: 10% 5% 15% 5%;
    display: block;
    position: sticky;
}

.services-left h4 {
    font-size: 30px;
    font-family: Lato, sans-serif;
    font-weight: 700;
}

.services-left p {
    padding-top: 10px;
    font-size: 20px;
    font-family: Kanit, sans-serif;
    font-weight: 400;
}

.service p {
    padding-right: 100px;
}

.services-right {
    width: 50%;
    display: block;
    overflow-y: scroll;
}

.services-right::-webkit-scrollbar {
    width: 0;
}

.service {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 10px;

}

.service::before {
    content: "";

    top: 0;
    right: 0; /* Sağ tarafta konumlandırmak için */
    width: 75%; /* Genişliği ihtiyaca göre ayarlayabilirsiniz */
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.07; /* Opaklık seviyesini buradan ayarlayabilirsiniz */
    z-index: 1;
    border-radius: 10px;
}


.service img {
    width: 412px;
    height: auto;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.services-sections {
    font-family: sansita, sans-serif;
    font-weight: 400;
    font-size: 50px;
    padding-top: 20px;
    color: rgb(67, 84, 110);
}

.service h5 {
    font-family: Sansita, sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: rgb(254, 255, 254);
    position: relative;
    z-index: 2;
}

.service p {
    font-family: Kanit, sans-serif;
    font-size: 24px;
    line-height: 36px;
    font-weight: 300;
    color: rgb(254, 255, 254);
    position: relative;
    z-index: 2;
}

.empty {
    width: 100px;
    height: 300px;
}

/* About */

.about-header h1 {
    font-family: sansita, sans-serif;
    font-size: 100px;
    color: rgb(195, 5, 85);
    text-align: center;
    padding-top: 50px;
}

#aboutus {
    width: 80%;
    margin: 0 auto;


}

.persons-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;
    margin-top: 20px;
}

.persons {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
}

.persons img {

    width: 100%;
    height: auto;
    border-radius: 50%;
    max-width: 200px;


}

.persons h6 {
    margin: 10px 0 5px 0;
    font-size: 1.1em;
    font-weight: 700;
}

.persons p {
    margin: 0;
    font-size: 0.9em;
    color: #666;
}

/* Contact Us */
#contact {
    display: flex;
    margin-top: 200px;
    justify-content: center;
}

.contact img {
    width: 500px;
    height: auto;
    margin: 0 auto;
    display: block;
    align-items: center;
    justify-content: center;
    padding-top: 100px;

}

.input-group-all {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 50px;
}

.input-name {
    width: 100%;
    height: 52px;
    border-radius: 1rem !important;
    margin-bottom: 20px;
    padding-left: 20px;

    font-size: 20px;
    font-family: Lato, sans-serif;
    font-weight: 400;
    border: #ddd 1px solid;
    background-color: rgb(242, 242, 242);
}

.input-email {
    width: 100%;
    height: 52px;
    border-radius: 1rem !important;
    margin-bottom: 20px;
    padding-left: 20px;
    font-size: 20px;
    font-family: Lato, sans-serif;
    font-weight: 400;
    border: #ddd 1px solid;
    background-color: rgb(242, 242, 242);
}

.contact textarea {
    background-color: rgb(242, 242, 242);
    border: #ddd 1px solid;
    border-radius: 10px;
    width: 690px;
    margin-bottom: 24px;
}

.btn {
    width: 100%;
    height: 52px;
    background-color: rgb(195, 5, 85);
    border-radius: 10px;
}

.btn.white {
    color: rgb(255, 255, 255);
}

.btn:hover {
    background-color: rgb(127, 5, 56);
    transition: 0.5s;
}

.input-group {
    display: flex;
    gap: 1rem;
    flex-wrap: nowrap;
}

.textarea-group {
    border: none;
    display: flex;
}

.textarea-message {
    padding: 15px;
}

/* Footer */

#foot {
    margin-top: 200px;
}

footer {
    background-color: rgb(29, 35, 52);
    width: 100%;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    flex-wrap: wrap;
}

footer a {
    font-size: 20px;
    font-weight: 700;
    font-family: Lato, sans-serif;
    display: inline-block;
    color: white;
    text-align: center;
    text-decoration: none;
}

.menu {
    width: 1200px;
    max-width: 100%;
    margin: 164px auto;
    font-family: "Kanit", sans-serif;
}


.menu h1 {
    font-size: 50px;
    margin-bottom: 24px;
}

.menu p {
    font-size: 24px;
    color: #888888;
}

@media screen and (max-width: 1024px) {
    .hmbrgr-menu {
        margin-right: 10px;
    }

    .hmbrgr-menu button {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        padding-right: 10px;
    }

    .navbar-main {
        display: flex;
    }
    
    

    .navbar {
        position: fixed;
        top: 0;
        width: 100%;
        background-color: rgb(255, 255, 255);
        color: black;
        font-weight: bold;
        border-bottom: 1px solid #ddd;
        z-index: 1000;

    }

    .navbar-collapse {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 0;
    }


    .navbar img {
        margin-left: 10px;
    }

    .navbar a {
        color: black;
        font-size: 16px;
        font-weight: bold;
        margin-right: 20px;
    }

    .navbar a:hover {
        color: rgb(141, 140, 140);
    }

    .navbar-main {
        display: none;
    }

    .navbar-main.show {
        display: block;
    }

    #service {
        flex-direction: column;
        height: fit-content;
    }

    .services-left {
        width: 100%;
        padding: 24px;
    }

    .services-right {
        width: 100%;
        padding: 24px
    }

    .services-left h4 {
        padding-top: 0;
    }

    .services-sections {
        display: none;
    }

    .empty {
        height: 48px;
    }

    .service p {
        padding-right: 0;
    }

    .banner {
        max-width: 100%;
    }

    .persons-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact {
        width: 100%;
        padding: 0 1rem;
    }

    .contact textarea {
        width: 100%;
    }

    #foot {
        margin-top: 6rem;
    }

    @media screen and (max-width: 576px) {

        .page-header {
            font-size: 42px;
        }

        .page-header2 {
            font-size: 32px;
        }

        .page-content {
            font-size: 18px;
        }
        
        .banner {
            padding: 0 1.5rem;
        }


        #foot {
            margin-top: 3rem;
        }

        .input-name {
            margin-bottom: 0;
        }
        
        .input-group {
            flex-direction: column;
            gap: 1rem;
        }
        
        #contact {
            margin-top: 0;
        }

        .contact img {
            width: 100%;
        }

        .services-left h4 {
            font-size: 24px;
        }

        .services-left p {
            font-size: 16px;
        }

        .service h5 {
            font-size: 18px;
        }

        .service {
            padding: 0;
        }

        .service p {
            font-size: 16px;
            line-height: 24px;
        }

        .service img {
            width: 100%;
        }
        .about-header h1 {
            font-size: 77px;
        }
        footer {
            gap: 0.75rem;
            justify-content: center;
        }
        footer a {
            font-size: 14px;
        }
    }

}