:root {
  --primary: #1a73e8;
  --primary-dark: #1557b0;
  --accent: #ff6d00;
  --accent-light: #ff8f00;
  --white: #ffffff;
  --light: #f8f9fa;
  --dark: #202124;
  --gray: #5f6368;
  --light-gray: #e8eaed;
  --success: #0f9d58;
  --danger: #d93025;
  --warning: #f9ab00;
  --shadow: 0 2px 12px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
}
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Segoe UI',system-ui,-apple-system,sans-serif; color:var(--dark); background:var(--light); line-height:1.6; }
a { text-decoration:none; color:inherit; }
img { max-width:100%; display:block; }
.container { max-width:1200px; margin:0 auto; padding:0 20px; }

/* Header */
header { background:var(--white); box-shadow:0 2px 10px rgba(0,0,0,0.08); position:sticky; top:0; z-index:1000; }
.header-inner { display:flex; align-items:center; justify-content:space-between; padding:12px 20px; max-width:1200px; margin:0 auto; }
.logo { font-size:1.5rem; font-weight:800; color:var(--primary); }
.logo span { color:var(--accent); }
.logo-img { height:40px; }
nav { display:flex; align-items:center; gap:24px; }
nav a { font-size:0.9rem; font-weight:500; color:var(--gray); transition:var(--transition); }
nav a:hover { color:var(--primary); }
.hamburger { display:none; flex-direction:column; cursor:pointer; gap:5px; }
.hamburger span { width:25px; height:3px; background:var(--dark); border-radius:3px; transition:var(--transition); }

