* {
    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 {
    line-height: 1.6;
    background-color: #ffffff;
    color: #333;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1; /* Ensures content takes up remaining space */
}

header {
    background: #ddd;
    color: #333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    position: relative; /* Ensure relative positioning for the hamburger menu */
}

header .logo {
    font-size: 30px;
    font-weight: bold;
}

header .logo img {
    max-height: 160px;
    width: auto;
    margin-top: 15px;
}

nav ul {
    list-style: none;
    display: flex;
}

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;
}

.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h2, h3 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    
}

h2 {
    font-size: 24px; /* Adjust as needed */
    margin-left: 400px;
}

h3 {
    font-size: 30px;
}

#about {
    background-color: #fff;
    padding: 20px;
}

.nav-links li {
    display: inline;
    margin-left: 40px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    text-align: justify;
}

.about-image {
    margin-right: 20px;
    max-width: 400px;
    border-radius: 10px;
    height: auto;
}

.about-content p {
    flex-grow: 1;
    line-height: 1.6;
    
    font-size: 22px;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content p {
        font-size: 18px;
    }

    h2 {
        font-size: 24px; /* Adjust as needed */
        margin-left: 30px;
    }

    .about-image {
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }

    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;
    }
}

.about-item {
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-align: justify;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.references-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reference-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.reference-item img {
    width: 100%;
    height: 230px;
    object-fit: fill;
}

.reference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
    background-color: #f8f8f8;
    padding: 10px 20px;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.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;
}

@media (max-width: 768px) {
    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;
        
    }

    .references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.menu-icon {
    display: none;
    font-size: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1001; /* Ensure menu icon is above the header */
}

.menu-icon.active {
    color: #007bff;
}

@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 */
    }
    header .logo img {
        max-height: 160px;
        width: auto;
        margin-left: 50px;
    }
    .reference-item {
        border: 1px solid #ddd;
        border-radius: 10px;
        overflow: hidden;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .reference-item img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

    .reference-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}
