/* Yeni Özgün Tasarım Stilleri */

/* Beautiful Category Cards */
.beautiful-category-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.beautiful-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 20px;
}

.beautiful-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.beautiful-category-card:hover::before {
    opacity: 1;
}

/* Category Badge */
.category-badge-modern {
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
}

/* Legacy support */
.category-card-equal {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.category-card-equal:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Legacy category card support */
.category-card-new {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateZ(0);
}

.category-card-new:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.category-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.category-card-new:hover::before {
    opacity: 1;
}

/* Kategori İkon Dairesi */
.category-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.category-card-new:hover .category-icon-circle {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* Beautiful Badge Styles */
.badge-readable {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 8px;
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    font-weight: 600;
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    display: inline-block;
    margin: 1px;
}

.restaurant-count-badge {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Category Text Readability */
.category-card-equal h3,
.category-card-equal p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
    color: white !important;
    font-weight: 700 !important;
}

/* Restaurant Images - No Opacity Issues */
img {
    opacity: 1 !important;
    transition: none !important;
    display: block !important;
}

.restaurant-hero-img,
.restaurant-compact-img {
    opacity: 1 !important;
    transition: none !important;
    display: block !important;
    visibility: visible !important;
}

/* Legacy badge support */
.badge-light-rounded {
    background: rgba(255, 255, 255, 0.25) !important;
    color: white !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ok Dairesi */
.arrow-circle {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-card-new:hover .arrow-circle {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

/* Beautiful Hero Card */
.beautiful-hero-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.beautiful-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 20px;
}

.beautiful-hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.beautiful-hero-card:hover::before {
    opacity: 1;
}

/* Legacy support */
.featured-restaurant-hero {
    transition: all 0.4s ease;
    cursor: pointer;
}

.featured-restaurant-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-arrow-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.featured-restaurant-hero:hover .hero-arrow-circle {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Kompakt Restoran Kartları */
.restaurant-compact-card {
    border: 1px solid rgba(30, 64, 175, 0.08) !important;
}

/* Beautiful Restaurant Cards */
.beautiful-restaurant-card {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.beautiful-restaurant-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(30, 64, 175, 0.2);
}

.beautiful-restaurant-card img {
    transition: transform 0.3s ease;
}

.beautiful-restaurant-card:hover img {
    transform: scale(1.05);
}

/* Restaurant Card Content */
.beautiful-restaurant-card h4 {
    color: #1a202c;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.beautiful-restaurant-card .text-muted {
    color: #6b7280 !important;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Beautiful Rating Badge */
.rating-badge-new {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #8b6914;
    font-weight: 700;
    padding: 0.4rem 0.7rem;
    border-radius: 12px;
    font-size: 0.8rem;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* CTA İkon Dairesi */
.cta-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

/* Subtle Entry Effects - Performance Optimized */
.category-card-new,
.featured-restaurant-hero,
.restaurant-compact-card {
    opacity: 1;
    transform: none;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 64, 175, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #1e40af, #0ea5e9);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #1e3a8a, #0284c7);
}

/* Responsive İyileştirmeler */
@media (max-width: 768px) {
    .category-card-new {
        height: 200px !important;
    }
    
    .featured-restaurant-hero {
        height: 250px !important;
    }
    
    .hero-arrow-circle {
        width: 60px;
        height: 60px;
    }
    
    .category-icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .cta-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    /* Mobilde hover efektlerini azalt */
    .category-card-new:hover,
    .restaurant-compact-card:hover,
    .featured-restaurant-hero:hover {
        transform: translateY(-4px) !important;
    }
}

@media (max-width: 576px) {
    .category-card-new,
    .featured-restaurant-hero {
        height: 180px !important;
    }
    
    /* Mobile optimized - no animations */
    .category-card-new,
    .featured-restaurant-hero,
    .restaurant-compact-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Performans iyileştirmeleri */
.category-card-new,
.restaurant-compact-card,
.featured-restaurant-hero {
    will-change: transform;
    backface-visibility: hidden;
}

/* Mobile Responsive Improvements */
@media (max-width: 768px) {
    .beautiful-category-card {
        margin-bottom: 1.5rem;
    }
    
    .beautiful-category-card > div:first-child {
        padding: 1.5rem 1rem !important;
    }
    
    .beautiful-restaurant-card > div:last-child {
        padding: 1.25rem !important;
    }
    
    .beautiful-hero-card {
        height: 280px !important;
    }
    
    .beautiful-hero-card:hover,
    .beautiful-category-card:hover,
    .beautiful-restaurant-card:hover {
        transform: translateY(-2px);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Fokus durumları */
.category-card-new:focus-within,
.restaurant-compact-card:focus-within,
.featured-restaurant-hero:focus-within {
    outline: 3px solid rgba(30, 64, 175, 0.5);
    outline-offset: 2px;
}

/* Modern Navbar Stilleri */
.brand-icon-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af, #0ea5e9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.brand-title {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af, #0ea5e9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: -2px;
}

.nav-link-modern {
    color: #374151 !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin: 0 0.25rem;
    display: flex;
    align-items: center;
}

.nav-link-modern:hover {
    color: #1e40af !important;
    background: rgba(30, 64, 175, 0.05);
    transform: translateY(-1px);
}

.nav-link-cta {
    background: linear-gradient(135deg, #1e40af, #0ea5e9) !important;
    color: white !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
    display: flex;
    align-items: center;
}

.nav-link-cta:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
    background: linear-gradient(135deg, #1e3a8a, #0284c7) !important;
}

/* Navbar Scroll Efekti */
.navbar[data-scroll-header].scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Navbar */
@media (max-width: 991px) {
    .nav-link-cta {
        margin-left: 0;
        margin-top: 0.5rem;
        text-align: center;
    }
    
    .brand-title {
        font-size: 1.25rem;
    }
    
    .brand-icon-circle {
        width: 40px;
        height: 40px;
    }
}