@import url('https://fonts.googleapis.com/css2?family=Poppins: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&display=swap');
@import url('https://fonts.cdnfonts.com/css/rockwell-nova');

/* styles.css */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;}

.link-k{
    text-decoration: none;
    color:#D80724;
    
}

header{
    flex: none;
    position:sticky;
    top: 0;
    z-index: 99;
}
/*Navbar*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F5F5F5!important;
    padding: 10px 20px;
}

.navbar ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.navbar ul li {
    margin: 0 10px;
    position: relative; 
}

.navbar ul li a {
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.navbar ul li a:hover {
    background-color: #D80724;
    color: white;
    border-radius: 5px;
}

.navbar-logo {
    margin: 0 20px;
    text-align: center;
    flex-grow: 1;
}

.navbar-logo img{
    width: 75px;
    height: 75px;
}

.navbar-logo a {
    color: white;
    text-decoration: none;
    font-size: 24px;
}

.header-title {
    font-family: 'Rockwell Nova', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 8px;
    color: black;
}

.volvo-penta {
    margin-right: 10px;
}

.center-bayi {
    margin-left: 10px;
}

.header-logo {
    height: 50px; 
    margin: 0 10px;
}

.navbar-left {
    flex-grow: 0;
}

.navbar-right {
    flex-grow: 0;
}

.acilirMenu-icerik {
    position: absolute;
    background-color: #F5F5F5;
    width: 160px;
    display: none;
    top: 100%; 
    left: 0;
    z-index: 1; 
}
.acilirMenu-icerik a {
    color: black;
    padding: 25px;
    text-decoration: none;
    display: block; 
}

.acilirMenu-icerik a:hover {
    background-color: #D80724;
}

.acilirMenu:hover .acilirMenu-icerik {
    display: block; 
}

/*TOP BAR*/
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #F5F5F5!important;
    padding: 10px 20px;
    color: black;
}
hr{
    background-color: #F5F5F5!important;
    margin: 0;
    padding: 0;

}
.top-bar .contact-info a,
.top-bar .social-media a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    pointer-events: auto !important;

}

.top-bar .social-media a {
    margin-left: 10px;
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
}
.contact-info a:hover, .social-media a:hover{
    color: #D80724;
}

.top-bar .social-media {
    display: flex;
    align-items: center;
}

