/* =====================================================
   MANISA KENT REHBERİ — Design System
   Modern Light Theme + Soft Glassmorphism
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glass-hover: rgba(0, 0, 0, 0.15);

    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --accent: #4f46e5;
    --accent-light: #6366f1;
    --accent-dark: #3730a3;
    --accent-glow: rgba(79, 70, 229, 0.15);
    --accent-bg: rgba(79, 70, 229, 0.06);

    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #2563eb;

    --premium-gold: #d97706;
    --premium-glow: rgba(217, 119, 6, 0.15);

    --gradient-1: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #9333ea 100%);
    --gradient-2: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    --gradient-3: linear-gradient(135deg, #d97706 0%, #dc2626 100%);
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #7c3aed 40%, #2563eb 100%);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 4px 20px var(--accent-glow);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Subtle Background Pattern ---- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(79, 70, 229, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ---- Header / Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    text-decoration: none;
}

.navbar-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-glow);
}

.navbar-logo span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-menu a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--accent);
    background: var(--accent-bg);
}

.navbar-cta {
    background: var(--gradient-1) !important;
    color: white !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    box-shadow: var(--shadow-glow);
}

.navbar-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--accent-glow);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: var(--gradient-hero);
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    animation: heroPulse 8s ease-in-out infinite;
}

@keyframes heroPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 6s infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    30% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: white;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
    backdrop-filter: blur(10px);
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(52, 211, 153, 0);
    }
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease 0.1s both;
    color: white;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Search Bar ---- */
.search-box {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.search-box input {
    width: 100%;
    padding: 18px 60px 18px 24px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(79, 70, 229, 0.3);
}

.search-box button {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    padding: 0 24px;
    background: var(--gradient-1);
    border: none;
    border-radius: calc(var(--radius-xl) - 4px);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-box button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    margin-top: 8px;
    overflow: hidden;
    display: none;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.search-suggestions.active {
    display: block;
}

.search-suggestions a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-fast);
}

.search-suggestions a:hover {
    background: var(--accent-bg);
}

.search-suggestions .cat-icon {
    font-size: 1.3rem;
}

/* ---- Hero Stats ---- */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 60px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* ---- Section ---- */
.section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

.section-header .section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
    margin: 16px auto 0;
}

/* ---- Category Grid ---- */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.category-card {
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-1);
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.category-card:hover::before {
    opacity: 0.04;
}

.category-card .cat-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    position: relative;
    z-index: 1;
}

.category-card .cat-name {
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    display: block;
}

.category-card .cat-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    position: relative;
    z-index: 1;
    display: block;
}

/* ---- Business Card ---- */
.businesses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.business-card {
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}

.business-card:hover {
    border-color: transparent;
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.business-card .card-image {
    position: relative;
    height: 200px;
    background: #e2e8f0;
    overflow: hidden;
}

.business-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.business-card:hover .card-image img {
    transform: scale(1.05);
}

.business-card .card-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #e2e8f0, #f1f5f9);
}

.business-card .card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-premium {
    background: var(--gradient-3);
    color: white;
}

.badge-verified {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.2);
    backdrop-filter: blur(10px);
}

.badge-new {
    background: rgba(37, 99, 235, 0.1);
    color: var(--info);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.badge-category {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-secondary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.business-card .card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.business-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.business-card .card-address {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
}

.business-card .card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-glass);
}

.stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star {
    color: var(--premium-gold);
    font-size: 0.9rem;
}

.star.empty {
    color: var(--text-muted);
    opacity: 0.3;
}

.star.half {
    opacity: 0.6;
}

.rating-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 6px;
}

.card-phone {
    font-size: 0.85rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- Featured Businesses Slider ---- */
.featured-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.featured-slider::-webkit-scrollbar {
    display: none;
}

.featured-slider .business-card {
    min-width: 340px;
    scroll-snap-align: start;
    border: 2px solid rgba(217, 119, 6, 0.2);
}

.featured-slider .business-card:hover {
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 12px 40px var(--premium-glow);
}

/* ---- Business Detail Page ---- */
.detail-hero {
    position: relative;
    height: 400px;
    margin-top: 72px;
    overflow: hidden;
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-primary) 0%, transparent 60%);
}

