* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0px;
    font-family: "Poppins", sans-serif !important;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 75px;
    background-color: #2b0653;
}

.navBarIcon {
    position: absolute;
    left: 75px;
    height: 100%;
    display: flex;
    align-items: center;
}

    .navBarIcon img {
        height: 40px;
        width: auto;
    }

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 15vw;
    height: 100vh;
    background-color: white;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px;
}

    .menu.open {
        transform: translateX(0);
    }

    .menu.open {
        left: 0;
    }

    .menu a {
        display: block;
        margin: 20px 0;
        padding-top: 20px;
        text-decoration: none;
        color: #000;
        font-size: 18px;
        font-weight: bold;
        transition: color 0.3s ease;
    }

        .menu a:hover {
            color: #d32f2f;
        }

.navBarIcon img {
    cursor: pointer;
    width: 40px;
    height: auto;
    transition: transform 0.3s ease;
}

    .navBarIcon img:hover {
        transform: scale(1.1);
    }

.menu .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    transition: color 0.3s ease;
}

.containerMenu {
    margin-top: 75px;
}

.menu .close-btn:hover {
    color: #d32f2f;
}

.kayraOcalImg {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .kayraOcalImg img {
        height: 70px;
        width: auto;
        object-fit: contain;
    }

.portfolio {
    padding: 60px 180px;
    text-align: center;
}

    .portfolio h1 {
        font-size: 2.5rem;
        margin-bottom: 40px;
        
        font-weight: 700;
        text-transform: uppercase;
    }
    

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.item {
    position: relative;
    width: 350px;
    height: 350px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: transform 0.5s ease;
}

    .item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transition: transform 0.5s ease;
    }

.ayes {
    background-color: black;
}

.ilkAdim {
    background-color: black;
}

.item:hover img {
    transform: scale(1.1);
}


.footer {
    background-color: #2b0653;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 200px;
}

.footerContent {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footerLogo img {
    height: 50px;
}

.footerLinks ul {
    list-style: none;
    padding: 0;
}

    .footerLinks ul li {
        margin: 10px 0;
    }

        .footerLinks ul li a {
            color: white;
            text-decoration: none;
        }

            .footerLinks ul li a:hover {
                text-decoration: underline;
            }

.footerSocial a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

    .footerSocial a:hover {
        text-decoration: underline;
    }



@media (min-width: 769px) {
    .navBarIcon {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .navBarIcon {
        left: 20px;
    }

        .navBarIcon img {
            width: 32px;
        }

    .kayraOcalImg img {
        height: 60px;
    }

    .menu {
        width: 100%;
    }

        .menu a {
            font-size: 16px;
        }

    .containerMenu {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .portfolio {
        padding: 40px 20px;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .portfolio h1 {
        font-size: 2rem;
    }

    .grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }
}
