@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --color-primary: #0284c7;        /* Crisp Ocean Blue */
  --color-primary-hover: #0369a1;  /* Deep Ocean Blue */
  --color-accent: #0ea5e9;         /* Vibrant Sky Cyan */
  --color-ice: #38bdf8;            /* Frost Ice Blue */
  --color-ice-light: #f0f9ff;      /* Cool Ice White */
  --color-ice-border: #bae6fd;     /* Translucent Ice Border */
  --color-navy: #0f172a;           /* Deep Midnight Navy */
  --color-text-main: #1e293b;      /* Slate 800 */
  --color-text-muted: #64748b;     /* Slate 500 */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --card-radius: 20px;
}

body, html {
  font-family: var(--font-main) !important;
  scroll-behavior: smooth;
  color: var(--color-text-main);
  background-color: #f0f9ff;
  background-image: 
    radial-gradient(at 15% 15%, rgba(56, 189, 248, 0.08) 0px, transparent 50%),
    radial-gradient(at 85% 20%, rgba(2, 132, 199, 0.07) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(14, 165, 233, 0.06) 0px, transparent 60%),
    url('../images/ice-pattern.svg');
  background-attachment: fixed;
  background-size: auto, auto, auto, 160px 160px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.02em;
}

/* Ice Text Gradient */
.ice-text-gradient {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ice-text-glow {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

/* Frosted Glass Card */
.ice-glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(186, 230, 253, 0.65);
  box-shadow: 0 10px 30px -5px rgba(2, 132, 199, 0.07), 0 4px 6px -2px rgba(2, 132, 199, 0.03);
  border-radius: var(--card-radius);
  transition: all 0.3s ease;
}

.ice-glass-card:hover {
  border-color: rgba(56, 189, 248, 0.8);
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.12), 0 0 15px rgba(56, 189, 248, 0.15);
}

/* Ice Button Styles */
.btn-ice {
  position: relative;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 60%, #1d4ed8 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 25px -4px rgba(14, 165, 233, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: all 0.25s ease-in-out;
  overflow: hidden;
}

.btn-ice::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
}

.btn-ice:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 60%, #1e40af 100%);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 30px -4px rgba(14, 165, 233, 0.65), 0 0 20px rgba(56, 189, 248, 0.4);
}

.btn-ice:hover::before {
  left: 140%;
}

.btn-ice-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: #0369a1 !important;
  border: 2px solid #bae6fd;
  font-weight: 800;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
  transition: all 0.25s ease;
}

.btn-ice-secondary:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15);
}

.btn-ice-accent {
  background: linear-gradient(135deg, #f43f5e 0%, #e11d48 60%, #be123c 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 25px -4px rgba(225, 29, 72, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  font-weight: 800;
  transition: all 0.25s ease;
}

.btn-ice-accent:hover {
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 60%, #9f1239 100%);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 30px -4px rgba(225, 29, 72, 0.6);
}

/* Floating order button */
.floating-order-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-order-btn:hover {
  transform: translateY(-3px) scale(1.03);
}

/* Form Input & Validation */
.input-error-msg {
  font-size: 0.8125rem;
  margin-top: 0.375rem;
  display: none;
  font-weight: 600;
}

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

.input-error-msg.show.success {
  color: #0284c7;
}

input.is-invalid {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2) !important;
}

input.is-valid {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
}

/* Pulse animation */
@keyframes ice-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
  }
}

.animate-ice-pulse {
  animation: ice-pulse 3s infinite ease-in-out;
}

/* Ice Badge */
.ice-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0369a1;
  background: rgba(224, 242, 254, 0.85);
  border: 1px solid #bae6fd;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f0f9ff;
}
::-webkit-scrollbar-thumb {
  background: #7dd3fc;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}
