/* Custom styles for Steelnative Coffee */

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

/* Marquee animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 25s linear infinite;
}

/* Geometric shape animations */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-medium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
}

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

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

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

.geo-shape {
  position: absolute;
  opacity: 0.12;
}

.shape-circle-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #FFD0D0 0%, transparent 70%);
  top: 10%;
  right: -5%;
  border-radius: 50%;
  animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #FFAAAA 0%, transparent 70%);
  bottom: 20%;
  left: 5%;
  border-radius: 50%;
  animation: float-medium 6s ease-in-out infinite;
}

.shape-circle-3 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #FFE8E8 0%, transparent 70%);
  top: 40%;
  left: 15%;
  border-radius: 50%;
  animation: float-fast 5s ease-in-out infinite;
}

.shape-square-1 {
  width: 80px;
  height: 80px;
  background: #FFD0D0;
  top: 25%;
  left: 8%;
  border-radius: 16px;
  animation: spin-slow 20s linear infinite;
  opacity: 0.08;
}

.shape-square-2 {
  width: 50px;
  height: 50px;
  background: #FFAAAA;
  bottom: 30%;
  right: 12%;
  border-radius: 10px;
  animation: spin-reverse 15s linear infinite;
  opacity: 0.1;
}

.shape-triangle-1 {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid #FFD0D0;
  top: 60%;
  right: 20%;
  animation: float-medium 7s ease-in-out infinite;
  opacity: 0.1;
}

.shape-ring-1 {
  width: 120px;
  height: 120px;
  border: 3px solid #FFD0D0;
  border-radius: 50%;
  top: 15%;
  left: 25%;
  animation: spin-slow 25s linear infinite;
  opacity: 0.08;
}

/* Scroll reveal animations (below fold only) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar scroll state */
.navbar-scrolled {
  background: rgba(255, 251, 247, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FFF8F0;
}
::-webkit-scrollbar-thumb {
  background: #d4425a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7B2D3B;
}

/* Image hover effects */
img {
  max-width: 100%;
  height: auto;
}

/* Selection color */
::selection {
  background: #FFD0D0;
  color: #7B2D3B;
}
</style>
