/* Custom Stylesheet for Portfolio Website */

body {
  font-family: 'Poppins', sans-serif;
  transition: background-color 0.3s, color 0.3s;
  /* Add a custom cursor for a unique feel. Change this URL to your own image. */
  cursor: url('https://raw.githubusercontent.com/rajendrakandel/cursor/main/default.cur'), auto;
}

html {
  scroll-behavior: smooth;
}

#intro {
  background: linear-gradient(rgba(0, 30, 60, 0.6), rgba(0, 30, 60, 0.6)), url('../images/coverphoto.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

/* Light Theme (default) */
.light-theme {
  background-color: #f1f5f9;
  color: #1f2937;
}

.light-theme .bg-white {
  background-color: #ffffff;
}

.light-theme .shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.light-theme .text-gray-900,
.light-theme .text-gray-800 {
  color: #1f2937;
}

.light-theme .text-gray-700 {
  color: #374151;
}

.light-theme .text-gray-600 {
  color: #4b5563;
}

.light-theme .section-title::after {
  background: #1d4466;
}

.light-theme .text-blue-600 {
  color: #1d4466;
}

.light-theme .bg-blue-600 {
  background-color: #1d4466;
}

/* Dark Theme */
.dark-theme {
  background-color: #111827;
  color: #e5e7eb;
}

.dark-theme .bg-white {
  background-color: #1f2937;
}

.dark-theme .shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

.dark-theme .text-gray-900,
.dark-theme .text-gray-800 {
  color: #f3f4f6;
}

.dark-theme .text-gray-700 {
  color: #d1d5db;
}

.dark-theme .text-gray-600 {
  color: #9ca3af;
}

.dark-theme .section-title::after {
  background: #0A1A3C;
}

.dark-theme .text-blue-600 {
  color: #60a5fa;
}

.dark-theme .bg-blue-600 {
  background-color: #0A1A3C;
}

.dark-theme .bg-gray-50,
.dark-theme .bg-gray-100 {
  background-color: #1f2937;
}

.dark-theme .ring-2 {
  border-color: #0A1A3C;
}

.dark-theme .text-gray-500 {
  color: #9ca3af;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  margin: 8px auto 0;
  transition: background-color 0.3s;
}

/* Custom scrollbar for a cleaner look */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.dark-theme ::-webkit-scrollbar-track {
  background: #1f2937;
}

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  position: relative;
  background-color: #fff;
  margin: auto;
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: zoomIn 0.3s ease-out;
}

.dark-theme .lightbox-content {
  background-color: #1f2937;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #aaa;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Skill Card animation */
.skill-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.skill-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.swipper-slide {
  transition: all 5s ease;
}

.ck-content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.ck-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
}