@import url(../main.css);
@import url(../color.css);



.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 20vh;
    width: 100%;
    background: url(3d-wall.jpg);
    background-size: cover;
    background-position: center 40%;
    box-shadow: 0px 10px 50px 30px rgba(0, 0, 0, 0.6)
}

.banner::before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}

.logo-box {
    position: absolute;
    z-index: 5;
    top: 10px;
    left: 8%;
    height: 15rem;
    width: 15rem;
}

.logo-box a {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-box a img {
    position: relative;
    z-index: 5;
    height: 70%;
}

.logo-box::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-52%, -50%);
    display: block;
    content: "";
    height: 70%;
    width: 70%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20%;
}

.baslik-box {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column-reverse;
    text-align: center;
    padding-left: 15rem
}

.baslik-box h1 {
    color: white;
    font-size: 4rem;
    word-spacing: 20px;
    letter-spacing: 10px;
    font-weight: 400;
    font-family: 'Train One', cursive;
    line-height: 7rem;
}

.baslik-box p {
    color: white;
    font-size: 6rem;
    word-spacing: 10px;
    letter-spacing: 5px;
    font-weight: 400;
    font-family: 'Lato', cursive;
    line-height: 6rem;
}




.product-grid {
    max-width: 80%;
    margin: auto;
    padding: 0 20px 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Ürün kartı */
.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.25s ease;
}

.product-card:hover {
    box-shadow: 12px 6px 20px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}

/* Görsel */
.product-image {
    flex: 0 0 60%;
}

.product-image img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}


.product-info h2 {
    font-size: 18px;
    margin-bottom: 6px;
}

/* === TABLO GÖRÜNÜMLÜ YAZI ALANI === */
.product-info {
    margin-left: auto;
    padding-left: 16px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-self: flex-start;
}


/* Satır */
.info-row {
    display: grid;
    grid-template-columns: 40% 60%;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Sol kolon */
.label {
    font-size: 13px;
    color: #777;
    text-align: center;
    padding-right: 10px;
}

/* Sağ kolon */
.value {
    font-size: 14px;
    text-align: right;
    font-weight: 500;
}

.info-row,
.orta {
    grid-template-columns: 100%;
}

.price {
    color: #1a73e8;
    font-size: 20px;
    font-weight: bold;
}

.features p {
    font-size: 13px;
    color: #555;
    margin-bottom: 4px;
}


/* ======================================================
   EMRE BİLİŞİM - YENİ NAVİGASYON PANELİ (GRID SİSTEMİ)
   ====================================================== */

/* Ana Panel Konteynırı */
.navigation-panel {
    max-width: 80%;
    /* Panel genişliği */
    margin: 30px auto;
    /* Sayfada yukarıdan boşluk bırak ve ortala */
    margin-bottom: 5rem;
    padding: 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Hafif derinlik */
    text-align: center;

}

/* Bölüm Başlıkları (Kategoriler / Fiyat Grupları) */
.nav-section {
    margin-bottom: 30px;
}

.nav-section:last-child {
    margin-bottom: 10px;
}

.nav-section h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Başlıkların altına küçük bir çizgi (Şıklık katar) */
.nav-section h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #333;
    margin: 5px auto 0;
}

/* Izgara (Grid) Yapısı */
.grid-wrapper {
    /* Mobilde 2 sütun, Tablette 3, Masaüstünde 4 sütun otomatik ayarlar */
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

/* Tüm Butonların Ortak Tasarımı */
.grid-wrapper button {
    font-family: 'Lato', sans-serif;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    color: #333;
    padding: 15px 60px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    flex: 0 0 auto;
    /* Butonların ezilmesini engelle */
    white-space: nowrap;
    /* Yazıların tek satır kalmasını sağla */
}

/* Buton Hover Efekti (Üzerine gelince) */
.grid-wrapper button:hover {
    background: #333;
    color: #fff;
    border-color: #333;
    transform: translateY(-3px);
    /* Hafif yukarı kalkma efekti */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Fiyat Grubu Butonları İçin Özel Renklendirme */
.grid-wrapper button.price-btn {
    background: #f0f7ff;
    /* Açık mavi tonu */
    border-color: #cde2ff;
    color: #0056b3;
}

.grid-wrapper button.price-btn:hover {
    background: #0056b3;
    color: #fff;
    border-color: #0056b3;
}


/* Okları ve Listeyi Hizalayan Kapsayıcı */
.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* Kaydırma Okları */
.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: 0.3s;
}

.nav-arrow:hover {
    background: #000;
    color: #fff;
}

/* Kaydırılabilir Buton Listesi */
.grid-wrapper {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 10px 0;
    flex: 1;
    /* Ortadaki alanı tamamen kaplasın */
    scrollbar-width: none;
    /* Firefox scrollbar gizle */
}

.grid-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari scrollbar gizle */
}



