/* ---------- JASA PAGE STYLES ---------- */
/* Efisiensi maksimal, fokus pada konversi jasa */

/* Hero Section - Jasa */
.jasa-hero {
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--primary) 100%);
  color: var(--light-white);
  padding: var(--spacing-2xl) 0;
  position: relative;
  overflow: hidden;
}

.jasa-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.2;
}

.jasa-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.jasa-title {
  font-size: var(--font-4xl);
  font-weight: 800;
  margin-bottom: var(--spacing);
  font-family: "Syne", sans-serif;
  line-height: 1.1;
}

.jasa-subtitle {
  font-size: var(--font-xl);
  opacity: 0.95;
  margin-bottom: var(--spacing-xl);
  line-height: 1.5;
}

.jasa-cta {
  background: #1a1a1a;
  color: var(--sky-blue);
  padding: var(--spacing-md) var(--spacing-2xl);
  border-radius: var(--radius-full);
  font-size: var(--font-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: var(--shadow);
}

.jasa-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  text-decoration: none;
  color: var(--sky-blue);
}

/* Categories Section */
.jasa-categories {
  background: #1a1a1a;
  padding: var(--spacing-2xl) 0;
}

.jasa-categories-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing);
}

.jasa-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing);
  margin-bottom: var(--spacing-xl);
}

.jasa-category-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.jasa-category-card:hover {
  background: rgba(33, 150, 243, 0.1);
  border-color: var(--sky-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
}

.jasa-category-card.active {
  background: var(--sky-blue);
  color: var(--light-white);
  border-color: var(--sky-blue);
}

.jasa-category-icon {
  font-size: var(--font-3xl);
  margin-bottom: var(--spacing);
  color: var(--sky-blue);
}

.jasa-category-card.active .jasa-category-icon {
  color: var(--light-white);
}

.jasa-category-name {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: var(--spacing-xs);
}

.jasa-category-card.active .jasa-category-name {
  color: var(--light-white);
}

.jasa-category-count {
  font-size: var(--font-sm);
  color: var(--gray-600);
}

.jasa-category-card.active .jasa-category-count {
  color: rgba(255, 255, 255, 0.9);
}

/* Services Layout */
.services-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-xl);
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-xl);
}

/* Services Sidebar */
.services-sidebar {
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 80px;
}

/* Services Main */
.services-main {
  min-width: 0;
}

/* Services Header */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing);
  border-bottom: 1px solid var(--gray-200);
}

.services-title {
  font-size: var(--font-2xl);
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
}

.services-controls {
  display: flex;
  gap: var(--spacing);
  align-items: center;
}

.services-search {
  min-width: 300px;
}

.services-sort {
  min-width: 150px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

/* Service Card */
.service-card {
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sky-blue);
}

.service-header {
  position: relative;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, var(--sky-blue) 0%, var(--primary) 100%);
  color: var(--light-white);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing);
  font-size: var(--font-2xl);
}

.service-type {
  position: absolute;
  top: var(--spacing);
  right: var(--spacing);
  background: rgba(255, 255, 255, 0.2);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.service-title {
  font-size: var(--font-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  line-height: 1.2;
}

.service-provider {
  font-size: var(--font-sm);
  opacity: 0.9;
  margin-bottom: 0;
}

.service-body {
  padding: var(--spacing-lg);
}

.service-description {
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: var(--spacing);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-instructor {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing);
}

.instructor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sky-blue);
  color: var(--light-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-sm);
}

.instructor-name {
  font-size: var(--font-sm);
  color: var(--gray-600);
  font-weight: 500;
}

.service-features {
  margin-bottom: var(--spacing);
}

.service-feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-sm);
  color: var(--gray-700);
}

.service-feature-icon {
  color: var(--success);
  font-size: var(--font);
}

.service-footer {
  padding: var(--spacing-lg);
  background: var(--gray-50);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-price {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--primary);
  font-family: "Syne", sans-serif;
}

.service-rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--warning);
  font-size: var(--font-sm);
}

.service-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing);
}

.service-button {
  flex: 1;
  padding: var(--spacing-sm);
  border-radius: var(--radius);
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  text-align: center;
}

.btn-secondary-service {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.btn-secondary-service:hover {
  background: var(--gray-200);
  color: var(--dark);
}

.btn-primary-service {
  background: var(--sky-blue);
  color: var(--light-white);
}

.btn-primary-service:hover {
  background: #1976d2;
  transform: translateY(-1px);
}

/* Modal Styles */

.btn-secondary-service {
  background: var(--gray-100);
  color: var(--gray-700);
}

.btn-secondary-service:hover {
  background: var(--gray-200);
}

/* No Services */
.no-services {
  text-align: center;
  padding: var(--spacing-2xl);
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-300);
  margin: var(--spacing-xl) 0;
}

.no-services-icon {
  font-size: 4rem;
  color: var(--gray-400);
  margin-bottom: var(--spacing);
}

.no-services-title {
  font-size: var(--font-xl);
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: var(--spacing);
}

.no-services-text {
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
  line-height: 1.5;
}

.no-services-action {
  background: var(--sky-blue);
  color: var(--light-white);
  padding: var(--spacing) var(--spacing-xl);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-block;
}

.no-services-action:hover {
  background: #1976d2;
  transform: translateY(-1px);
  text-decoration: none;
  color: var(--light-white);
}

/* ---------- NAVBAR STYLES ---------- */
.navbar-links {
  display: flex;
  gap: 4px;
  flex: 1;
}

.navbar-links a {
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.navbar-links a:hover {
  background: rgba(0, 0, 0, 0.1);
}

.navbar-links a.active {
  background: rgba(0, 0, 0, 0.15);
}

.navbar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.navbar-btn {
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.navbar-btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.navbar-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.navbar-btn-solid {
  background: #000;
  color: #fff;
}

.navbar-btn-solid:hover {
  background: #333;
}

/* ---------- MAIN NAVBAR STYLES ---------- */
.main-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: #ffc107;
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.main-navbar-container {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-navbar-logo {
  font-family: Syne, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.main-navbar-logo span {
  color: #000;
}

/* ---------- HERO STYLES ---------- */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h1 {
  font-family: Syne;
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.hero p {
  opacity: 0.8;
  margin-bottom: 28px;
}

.hero .cta-btn {
  background: #ffc107;
  color: #000;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.hero .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 193, 7, 0.3);
}

/* ---------- SERVICES GRID STYLES ---------- */
.services-grid {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: #111;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  opacity: 0.8;
  line-height: 1.5;
}

.service-price {
  margin-top: 16px;
  font-weight: 700;
  color: #ffc107;
}

/* ---------- MOBILE NAV STYLES ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #1e1c15;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.mobile-nav a {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(36, 8, 95, 0.5);
  font-size: 1.2rem;
  text-decoration: none;
}

.mobile-nav a.active {
  color: #000;
}

/* Responsive styles moved to css/responsive-mobile.css */
