/* ==========================================
   HizmetYeri — Ultra Premium Design System
   3D Effects • Glassmorphism • Particles • Glow
   ========================================== */

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

/* === CSS Variables === */
:root {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #A78BFA;
    --primary-glow: rgba(124, 58, 237, 0.4);
    --secondary: #06B6D4;
    --secondary-dark: #0891B2;
    --secondary-light: #67E8F9;
    --accent: #F43F5E;
    --accent-light: #FB7185;
    --success: #10B981;
    --success-glow: rgba(16, 185, 129, 0.3);
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    --dark: #030014;
    --dark-2: #0A0520;
    --dark-3: #150D30;
    --dark-4: #1E1545;
    --dark-card: rgba(15, 10, 40, 0.6);

    --gray-1: #6B7280;
    --gray-2: #9CA3AF;
    --gray-3: #D1D5DB;
    --gray-4: #F3F4F6;
    --white: #FFFFFF;

    --text: #1F2937;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --bg: #FAFBFF;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 24px rgba(124, 58, 237, 0.06), 0 1px 2px rgba(0,0,0,0.04);
    --card-shadow-hover: 0 20px 60px rgba(124, 58, 237, 0.12), 0 4px 8px rgba(0,0,0,0.06);
    --border: rgba(124, 58, 237, 0.08);
    --border-hover: rgba(124, 58, 237, 0.2);

    --radius: 20px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-fast: all 0.2s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }

/* === Typography === */
h1 { font-size: 3rem; font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: 2.25rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 700; }
h5 { font-size: 1rem; font-weight: 600; }

/* === Layout === */
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title h2 {
    font-size: 2.5rem; margin-bottom: 16px; position: relative; display: inline-block;
}
.section-title h2 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-title p { color: var(--text-light); font-size: 1.15rem; max-width: 600px; margin: 0 auto; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.flex { display: flex; align-items: center; gap: 12px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* === Glassmorphism Navbar === */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(124, 58, 237, 0.06);
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.08);
}
.navbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px; max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.navbar-logo {
    font-size: 1.6rem; font-weight: 900; display: flex; align-items: center; gap: 3px;
}
.navbar-logo .logo-icon {
    width: 38px; height: 38px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem; margin-right: 8px;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.navbar-logo .logo-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.navbar-logo .logo-text-light {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; font-weight: 500;
}
.navbar-menu { display: flex; align-items: center; gap: 4px; }
.navbar-menu a {
    padding: 10px 18px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.92rem; color: var(--text);
    position: relative; overflow: hidden;
}
.navbar-menu a::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.06));
    border-radius: var(--radius-sm); opacity: 0; transition: var(--transition);
}
.navbar-menu a:hover::before, .navbar-menu a.active::before { opacity: 1; }
.navbar-menu a:hover, .navbar-menu a.active { color: var(--primary); }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle {
    display: none; cursor: pointer; padding: 8px;
    flex-direction: column; gap: 5px;
}
.mobile-toggle span {
    width: 22px; height: 2px; background: var(--text);
    border-radius: 2px; transition: var(--transition);
}

