html{
    scroll-behavior: smooth;
}

body {
    background-color: rgb(30, 30, 30);
    padding-top: 100px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
}

img {
    border: #272727 1px solid;
    border-radius: 10px;
}

a{
    color: sandybrown;
}

.Clear {
    clear: both;
}

.banner {
    background-image: url(Resimler/Arka-Plan/anime_sword_banner.jpg);
    width: 100%;
    height: 1040px;
    transform: translateY(-40px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.banner b{
    position: absolute;
    font-size: 40px;
    margin-left: 100px;
    margin-top: 490px;
}


.banner button{
    height: 60px;
    width: auto;
    background: linear-gradient( to right bottom, orange , rgb(255, 186, 58) , rgb(200, 157, 79)) ;
    color: white;
    border: 1px black solid;
    border-radius: 5px;
    font-size: 22px;
    margin-top: 630px;
    margin-left: 150px;
    transition: 0.3s;
}

.banner button:hover{
    transition: 0.3s;
    background: linear-gradient( to left top, orange , rgb(255, 186, 58) , rgb(200, 157, 79)) ;
    cursor: pointer;
}

.Katogori{
    width: 100%;
    height: auto;
    justify-content: center;
    text-align: center;
}

.Katogori a{
    text-decoration: none;
    color: rgb(253, 242, 222);
}

.kategori-cizgi{
    width: 80%;
    background-color: #6e0202;
}

.Baslik {
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 9999;
    background-color: transparent !important;
    transition: transform 0.5s ease-in-out, background-color 0.4s ease-in-out !important;
}

.Baslik.scrolled {
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, rgba(34, 34, 34, 0.696), rgba(255, 255, 255, 0.50), rgba(34, 34, 34, 0.696)) 1;
}

.nav-up {
    transform: translateY(-100%);
}

.Menu-Alan {
    position: absolute;
    left: 20px;
    top: 5px;
}

.Search-Alan {
    position: absolute;
    right: 20px;
    top: 5px;
}

.Menuler {
    position: relative;
}

.Menuler a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 15px;
    position: relative;
    padding-bottom: 5px;
    display: inline-block;
}

.Menuler a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right bottom, #ff7b00, #ffa323, #ffae4a, #fde12e, #fafafa);
    transition: width 0.2s ease-in-out;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}

.Menuler a:hover::after {
    width: 100%;
}

.Menuler:hover {
    text-shadow: 0 0 10px rgb(255, 217, 0);
    color: #000000;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.Menuler:hover .Tur{
    opacity: 0;
    display: block;
    animation: slideIn 0.4s ease-out forwards;
}

.Menuler:hover .Tur:nth-child(1) { animation-delay: 0.1s; }
.Menuler:hover .Tur:nth-child(2) { animation-delay: 0.2s; }
.Menuler:hover .Tur:nth-child(3) { animation-delay: 0.3s; }
.Menuler:hover .Tur:nth-child(4) { animation-delay: 0.4s; }

.Secenekler {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    width: 150px;
    background: #1a1a1a;
    border: 1px solid #c59613af; 
    border-radius: 0px 5px 5px 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding-top: 5px;
}

#Swords:hover .Secenekler, .Secenekler:hover {
    display: block;
}

#Armour:hover .Secenekler, .Secenekler:hover {
    display: block;
}

#History:hover .Secenekler, .Secenekler:hover {
    display: block;
}

#Aksesuar:hover .Secenekler, .Secenekler:hover {
    display: block;
}

#Celikler:hover .Secenekler, .Secenekler:hover {
    display: block;
}

.Tur a {
    padding: 8px 15px;
    display: block;
    font-size: 13px;
    transition: background 0.3s;
    color: #e0e0e0;
    font-weight: 500;
    transition: 0.3s all;
    text-decoration: none;
    white-space: nowrap;
}

.Tur a:hover {
    color: #ffae4a; 
    background-color: rgba(197, 150, 19, 0.1);
    padding-left: 20px;
}

.Kesfet {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 0;
    gap: 30px;
    justify-content: center;
}

.Urun {
    background-color: #272727;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    justify-content: space-between;
    min-height: 350px;
    box-sizing: border-box;
}

.Urun:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: #333;
}

.Urun-Foto {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.Urun-Foto img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.Urun-Foto:hover img {
    transform: scale(1.1);
}

.Text {
    width: 100%;
}

.Text h1 {
    color: white;
    font-size: 24px;
    text-shadow: 0px 0px 2px white;
}


.Fiyat{
    color: #9696969a;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;
    height: auto;
    width: 300px;
}

.indirim{
    margin-bottom: 10px;
}

.Ozellikler b{
    color: #c59613af;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;
}

.Ozellikler p{
    color: #9696969a;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;
}

.Sword-Name{
    color: white;
    font-size: 24px;
    text-shadow: 0px 0px 2px white;
    height: auto;
    width: 300px;
}

.Tarihce{
    height: auto;
    width: 90%;
    margin: auto;
    border-left:1px solid #c59613af;
    border-right:1px solid #c59613af;
}

.Tarihce-Text{
    margin-left: 50px;
}

.Tarihce-Text p{
    font-size: 18px;
    letter-spacing: 0.5px;
}

.Uretim-Nedeni{
    height: auto;
    width: 90%;
    margin: auto;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: white;
}

.Kullanım-Donemi{
    height: auto;
    width: 90%;
    margin: auto;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: white;
}

.Efsane{
    height: auto;
    width: 90%;
    margin: auto;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: white;
}



/* --- MOBİL UYUMLULUK AYARLARI --- */
@media only screen and (max-width: 768px) {
    /* Banner kısmındaki yazıları telefona göre küçült */
    .banner b {
        font-size: 25px;
        margin-left: 20px;
        margin-top: 350px;
    }

    /* Ürünlerin yan yana değil, alt alta veya 2'li görünmesini sağlar */
    .Kapsayici {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .Urun {
        width: 90% !important; /* Ürün kartı genişliği */
        margin: 10px auto;
    }

    /* Detay Sayfası Mobil Görünümü */
    .Detay-Konteyner {
        flex-direction: column; /* Resim ve yazı alt alta gelir */
        margin: 20px 10px;
        padding: 15px;
    }

    .Detay-Resim img {
        width: 100%; /* Resim ekrana tam oturur */
        height: auto;
    }

    .Detay-Bilgi h1 {
        font-size: 24px;
    }
    
    /* Navbar'daki menüleri telefonda gizleyebilir veya sığdırabiliriz */
    .Menuler a {
        font-size: 14px;
        margin-left: 10px;
    }
}