.detail-content {
    position: relative;
    z-index: 1;
    margin-top: -120px;
    padding-bottom: 80px;
}

.detail-header {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
}

.detail-logo {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    background: white;
    border: 3px solid var(--border-glass);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.detail-info .detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
}

.detail-main {}

.detail-sidebar {}

/* Glass Card (for detail sections) */
.glass-card {
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li .icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.info-list li a {
    color: var(--accent);
}

/* CTA Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--accent-glow);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass-hover);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--accent-bg);
    border-color: var(--accent);
    color: var(--accent);
}

.btn-gold {
    background: var(--gradient-3);
    color: white;
    box-shadow: 0 4px 16px var(--premium-glow);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px var(--premium-glow);
    color: white;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    color: white;
}

/* ---- Photo Gallery ---- */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.photo-gallery .photo-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: var(--transition);
}

.photo-gallery .photo-item:hover {
    transform: scale(1.03);
}

.photo-gallery .photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Hours Table ---- */
.hours-table {
    width: 100%;
    font-size: 0.9rem;
}

.hours-table tr td {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-glass);
}

.hours-table tr td:first-child {
    color: var(--text-secondary);
}

.hours-table tr td:last-child {
    text-align: right;
    font-weight: 500;
}

.hours-table tr.today td {
    color: var(--accent);
    font-weight: 600;
}

/* ---- Premium Banner ---- */
.premium-banner {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.06), rgba(220, 38, 38, 0.04));
    border: 1px solid rgba(217, 119, 6, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}

.premium-banner h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    justify-content: center;
    color: var(--premium-gold);
}

.premium-banner p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.premium-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
    text-align: left;
}

.premium-features .pf-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.premium-features .pf-item .check {
    color: var(--success);
}

/* ---- Claim CTA ---- */
.claim-cta {
    background: var(--accent-bg);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}

.claim-cta h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.claim-cta p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

/* ---- Category / Search Page ---- */
.page-header {
    padding: 100px 0 40px;
    text-align: center;
    margin-top: 72px;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-bar select,
.filter-bar input {
    background: white;
    border: 1px solid var(--border-glass-hover);
    border-radius: var(--radius-md);
    padding: 10px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-bar select:focus,
.filter-bar input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.filter-bar select option {
    background: white;
    color: var(--text-primary);
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.page-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-btn.active {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-glow);
}

.page-dots {
    color: var(--text-muted);
}

/* ---- Footer ---- */
.footer {
    position: relative;
    z-index: 1;
    background: #1e293b;
    color: #e2e8f0;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 12px;
    line-height: 1.7;
}

.footer h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer .navbar-logo span {
    -webkit-text-fill-color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: #64748b;
    font-size: 0.85rem;
}

/* ---- Flash Messages ---- */
.flash {
    padding: 16px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.4s ease;
}

.flash-success {
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.2);
    color: var(--success);
}

.flash-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--danger);
}

.flash-info {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--info);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar-menu {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .navbar-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 16px;
        border-bottom: 1px solid var(--border-glass);
        box-shadow: var(--shadow-lg);
    }

    .hero {
        min-height: 70vh;
        padding: 100px 20px 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stats .stat-value {
        font-size: 1.6rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 16px 8px;
    }

    .category-card .cat-icon {
        font-size: 1.8rem;
    }

    .businesses-grid {
        grid-template-columns: 1fr;
    }

    .featured-slider .business-card {
        min-width: 280px;
    }

    .detail-hero {
        height: 250px;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .premium-features {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---- Loading Skeleton ---- */
.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ---- Scroll to top ---- */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-3px);
}

/* ---- Empty State ---- */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-muted);
}

.empty-state .empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ---- Map container ---- */
.map-container {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ---- Premium Page Specific ---- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-glow);
    position: relative;
}

.pricing-card.featured::before {
    content: 'En Popüler';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: white;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}