/* css/style.css - Modern & Elegant Design for Depot Rawon Koe */

/* Font Styling */
body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth Scrolling with Offset for Fixed Header */
html {
  scroll-padding-top: 80px;
}

/* Images - Responsive & Optimized */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Glass Morphism Effect for Cards */
.glass-effect {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Hover Effects */
.hover-zoom {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-zoom:hover {
  transform: scale(1.05);
}

/* Smooth Transitions */
* {
  transition-property: color, background-color, border-color, transform, opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

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

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #f59e0b, #eab308);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #d97706, #ca8a04);
}

/* Fade In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button Hover Effect Enhancement */
.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
  color: #111827;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(245, 158, 11, 0.5);
}

/* Navbar Scroll Effect */
header.scrolled {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Section Padding Consistency */
section {
  position: relative;
}

/* Decorative Elements */
.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, transparent, #f59e0b, transparent);
  margin: 2rem auto;
}

/* Card Hover Glow Effect */
.card-glow {
  position: relative;
  transition: all 0.3s ease;
}

.card-glow::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #f59e0b, #eab308);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  filter: blur(10px);
}

.card-glow:hover::after {
  opacity: 0.5;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
  .glass-effect {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

/* Loading Animation for Images */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.image-loading {
  background: linear-gradient(90deg, #1f2937 0%, #374151 50%, #1f2937 100%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}