/* Buttons */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 28px; border-radius:50px; font-size:0.95rem; font-weight:600; border:none; cursor:pointer; transition:var(--transition); text-align:center; }
.btn-primary { background:var(--primary); color:var(--white); }
.btn-primary:hover { background:var(--primary-dark); transform:translateY(-2px); box-shadow:0 4px 15px rgba(26,115,232,0.4); }
.btn-accent { background:var(--accent); color:var(--white); }
.btn-accent:hover { background:var(--accent-light); transform:translateY(-2px); box-shadow:0 4px 15px rgba(255,109,0,0.4); }
.btn-outline { background:transparent; color:var(--primary); border:2px solid var(--primary); }
.btn-outline:hover { background:var(--primary); color:var(--white); }
.btn-sm { padding:8px 16px; font-size:0.85rem; }
.btn-success { background:var(--success); color:var(--white); }
.btn-danger { background:var(--danger); color:var(--white); }
.btn-whatsapp { background:#25D366; color:var(--white); }
.btn-whatsapp:hover { background:#1da851; }

/* Hero */
.hero { background:linear-gradient(135deg, var(--primary), var(--primary-dark)); color:var(--white); padding:80px 0; text-align:center; position:relative; overflow:hidden; }
.hero::before { content:''; position:absolute; top:0; left:0; right:0; bottom:0; background:url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><circle cx="100" cy="100" r="80" fill="rgba(255,255,255,0.05)"/></svg>') repeat; opacity:0.3; }
.hero-content { position:relative; z-index:1; }
.hero h1 { font-size:2.8rem; font-weight:800; margin-bottom:16px; line-height:1.2; }
.hero p { font-size:1.2rem; opacity:0.9; margin-bottom:32px; max-width:600px; margin-left:auto; margin-right:auto; }
.hero-buttons { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.hero-image-slider { margin-top:40px; display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:16px; }
.hero-image-slider img { width:100%; height:120px; object-fit:cover; border-radius:var(--radius); box-shadow:var(--shadow); }

/* Search */
.search-section { background:var(--white); padding:30px; border-radius:var(--radius); box-shadow:var(--shadow); margin:-40px auto 40px; position:relative; z-index:2; max-width:1000px; }
.search-section h2 { text-align:center; margin-bottom:20px; color:var(--primary); }
.search-form { display:flex; gap:12px; flex-wrap:wrap; }
.search-form input,.search-form select { flex:1; min-width:180px; padding:14px 18px; border:2px solid var(--light-gray); border-radius:var(--radius-sm); font-size:0.95rem; outline:none; transition:var(--transition); }
.search-form input:focus,.search-form select:focus { border-color:var(--primary); }
.search-form button { padding:14px 28px; }

/* Cards */
.card { background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; transition:var(--transition); }
.card:hover { transform:translateY(-4px); box-shadow:0 8px 25px rgba(0,0,0,0.15); }

.worker-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; padding:20px 0; }
.worker-card { background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; transition:var(--transition); }
.worker-card:hover { transform:translateY(-4px); box-shadow:0 8px 25px rgba(0,0,0,0.15); }
.worker-card-img { width:100%; height:200px; object-fit:cover; }
.worker-card-body { padding:20px; }
.worker-card-body h3 { font-size:1.15rem; color:var(--dark); margin-bottom:6px; }
.worker-card-body .category { color:var(--primary); font-weight:600; font-size:0.85rem; margin-bottom:4px; }
.worker-card-body .location { color:var(--gray); font-size:0.85rem; margin-bottom:4px; }
.worker-card-body .rating { color:var(--warning); margin-bottom:8px; }
.worker-card-body .available { color:var(--success); font-size:0.85rem; margin-bottom:12px; }
.worker-card-actions { display:flex; gap:8px; }
.worker-card-actions .btn { flex:1; padding:10px; font-size:0.85rem; }

/* Section */
.section { padding:60px 0; }
.section-title { text-align:center; margin-bottom:40px; }
.section-title h2 { font-size:2rem; color:var(--dark); margin-bottom:8px; }
.section-title p { color:var(--gray); max-width:600px; margin:0 auto; }

/* Featured */
.featured-badge { background:var(--accent); color:var(--white); padding:4px 12px; border-radius:20px; font-size:0.75rem; font-weight:600; display:inline-block; margin-bottom:6px; }

/* Stats */
.stats { background:var(--primary); color:var(--white); padding:60px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:30px; text-align:center; }
.stat-item h3 { font-size:2.5rem; font-weight:800; margin-bottom:4px; }
.stat-item p { opacity:0.85; }

/* Categories */
.categories-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px; }
.category-card { background:var(--white); border-radius:var(--radius); text-align:center; box-shadow:var(--shadow); transition:var(--transition); cursor:pointer; border:2px solid transparent; overflow:hidden; }
.category-card:hover { border-color:var(--primary); transform:translateY(-6px); box-shadow:0 12px 35px rgba(26,115,232,0.2); }
.category-card img { width:100%; height:140px; object-fit:cover; transition:var(--transition); }
.category-card:hover img { transform:scale(1.05); }
.category-card .card-body { padding:16px 16px 20px; }
.category-card h4 { font-size:1.05rem; color:var(--dark); margin-bottom:6px; }
.category-card p { font-size:0.82rem; color:var(--gray); line-height:1.5; margin-bottom:10px; }
.category-card .card-btn { display:inline-block; padding:6px 16px; background:var(--primary); color:var(--white); border-radius:50px; font-size:0.78rem; font-weight:600; transition:var(--transition); }
.category-card:hover .card-btn { background:var(--accent); }

/* Form */
.form-group { margin-bottom:20px; }
.form-group label { display:block; font-weight:600; margin-bottom:6px; color:var(--dark); font-size:0.9rem; }
.form-group input,.form-group select,.form-group textarea { width:100%; padding:14px 16px; border:2px solid var(--light-gray); border-radius:var(--radius-sm); font-size:0.95rem; outline:none; transition:var(--transition); font-family:inherit; }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color:var(--primary); }
.form-group textarea { min-height:120px; resize:vertical; }

/* Rating */
.stars { display:flex; gap:4px; cursor:pointer; }
.stars i { font-size:1.5rem; color:var(--light-gray); transition:var(--transition); }
.stars i.active { color:var(--warning); }
.stars i:hover { transform:scale(1.2); }

/* FAQ */
.faq-item { background:var(--white); border-radius:var(--radius-sm); margin-bottom:12px; box-shadow:var(--shadow); overflow:hidden; }
.faq-question { padding:18px 24px; font-weight:600; cursor:pointer; display:flex; justify-content:space-between; align-items:center; }
.faq-question:hover { background:var(--light); }
.faq-answer { padding:0 24px 18px; color:var(--gray); display:none; }
.faq-item.active .faq-answer { display:block; }

/* Admin */
.admin-sidebar { width:260px; background:var(--dark); color:var(--white); position:fixed; top:0; left:0; height:100vh; padding:20px; overflow-y:auto; z-index:100; }
.admin-sidebar .logo { color:var(--white); font-size:1.3rem; margin-bottom:30px; display:block; }
.admin-sidebar nav a { display:block; color:rgba(255,255,255,0.7); padding:12px 16px; border-radius:var(--radius-sm); margin-bottom:4px; font-size:0.9rem; }
.admin-sidebar nav a:hover,.admin-sidebar nav a.active { background:rgba(255,255,255,0.1); color:var(--white); }
.admin-main { margin-left:260px; padding:30px; }
.admin-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:30px; }
.admin-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:20px; margin-bottom:30px; }
.admin-stat-card { background:var(--white); padding:20px; border-radius:var(--radius); box-shadow:var(--shadow); text-align:center; }
.admin-stat-card h4 { font-size:2rem; font-weight:800; color:var(--primary); }
.admin-stat-card p { color:var(--gray); font-size:0.9rem; }

