@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:      #0B2447;
  --navy-2:    #19376D;
  --blue:      #1565C0;
  --blue-light:#1976D2;
  --sky:       #E3F2FD;
  --off-white: #F8FAFF;
  --border:    #E2EAF4;
  --muted:     #64748B;
  --text:      #1E293B;
  --accent:    #00E5FF;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--off-white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Cormorant Garamond', serif;
}

/* Base utility overrides for Tailwind classes if necessary */
.text-navy { color: var(--navy); }
.bg-navy { background-color: var(--navy); }
.text-blue { color: var(--blue); }
.bg-blue { background-color: var(--blue); }

/* Animations */
@keyframes slowZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.animate-slow-zoom {
  animation: slowZoom 15s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes overlayPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.animate-overlay-pulse {
  animation: overlayPulse 8s ease-in-out infinite;
  will-change: opacity;
}

/* Fade in for IntersectionObserver */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accordion transition for max-height */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}
.accordion-content.expanded {
  max-height: 1000px;
}

/* Checkmark Animation for Reservation Success */
@keyframes drawCheck {
  0% { stroke-dashoffset: 48; }
  100% { stroke-dashoffset: 0; }
}

.animate-check {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: drawCheck 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--off-white);
}
::-webkit-scrollbar-thumb {
  background: var(--muted);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--navy-2);
}

/* Form focus outlines */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

/* Disabled slot style */
.slot-disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  text-decoration: line-through;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

/* Available slot style */
.slot-available {
  background-color: white;
  border-color: var(--navy);
  color: var(--navy);
  cursor: pointer;
  transition: all 0.2s;
}
.slot-available:hover {
  background-color: var(--navy);
  color: white;
}

/* Selected slot style */
.slot-selected {
  background-color: var(--navy);
  border-color: var(--navy);
  color: white;
}

/* Navbar blur adjustment */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu hidden state */
[x-cloak] {
  display: none !important;
}

/* Toast animations */
@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

.toast-enter {
  animation: slideInRight 0.3s ease-out forwards;
}
.toast-exit {
  animation: fadeOut 0.3s ease-out forwards;
}
