@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400&display=swap');
* {
    font-family: 'Rubik', sans-serif;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

ul.navbar-nav {
    padding-right: 35px !important;
    display: flex !important;
    column-gap: 10px !important;
}

.banner {
    position: relative;
    text-align: center;
    margin-top: 90px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fixed-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    z-index: 931;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.fixed-navbar>.container-fluid {
    max-width: 1280px;
}


/* Navbar Linkleri İçin Stil */

.navbar-nav .nav-link {
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: #1D1D1B;
}


/* Navbar Linkleri İçin Boşluk */




/* Son Link İçin Sağ Boşluğu Kaldır */

.navbar-nav .nav-item:last-child {
    margin-right: 0;
}

button.navbar-toggler.d-lg-none {
    border: none;
}


/* Aktif (Seçili) Dil */

.language-switcher .lang-active {
    font-weight: bold;
    color: black;
}


/* Pasif (Seçili Olmayan) Dil */

.language-switcher .lang-inactive {
    color: gray;
    opacity: 0.7;
    cursor: pointer;
}


/* Dil Değiştirici ile İletişim Butonu Arasındaki Boşluk */

.language-switcher+.btn-custom {
    margin-left: 15px;
    /* Buton ile TR/EN arasındaki boşluğu artır */
}

.lang-dropdown {
    display: none;
    position: absolute;
    /* önemli! */
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    border: none;
    z-index: 1000;
}

.language-switcher.open .lang-dropdown {
    display: block;
}

.language-switcher {
    position: relative;
    cursor: pointer;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
}

.navbar .btn-custom {
    margin-left: 25px;
    /* TR/EN ile İletişim butonu arasına ekstra boşluk */
}


/* Aktif (Seçili) Dil */

.language-switcher .lang-active {
    font-weight: bold;
    color: black;
}


/* Pasif (Seçili Olmayan) Dil */

.language-switcher .lang-inactive {
    color: gray;
    opacity: 0.7;
    cursor: pointer;
}


/* Dil Değiştirici ile İletişim Butonu Arasındaki Boşluk */

.language-switcher+.btn-custom {
    margin-left: 15px;
    /* Buton ile TR/EN arasındaki boşluğu artır */
}

#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    /* Sayfanın altına 20px uzaklık */
    right: 20px;
    /* Sayfanın sağ köşesine 20px uzaklık */
    z-index: 999;
    /* Diğer öğelerin üstünde görünmesini sağlamak için */
}

#whatsapp-icon svg {
    width: 60px;
    /* İkonun boyutunu ayarlayın */
    height: 60px;
    /* İkonun boyutunu ayarlayın */
}


/* İletişim Butonu */

.btn-custom {
    width: 118px;
    height: 43px;
    border-radius: 4px;
    background-color: #FA7023;
    color: white;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    padding: 12px 32px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.btn-custom:hover {
    background-color: #cc622c;
    transform: scale(1.05);
    color: #ffffff;
}

ul.navbar-nav {
    padding-right: 20px;
}


/* Tam ekran mobil menü */

.mobile-menu {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 999;
    overflow-y: auto;
    padding: 20px;
}


/* Menü açıldığında uygulanacak stil */

.mobile-menu.show {
    transform: translateX(0);
    opacity: 1;
}


/* Üst çubuk: dil + çarpı */

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-bottom: 30px;
}


/* Çarpı butonu */

.close-btn {
    font-size: 32px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}


/* Menü bağlantıları */

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    flex-grow: 0;
    /* Yüksekliğe yayılmasın */
}

.mobile-menu-links li {
    margin: 20px 0;
}

.mobile-menu-links a {
    text-decoration: none;
    color: #1D1D1B;
    font-size: 18px;
    transition: color 0.3s;
}

.mobile-menu-links a:hover {
    color: #FA7023;
    /* Üzerine gelince turuncu */
}


/* Sosyal medya alanı */

.mobile-menu-social {
    margin-top: 40px;
    text-align: center;
    color: #aaa;
    font-size: 16px;
}

.mobile-menu-social p {
    margin-bottom: 10px;
}

.mobile-menu-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 22px;
}


/* Sosyal medya ikonları */

.mobile-menu-social .social-icons i {
    color: #bbb;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-social .social-icons i:hover {
    color: #FA7023;
    /* Üzerine gelince turuncu */
}


/* Dil seçici tıklanabilir */

.mobile-menu-header .language-switcher {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #1D1D1B;
}