/* === Premium Buttons === */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 28px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 0.93rem;
    cursor: pointer; transition: var(--transition);
    border: none; white-space: nowrap; position: relative; overflow: hidden;
}
.btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0; transition: var(--transition);
}
.btn:hover::before { opacity: 1; }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 20px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px var(--primary-glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(6,182,212,0.3);
}
.btn-outline {
    border: 2px solid rgba(124,58,237,0.2); color: var(--primary);
    background: rgba(124,58,237,0.04);
}
.btn-outline:hover {
    background: var(--primary); color: var(--white); border-color: var(--primary);
    box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-danger { background: linear-gradient(135deg, var(--danger), #DC2626); color: var(--white); }
.btn-success { background: linear-gradient(135deg, var(--success), #059669); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; border-radius: 10px; }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; border-radius: 16px; }
.btn-block { width: 100%; }
.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 35px rgba(37,211,102,0.4); }
.btn-glass {
    background: var(--glass-bg); color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

/* === 3D Premium Cards === */
.card {
    background: var(--card-bg); border-radius: var(--radius);
    box-shadow: var(--card-shadow); overflow: hidden;
    transition: var(--transition); border: 1px solid var(--border);
    position: relative;
}
.card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-light));
    opacity: 0; transition: var(--transition);
}
.card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-6px);
    border-color: var(--border-hover);
}
.card:hover::before { opacity: 1; }
.card-body { padding: 28px; }
.card-header { padding: 22px 28px; border-bottom: 1px solid var(--border); }
.card-footer { padding: 18px 28px; border-top: 1px solid var(--border); background: rgba(124,58,237,0.02); }

/* === Business Card — 3D Premium === */
.business-card {
    position: relative; perspective: 1000px;
    transform-style: preserve-3d;
}
.business-card .card-image {
    height: 200px; overflow: hidden; position: relative;
    background: linear-gradient(135deg, var(--dark-3) 0%, var(--primary-dark) 100%);
}
.business-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.business-card:hover .card-image img { transform: scale(1.08); }
.business-card .card-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.5));
}
.business-card .card-logo {
    position: absolute; bottom: -28px; left: 24px;
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--white); padding: 3px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; overflow: hidden; z-index: 3;
    border: 2px solid var(--white);
}
.business-card .card-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.business-card .card-content { padding: 40px 24px 24px; }
.business-card .card-title {
    font-size: 1.05rem; font-weight: 800; margin-bottom: 6px;
    display: flex; align-items: center; gap: 6px;
}
.business-card .card-category { font-size: 0.84rem; color: var(--text-light); margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }
.business-card .card-description { font-size: 0.88rem; color: var(--text-light); margin-bottom: 14px; line-height: 1.5; }
.business-card .card-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.business-card .card-rating .stars { color: var(--warning); font-size: 0.88rem; letter-spacing: 1px; }
.business-card .card-rating .count { font-size: 0.82rem; color: var(--text-muted); }
.business-card .card-actions { display: flex; gap: 10px; }
.business-card .card-actions .btn { flex: 1; padding: 11px; font-size: 0.84rem; }
.business-card .premium-badge {
    position: absolute; top: 14px; right: 14px; z-index: 4;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff; padding: 5px 14px; border-radius: 24px;
    font-size: 0.72rem; font-weight: 800; letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245,158,11,0.4);
    text-transform: uppercase;
}
.business-card .verified-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--info));
    color: #fff; font-size: 0.6rem; font-weight: 900;
}

/* === Cinematic Hero === */
.hero {
    background: var(--dark); position: relative; overflow: hidden;
    min-height: 640px; display: flex; align-items: center;
    padding: 140px 0 100px;
}
.hero-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(124,58,237,0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.1) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(244,63,94,0.08) 0%, transparent 50%);
}
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(124,58,237,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(124,58,237,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.hero-particle {
    position: absolute; border-radius: 50%;
    animation: particleFloat 20s infinite ease-in-out;
}
.hero-particle:nth-child(1) { width: 300px; height: 300px; left: -5%; top: 20%; background: radial-gradient(circle, rgba(124,58,237,0.08), transparent 70%); }
.hero-particle:nth-child(2) { width: 200px; height: 200px; right: 10%; top: 10%; background: radial-gradient(circle, rgba(6,182,212,0.08), transparent 70%); animation-delay: -5s; }
.hero-particle:nth-child(3) { width: 150px; height: 150px; left: 30%; bottom: 10%; background: radial-gradient(circle, rgba(244,63,94,0.06), transparent 70%); animation-delay: -10s; }
.hero-particle:nth-child(4) { width: 100px; height: 100px; right: 25%; bottom: 30%; background: radial-gradient(circle, rgba(245,158,11,0.06), transparent 70%); animation-delay: -15s; }
.hero-orb {
    position: absolute; width: 500px; height: 500px; border-radius: 50%;
    filter: blur(80px); opacity: 0.4;
    animation: orbPulse 8s infinite ease-in-out alternate;
}
.hero-orb-1 { left: -10%; top: -20%; background: var(--primary); }
.hero-orb-2 { right: -10%; bottom: -20%; background: var(--secondary); animation-delay: -4s; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(90deg); }
    50% { transform: translate(-20px, 20px) rotate(180deg); }
    75% { transform: translate(20px, 10px) rotate(270deg); }
}
@keyframes orbPulse {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.2); opacity: 0.5; }
}

