body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.anasayfa-body {
    padding-top: 0;
}

body:not(.anasayfa-body) {
    padding-top: 0;
}

body:not(.anasayfa-body) main {
    margin-top: 120px;
    padding-top: 20px;
}

@media (max-width: 991px) {
    body:not(.anasayfa-body) main {
        margin-top: 100px;
    }
}

.ust-banner {
    background: white;
    color: black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    border-bottom: 1px solid #e0e0e0;
    transition: top 0.3s ease;
    height: 50px;
    display: flex;
    align-items: center;
}

.ust-banner.hidden {
    top: -50px;
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%),
                url('img/banner/banner.png') center center/cover no-repeat;
    background-size: cover;
    background-position: center center;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero-banner {
        background-size: cover;
        background-position: center center;
        min-height: 80vh;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        background-size: cover;
        background-position: center center;
        min-height: 70vh;
    }
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.navbar-transparent {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 1020;
    transition: all 0.3s ease;
    width: 100%;
}

.navbar-transparent.scrolled {
    background: white;
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 0;
}

/* Diğer sayfalarda menü her zaman beyaz */
body:not(.anasayfa-body) .navbar-transparent {
    background: white;
    backdrop-filter: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 0;
}

body:not(.anasayfa-body) .navbar-transparent .navbar-brand,
body:not(.anasayfa-body) .navbar-transparent .nav-link {
    color: #333 !important;
}

body:not(.anasayfa-body) .navbar-transparent .nav-link:hover {
    color: #667eea !important;
}

body:not(.anasayfa-body) .ust-banner {
    position: relative;
    top: auto;
    height: auto;
}

body:not(.anasayfa-body) .ust-banner.hidden {
    top: auto;
}

.navbar-transparent.scrolled .navbar-brand,
.navbar-transparent.scrolled .nav-link {
    color: #333 !important;
}

.navbar-transparent.scrolled .nav-link:hover {
    color: #667eea !important;
}

.navbar-transparent.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 33, 33, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-transparent.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.3);
}

.navbar-transparent .navbar-nav .nav-link {
    transition: color 0.3s;
}

.navbar-transparent .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding-top: 200px;
    z-index: 1;
}

main {
    flex: 1;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 20px;
    border-radius: 15px;
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.navbar-brand {
    font-size: 1.5rem;
}

footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: scale(1.05);
}

.badge {
    margin-left: 5px;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .hero-banner {
        margin-top: 50px;
    }
    
    .navbar-transparent {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .hero-content {
        padding-top: 80px;
    }
}

.ust-banner p {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.navbar-transparent .navbar-brand {
    font-size: 1.8rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.navbar-transparent .nav-link {
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin: 0 0.5rem;
}

.hero-content .btn-light {
    transition: all 0.3s;
    border: 2px solid white;
}

.hero-content .btn-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.kategori-kartlari {
    background: #ffffff;
    padding: 0 !important;
}

.kategori-kartlari .container-fluid {
    padding: 0;
}

.kategori-kart-link {
    text-decoration: none;
    display: block;
    
    color: inherit;
    width: 100%;
    height: 100%;
}

.kategori-kart-link:hover {
    text-decoration: none;
    color: inherit;
}

.kategori-kart-link:hover .kategori-kart {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.kategori-kart {
    position: relative;
    height: 500px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border-radius: 0;
}

.kategori-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.kategori-resim-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.kategori-resim {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 3s ease-out;
    display: block;
}

.kategori-kart:hover .kategori-resim {
    transform: scale(1.1);
}

.kategori-icerik {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    color: #333;
    background: transparent;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kategori-baslik {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
    line-height: 1.3;
    text-shadow: 2px 2px 8px rgba(0,0,0,1);
}

.kategori-aciklama {
    font-size: 1rem;
    margin-bottom: 25px;
    color: white;
    line-height: 1.6;
    text-shadow: 2px 2px 8px rgba(0,0,0,1);
}

.kategori-btn {
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: #1a1a1a;
    color: white;
    border: 1px solid #1a1a1a;
    font-size: 0.85rem;
    align-self: flex-start;
    display: inline-block;
    pointer-events: none;
}

.kategori-kart-link:hover .kategori-btn {
    background: #333;
    border-color: #333;
    color: white;
    transform: translateY(-2px);
}

.tum-urunler {
    background: #ffffff;
    padding: 60px 0 !important;
}

.tum-urunler .container-fluid {
    padding: 0;
}

.urun-kart {
    background: white;
    transition: transform 0.3s;
    cursor: pointer;
    margin: 0 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.urun-kart a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.urun-kart a:hover {
    text-decoration: none;
    color: inherit;
}

.urun-kart:hover {
    transform: translateY(-5px);
}

.urun-resim-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #f5f5f5;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.urun-resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 3s ease-out;
    display: block;
}

.urun-kart:hover .urun-resim {
    transform: scale(1.05);
}

.urun-bilgi {
    padding: 0 20px 30px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.urun-ad {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.urun-fiyat {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
}

.urun-fiyat .eski-fiyat {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    font-weight: 400;
    margin-right: 10px;
}

@media (max-width: 991px) {
    .kategori-resim-wrapper {
        height: 350px;
    }
    
    .kategori-icerik {
        padding: 30px 25px;
        min-height: 180px;
    }
    
    .kategori-baslik {
        font-size: 1.5rem;
    }
    
    .urun-resim-wrapper {
        height: 400px;
    }
    
    .urun-ad {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .kategori-resim-wrapper {
        height: 300px;
    }
    
    .kategori-icerik {
        padding: 25px 20px;
        min-height: 160px;
    }
    
    .kategori-baslik {
        font-size: 1.3rem;
    }
    
    .kategori-aciklama {
        font-size: 0.9rem;
    }
    
    .kategori-btn {
        padding: 12px 25px;
        font-size: 0.75rem;
    }
    
    .urun-resim-wrapper {
        height: 350px;
    }
    
    .urun-ad {
        font-size: 1.2rem;
    }
    
    .urun-fiyat {
        font-size: 1.1rem;
    }
}

