@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Scrollbar */


/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #5996f7 #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 16px;
}

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: #5996f7;
    border-radius: 0px;
    border: 0px none #ffffff;
}

.inter-italic {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: bolder;
    font-style: italic;
}

.inter-bold {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
}

.inter {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

* {
    padding: 0;
    margin: 0;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.wrapper {
    flex: 1;
}

.container {
    width: 92%;
    margin: auto;
}

.container-fluid {
    width: 100%;
    margin: auto;
}

.top-image {
    position: relative;
    width: 100%;
}

.top-image img {
    width: 100%;
    height: auto;
}

.top-image h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 48px;
    text-align: center;
}


.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    max-width: 150px;
    height: auto;
    margin-left: 50px;
}

.top-bar-text {
    flex-grow: 1;
    text-align: center;
    font-size: 18px;
    color: #000;
}

.top-bar-text i {
    font-size: 20px;
}

.social-media {
    text-align: right;
    font-size: 14px;
    color: #000;
    margin-right: 50px;
}

.social-media a {
    color: #333;
    text-decoration: none;
    padding: 8px;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    background-color: #e7e7e7;
}

.nav {
    text-align: center;
}

/* Dropdown Menü Stili */
.nav ul {
    list-style: none;
    display: inline-block;
    padding: 0;
}

.nav li {
    position: relative;
    display: inline-block;
    margin-right: 15px;
}

.nav li a {
    padding: 12px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #000;
    transition: background-color 0.3s ease;
}

.nav li a:hover {
    background-color: #ddd;
}

.nav li:hover .dropdown-content {
    display: block;
}

/* Dropdown için ok */
.dropdown-arrow {
    margin-left: 5px;
    font-size: 18px;
    vertical-align: middle;
}

/* Dropdown menülerin varsayılan durumu */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    border-radius: 5px;
    z-index: 1000;

}

/* Dropdown başlığına hover yapıldığında alt menünün gösterilmesi */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Dropdown menülerin altındaki bağlantıların stili */
.dropdown-content li {
    padding: 12px 16px;
    text-align: left;
}

.dropdown-content li a {
    color: #000;
    text-decoration: none;
    display: block;
}

.dropdown-content li a:hover {
    background-color: #f1f1f1;
}

/* SLİDER */