.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 100px; margin-bottom: 24px;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px); color: rgba(255,255,255,0.8);
    font-size: 0.88rem; font-weight: 600;
}
.hero-badge .pulse-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.hero h1 { color: var(--white); font-size: 3.5rem; margin-bottom: 20px; line-height: 1.1; }
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light), var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero p { color: rgba(255,255,255,0.6); font-size: 1.2rem; margin-bottom: 40px; max-width: 580px; margin-inline: auto; line-height: 1.7; }
.hero-stats {
    display: flex; justify-content: center; gap: 48px; margin-top: 48px;
}
.hero-stat { text-align: center; }
.hero-stat-number {
    font-size: 2rem; font-weight: 900; color: var(--white);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 4px; }

/* === Premium Search Box === */
.search-box {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl); padding: 8px;
    display: flex; max-width: 720px; margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}
.search-box input {
    flex: 1; padding: 18px 28px; background: transparent;
    color: var(--white); font-size: 1rem; font-weight: 500;
}
.search-box input::placeholder { color: rgba(255,255,255,0.4); }
.search-box .btn {
    border-radius: var(--radius-lg); padding: 16px 36px;
    font-size: 0.95rem;
}

/* === Category Cards — 3D Hover === */
.category-card {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 36px 24px; text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition); cursor: pointer;
    position: relative; overflow: hidden;
}
.category-card::before {
    content: ''; position: absolute; inset: -1px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius); opacity: 0; transition: var(--transition);
    z-index: -1;
}
.category-card:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 60px rgba(124,58,237,0.15);
    border-color: transparent;
}
.category-card:hover::before { opacity: 0.06; }
.category-card .icon {
    font-size: 3rem; margin-bottom: 14px; display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: var(--transition);
}
.category-card:hover .icon { transform: scale(1.15) translateY(-4px); }
.category-card h4 { margin-bottom: 6px; font-weight: 700; }
.category-card p { font-size: 0.84rem; color: var(--text-light); }

/* === Forms — Premium === */
.form-group { margin-bottom: 22px; }
.form-label {
    display: block; font-weight: 700; font-size: 0.88rem;
    margin-bottom: 8px; color: var(--text);
    letter-spacing: 0.02em;
}
.form-control {
    width: 100%; padding: 15px 20px; border-radius: var(--radius-sm);
    border: 2px solid var(--border); background: var(--white);
    font-size: 0.95rem; color: var(--text);
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124,58,237,0.08), 0 4px 12px rgba(124,58,237,0.06);
}
.form-control.error { border-color: var(--danger); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
    cursor: pointer; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 18px center;
}
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 0.8rem; color: var(--danger); margin-top: 4px; }

