/* =========================================================
   The Cocktail Council — custom styles layered on top of Tailwind
   ---------------------------------------------------------
   We rely on Tailwind utility classes for layout/spacing and
   reserve this file for:
   - Brand typography defaults
   - Component classes (buttons, cards, form fields)
   - Scroll-reveal + micro-interactions
   ========================================================= */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4rem; /* offset for sticky header when using anchor links */
}

body {
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background-color: #0b0f19;
}

/* Serif applied to all headings that don't have a Tailwind font class */
h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  letter-spacing: -0.01em;
}

/* ---------- Navigation ---------- */
.nav-link {
  position: relative;
  color: #d4d4d8;
  transition: color 0.25s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
   background: #D4739A;
  transition: width 0.3s ease;
}
.nav-link:hover {
   color: #E89BB5;
}
.nav-link:hover::after {
  width: 100%;
}

.nav-link-mobile {
  color: #d4d4d8;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
}
.nav-link-mobile:hover {
   color: #D4739A;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
   background: linear-gradient(135deg, #D4739A 0%, #E89BB5 50%, #D4739A 100%);
   background-size: 200% 200%;
   color: #0b0f19;
   font-weight: 600;
   letter-spacing: 0.01em;
   transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.6s ease;
   box-shadow: 0 10px 30px -12px rgba(212, 115, 154, 0.5);
}
.btn-primary:hover {
   transform: translateY(-2px);
   background-position: 100% 50%; /* shimmer sweep */
   box-shadow: 0 16px 40px -12px rgba(212, 115, 154, 0.7);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 9999px;
   border: 1px solid rgba(212, 115, 154, 0.5);
   color: #E89BB5;
   transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover {
   background: rgba(212, 115, 154, 0.1);
   border-color: #D4739A;
  color: #fff;
}

/* ---------- Section helpers ---------- */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
   color: #D4739A;
   font-size: 0.72rem;
   letter-spacing: 0.3em;
   text-transform: uppercase;
   margin-bottom: 1rem;
}
.section-eyebrow::before {
   content: "";
   height: 1px;
   width: 2rem;
   background: #D4739A;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  color: #f4f4f5;
  margin-bottom: 1.25rem;
}

/* ---------- Service cards ---------- */
.service-card {
  background: linear-gradient(180deg, rgba(27, 33, 48, 0.9), rgba(17, 24, 39, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
   border-color: rgba(212, 115, 154, 0.4);
   box-shadow: 0 30px 60px -30px rgba(212, 115, 154, 0.35);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
   background: rgba(212, 115, 154, 0.08);
   color: #D4739A;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease;
}
.service-card:hover .service-icon {
  background: rgba(255, 107, 107, 0.15); /* playful pop on hover */
  color: #ff6b6b;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #d4d4d8;
}
.service-list li {
  position: relative;
  padding-left: 1.25rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
   background: #D4739A;
}

/* ---------- Menu tabs & cards ---------- */
.menu-tab {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  color: #a1a1aa;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
}
.menu-tab.active {
  background: #D4739A;
  color: #0b0f19;
}
.menu-tab:not(.active):hover {
  color: #E89BB5;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.menu-card {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  background: rgba(17, 24, 39, 0.6);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
   border-color: rgba(212, 115, 154, 0.45);
}
.menu-card h3 {
  font-size: 1.35rem;
  color: #f4f4f5;
  margin-bottom: 0.35rem;
}
.menu-card p {
  font-size: 0.9rem;
  color: #a1a1aa;
  line-height: 1.5;
}
.menu-card.playful:hover h3 {
  color: #ff6b6b; /* playful pop on hover for signature drinks */
}
.menu-card .badge {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
   color: #D4739A;
   background: rgba(212, 115, 154, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* ---------- Form fields ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(11, 15, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.6rem;
  padding: 0.75rem 0.9rem;
  color: #f4f4f5;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #52525b;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
   border-color: #D4739A;
   box-shadow: 0 0 0 3px rgba(212, 115, 154, 0.15);
  background: rgba(11, 15, 25, 0.9);
}
.field input.invalid,
.field select.invalid,
.field textarea.invalid {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}
.field select {
  appearance: none;
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23D4739A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field textarea {
  resize: vertical;
  min-height: 6rem;
}

/* Dark-mode date picker icon */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(0.6) saturate(3) hue-rotate(5deg);
  cursor: pointer;
}

/* ---------- Social ---------- */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  transition: all 0.25s ease;
}
.social-btn:hover {
  color: #0b0f19;
   background: #D4739A;
   border-color: #D4739A;
  transform: translateY(-2px);
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Toast ---------- */
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
