﻿/* custom.css */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 13px;
    
}

    .pagination a {
        color: black;
        text-decoration: none;
        padding: 5px 10px;
        font-size: 1.2rem;
    }

        .pagination a.active {
            font-weight: bold;
        }
.footerimages {
    max-width: 100%;
    height: auto;
}

.content {
    flex: 1;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-link {
    font-size: 1.1rem;
    margin-right: 1rem;
}

    .nav-link:hover {
        color: #007bff;
    }

.navbar-toggler {
    border: none;
}
.navbar-nav.mx-auto {
    flex: 1;
    justify-content: center;
}

.navbar-nav.ms-auto {
    margin-left: auto;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.nav-link.e-katalog {
    background-color: rgb(233, 122, 4) !important;
    border-radius: 0.7rem;
    color: black !important; /* Metin rengini beyaz yap */
    padding: 0.5rem 1rem; /* İç boşluk ekle */
}

    .nav-link.e-katalog:hover {
        background-color: rgb(233, 122, 4) !important; /* Hover durumunda da aynı rengi koru */
        color: white !important; /* Hover durumunda da metin rengini beyaz yap */
    }

.sliding-panel {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-100%);
}

.sliding-panel-content {
    padding: 20px;
}

.sliding-panel.open {
    max-height: 50%;
    transform: translateY(0);
}

.navbar_images {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.product-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px;
}

    .product-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.flex-container {
    display: flex;
    align-items: center;
}

    .flex-container img {
        margin-right: 10px;
    }

.sub-sliding-panel {
    position: absolute;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    max-height: 0;
    overflow: hidden;
    transform: translateY(0);
}

.sub-sliding-panel-content {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .sub-sliding-panel-content a {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 300px;
        height: 300px;
        text-decoration: none;
    }

    .sub-sliding-panel-content .product-item {
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

.sub-sliding-panel.open {
    max-height: none;
    transform: translateY(0);
}

/* FOOTER */
.footer {
    background-image: url(../images/footerfont.png);
    color: black;
    padding: 20px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

    .footer h5 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .footer p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .footer ul {
        list-style: none;
        padding: 0;
    }

        .footer ul li {
            margin-bottom: 0.5rem;
        }

            .footer ul li i {
                margin-right: 0.5rem;
            }

    .footer a {
        color: black;
        text-decoration: none;
    }

        .footer a:hover {
            text-decoration: none;
        }

        .footer a.contact-link:hover {
            color: rgb(233, 122, 4); /* Telefon numarası ve mail linklerinin üzerine gelindiğinde renk değişimi */
        }

    .footer .text-muted {
        color: #6c757d !important;
    }

.social-links {
    display: flex;
    gap: 10px;
}

.social-links__link {
    color: black;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    text-decoration: none;
}

    .social-links__link:hover {
        color: rgb(233, 122, 4);
        border-color: rgb(233, 122, 4);
        text-decoration: none;
    }

.footerborder {
    background-image: url(../images/footerfont.png);
    border-bottom: solid;
    padding: 30px;
    border-color: rgb(61, 44, 156);
}

.footerborder2 {
        background-image: url(../images/footerfont.png);
    border-top: solid;
    padding-right: 13px;
    border-color: rgb(61, 44, 156);
}

.resim {
    width: 30%;
}

.renk {
    color: black;
    font-size: small;
}

.deneme {
    color: inherit; /* Mavi rengi kaldırır ve mevcut metin rengini kullanır */
    text-decoration: none; /* Alt çizgiyi kaldırır */
}

    .deneme:hover {
        color: inherit; /* Hover durumunda da mavi rengi kaldırır */
        text-decoration: none; /* Hover durumunda da alt çizgiyi kaldırır */
    }
