/* ==========================================================================
   HEALTHGAST — Custom Deep Blue & Wavy Aquatic Styles
   Theme: Herbolan Gel (2000 RSD)
   ========================================================================== */

:root {
  --primary-deep: #071933;
  --primary-navy: #0d284f;
  --primary-blue: #1e40af;
  --primary-royal: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-ice: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --text-main: #0f172a;
  --text-muted: #475569;
  --bg-light: #f8fafc;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Background Whale Watermark Styling */
.whale-bg-hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/whale-art.svg');
  background-repeat: no-repeat;
  background-position: center 35%;
  background-size: 1100px auto;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.whale-watermark-section {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: 650px;
  height: 350px;
  background-image: url('../images/whale-art.svg');
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* Deep Ocean Blue Hero & Cards */
.bg-deep-ocean {
  background: linear-gradient(135deg, #061327 0%, #0d284f 50%, #173b70 100%);
}

.bg-ocean-subtle {
  background: linear-gradient(180deg, #f0f7ff 0%, #e0f2fe 100%);
}

/* Wavy Section Dividers */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

@media (min-width: 768px) {
  .wave-divider svg {
    height: 90px;
  }
}

.wave-fill-white {
  fill: #ffffff;
}

.wave-fill-light {
  fill: #f8fafc;
}

.wave-fill-ocean {
  fill: #061327;
}

/* Wavy Button with Modern Icon Format */
.btn-wavy-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 60%, #1d4ed8 100%);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.45), 0 8px 10px -6px rgba(37, 99, 235, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.btn-wavy-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #1d4ed8 60%, #1e40af 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -5px rgba(37, 99, 235, 0.55), 0 10px 15px -5px rgba(37, 99, 235, 0.4);
}

.btn-wavy-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 70%, #1e3a8a 100%);
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 9999px;
  box-shadow: 0 12px 30px -4px rgba(14, 165, 233, 0.5);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.btn-wavy-accent:hover {
  transform: scale(1.02) translateY(-2px);
  box-shadow: 0 20px 35px -5px rgba(14, 165, 233, 0.65);
}

/* Icon Capsule Format inside Buttons */
.btn-icon-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: transform 0.2s ease;
}

.btn-wavy-primary:hover .btn-icon-capsule,
.btn-wavy-accent:hover .btn-icon-capsule {
  transform: rotate(12deg) scale(1.1);
}

/* Form Input Validation and Styling */
.form-input-wave {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background-color: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 1rem;
  font-size: 0.95rem;
  color: #0f172a;
  transition: all 0.2s ease;
  outline: none;
}

.form-input-wave:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.25);
}

.form-input-wave.is-valid {
  border-color: #10b981;
  background-color: #f0fdf4;
}

.form-input-wave.is-invalid {
  border-color: #f43f5e;
  background-color: #fff1f2;
}

.input-error-msg {
  display: none;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  color: #e11d48;
  font-weight: 600;
}

.input-error-msg.show {
  display: block;
}

.input-error-msg.success {
  color: #059669;
}

/* Floating Action Button for Mobile */
.floating-order-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

/* Subtle Pulsing Animation */
@keyframes softPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

.animate-soft-pulse {
  animation: softPulse 2.5s infinite ease-in-out;
}

/* Product Glow Effect */
.product-glow {
  filter: drop-shadow(0 20px 30px rgba(14, 165, 233, 0.35));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.product-glow:hover {
  transform: translateY(-6px) scale(1.02);
  filter: drop-shadow(0 28px 40px rgba(14, 165, 233, 0.5));
}