.top-bar a i {
    margin-right: 5px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle i {
    font-size: 24px;
    color: white;
}


.video-container {
    position: relative;
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
}

.mercury-video {
    position: relative;
    width: 100%;
    max-height: 75vh;
    overflow: hidden;
}

.mercury-video .m-video{
    
        width: 100%;
        height: auto;
    
}

video {
    width: 100%;
    height: auto;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.image-container {
    position: relative; 
    display: inline-block; 
}

.main-image {
    display: block; 
}

.overlay-image-1 {
    position: absolute; 
    top: -20px; 
    left: -20px; 
    width: 50px; 
    height: auto; 
}
.overlay-image-2 {
    position: absolute; 
    top: 300px; 
    left: -65px; 
    width: 300px; 
    height: auto; 
}

.home-about{
    display: flex;
    align-items: center; /* Dikeyde ortalamak için */
}

.home-about .col-6{
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}
.h-title{
    text-align: center;
}
.lead{
    padding: 50px;
}

.card-img{
    width: 100%!important;
}

.home-cm{
    margin-top: 250px;
}
.home-card {
    
    margin-bottom: 50px;
    padding: 100px;
}

.home-card .row{
    display: flex;
    align-items: center; 
}
.home-card .col{
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: center; 
}

/* Home Motor*/
.home-motor{
    margin-top: 100px;
    height: 60vh;
}
.home-motor h1{
    text-align: center;
}
.category{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffff;
    padding: 10px 20px;
}
.category a{
    padding: 15px;
}
.home-referances h1{
    text-align: center;
}
.-home-referances p{
    text-align: center;
}
.slider {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 75px;
    padding: 100px;
}

.slide {
    min-width: 15%;
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    border-radius: 10px;
}

.slide p{
    text-align: center;
}


.page-text h1{
    text-align:center;
}

.page-img img{
    width: 100%;
    height:auto;
}


/*Footer*/
.footer{
    width: 100%;
    height: auto;
    background-color: #F5F5F5;
    padding: 25px;
}
.footer .row .col-6 img{
    width: 250px;
    height: 250px;
}

.footer .row .col-6 .col-3 img{
    width: 170px;
    height: 45px;
    margin-top: 25px;
}
.footer .row .col-6 .col-3 h4{
    margin-top: 25px;
}

.footer-ul {
    list-style: none;
}

.footer ul li a{
    color: black;
    text-decoration: none;
}

.footer ul li a:hover{
    color: #D80724;
}

.social-media-f{
    float: right!important;
}

.f-text{
    float: left;
}
.social-media-f a{
    margin: 10px;

}

.social-media-f a i{
    color: black;
}

.social-media-f a i:hover{
    color: #D80724;
}

.k-medya{
    align-items: center;
    justify-content: center;
}
.k-medya a{
color:navy;
}

/*Hakkımda / About */
.hero {
    position: relative;
    width: 100%;
    height: 37vh;
    background-color: #F5F5F5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); 
    z-index: 1;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.hero h1{
    z-index: 1;
    position: absolute;
    top: 50%;
    left: 50px; 
    color: white;
    font-weight: 700;
    transform: translateY(-50%); 
}
.explanation{
    margin-bottom: 150px;
}
.explanation .col-6{
    display: flex;
    align-items: center; /* Dikeyde ortalamak için */
}

.about-image-1{
    position: absolute; 
    top: -20px; 
    right: -20px; 
    width: 50px; 
    height: auto; 
}

.text-container .lead{
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

.main-image{
    width: 100%;
    height: 100%;
}
/*Referances*/
.referances{
    margin-top: 65px;
    margin-bottom: 65px;

}
.referances h1{
    text-align: center;
}
.referances p{
    text-align: center;
    margin-top: 20px;
}
.referances-img{
    width: 200px;
    height: 200px;
    margin-top: 65px;
    margin-bottom: 65px;
}
.referances-img img{
    width: 100%;
    height: 100%;
}
.referances-title{
    text-align: center;
    margin-top: 25px;
}
/*Contact */
.iletisim-mesaj{
    padding: 25px;
    margin-top: 50px;
    padding-left: 250px;
    padding-right: 250px;
}
.iletisim-mesaj h1, .iletisim-mesaj p{
    text-align: center;
}
.calisma-saatleri, .iletisim-bilgileri{
    margin-left: 50px;
    padding: 30px;
}

.calisma-saatleri h4, .iletisim-bilgileri h4{
    border-left: 4px solid #D80724; 
    padding-left:15px; 
    margin-bottom:25px;
}

.tel a, .faks a, .email a{
    color:black;
}

.tel a:hover, .faks a:hover, .email a:hover{
    color:#D80724;
    
}

/*Sertifika Sayfası*/
.gallery .row .col-3 img {
    width: 100%;
    margin: 10px;
    cursor: pointer;
    padding: 15px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
    margin-top: 138px;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 80%;
    max-width: 700px;
}

.mySlides {
    display: none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    background-color: #333;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
    background-color: rgba(0,0,0,0.8);
}

.prev:hover, .next:hover {
    background-color: #D80724;

}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-content img {
    margin-bottom: -4px;
    width: 100%;
    height: 100%;
}

.c-detay{
    margin: 20px;
    padding: 20px;
    background-color: #e4dede!important;
    color: black;
    border-radius: 25px;
}

/*Career / Kariyer*/
.c-title{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    text-align: center;
    font-size: 25px;
    margin-bottom: 25px;
}
.c-title-big{
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    text-align: center;
    font-size: 25px;
    margin-bottom: 25px; 
}
.c-lead{
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    text-align: center;
    font-size: 18px;
}
.t-link{
    text-decoration: none;
    color: #333;
}
.t-link:hover{
    color: #D80724;
    font-size: large;
}
/* Career List /İş İlanları*/

.is-ilanlari{
    margin-top: 70px;
    margin-bottom: 100px;
}

.jobs-icerik{
    margin-top: 35px;
    margin-bottom: 20px;
}
.jobs-icerik h1,  p{
    text-align: center;
}
.jobs-icerik p{
    margin-left: 20%!important;
    margin-right: 20%!important;
}
/*POPUP*/
.popup-overlay {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
        
.popup-content {
    position: relative;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    height: auto;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-content h2 {
    margin-top: 25px;
    color: #333;
}

.popup-content p {
    font-size: 16px;
    color: #555;
}

.popup-content a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
}

.popup-content a:hover {
    background-color: #218838;
}

.popup-content .close-btn {
    position: absolute;
    top: 0;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}
.popup-content .close-btn:hover{
    color:red;
}

/**Son Yazılar **/
.sidebar {
    padding: 25px;
    background-color: #f8f9fa; 
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.sidebar h4 {
    margin-bottom: 1.25rem; 
    font-weight: 600;
    color: #343a40;
}

.sidebar hr {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.recent-post-item {
    margin-bottom: 20px;
}

.recent-post-item:last-child {
    margin-bottom: 0;
}

.recent-post-item a {
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    color: #495057; 
    transition: all 0.2s ease-in-out; 
}

.recent-post-item a:hover {
    color: #007bff; 
    transform: translateX(-2px);
}

.recent-post-item img {
    width: 80px;  
    height: 65px; 
    object-fit: cover; 
    border-radius: 6px;
    margin-right: 15px; 
    border: 1px solid #ddd;
}

.recent-post-item h5 {
    font-size: 1rem; 
    margin: 0; 
    font-weight: 500;
    line-height: 1.4;
}
/*Responsive**/
@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #333;
    }

    .navbar ul.active {
        display: flex;
    }

    .navbar ul li {
        margin: 10px 0;
    }

    .navbar-logo {
        order: -1;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 1735px){
    .header-title {
    font-family: 'Rockwell Nova', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: black;
    }

}
@media (max-width: 768px) {
    .page-text{
        padding-left: 0;
        padding-right:0;
    }
    .home-cm{
        margin-top:0;
    }
    .top-bar {
        flex-direction: row-reverse;
        text-align: center;
    }

    .contact-info{
        display: none!important;
    }
    .navbar-logo{
        text-align: left;
        width: auto!important;
        height: auto!important;
        margin: 0;
        padding: 0;
    }
    .navbar-left{
        background-color: #F5F5F5!important;
    }
    .header-title{
        font-family: 'Rockwell Nova', sans-serif;
        font-size: 8px;
        font-weight: 600;
        letter-spacing: 2px;
        color: black;
        display:none;
    }
    .navbar-right{
        background-color: #F5F5F5!important;

    }
    .acilirMenu:hover{
        margin-bottom: 50%!important;

    }
    .acilirMenu-icerik{
        width: 100%;
    }
    .fa-bars{
        color: black!important;
        font-size: 45px;
    }
    
    header hr{
        padding: 0;
        margin: 0;
    }
    .hero{
        width: 100%;
        height: auto;
    }
    .hero img{
        height: auto;
        width: 100%;
    }
    .hero h1{
        text-align: center!important;
        transform: none;
        left:0;
        top:auto;
        justify-content: center!important;
        align-items: center!important;
        font-size:18px;
    }
    
    .home-about{
        margin: 0;
    }
    .home-about .col-6{
        width: 100%!important;
        padding: 0;
    }
    .home-about .col-6 .btn{
        margin-left: 40px;
        margin-top: -70px;
    }

    .lead{
        padding: 15px;
    }
    .lead h1, p{
        text-align: left;
    }

    .image-container {
        margin: 30px;
    }
    .overlay-image-2{
        display: none;
    }

    .home-motor{
        display: none;
    }

    .home-card{
        padding: 25px;
    }
    .home-card .col-6{
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .home-card .col-6 img{
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .home-card .col-6  .h-title{
        margin-top: 25px;
    }

    .home-card .col-6  .lead{
        padding: 5px;
        margin-top: 10px;
    }
    .home-referances p{
        text-align: center;
    }
    .home-referances .slider{
        margin-top: 60px;
        padding: 5px;
    }
    .explanation{
        margin-bottom: 50px;
    }
    .explanation .col-6{
        width: 100%;
    }
    .explanation .h-title{
        margin-top: 25px;
    }
    .explanation .btn{
        margin-top: 15px;
    }
    .about-image-1{
        right: 0;
    }
    .gallery .row .col-3{
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .referances .col-3{
        width: 50%;
        padding: 20px;
    }
    .referances-img{
        width: 100%;
    }
    .referances-img img{
        width: 100%!important;
    }

    .iletisim-mesaj{
        padding: 0;
        margin-top: 25px;
    }.iletisim .col-6{
        width: 100%;
    }
    .calisma-saatleri{
        margin-left: 0;
        margin-top: 40px;
        padding: 15px;
    }
    .calisma-saatleri .col-6{
        width: 50%;
    }
    .iletisim-bilgileri{
        margin: 0;
        padding: 15px;
    }
    .tablo{
        width: 100%!important;
    }
    .tablo .table{
        width: 80%!important;
        margin: 0;
        padding: 0;

    }
    .is-ilanlari tbody{
        width: 80%;
    }
    .footer{
        width: 100%;
    }
    .footer .col-6{
        width: 100%;
    }
    .footer .col-3{
        width: 100%;
    }
    .close{
        top: 200px;
        font-size: 25px;
    }
    .modal{
        padding-top: 240px;
    }

    .jobs-icerik p {
        margin-left: 5% !important;
        margin-right: 5% !important;
        margin-bottom: 50px;
    }

    .job-app form .row .col-6{
        width: 100%;
        padding: 10px;
    }
    .musteri-memnuniyeti .col-6{
        width: 100%;
    }
    
        .col-6{ 
        width:100%;
    }
    
    .post .col-8{
        width:100%;
    }
    .page-text h1{
    text-align:center;
}

    .page-img img{
        width: 100%;
        height:auto;
    }
    .blog .col-4{
        width:100%;
    }
    
    .enc img{
        width:100%!important;
        
    }
}



