/* Genel stil */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Ana içerik alanı (footer'ı aşağıda tutmak için) */
.main-content {
    flex: 1; /* Sayfa içeriğini esnek hale getirerek footer'ı aşağı itmeye yardımcı olur */
}

/* Navbar */
.navbar {
    background-color: #052052;
    padding: 10px 0;
}

/* Mobil için özelleştirme */
@media (max-width: 767px) {
    .navbar-brand {
        font-size: 18px; /* Mobilde daha küçük yazı */
        text-align: center; /* Ortalamak için */
        color: white; /* Yazıyı beyaz yap */
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        line-height: 1.2;
    }

    .navbar-brand span {
        display: block; /* 'Yenilmez Beyaz Eşya' kısmı için alt satır */
    }

    .navbar-brand .second-line {
        display: block; /* 'Teknik servis' kısmını da alt satıra al */
        margin-top: 5px; /* Üst kısmına biraz boşluk */
    }

    /* Ekstra düzenleme, yazının çok küçük olmasını engellemek için */
    .navbar {
        padding: 10px 0;
    }

    .navbar-nav {
        margin-top: 10px; /* Menüdeki öğelere biraz boşluk */
    }
}

/* PC için normal stil */
@media (min-width: 768px) {
    .navbar-brand {
        font-size: 24px; /* PC için daha büyük yazı */
        text-align: left; /* Sol hizalama */
        color: white; /* Yazıyı beyaz yap */
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        line-height: 1.2;
    }

    .navbar-brand span {
        display: inline; /* PC'de yazılar aynı satırda */
    }

    .navbar-brand .second-line {
        display: inline; /* 'Teknik servis' kısmı aynı satırda */
        margin-top: 0; /* Mobilde eklediğimiz boşluğu kaldırdık */
    }
}






.navbar-nav {
    margin: auto;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white !important;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 15px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #ffb422 !important;
}

.navbar .btn-contact {
    position: absolute;
    right: 20px; /* Sağ köşeye hizalar */
    top: 40%; /* Dikey olarak ortalar */
    transform: translateY(-50%);
}

.navbar .btn-contact {
    margin-left: auto; /* Butonu sağa yasla */
}

/* Link hover efekt */
.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffb422;
    transition: width 0.3s;
    margin: auto;
}

.nav-link:hover::after {
    width: 100%;
}

/* Carousel */
.carousel-item {
    height: 600px;
}

.carousel-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.slider-content {
    position: absolute;
    top: 40%;
    right: 10%;
    transform: translateY(-50%);
    text-align: right;
    max-width: 500px;
}


.slider-content h2 {
    font-size: 40px;
    font-weight: 600; 
    color:#000000;
} 

.slider-content p {
    font-size: 25px;
    margin: 15px 0;
    color:#000000;
}

.btn-contact {
    background-color: #ffb422;
    color: #052052;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-contact:hover {
    background-color: white;
    color: #052052;
}

/* Carousel navigation */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: rgba(255, 180, 34, 0.8);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.carousel-control-prev-icon:hover, .carousel-control-next-icon:hover {
    background-color: #ffb422;
}

/* Custom Section */
.custom-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 80px 5%;
    background-color: white;
    color: black;
    text-align: left;
}

.custom-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.custom-section .text-content {
    max-width: 500px;
}

.custom-section h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.custom-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffb422;
    margin-top: 10px;
}

.custom-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 991px) {
    .custom-section {
        text-align: center;
        flex-direction: column;
    }

    .custom-section img {
        margin-bottom: 30px;
    }
}

/* References Section */
.references-section {
    text-align: center;
    padding: 50px 0;
    background-color: #f9f9f9;
}

.references-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000;
    margin-bottom: 15px;
}

.view-all-btn {
    background-color: #ff7f00;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.view-all-btn:hover {
    background-color: #e66e00;
}

.references-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 5%;
}

.reference-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.reference-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.reference-item .service-info {
    padding: 15px;
}

.reference-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: #052052;
}

.reference-item p {
    font-size: 16px;
    color: #333;
}

.reference-item:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color:  #052052;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    position: relative;
    width: 100%;
    margin-top: auto;
}

.footer .footer-links {
    margin-bottom: 15px;
}

.footer .footer-links a {
    color: #f8f8f8;
    text-decoration: none;
    margin: 0 15px;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer .footer-links a:hover {
    text-decoration: underline;
}

.visit-us-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    padding: 20px;
}

.visit-us-container .text-content {
    order: 0; /* Yazı solda olacak */
    margin-bottom: 20px;
}

.visit-us-container .map-container {
    order: 1; /* Harita sağda olacak */
    display: flex;
    justify-content: center; /* Haritayı ortalar */
    align-items: center;
    width: 100%; /* Harita tam genişlikte olacak */
}

@media (min-width: 768px) {
    .visit-us-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .visit-us-container .text-content {
        max-width: 45%; /* Yazıyı biraz daha daraltabiliriz */
    }

    .visit-us-container .map-container {
        max-width: 50%; /* Haritayı biraz daha genişletebiliriz */
    }
}