/* Table */
.table-container { overflow-x:auto; }
table { width:100%; border-collapse:collapse; background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
th,td { padding:14px 18px; text-align:left; border-bottom:1px solid var(--light-gray); font-size:0.9rem; }
th { background:var(--primary); color:var(--white); font-weight:600; }
tr:hover { background:var(--light); }
.admin-actions { display:flex; gap:6px; flex-wrap:wrap; }
.admin-actions .btn { padding:6px 12px; font-size:0.8rem; }

/* Profile */
.profile-header { background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; margin-bottom:30px; }
.profile-cover { height:200px; background:linear-gradient(135deg,var(--primary),var(--primary-dark)); }
.profile-info { padding:30px; display:flex; gap:30px; align-items:flex-start; flex-wrap:wrap; }
.profile-avatar { width:140px; height:140px; border-radius:50%; object-fit:cover; border:4px solid var(--white); margin-top:-80px; box-shadow:var(--shadow); }
.profile-details { flex:1; min-width:250px; }
.profile-details h1 { font-size:1.8rem; color:var(--dark); margin-bottom:4px; }
.profile-details .meta { color:var(--gray); margin-bottom:4px; }
.profile-details .meta i { width:20px; color:var(--primary); }
.profile-actions { display:flex; gap:12px; margin-top:16px; flex-wrap:wrap; }

/* Footer */
footer { background:var(--dark); color:rgba(255,255,255,0.8); padding:60px 0 0; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:40px; margin-bottom:40px; }
footer h4 { color:var(--white); margin-bottom:16px; font-size:1.1rem; }
footer a { display:block; color:rgba(255,255,255,0.6); margin-bottom:8px; transition:var(--transition); }
footer a:hover { color:var(--accent); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); padding:20px 0; text-align:center; font-size:0.85rem; }
.footer-social { display:flex; gap:12px; margin-top:12px; }
.footer-social a { width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:center; font-size:1.2rem; }