nav {
    width: 100%;
    height: auto;
    background-color: white;
    margin-top: 2rem;
}

nav .geri-tus {
    width: 100%;
    height: 7vh;
    font-size: 5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

nav .geri-tus a {
    margin-left: 2rem;
}

.prev-icon {
    transition: all .3s;
}

nav .geri-tus:hover .prev-icon {
    transform: translateX(-20px);
}

.nav-baslik {
    height: 10vh;
    width: 100%;
    text-align: center;
    font-size: 6rem;
    margin-top: 8rem;
}

nav section {
    height: 70vh;
    width: 100%;
    padding: 5rem;
    border: 1px solid black;
    background-color: aqua;
}

.item-box {
    display: inline-block;
    height: 100%;
    width: 24%;
    border: 1px solid black;
}


nav section a:hover {
    box-shadow: -20px 20px 30px 5px rgba(0, 0, 0, 0.6);
}




/* ---  FOOTER  --- */

footer {
    width: 100%;
    height: 15vh;
    background-color: white;
    padding: 3rem;
    margin-top: 4rem;
    border-top: 1px solid black;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}

footer section {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

footer .first-box {
    height: 100%;
    flex: 75%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    font-size: 1.6rem;
}

footer .iletisim-box {
    height: 50%;
    flex: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    border-left: 1px solid black;
}

/* Yukarı Çık Butonu Stilleri */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #333;
    /* Logonla uyumlu koyu ton */
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    /* Başlangıçta gizli */
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    font-size: 20px;
}

.back-to-top:hover {
    background-color: #0056b3;
    /* Hover durumunda mavi tonu */
    transform: translateY(-5px);
}



@media(max-width:1100px) {
    .product-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .nav-baslik {
        margin-bottom: 24rem;
    }
}




@media(549px <=width <=900px) {

    .logo-box {
        height: 100px;
        width: 100px;
        left: 43%;
    }

    .baslik-box {
        margin-top: 50px;
        font-size: 10px;
        height: auto;
        width: auto;
        padding: 0;
    }

    .baslik-box p {
        font-size: 35px;
        line-height: 30px;
    }

    .baslik-box h1 {
        font-size: 35px;
        line-height: 30px;
    }

    .nav-baslik {
        height: auto;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .geri-tus a{
        font-size: 5rem;
    }

    .nav-baslik p{
        font-size: 5rem;
    }

}









@media(max-width:550px) {
    html {
        font-size: 7px;
    }


    .baslik-box {
        padding: 0;
        padding-top: 10rem;
    }

    .baslik-box h1 {
        margin-top: 3rem;
        font-size: 3rem;
        line-height: 1rem;
        letter-spacing: 0;
        word-spacing: 0;
    }

    .baslik-box p {
        font-size: 5rem;
        letter-spacing: 0;
        word-spacing: 0;
    }

    .logo-box {
        position: absolute;
        z-index: 5;
        top: 30px;
        left: 40%;
        height: 10rem;
        width: 10rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav .geri-tus {
        padding-top: 2rem;
        font-size: 4rem;
    }

    nav .nav-baslik {
        font-size: 4rem;
        margin-bottom: 2rem;
        margin-top: 4rem;
        height: 8rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .product-image img {
        object-fit: contain;
    }

    .product-info {
        margin-left: 0;
        text-align: center;
    }

    .banner {
        height: 20vh;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        /* Mobilde hep yan yana 2 tane */
    }

    .grid-wrapper button {
        font-size: 10px;
        padding: 8px 14px;
    }

    .navigation-panel {
        margin: 8px auto;
        padding: 15px;
    }


    .first-box img {
        width: 70%;
    }

}