/* ========================================
   marbellaia.shop - Unique Neon Modern Blog
   Custom styles complementing Tailwind
   ======================================== */

:root {
  --neon-cyan: #67f6ff;
  --neon-violet: #c084fc;
  --dark-bg: #0f172a;
  --card-bg: #1e2937;
}

body {
  font-family: 'Inter', system_ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Neon glow utilities */
.neon-glow {
  box-shadow: 0 0 15px rgba(103, 246, 255, 0.25);
}

.neon-text {
  text-shadow: 0 0 12px rgba(103, 246, 255, 0.5);
}

.btn-neon {
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  background: transparent;
}

.btn-neon:hover {
  background: rgba(103, 246, 255, 0.08);
  box-shadow: 0 0 25px rgba(103, 246, 255, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

.btn-neon:active {
  transform: translateY(0);
}

/* Card styles - unique asymmetric feel */
.card {
  background-color: var(--card-bg);
  border: 1px solid #334155;
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4), 
              0 0 20px rgba(103, 246, 255, 0.15);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--neon-cyan), var(--neon-violet));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

/* Featured wider cards */
.card.featured {
  border-color: #475569;
}

.card.featured:hover {
  border-color: var(--neon-violet);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4), 
              0 0 25px rgba(192, 132, 252, 0.2);
}

/* Article meta tags */
.tag {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.tag-cyan {
  background-color: rgba(103, 246, 255, 0.1);
  color: var(--neon-cyan);
  border: 1px solid rgba(103, 246, 255, 0.3);
}

.tag-violet {
  background-color: rgba(192, 132, 252, 0.1);
  color: var(--neon-violet);
  border: 1px solid rgba(192, 132, 252, 0.3);
}

/* Sticky sidebar navigation */
.sticky-nav {
  scrollbar-width: thin;
  scrollbar-color: #475569 #1e2937;
}

.sticky-nav::-webkit-scrollbar {
  width: 4px;
}

.sticky-nav::-webkit-scrollbar-thumb {
  background-color: #475569;
  border-radius: 20px;
}

/* Form styles */
.form-input {
  background-color: #1e2937;
  border: 1px solid #475569;
  color: #e0e7ff;
  transition: all 0.2s ease;
}

.form-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 4px rgba(103, 246, 255, 0.1);
  outline: none;
}

textarea.form-input {
  resize: vertical;
  min-height: 140px;
}

/* Decorative orbs in hero */
.decorative-orb {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(circle at 30% 30%, rgba(103, 246, 255, 0.25) 0%, transparent 70%);
  animation: neon-pulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.decorative-orb.violet {
  background: radial-gradient(circle at 70% 70%, rgba(192, 132, 252, 0.2) 0%, transparent 70%);
  animation-delay: 2.5s;
}

@keyframes neon-pulse {
  0%, 100% { 
    opacity: 0.35; 
    transform: scale(1) translate(0, 0); 
  }
  50% { 
    opacity: 0.75; 
    transform: scale(1.12) translate(3px, -4px); 
  }
}

/* Prose for long readable text */
.prose-custom p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  color: #cbd5e1;
}

.prose-custom h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #e0e7ff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Footer links */
.footer-link {
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--neon-cyan);
}

/* Mobile menu overlay */
.mobile-menu {
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #475569, transparent);
}

/* Unique asymmetric grid hint */
.asymmetric-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (min-width: 1024px) {
  .asymmetric-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

/* Thank you page special */
.thank-you-card {
  background: linear-gradient(145deg, #1e2937 0%, #0f172a 100%);
  border: 1px solid #475569;
}

/* Legal pages typography */
.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #e0e7ff;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #334155;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.legal-content p, .legal-content li {
  color: #94a3b8;
  line-height: 1.75;
  margin-bottom: 0.85rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content strong {
  color: #cbd5e1;
  font-weight: 600;
}