.mobile-menu-header .language-switcher:hover {
    color: #FA7023;
}

.product-card img {
    height: 225px;
    object-fit: cover;
}

.menu-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}


/* Hero Section */

.hero {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1920 / 600 !important;
    position: relative;
    background: url('img/banner-img.webp') no-repeat center center/cover;
    width: 100%;
    max-width: 1872px;
    /* Görsel genişliği tam 1872px olacak */
    height: 417px !important;
    /* Görsel yüksekliği tam 417px olacak */
    margin: 0 auto;
    /* Sayfanın ortasında tut */
    display: flex;
    align-items: center;
    /* İçeriği dikey olarak ortala */
    justify-content: center;
    /* İçeriği yatay olarak da ortala */
    text-align: center;
    /* Metinleri ortala */
    color: #FFFFFF;
    position: relative;
}


/* Overlay (Arka Plan Gölgelendirme) */

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


/* İçeriğin üstte kalması için */

.hero .container {
    position: relative;
    z-index: 2;
}


/* Başlık (H1) Stili */

.hero h1 {
    font-weight: 500;
    font-size: 46px;
    line-height: 60px;
    letter-spacing: -3%;
    margin-bottom: 10px;
    /* Açıklamayla arasına boşluk ekledik */
}


/* Açıklama Metni */

.hero p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 0.7);
    /* Daha soluk beyaz */
    margin-bottom: 0;
}

#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    /* Sayfanın altına 20px uzaklık */
    right: 20px;
    /* Sayfanın sağ köşesine 20px uzaklık */
    z-index: 999;
    /* Diğer öğelerin üstünde görünmesini sağlamak için */
}

#whatsapp-icon svg {
    width: 60px;
    /* İkonun boyutunu ayarlayın */
    height: 60px;
    /* İkonun boyutunu ayarlayın */
}

.footer {
    background-color: #1F1F1F;
    color: white;
    padding: 40px 0;
}

.footer-container {
    width: 75%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #bababa;
    margin-top: 20px;
    max-width: 290px;
}

.footer-links {
    display: flex;
    width: 70%;
    gap: 80px;
}

.footer-left {
    margin-top: 20px;
    display: flex;
    flex-wrap: nowrap;
    gap: 180px;
}

.footer-links div {
    width: 23%;
    margin-bottom: -18px;
}

.footer-links h4 {
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.footer-links ul {
    list-style-type: none;
    padding: 0;
}

.footer-links li {
    display: flex;
    align-items: center;
    gap: 10px;
    /* İkon ve metin arasındaki boşluk */
    margin-bottom: 30px;
}

.footer-links li svg {
    flex-shrink: 0;
    /* İkonun sıkışmasını engeller */
    width: 24px;
    /* İkon boyutu */
    height: 24px;
}

.footer-links li a {
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #bababa;
    text-decoration: none;
    flex-grow: 1;
    /* Linkin daha iyi hizalanmasını sağlar */
}



.footer-bottom {
    width: 100%;
    margin-top: 20px;
    font-size: 0.9em;
    color: #bbb;
}

.footer-separator {
    width: 100%;
    border: none;
    border-top: 1px solid white;
    margin-bottom: 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-brand img {
    height: 24px;
    /* İsteğe göre boyutlandır */
}

.container {
    padding-left: 30px;
    padding-right: 30px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
    margin-top: 40px;
}

.product-grid {
    gap: 32px 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}



.btn-detail {
    background-color: #FA7023;
    color: white;
    font-weight: 500;
    font-size: 14px;
    border: none;
    width: 116px;
    height: 35px;
    display: block;
    border-radius: 4px;
}

.product-section {
    margin-left: 20px;
}

.content p {
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    letter-spacing: 0.44px;
    text-align: left;
}

.category-panel {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    width: 100%;
    max-width: 320px;
    transition: all 0.3s ease;
    height: max-content;
}


/* Başlık sabit kalır */

    .category-panel h4 {
        background-color: #FA7023;
        color: #fff;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 6px 6px 0 0;
        margin: 0;
        font-weight: 600;
        cursor: pointer;
        text-align: left;
        padding-right: 40px;
        position: relative;
    }

        .category-panel h4::after {
            content: "\f078";
            position: absolute;
            right: 16px;
            transform: translate(0, -50%);
            font-weight: 900;
            font-family: 'Font Awesome 6 Free';
            font-size: 14px;
            transform: rotate(0deg);
        }

        .category-panel.open h4::after {
            transform: rotate(-180deg);
        }



/* Filtre içeriği */

.filter-body {
    overflow: hidden;
    height: 0;
    opacity: 1;
    transition: height .4s;
    padding: 0;
}

.category-panel.open .filter-body {
    height: unset;
    transition: height .4s;
    padding: 20px 10px;
    padding-top: 0;
    padding-bottom: 10px;
}

.category-panel h5 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    margin-top: 21px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 275px;
    overflow: hidden;
    overflow-y: auto;
    padding-right: 10px;
}

/* width */
    .category-list::-webkit-scrollbar {
        width: 5px;
    }

/* Track */
    .category-list::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

/* Handle */
    .category-list::-webkit-scrollbar-thumb {
        background: #FA7023;
    }

    /* Handle on hover */
        .category-list::-webkit-scrollbar-thumb:hover {
            background: #FA7023;
        }

.checkbox-li {
    display: flex;
}

.category-list li {
    list-style-type: none !important;
    position: relative;
    margin-bottom: 12px;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #2C2C2C;
    font-weight: 500;
}

.category-list .civata-h {
    list-style-type: none !important;
    position: relative;
    margin-bottom: 12px;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #2C2C2C;
    font-weight: 500;
    display: flex;
}

button.navbar-toggler.d-lg-none {
    border: none;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: none;
    box-shadow: none;
}

.category-list input[type="checkbox"] {
    min-height: 20px;
    min-width: 20px;
    width: 20px;
    height: 20px;
    accent-color: #FA7023;
    color: white;
    cursor: pointer;
    appearance: none;
    border: 1px solid #cacaca;
    border-radius: 4px;
    position: relative;
}

    .category-list input[type="checkbox"]:checked {
        border: 1px solid #fa7023;
    }

.category-list input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fa7023;
    border-radius: 4px;
    border: 1px solid #fa7023;
}