/* === Badges === */
.badge {
    display: inline-flex; align-items: center; padding: 5px 14px;
    border-radius: 24px; font-size: 0.73rem; font-weight: 700;
    letter-spacing: 0.02em;
}
.badge-success { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.1); color: #D97706; }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--danger); }
.badge-info { background: rgba(59,130,246,0.1); color: var(--info); }
.badge-secondary { background: var(--gray-4); color: var(--gray-1); }
.badge-primary { background: rgba(124,58,237,0.1); color: var(--primary); }
.badge-premium {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff; box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

/* === Stars === */
.star { font-size: 1rem; }
.star.filled { color: #F59E0B; text-shadow: 0 2px 8px rgba(245,158,11,0.3); }
.star.half { color: #F59E0B; opacity: 0.6; }
.star.empty { color: var(--gray-3); }
.star-input { display: flex; gap: 4px; direction: rtl; }
.star-input input { display: none; }
.star-input label { font-size: 2.2rem; color: var(--gray-3); cursor: pointer; transition: var(--transition); }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #F59E0B; text-shadow: 0 4px 12px rgba(245,158,11,0.3); }

/* === Review Card === */
.review-card {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 28px; border: 1px solid var(--border);
    margin-bottom: 16px; transition: var(--transition);
}
.review-card:hover { border-color: var(--border-hover); box-shadow: var(--card-shadow); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1.1rem;
    box-shadow: 0 4px 12px var(--primary-glow);
}
.review-meta h5 { margin-bottom: 2px; }
.review-meta span { font-size: 0.84rem; color: var(--text-muted); }
.review-stars { margin-bottom: 10px; }
.review-content { font-size: 0.95rem; color: var(--text); line-height: 1.8; }
.review-reply {
    margin-top: 18px; padding: 18px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(124,58,237,0.03), rgba(6,182,212,0.03));
    border-left: 3px solid var(--primary);
}

/* === Complaint Card === */
.complaint-card {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 28px; border: 1px solid var(--border);
    margin-bottom: 16px; transition: var(--transition);
}
.complaint-card:hover { box-shadow: var(--card-shadow); border-color: var(--border-hover); }
.complaint-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }

/* === Alerts === */
.alert {
    padding: 18px 24px; border-radius: var(--radius-sm);
    margin-bottom: 20px; font-size: 0.95rem; font-weight: 500;
    display: flex; align-items: center; gap: 14px;
    animation: slideDown 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.alert-success { background: rgba(16,185,129,0.08); color: var(--success); border: 1px solid rgba(16,185,129,0.15); }
.alert-danger { background: rgba(239,68,68,0.08); color: var(--danger); border: 1px solid rgba(239,68,68,0.15); }
.alert-warning { background: rgba(245,158,11,0.08); color: #D97706; border: 1px solid rgba(245,158,11,0.15); }
.alert-info { background: rgba(59,130,246,0.08); color: var(--info); border: 1px solid rgba(59,130,246,0.15); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

/* === Filter Bar === */
.filter-bar {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 24px; margin-bottom: 28px; border: 1px solid var(--border);
    display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
    box-shadow: var(--card-shadow);
}
.filter-bar .form-group { margin-bottom: 0; flex: 1; min-width: 180px; }

/* === Premium Footer === */
.footer {
    background: var(--dark); color: rgba(255,255,255,0.7);
    padding: 80px 0 30px; position: relative; overflow: hidden;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer h4 { color: var(--white); margin-bottom: 20px; font-size: 1.05rem; }
.footer a { color: rgba(255,255,255,0.5); display: block; padding: 5px 0; font-size: 0.9rem; }
.footer a:hover { color: var(--primary-light); transform: translateX(4px); }
.footer-logo {
    font-size: 1.8rem; font-weight: 900; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.footer-logo .gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 28px; text-align: center; font-size: 0.84rem; color: rgba(255,255,255,0.4);
}

/* === Pagination === */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-link {
    padding: 11px 18px; border-radius: var(--radius-sm);
    background: var(--card-bg); border: 1px solid var(--border);
    font-weight: 600; font-size: 0.88rem; transition: var(--transition);
}
.page-link:hover, .page-link.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white); border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

/* === Auth Pages === */
.auth-page {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: var(--dark); padding: 20px; position: relative; overflow: hidden;
}
.auth-page::before {
    content: ''; position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    top: -200px; right: -200px; filter: blur(40px);
}
.auth-page::after {
    content: ''; position: absolute; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(6,182,212,0.2), transparent 70%);
    bottom: -150px; left: -150px; filter: blur(40px);
}
.auth-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 52px; width: 100%; max-width: 480px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.4);
    position: relative; z-index: 2;
}
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: var(--text-light); margin-bottom: 36px; font-size: 0.95rem; }
.auth-card .auth-footer { text-align: center; margin-top: 28px; font-size: 0.9rem; color: var(--text-light); }
.auth-card .auth-footer a { color: var(--primary); font-weight: 700; }

