
/* Custom styles */
body {
  font-family: 'Inter', sans-serif;
  transition: background-color 0.3s, color 0.3s;
}

.gallery-item {
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Smooth dark mode transition */
.dark {
  background-color: #0f172a;
  color: #f8fafc;
}

.light {
  background-color: #f8fafc;
  color: #0f172a;
}

/* Login Page Animations */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.orb-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #8b5cf6, #ec4899);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #06b6d4, #3b82f6);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.orb-3 {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #10b981, #84cc16);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.orb-4 {
  width: 180px;
  height: 180px;
  background: linear-gradient(45deg, #f59e0b, #ef4444);
  top: 30%;
  right: 25%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.1);
}

.login-container {
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-animation {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
  }
}

.form-input:focus {
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group {
  animation: fadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.login-btn:active {
  transform: scale(0.98);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: inline-block;
  margin-right: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Input field animations */
.form-input {
  transition: all 0.3s ease;
}

.form-input:valid {
  border-color: #10b981;
}

.form-input:invalid:not(:focus):not(:placeholder-shown) {
  border-color: #ef4444;
}
