
/* Genel ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

@font-face {
    font-family: 'ITF Devanagari Marathi';
    src: url('/font/itf-devanagari-marathi-medium.otf') format('otf');
}
body {
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
}

header .logo {
    font-size: 0;
}

header .logo img {
    max-height: 160px;
    width: auto;
    margin-top: 15px;
}

header {
    background: #ddd;
    color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

header .logo {
    font-size: 30px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

.nav-links li {
    display: inline;
    margin-left: 40px;
}

nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 18px;
    
}

nav ul li a:hover {
    color: #007bff;
}

/* Hizmetler bölümü */
#services {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#services h2 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px;
}


#services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.service-item {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 0 0 calc(30% - 40px); /* Üç kolon yerleştirme için */
    margin-right: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-align: center;
}

.service-item img {
    max-width: 100%;
    height: auto; /* Resimlerin oranları korunarak otomatik boyutlandırılmasını sağlar */
    border-radius: 5px;
    margin-bottom: 15px;
}

.service-item h3 {
    margin-top: 10px;
    color: #333;
}

.service-item p {
    color: #666;
    line-height: 1.4;
}
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;
    font-size: small;
    flex: 1;
    order: 2;
}

.footer-links {
    text-align: left;
    flex: 1;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
    display: flex;
}

.footer-links li {
    margin-right: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.footer-links a:hover {
    color: #007bff;
}

.social-icons {
    text-align: left;
    margin-left: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 40px;
    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-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) {
    .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;
        
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hizmetler bölümü mobil */
    .service-container {
        flex-direction: column;
    }

    .service-item {
        flex: 1 1 100%; /* Mobilde tam genişlik */
    }

    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;
    }
    header .logo img {
        max-height: 160px;
        width: auto;
        margin-left: 50px;
    }
}

@media (min-width: 769px) {
    .menu-icon {
        display: none;
    }

}