/* Custom styles for Jollity Studio */
:root{
  --cj-primary: #0d6efd;
  --cj-accent: #6610f2;
  --cj-bg: #ffffff;
  --cj-muted: #6c757d;
  --cj-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --cj-card-bg: rgba(255, 255, 255, 0.95);
  --cj-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --cj-glow: 0 0 20px rgba(102, 126, 234, 0.3);
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  color: #111;
  min-height: 100vh;
}
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}
.navbar-brand {
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--cj-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-link {
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}
.nav-link:hover {
  color: var(--cj-primary);
  transform: translateY(-2px);
}
.site-hero {
  background: var(--cj-gradient);
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 15s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-20px, -20px); }
}
.site-hero .display-4 {
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}
.site-hero .lead {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}
.card {
  border: none;
  background: var(--cj-card-bg);
  border-radius: 16px;
  box-shadow: var(--cj-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--cj-glow);
}
.card-title {
  font-weight: 700;
  color: #333;
}
.card-text {
  color: #666;
  line-height: 1.8;
}
.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s ease;
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--cj-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.btn-light {
  background: #fff;
  color: var(--cj-primary);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border: none;
  transition: all 0.3s ease;
}
.btn-light:hover {
  background: var(--cj-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}
.btn-primary {
  background: var(--cj-gradient);
  border: none;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--cj-glow);
}
footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}
footer small {
  color: rgba(255, 255, 255, 0.9);
}

/* Utility */
.gap-2 { gap: .5rem; }
.gap-4 { gap: 1rem; }

/* Form Styles */
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}
.form-control:focus {
  border-color: var(--cj-primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}
.form-label {
  font-weight: 600;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .site-hero { padding: 4.5rem 0; }
  .site-hero .display-4 { font-size: 1.8rem; }
  .card { margin-bottom: 1.5rem; }
}
@media (max-width: 576px) {
  .site-hero .display-4 { font-size: 1.5rem; }
  .btn { width: 100%; margin-bottom: 0.5rem; }
}

/* Reveal Animation */
.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Ensure all content is visible by default */
body, .card, .site-hero {
  opacity: 1 !important;
  transform: none !important;
}

/* Add a fallback for reveal animation */
.no-js .reveal-hidden {
  opacity: 1 !important;
  transform: none !important;
}

/* Work Showcase Styles */
.work-showcase {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.work-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  max-width: 700px;
  width: 100%;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.work-image {
  position: relative;
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-image img {
  max-height: 120px;
  max-width: 80%;
  object-fit: contain;
}

.work-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #FF6B98;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.work-content {
  padding: 1.5rem;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.work-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.work-category {
  background: #667eea;
  color: #fff;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 500;
}

.work-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.work-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8f9fa;
  color: #666;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
}

.feature-tag i {
  font-size: 0.85rem;
}

.work-actions {
  display: flex;
  gap: 10px;
}

.work-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.work-actions .btn-primary {
  background: var(--cj-gradient);
  border: none;
}

.work-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Project Card Styles */
.project-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.project-card.coming-soon {
  opacity: 0.7;
}

.project-card.coming-soon:hover {
  opacity: 1;
}

.project-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-content {
  flex: 1;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.project-desc {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .work-card {
    margin: 0 10px;
  }
  
  .work-image {
    height: 150px;
  }
  
  .work-image img {
    max-height: 100px;
  }
  
  .work-content {
    padding: 1.5rem;
  }
  
  .work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .work-features {
    justify-content: center;
  }
  
  .work-actions {
    justify-content: center;
  }
  
  .work-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .project-card {
    flex-direction: column;
    text-align: center;
  }
  
  .project-icon {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .work-title {
    font-size: 1.2rem;
  }
  
  .work-description {
    font-size: 0.9rem;
  }
  
  .feature-tag {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}

