/* Genel stil ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
header {
    background: #ddd;
    color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    position: relative; /* Menü barının z-index'e göre hizalanmasını sağlar */
    z-index: 10; /* Slider'ın üstünde kalmasını sağlar */
}

header .logo {
    font-size: 0; /* Önce font boyutunu sıfırlayalım */
    display: flex;
    align-items: center;
}

header .logo img {
    max-height: 160px; /* Logo maksimum yüksekliği */
    width: auto; /* Genişlik otomatik ayarlansın */
    margin-right: 10px; /* Logoya biraz boşluk bırak */
}

nav ul {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10; /* Menü öğelerinin üst üste binmesini engeller */
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
}

nav ul li a:hover {
    color: #007bff;
}

/* Slider */
.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 560px; /* Slider yüksekliği */
    display: flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 768px) {
    .slider {
        height: 250px; /* Mobil cihazlar için yüksekliği ayarla */
    }
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    position: relative;
}

.slide {
    flex: 1 0 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin tam oturmasını sağlar */
    object-position: center; /* Resmin ortasını odak noktası yapar */
}

.slide.active {
    opacity: 1;
    position: relative;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1000;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Services */
.services {
    padding: 40px 20px;
    text-align: center;
}

.services h2 {
    margin-bottom: 30px;
    font-size: 28px;
}

.service-card {
    display: inline-grid;
    width: 30%;
    margin: 10px;
    height: 200px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}


/* About ve How We Work */
.about,
.how-we-work {
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.about .container,
.how-we-work .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.about-text,
.how-we-work-text {
    width: 45%;
}

.about-text h2,
.how-we-work-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    
}

.about-text p,
.how-we-work-text p {
    font-size: 18px;
    margin-bottom: 20px;
    
}

.about .image,
.how-we-work .image {
    width: 45%;
}

.about .image img,
.how-we-work .image img {
    width: 100%;
    border-radius: 10px;
}

.about .btn,
.how-we-work .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #044f95;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.about .btn:hover,
.how-we-work .btn:hover {
    background-color: #c82333;
}

@media (max-width: 768px) {
    .about,
    .how-we-work {
        flex-direction: column; /* Mobilde dikey hizala */
        text-align: center; /* Metinleri ortala */
    }

    .about-text,
    .how-we-work-text,
    .about .image,
    .how-we-work .image {
        width: 100%; /* Mobilde tam genişlik */
    }

    .about-text,
    .how-we-work-text {
        margin-bottom: 10px; /* Alt boşluk */
    }

    .about-text h2,
    .how-we-work-text h2 {
        font-size: 23px;

    }

    .how-we-work-text p {
        font-size: 14px; /* Adjust font size for mobile */
    }

    .about .image,
    .how-we-work .image {
        margin-bottom: 20px; /* Alt boşluk */
    }
}

#how-we-work {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
}

#how-we-work .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px; /* Adjust max-width as needed */
    position: relative;
}

#how-we-work h2 {
    margin-bottom: 20px;
}

#how-we-work .image-container {
    position: relative;
    width: 100%;
}

#how-we-work img {
    width: 100%;
    height: auto;
    display: block;
}

#how-we-work .how-we-work-text {
    position: relative;
    padding: 20px;
    color: #000000; /* Optional: text color */
    max-width: 100%;
    margin-top: 20px;
}

.how-we-work-text p {
    text-align: justify;
    width: 150%;
}


@media (min-width: 768px) {
    #how-we-work {
        flex-direction: row;
        align-items: flex-start;
    }

    #how-we-work .container {
        flex-direction: row;

        justify-content: space-between;
    }


    #how-we-work .image-container {
        width: 50%;
    }

    #how-we-work .how-we-work-text {
        width: 50%;
        text-align: left;
        position: static;
        background-color: #ffffff;
        margin-right: 80px;
        max-width: 60%;
    }

}


/* Default styles for desktop */
.about {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.about .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.about .about-text {
    flex: 1;
    text-align: left;
    padding: 20px;
}

.about .image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about .image img {
    max-width: 80%;
    height: 150%;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
    }

    .about .container {
        flex-direction: column;
    }

    .about .about-text {
        text-align: center;
        padding: 10px;
    }


    .about .image {
        order: -1; /* Move the image above the text */
        padding: 10px;
    }

    .about .image img {
        max-width: 100%;
        height: 150%;
    }
}