/* === Trust Section — Glassmorphism === */
.trust-section { background: linear-gradient(180deg, var(--bg), var(--white)); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item {
    text-align: center; padding: 40px 24px; border-radius: var(--radius);
    background: var(--card-bg); border: 1px solid var(--border);
    transition: var(--transition);
}
.trust-item:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.trust-item .icon {
    font-size: 3rem; margin-bottom: 16px; display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.trust-item h4 { margin-bottom: 8px; }
.trust-item p { font-size: 0.88rem; color: var(--text-light); }

/* === Business Detail === */
.business-hero {
    height: 340px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 50%, var(--primary-dark) 100%);
}
.business-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.business-hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 60px 0 28px;
}
.business-info-bar {
    display: flex; align-items: flex-end; gap: 24px;
    max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.business-detail-logo {
    width: 100px; height: 100px; border-radius: 24px;
    background: var(--white); padding: 5px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    font-size: 3rem; overflow: hidden;
}
.business-detail-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.business-detail-info h1 { color: var(--white); font-size: 1.8rem; margin-bottom: 6px; }
.business-detail-info p { color: rgba(255,255,255,0.65); font-size: 0.95rem; }
.business-detail-content { padding: 48px 0; }
.business-sidebar { position: sticky; top: 96px; }

/* === Tabs === */
.tabs { display: flex; gap: 4px; margin-bottom: 28px; border-bottom: 2px solid var(--border); }
.tab-btn {
    padding: 14px 24px; font-weight: 700; color: var(--text-light);
    cursor: pointer; border-bottom: 3px solid transparent;
    margin-bottom: -2px; transition: var(--transition); font-size: 0.92rem;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* === Stat Cards === */
.stat-card {
    background: var(--card-bg); border-radius: var(--radius);
    padding: 32px; border: 1px solid var(--border); text-align: center;
    transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.stat-card .stat-number {
    font-size: 2.5rem; font-weight: 900; line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-card .stat-label { font-size: 0.88rem; color: var(--text-light); margin-top: 8px; font-weight: 500; }

/* === Table === */
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); }
th { font-weight: 700; font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.8px; background: rgba(124,58,237,0.02); }
td { font-size: 0.9rem; }
tr:hover td { background: rgba(124,58,237,0.02); }

/* === Modal === */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px); z-index: 2000;
    display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--white); border-radius: var(--radius-lg);
    width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
    animation: modalIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.3);
}
@keyframes modalIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { padding: 28px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 28px; }
.modal-footer { padding: 20px 28px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 12px; }
.modal-close { cursor: pointer; font-size: 1.5rem; color: var(--text-muted); padding: 4px; }

/* === Empty State === */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state .icon { font-size: 4.5rem; margin-bottom: 20px; display: block; filter: grayscale(0.3); }
.empty-state h3 { margin-bottom: 10px; color: var(--text-light); font-size: 1.2rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 28px; }

/* === Gallery === */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item {
    aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm);
    cursor: pointer; position: relative;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.12); }

/* =============================================
   3D WhatsApp Chat Widget
   ============================================= */
.whatsapp-widget {
    position: fixed; bottom: 28px; right: 28px; z-index: 9000;
}
.whatsapp-fab {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4);
    animation: whatsappPulse 2.5s infinite;
    font-size: 2rem; color: #fff;
    border: none;
}
.whatsapp-fab:hover { transform: scale(1.1) rotate(10deg); }
@keyframes whatsappPulse {
    0% { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.4); }
    70% { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 18px rgba(37,211,102,0); }
    100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

