/* ============================================
   Bursa'nın En İyisi - Custom CSS
   Tailwind CDN üzerine ek stiller
   ============================================ */

/* Genel */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Firma Kartı Hover */
.business-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
}

/* Premium Firma Kartı */
.business-card-featured {
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #f59e0b, #ea580c);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
}

/* VIP Rozet */
.badge-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #f59e0b 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Sponsor Rozet */
.badge-sponsor {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

/* Shimmer Animasyonu */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Pulse Animation */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Star Rating */
.star-rating {
    display: inline-flex;
    gap: 2px;
}
.star-rating .star {
    color: #e2e8f0;
}
.star-rating .star.filled {
    color: #f59e0b;
}
.star-rating .star.half {
    background: linear-gradient(90deg, #f59e0b 50%, #e2e8f0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Gallery Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Counter Animation */
.counter-animate {
    transition: all 0.3s ease;
}

/* Sticky Header Shadow */
header.scrolled {
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 30%, #fef3c7 60%, #ffedd5 100%);
}

/* Category Card Gradient */
.category-card {
    position: relative;
    overflow: hidden;
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.category-card:hover::before {
    opacity: 1;
}

/* Çalışma Saati Açık/Kapalı */
.status-open {
    color: #16a34a;
    background: #f0fdf4;
}
.status-closed {
    color: #dc2626;
    background: #fef2f2;
}

/* Feature Tag */
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 12px;
    color: #475569;
    transition: all 0.2s;
}
.feature-tag:hover {
    background: #fff7ed;
    border-color: #fdba74;
    color: #ea580c;
}

/* Price Range */
.price-active {
    color: #16a34a;
    font-weight: 600;
}
.price-inactive {
    color: #e2e8f0;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 100vh;
    opacity: 1;
}

/* Print Styles */
@media print {
    header, footer, #cookie-consent, .no-print {
        display: none !important;
    }
    main {
        margin: 0;
        padding: 0;
    }
    .business-card {
        break-inside: avoid;
    }
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}

/* Focus Visible (Erişilebilirlik) */
:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Lüks Kategori Özel Stiller */
.luxury-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.luxury-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 20px 40px -12px rgba(212, 175, 55, 0.15);
}
.luxury-gradient {
    background: linear-gradient(135deg, #d4af37, #f5e6a3, #d4af37);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s infinite;
}
