/* Custom styles for DIYSink Demo Page */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8B5CF6;
}

/* Hover effects for images */
.hover-zoom {
  transition: transform 0.3s ease;
}

.hover-zoom:hover {
  transform: scale(1.02);
}

/* Text gradient effect */
.gradient-text {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glowing effect */
.glow {
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
  transition: box-shadow 0.3s ease;
}

.glow:hover {
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
}

/* Responsive video container */
.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Enhanced button styles */
.button.is-gradient {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  border: none;
  color: white;
  transition: all 0.3s ease;
}

.button.is-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  filter: brightness(1.1);
}

/* Quote/callout boxes */
.callout {
  border-left: 4px solid #A78BFA;
  background: rgba(167, 139, 250, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-section {
    padding: 2rem 1rem;
  }
  
  .section {
    padding: 3rem 1rem;
  }
  
  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .paper-button {
    width: 100%;
  }
  
  .image-gallery {
    grid-template-columns: 1fr;
  }
  
  .feature-box {
    padding: 1.5rem;
  }
}

/* Print styles */
@media print {
  .navbar, .button-row {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

/* Accessibility improvements */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #8B5CF6;
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 100;
}

.skip-to-content:focus {
  top: 0;
}

/* Focus styles for keyboard navigation */
*:focus {
  outline: 2px solid #A78BFA;
  outline-offset: 2px;
}

button:focus, a:focus {
  outline: 3px solid #8B5CF6;
}
