@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --accent-primary: #B45309;
  --accent-light: #F59E0B;
  --accent-dark: #92400E;
  --accent-darker: #78350F;
  --cream: #FEF3C7;
  --cream-light: #FFFBEB;
  --pink-light: #FECACA;
  --neutral-50: #F9FAFB;
  --neutral-100: #F3F4F6;
  --neutral-600: #6B7280;
  --neutral-700: #374151;
  --neutral-800: #1F2937;
  --neutral-900: #111827;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--neutral-700);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--neutral-800);
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.8) 0%, rgba(146, 64, 14, 0.6) 100%);
}

.coffee-steam::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 40px;
  background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.6), transparent);
  border-radius: 2px;
  animation: steam 3s ease-in-out infinite;
}

.coffee-steam::after {
  content: '';
  position: absolute;
  top: -15px;
  left: 60%;
  transform: translateX(-50%);
  width: 3px;
  height: 30px;
  background: linear-gradient(to top, transparent, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 2px;
  animation: steam 3s ease-in-out infinite 0.5s;
}

@keyframes steam {
  0%, 100% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px) scale(1.1);
  }
}

.floating-bean {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.service-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(180, 83, 9, 0.1), 0 10px 10px -5px rgba(180, 83, 9, 0.04);
  border-color: var(--accent-light);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(180, 83, 9, 0.3), rgba(245, 158, 11, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-dark) 100%);
  transition: all 0.3s ease;
  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.2), transparent);
  transition: left 0.5s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(180, 83, 9, 0.3);
}

.navbar-scroll {
  backdrop-filter: blur(10px);
  background: rgba(249, 250, 251, 0.9);
  border-bottom: 1px solid rgba(180, 83, 9, 0.1);
}

.form-input {
  transition: all 0.3s ease;
  border: 2px solid var(--neutral-100);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

.form-input:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.whatsapp-float {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--neutral-100);
  z-index: 9999;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
  width: 0%;
  transition: width 0.1s ease;
}

.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.coffee-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(180, 83, 9, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 40% 80%, rgba(146, 64, 14, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-50);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .coffee-steam::before,
  .coffee-steam::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(180, 83, 9, 0.7) 0%, rgba(146, 64, 14, 0.8) 100%);
  }
  
  .service-card:hover {
    transform: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}