.category-list input[type="checkbox"]:checked::before {
    content: "\f00c";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.category-list label {
    cursor: pointer;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}



.dropdown {
    display: none;
    padding-left: 25px;
    margin-top: 10px;
}

/*.dropdown-input-area::after {
    content: "\f078";
    position: absolute;
    right: 0;
    top: 50%;
    font-weight: 900;
    font-family: 'Font Awesome 6 Free';
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(0, -50%);
}

.dropdown-input-area.active::after {
    transform: translate(0, -50%) rotate(180deg);
}*/

.dropdown-input-label-area.active .dropdown-input-label-arrow {
    transform: rotate(-180deg);
}

.dropdown-input-label-area {
    width: 100%;
    display: flex;
    cursor: pointer;
}

.dropdown.active {
    display: block;
}

.has-dropdown input:checked~.dropdown {
    display: block;
}

.dropdown-input-area {
    display: flex;
    align-items: center;
    column-gap: 8px;
    position: relative
}

    .dropdown-input-area label {
        display: flex;
        align-items: center;
        padding-right: 24px;
        user-select: none;
    }

.category-list input[type="checkbox"]:checked+label {
    color: #FA7023;
    font-weight: 600;
}

.row {
    margin-left: 0;
    margin-right: 0;
    margin-top: 40px;
}


/*Ürünler*/

.bg {
    padding-top: 60px;
    padding-bottom: 60px;
}

.products-section {
    padding: 0 16px;
    display: flex;
    column-gap: 20px;
}
.product-wrapper {
    width: calc(100% - 320px);
}

.product-card {
    padding: 18px;
    background: #fff;
    border: 1px solid #EDEDED;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.product-card-image, .product-card-image img {
    aspect-ratio: 1/1;
    object-fit: contain;
}

.product-text-and-button {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.product-title {
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 15px;
    line-height: 23px;
    color: #000000;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
    min-height: 46px;
}

.product-button {
    background: #FA7023;
    border: 1px solid #FA7023;
    width: 100%;
    text-align: center;
    padding: 8px;
    font-family: Roboto;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #fff;
    transition: .4s;
    border-radius: 4px;
}

.product-card:hover .product-button {
    background: #fff;
    color: #FA7023;
    border: 1px solid #FA7023;
    transition: .4s;
}

.filter-button {
    margin-top: 20px;
    width: 100% !important;
    background: #FA7023!important;
    border: 1px solid #FA7023!important;
    color: #fff!important;
}

.filter-button:hover
{
    transform: unset!important;
}


@media (max-width: 768px) {
    .product-grid {
        gap: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
    }
    .navbar-nav .nav-item {
        margin-right: 10px;
        /* Linkler arasındaki boşluğu daha da küçült */
    }
    .navbar-nav .nav-link {
        font-size: 12px;
        /* Link yazı boyutunu daha da küçült */
    }
    .language-switcher {
        font-size: 14px;
        /* Dil seçici font boyutunu küçült */
    }
    .navbar-brand img {
        margin-left: 18px;
    }
    .navbar .btn-custom {
        align-items: center;
    }
    .hero h1 {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
    }
    .hero p {
        font-size: 16px;
        text-align: center;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }
    .footer-container {
        flex-direction: column;
        width: 90%;
        padding: 0 10px;
    }
    .footer-left {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    .footer-logo p {
        font-size: 16px;
        line-height: 24px;
        max-width: 100%;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    .footer-links div {
        width: 100%;
    }
    .footer-links h4 {
        font-size: 18px;
        line-height: 22px;
    }
    .footer-links li {
        font-size: 16px;
        line-height: 24px;
        gap: 12px;
        margin-bottom: 20px;
    }
    .footer-links li a {
        font-size: 16px;
    }
    .footer-bottom {
        font-size: 14px;
        text-align: left;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .section-main-title {
        font-size: 32px !important;
        line-height: 40px !important;
        text-align: center;
        justify-content: center;
    }
    .section-subtitle {
        text-align: center;
    }
    .category-panel {
        margin-left: auto;
        margin-right: auto;
    }
    .filter-body {
        max-height: 0;
        opacity: 0;
        padding: 0;
    }
    .category-panel.open .filter-body {
        max-height: 1000px;
        opacity: 1;
        padding-top: 0;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .navbar .d-flex.align-items-center {
        align-items: center;
        justify-content: center;
    }
    .language-switcher {
        margin-right: 0;
    }
    .btn-custom {
        margin-left: 0;
    }
    .hero h1 {
        font-size: 32px;
        line-height: 40px;
        text-align: center;
    }
    .hero p {
        font-size: 16px;
        text-align: center;
    }
    .btn-products {
        display: block;
        margin: 20px auto;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }
    .footer-container {
        flex-direction: column;
        width: 90%;
        padding: 0 10px;
    }
    .footer-left {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    .footer-logo p {
        font-size: 16px;
        line-height: 24px;
        max-width: 100%;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    .footer-links div {
        width: 100%;
    }
    .footer-links h4 {
        font-size: 18px;
        line-height: 22px;
    }
    .footer-links li {
        font-size: 16px;
        line-height: 24px;
        gap: 12px;
        margin-bottom: 20px;
    }
    .footer-links li a {
        font-size: 16px;
    }
    .footer-bottom {
        font-size: 14px;
        text-align: left;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .section-main-title {
        font-size: 32px !important;
        line-height: 40px !important;
        text-align: center;
        justify-content: center;
    }
    .section-subtitle {
        text-align: center;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
}

@media (max-width: 1450px) {
    .navbar-nav .nav-item {
        margin-right: 10px;
        /* Linkler arasındaki boşluğu daha da küçült */
    }
    .language-switcher {
        margin-right: 10px;
        /* Dil seçici ile buton arasındaki boşluğu daha da azalt */
    }
    .navbar .btn-custom {
        margin-left: 10px;
        /* Buton ile dil seçici arasındaki boşluğu daha da azalt */
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }
    .footer-container {
        flex-direction: column;
        width: 90%;
        padding: 0 10px;
    }
    .footer-left {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }
    .footer-logo p {
        font-size: 16px;
        line-height: 24px;
        max-width: 100%;
    }
    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    .footer-links div {
        width: 100%;
    }
    .footer-links h4 {
        font-size: 18px;
        line-height: 22px;
    }
    .footer-links li {
        font-size: 16px;
        line-height: 24px;
        gap: 12px;
        margin-bottom: 20px;
    }
    .footer-links li a {
        font-size: 16px;
    }
    .footer-bottom {
        font-size: 14px;
        text-align: left;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}




@media only screen and (max-width: 1440px)
{
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media only screen and (max-width: 1199px)
{
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 991px)
{
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    

    .product-wrapper {
        width: 100%;
    }
}

@media only screen and (max-width: 767px)
{

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .products-section {
        row-gap: 20px;
        flex-direction: column;
    }

    .category-panel {
         padding: 0; 
         max-width: 100%; 
    }

        .category-panel h4 {
            margin: 0;
        }
}

@media only screen and (max-width: 690px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media only screen and (max-width: 424px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}