.slider {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* Geçiş animasyonu */
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Karartma efekti */
.dark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.caption {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translate(-50%, 50%);
    color: white;
    font-size: 24px;
    font-family: 'Inter', sans-serif;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 2;
    /* Karartma efektinin üstünde yer almak için */
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 2;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Hizmet Kartları */

/* Hizmetlerimiz Başlığı */
.text-center {
    text-align: center;
}

.services-title {
    padding-bottom: 20px;
}

.services-section {
    padding: 50px;
}

.service-call {
    display: flex;
    justify-content: space-between;
    /* İçeriği en sola ve en sağa hizala */
    align-items: center;
    /* Dikeyde ortala */
    width: 100%;
    /* İhtiyacına göre genişliği ayarlayabilirsin */
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    padding: 10px 20px;
    /* İç boşluklar */
}

.service-call p {
    margin: 0;
    /* Varsayılan marjini kaldır */
    flex-grow: 1;
    /* Yazı alanını genişlet */
}

.call-button {
    background-color: #fff;
    /* Beyaz buton rengi */
    color: #000;
    /* Siyah yazı */
    padding: 10px 20px;
    /* İç boşluklar */
    text-decoration: none;
    /* Alt çizgiyi kaldır */
    border-radius: 5px;
    /* Köşeleri yuvarla */
    font-size: 16px;
    /* Yazı boyutu */
    transition: background-color 0.3s ease;
    /* Arka plan renginin geçiş süresi */
    border: 1px solid #ccc;
    /* Hafif gri kenarlık */
}

.call-button:hover {
    background-color: #e7e7e7;
    /* Hover olduğunda gri */
}


/* Grid Sistemi */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Her satırda 4 kart */
    gap: 20px;
    /* Kartlar arası boşluk */
    margin-top: 20px;
}

.grid-item {
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.grid-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.service-title {
    padding-top: 15px;
}

.service-description {
    margin: 15px;
    font-size: 14px;
    color: #333;
    display: block;
    /* Fallback for non-webkit */
    display: -webkit-box;
    height: 4.6em;
    /* Fallback for non-webkit, line-height * 2 */
    line-height: 1.1em;
    -webkit-line-clamp: 4;
    /* if you change this, make sure to change the fallback line-height and height */
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-button {
    background-color: #007BFF;
    /* Mavi buton */
    color: #fff;
    /* Beyaz yazı */
    border: none;
    border-radius: 5px;
    /* Yumuşatılmış kenarlar */
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 15px;
}

.service-button:hover {
    background-color: #0056b3;
    /* Hover efekti için daha koyu mavi */
}

/* Footer */

footer {
    background-color: #333;
    color: #fff;
    padding-top: 40px;
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    padding-bottom: 40px;
    /* Alt boşluk ekleyin */
}

.footer-section {
    flex: 1;
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    /* Başlık ve içerik arasında dikey boşluk */
}

.footer-section p,
.footer-section ul {
    font-size: 14px;
    line-height: 1.6;
}

.footer-paragraph {
    max-width: 300px;
    margin: 0 auto;
}

.services-columns {
    display: flex;
    justify-content: center;
    text-align: left;
    gap: 15px;
    /* Kolonlar arasında yatay boşluk ekleyin */
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    /* Başlık ve içerik arasında dikey boşluk */
}

.footer-section ul li {
    margin-bottom: 15px;
    /* Maddeler arasındaki boşluğu arttırmak için */
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    /* Metinlerin satır kaydırmasını önlemek için */
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ddd;
}

.social-media-icons a {
    color: #fff;
    font-size: 24px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-media-icons a:hover {
    color: #ddd;
}

.footer-copyright {
    background-color: #222;
    padding: 15px 0;
    text-align: center;
    color: #fff;
    width: 100%;
    margin-top: 50px;
}

.footer-copyright p {
    margin: 0;
    padding: 20px 0;
    font-size: 14px;
}


.service-header {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 160px;
    /* Yüksekliği ihtiyacınıza göre ayarlayın */
    background-size: cover;
    background-position: right;
    display: flex;
    /* Flexbox kullanarak içerikleri ortalamak için */
}

.service-image {
    max-width: 100%;
    height: 500px;
    background-size: contain;
    margin-bottom: 15px;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay'in tam olarak kaplaması için */
    background: linear-gradient(to right, #007BFF 30%, rgba(0, 0, 0, 0) 70%);
}

.service-header .container {
    z-index: 1;
    /* Gradient overlay'in altında kalmaması için */
    text-align: left;
    /* Yazıları sola hizala */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    /* Container'ı tam yüksekliğe yay */
    padding-left: 20px;
    /* Soldan biraz boşluk bırak */
}

.content-section {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.row {
    display: flex;
    width: 100%;
}

.content-section .col-left {
    flex: 70%;
    /* Sol taraftaki yazı genişliği */
    padding-right: 125px;
}

.content-section .col-right {
    flex: 30%;
    /* Sağ taraftaki menü genişliği */
    padding: 20px 0;
    background-color: #f9f9f9;
    /* Menü için arka plan rengi */
    border-radius: 5px;
    /* Köşe yuvarlama */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Hafif gölge efekti */
}

.content,
.content-title,
.content-list {
    margin-bottom: 15px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    max-height: 600px;
    overflow-y: auto;
}

.nav-menu-title {
    position: sticky;
    top: 0;
    background-color: #007BFF;
    /* Arka plan rengini menü rengine göre ayarlayın */
    z-index: 10;
    /* Diğer içeriklerin üzerine gelmesini sağlar */
    padding: 20px;
    /* Üst başlığın görünümünü düzenlemek için padding ekleyin */
}

.nav-menu li {
    margin-bottom: 10px;
}

.nav-menu li a {
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    display: block;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.nav-menu li a:hover {
    background-color: #e7e7e7;
    border-radius: 5px;
}

.text-white {
    color: #fff;
}

.nav-contact-info {
    background-color: white;
    margin: 25px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nav-contact-info h2 {
    margin-bottom: 20px;
    color: #333;
    text-align: left;
}

.nav-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.nav-contact-item i {
    font-size: 24px;
    color: #007bff;
    /* Mavi renk */
    margin-right: 10px;
}

.nav-contact-item p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.google-map {
    margin: 40px 0;
}

.contact-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.contact-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 24px;
    color: #007bff;
    margin-right: 10px;
}

.contact-item p {
    margin: 0;
    font-size: 16px;
    color: #555;
}

.social-icons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.social-icons a {
    color: #007bff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #0056b3;
}

.call-button-contact {
    display: block;
    text-align: center;
    background-color: #007BFF;
    /* Mavi buton */
    color: #fff;
    /* Beyaz yazı */
    border: none;
    border-radius: 5px;
    /* Yumuşatılmış kenarlar */
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 20px 0;
}

.call-button-contact:hover {
    background-color: #0056b3;
    /* Hover efekti için daha koyu mavi */
}


.logo-carousel {
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.logo-track {
    display: flex;
    animation: scroll 60s linear infinite;
    align-items: center; /* Logoları dikey olarak ortalar */
    margin: auto;
}

.rlogo {
    flex: 0 0 auto;
    width: 200px;
    padding: 10px;
    display: flex;
    justify-content: center; /* Resmi yatay olarak ortalar */
    align-items: center; /* Resmi dikey olarak ortalar */
}

.rlogo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Galeri */

/* Galeri Bölümü Stilleri */
.gallery-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.gallery-section h2 {
    margin-bottom: 40px;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    text-align: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Mobil Responsive için Düzenlemeler */

/*  Tablet */
@media (max-width: 768px) {
    .top-image h1 {
        font-size: 20px;
    }

    .top-bar .top-bar-text{
        font-size: 10px;
    }

    .top-bar .social-media{
        font-size: 10px;
    }

    .grid-container{
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-container{
        display: block;
    }
    
    .footer-section{
        margin-bottom: 20px;
    }

    h2{
        font-size: 1em;
    }

    .nav-contact-item p{
        font-size: 10px;
    }

    .service-call p{
        font-size: 12px;
    }

    .service-call a{
        font-size: 10px;
    }

    .service-image{
        height: 350px;
    }

    .logo-track{
        animation: scroll 20s linear infinite;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-400%);
        }
    }

}

/* Laptop */
@media (max-width: 1024px) {
    .top-image h1 {
        font-size: 28px;
    }

    .service-call{
        max-width: 95%;
    }
}

/* Telefon */

@media (max-width: 480px) {
    .top-image h1 {
        font-size: 10px;
    }

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

    .services-columns{
        display: block;
    }

    .nav-menu{
        display: none;
    }

    .nav-contact-info{
        display: none;
    }

    .content-section .col-left {
        flex: 100%;
        padding-right: 0;
    }

    .col-right{
        display: none;
    }

    .service-call{
        max-width: 85%;
    }

    .top-bar{
        display: block;
    }

    .logo{
        text-align: center;
    }

    .logo img{
        margin: 0;
    }

    .top-bar .top-bar-text{
        margin-bottom: 20px;
    }

    .top-bar .social-media{
        margin: 0;
        margin-bottom: 10px;
        text-align: center;
    }

    .footer-copyright p {
        font-size: 8px;
    }

    .logo-track{
        animation: scroll 10s linear infinite;
    }

    .gradient-overlay{
        background: linear-gradient(to right, #007BFF 30%, rgba(0, 0, 0, 0) 95%);
    }

    

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-800%);
        }
    }

}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Add Animation */
.modal-content, #caption {  
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)} 
    to {transform: scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
/* --- MOBİL MENÜ AYARLARI --- */

/* Masaüstünde butonu gizle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    margin: 20px;
}

/* Hamburger çizgileri */
.menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: #333; 
    border-radius: 10px;
    transition: 0.3s;
}

/* MOBİL GÖRÜNÜM (768px altı ekranlar) */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Mobilde çizgileri göster */
    }

    .nav {
        display: none; /* Menü başlangıçta kapalı */
        width: 100%;
        position: absolute;
        top: 60px; /* Navbar yüksekliğine göre ayarla */
        left: 0;
        background-color: #fff;
        z-index: 9999;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    /* JavaScript ile eklenecek 'active' sınıfı */
    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .nav ul li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav ul li a {
        display: block;
        padding: 15px 20px;
        width: 100%;
    }

    /* Alt menüleri (Dropdown) mobilde alta açılacak hale getir */
    .dropdown-content {
        position: static;
        display: none; 
        background-color: #fcfcfc;
        padding-left: 20px;
        box-shadow: none;
    }

    /* Alt menü açıkken göster */
    .nav li.open .dropdown-content {
        display: block;
    }
}