.whatsapp-chat {
    position: absolute; bottom: 78px; right: 0;
    width: 370px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25), 0 4px 8px rgba(0,0,0,0.1);
    transform: scale(0.9) translateY(15px); opacity: 0;
    pointer-events: none; transition: var(--transition);
    transform-origin: bottom right;
}
.whatsapp-chat.active {
    transform: scale(1) translateY(0); opacity: 1; pointer-events: all;
}
.whatsapp-chat-header {
    background: linear-gradient(135deg, #075E54, #128C7E);
    padding: 18px 20px; display: flex; align-items: center; gap: 14px;
    color: #fff;
}
.whatsapp-chat-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.whatsapp-chat-name { font-weight: 700; font-size: 0.95rem; }
.whatsapp-chat-status { font-size: 0.78rem; opacity: 0.8; display: flex; align-items: center; gap: 6px; }
.whatsapp-chat-status .online-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #25D366;
}
.whatsapp-chat-body {
    background: #E5DDD5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8c3ba' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    padding: 20px; min-height: 200px;
    display: flex; flex-direction: column; gap: 10px;
}
.wa-msg {
    max-width: 80%; padding: 10px 14px; border-radius: 12px;
    font-size: 0.88rem; line-height: 1.5; position: relative;
    animation: msgSlide 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@keyframes msgSlide { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.wa-msg.received {
    background: #fff; align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.wa-msg.sent {
    background: #DCF8C6; align-self: flex-end;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.wa-msg .time { font-size: 0.68rem; color: rgba(0,0,0,0.4); text-align: right; margin-top: 4px; }
.wa-msg .check { color: #53bdeb; }
.whatsapp-chat-footer {
    background: #F0F0F0; padding: 12px 16px;
    display: flex; align-items: center; gap: 10px;
}
.whatsapp-chat-footer input {
    flex: 1; padding: 12px 16px; border-radius: 24px;
    background: #fff; border: none; font-size: 0.88rem;
}
.whatsapp-chat-footer .send-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: #128C7E; color: #fff; border: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 1.2rem;
}

/* === CTA Section === */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    position: relative; overflow: hidden;
    padding: 100px 0;
}
.cta-section::before {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(6,182,212,0.15), transparent 70%);
    right: -100px; top: -100px;
}

/* === Mobile === */
@media (max-width: 968px) {
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero { padding: 120px 0 60px; min-height: auto; }
    .grid-4, .grid-3, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .navbar-menu { display: none; }
    .mobile-toggle { display: flex; }
    .navbar-menu.active {
        display: flex; flex-direction: column;
        position: absolute; top: 76px; left: 0; right: 0;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border); padding: 16px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    }
    .filter-bar { flex-direction: column; }
    .business-info-bar { flex-direction: column; align-items: flex-start; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-stats { gap: 24px; }
    .whatsapp-chat { width: calc(100vw - 40px); right: -8px; }
}
@media (max-width: 640px) {
    .grid-4, .grid-3, .grid-2, .grid-5 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .search-box { flex-direction: column; }
    .search-box .btn { width: 100%; }
    .hero h1 { font-size: 2rem; }
    .section { padding: 60px 0; }
    .auth-card { padding: 36px 24px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .tabs { overflow-x: auto; }
    .hero-stats { flex-direction: column; gap: 16px; }
}

/* === Animations === */
.fade-in { animation: fadeIn 0.5s ease; }
.slide-up { animation: slideUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* === Utilities === */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-sm { font-size: 0.84rem; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.p-2 { padding: 16px; } .p-3 { padding: 24px; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; }
.w-100 { width: 100%; }
.d-none { display: none; }
.d-flex { display: flex; }
