* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'ITF Devanagari Marathi';
    src: url('/font/itf-devanagari-marathi-medium.otf') format('otf');
}
body {
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden; /* Yatay kaymayı engellemek için */
}

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;
}

.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    color: #333;
    margin-left: 450px;
    margin-bottom: 20px;
    
}

ul {
    
    font-size: larger;
}

#about {
    background-color: #fff;
    padding: 20px;
    overflow-x: hidden; /* Yatay kaymayı engellemek için */
}
.about-content {
    display: flex;
    align-items: flex-start; /* Resim ve yazıyı üst hizalamak için */
    text-align: left; /* Yazıyı sola hizalamak için */
    overflow-x: hidden; /* Yatay kaymayı engellemek için */
    flex-wrap: wrap; /* İçeriğin sarmasına izin verir */
}

.about-image {
    margin-right: 20px; /* Resim ile yazı arasına boşluk ekler */
    max-width: 100%; /* Resmin konteynırına uyum sağlar */
    height: auto; /* Yüksekliği otomatik olarak ayarla */
    flex-shrink: 0; /* Resmin küçülmesini engeller */
    /* Alternatif olarak fixed width kullanabilirsiniz: */
    width: 400px; /* İhtiyaca göre ayarlayın */
}

.about-content ul {
    flex: 1; /* Yazının genişlemesine izin verir */
    margin-left: 25px;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
        height: 30%;
    }
}

.about-item {
    background-color: #f8f8f8;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 100%; /* Yatay taşmayı engellemek için */
}

.about-item.big {
    width: 100%;
}

.about-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.about-item p {
    color: #666;
    line-height: 1.6;
    max-width: 100%; /* Yatay taşmayı engellemek için */
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.about-section .about-item.small {
    flex: 0 0 calc(50% - 20px);
    max-width: 100%; /* Yatay taşmayı engellemek için */
}

@media (max-width: 768px) {
    .about-section .about-item.small {
        flex: 0 0 calc(100% - 20px);
    }
}

.slider-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden; /* Yatay taşmayı engellemek için */
}

.slider {
    display: flex;
    overflow: hidden;
}

.slide {
    flex: 0 0 auto;
    width: 200px;
    height: 200px;
    margin: 0 10px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.pagination {
    text-align: center;
    margin-top: 10px;
}

.pagination button {
    background-color: #ddd;
    border: none;
    color: black;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 5px;
}

.pagination button:hover {
    background-color: #bbb;
}

.pagination {
    text-align: center;
    margin-top: 10px;
}

.pagination button {
    background-color: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    outline: none;
}

.pagination button:hover {
    color: #007bff;
}

footer {
    background-color: #f8f8f8;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5%;
}

.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;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: transparent;
    margin: 4px 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Menü ikonu */
    .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;
        
    }
    .slider {
        height: auto;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0;
        margin-top: auto;
    }

    .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;
    }
    
    h2 {
        text-align: center;
        color: #333;
        margin-left: 20px;
        margin-bottom: 20px;
        
    }
}
@media (min-width: 769px) {
    .menu-icon {
        display: none;
    }

}