/* Footer */
footer {
    background-color: #f8f8f8;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    text-align: end; /* Center align text */
    flex: 1; /* Equal width distribution */
    font-size: small;
    order: 2; /* Place it at the end of the flex container */
}

.footer-links {
    text-align: left;
    flex: 1; /* Equal width distribution */
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    display: flex; /* Display items in a row */
}

.footer-links li {
    margin-right: 20px; /* Space between links */
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.footer-links a:hover {
    color: #007bff;
}

.social-icons {
    text-align: left; /* Align icons to the left */
    margin-left: 20px; /* Add some margin for spacing */
}

.social-icons a {
    display: inline-block;
    margin-right: 10px; /* Space between icons */
}

.social-icons img {
    width: 40px; /* Increase icon size */
    height: auto;
}

.footer-login {
    text-align: right;
}

.transparent-btn {
    border: 2px solid transparent;
    background-color: transparent;
    color: #333;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.transparent-btn:hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

/* WhatsApp ikonu stil */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon img {
    width: 50px;
    height: 50px;
}

/* Mobil uyumlu düzenlemeler */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    .about,
    .how-we-work {
        flex-direction: column; /* Mobilde dikey hizala */
        text-align: center; /* Metinleri ortala */
    }

    .about-text,
    .how-we-work-text,
    .about .image,
    .how-we-work .image {
        width: 90%; /* Mobilde tam genişlik */
    }

    .about-text,
    .how-we-work-text {
        margin-bottom: 20px; /* Alt boşluk */
        font-size: 18px;
        flex: 1;
        margin: 0 20px; /* Yanlardan boşluk bırakır */

    }

    .about .image,
    .how-we-work .image {
        margin-bottom: 20px; /* Alt boşluk */
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0;
    }

    .footer-links ul {
        flex-direction: column;
        align-items: left;
    }

    .footer-links {
        margin-right: 70%;
    }

    .footer-links li {
        margin: 10px 0;
    }
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: transparent; /* Menü ikonunun rengi */
    margin: 4px 0;
}

/* Mobil uyumlu düzenlemeler */
@media (max-width: 768px) {
    
    .service-card {
        width: 90%; /* Mobilde tam genişlik */
        margin: 10px auto; /* Ortada hizala */
        height: 250px;
    }
    /* Menü ikonu */
    .about,
    .how-we-work {
        flex-direction: column;
        text-align: center;
    }

    .menu-icon {
        display: block; /* Menü ikonu mobilde görünür */
        font-size: 30px;
        cursor: pointer;
        position: absolute;
        top: 0px;
        right: 0px;
        z-index: 20; /* Menü ikonunun üst üste binmemesi için */
        background-color: transparent; /* Arka plan rengi */
        padding: 10px; /* İkon etrafında boşluk bırakın */
        border-radius: 5px; /* Köşeleri yuvarlayın */
    }

    /* Menü */
    nav ul {
        display: none; /* Başlangıçta gizli */
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px; /* Menü yüksekliği kadar aşağıda */
        right: 0;
        background: rgba(0, 0, 0, 0.5); /* Hafif siyah şeffaf arka plan */
        padding: 10px 0;
        border-top: 1px solid #ddd;
    }

    nav ul.show {
        display: flex; /* Menü görünür */
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        
    }

    .about-text p, .how-we-work-text p {
        font-size: 0px;
        margin-bottom: 20px;
    }

    .how-we-work .image img {

        width: 100%;
        margin-top: 40px;
        height: 170px;
        border-radius: 10px;
    }

    .whatsapp-icon {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: #25D366; /* WhatsApp yeşili */
        border-radius: 50%;
        padding: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .whatsapp-icon img {
        width: 50px;
        height: 50px;
    }
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366; /* WhatsApp yeşili */
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon img {
    width: 50px;
    height: 50px;
}

@media (min-width: 769px) {
    
    .menu-icon {
        display: none;
    }

}

@media (max-width: 768px) {
    .about-text p, .how-we-work-text p {
        font-size: 15px;
        margin-bottom: 20px;
        max-width: 100%;
    }
    header .logo img {
        max-height: 160px;
        width: auto;
        margin-left: 50px;
    }
    
}

@font-face {
    font-family: 'ITF Devanagari Marathi';
    src: url('/font/itf-devanagari-marathi-medium.otf') format('otf');
}