/* WhatsApp Float */
.whatsapp-float { position:fixed; bottom:20px; right:20px; width:45px; height:45px; background:#25D366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 3px 10px rgba(37,211,102,0.35); z-index:999; transition:all 0.25s ease; text-decoration:none; }
.whatsapp-float:hover { transform:scale(1.08); box-shadow:0 5px 18px rgba(37,211,102,0.5); }
.whatsapp-float svg { width:24px; height:24px; display:block; }

/* Modal */
.modal-overlay { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(0,0,0,0.5); z-index:2000; align-items:center; justify-content:center; }
.modal-overlay.active { display:flex; }
.modal { background:var(--white); border-radius:var(--radius); max-width:500px; width:90%; max-height:90vh; overflow-y:auto; padding:30px; }
.modal h2 { margin-bottom:20px; }

/* Alert */
.alert { padding:14px 20px; border-radius:var(--radius-sm); margin-bottom:16px; font-weight:500; }
.alert-success { background:#e6f4ea; color:var(--success); border:1px solid var(--success); }
.alert-danger { background:#fce8e6; color:var(--danger); border:1px solid var(--danger); }
.alert-info { background:#e8f0fe; color:var(--primary); border:1px solid var(--primary); }

/* Breadcrumb */
.breadcrumb { background:#f0f4f8; padding:10px 0; font-size:0.88rem; border-bottom:1px solid #e8eaed; }
.breadcrumb .container { display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.breadcrumb a { color:var(--primary); font-weight:500; }
.breadcrumb a:hover { text-decoration:underline; }
.breadcrumb span { color:var(--gray); }
.breadcrumb .separator { color:#bbb; margin:0 2px; }
.back-home-btn { display:inline-flex; align-items:center; gap:6px; background:var(--primary); color:#fff; padding:6px 16px; border-radius:50px; font-size:0.82rem; font-weight:600; transition:var(--transition); }
.back-home-btn:hover { background:var(--primary-dark); color:#fff; transform:translateY(-1px); }

/* Page Header */
.page-header { background:linear-gradient(135deg,var(--primary),var(--primary-dark)); color:var(--white); padding:60px 0; text-align:center; }
.page-header h1 { font-size:2.2rem; font-weight:800; margin-bottom:8px; }
.page-header p { opacity:0.9; font-size:1.05rem; }

/* Category Banner */
.category-banner { background:var(--white); border-radius:var(--radius); overflow:hidden; margin-bottom:30px; box-shadow:var(--shadow); display:flex; align-items:center; flex-wrap:wrap; }
.category-banner-img { width:100%; max-height:300px; object-fit:cover; }
.category-banner-content { padding:30px; flex:1; }

/* Legal */
.legal-content { max-width:800px; margin:0 auto; padding:40px 20px; }
.legal-content h2 { color:var(--primary); margin:30px 0 12px; }
.legal-content p { color:var(--gray); margin-bottom:12px; line-height:1.8; }

/* Loading */
.loading { text-align:center; padding:40px; }
.spinner { width:40px; height:40px; border:4px solid var(--light-gray); border-top-color:var(--primary); border-radius:50%; animation:spin 0.8s linear infinite; margin:0 auto 12px; }
@keyframes spin { to { transform:rotate(360deg); } }

/* Responsive */
@media(max-width:768px){
  nav { display:none; position:absolute; top:100%; left:0; right:0; background:var(--white); flex-direction:column; padding:20px; box-shadow:var(--shadow); }
  nav.open { display:flex; }
  .hamburger { display:flex; }
  .hero h1 { font-size:1.8rem; }
  .hero p { font-size:1rem; }
  .search-form { flex-direction:column; }
  .search-form input,.search-form select { min-width:100%; }
  .profile-info { flex-direction:column; align-items:center; text-align:center; }
  .profile-avatar { margin-top:-60px; }
  .admin-sidebar { width:200px; }
  .admin-main { margin-left:200px; padding:20px; }
  .admin-stats { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:576px){
  .admin-sidebar { width:100%; height:auto; position:relative; }
  .admin-main { margin-left:0; }
  .hero-buttons { flex-direction:column; align-items:center; }
  .section-title h2 { font-size:1.5rem; }
}
