/* ==========================================================================
   Profile Show Page Styles
   Extracted from profiles/show.html.erb
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --color-coral: #EB685C;
  --color-coral-hover: #d85a4e;
  --color-navy: #2C3E50;
  --color-navy-dark: #08374B;
  --color-text: #374151;
  --color-text-light: #6b7280;
  --color-text-muted: #9ca3af;
  --color-border: #e5e7eb;
  --color-bg: #f9fafb;
  --color-bg-alt: #f3f4f6;
  --color-success: #10b981;
  --color-star: #fbbf24;
  --color-danger: #dc2626;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* ---------- Base Layout ---------- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: var(--color-bg);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px;
}

/* ---------- Header ---------- */
.header {
  background-color: var(--color-navy-dark);
  padding: 20px 0;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  width: 50px;
  height: 50px;
}

.header-title {
  color: white;
  font-size: 32px;
  font-weight: bold;
  margin: 0;
}

.header-tagline {
  color: #ea7a57;
  font-size: 18px;
  font-weight: 600;
  margin-left: 16px;
}

/* ---------- Profile Hero Section ---------- */
.profile-hero {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 56px;
  margin-bottom: 48px;
  align-items: start;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
}

/* Only make photo sticky when bio is expanded (long content) */
.hero-photo.sticky-active {
  position: sticky;
  top: 24px;
}

.hero-name {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 4px 0;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  margin: 0 0 8px 0;
  font-weight: 400;
}

.hero-location {
  font-size: 16px;
  color: var(--color-text);
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-location i {
  color: var(--color-coral);
  font-size: 14px;
}

.hero-additional-locations {
  font-size: 14px;
  color: var(--color-text-light);
  margin: 0 0 12px 0;
}

.hero-additional-locations i {
  color: var(--color-coral);
  margin-right: 4px;
}

/* Trust Bar - rating, experience, verified */
.trust-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--color-text);
}

.trust-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
}

.trust-bar-star {
  color: var(--color-star);
}

.trust-bar-verified {
  color: var(--color-success);
}

.trust-bar-separator {
  color: var(--color-text-muted);
  font-weight: 300;
}

/* Bio */
.hero-bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0;
}

/* Truncate bio to 6 lines by default */
#bio-section .bio-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Expanded: show full bio */
#bio-section.expanded .bio-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

/* Read-more button */
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-coral);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  margin-top: 6px;
  background: none;
  border: none;
  padding: 0;
}

.read-more-btn:hover {
  color: var(--color-coral-hover);
}

#bio-section.expanded .read-more-btn .btn-text::before {
  content: "Read less";
}

#bio-section .read-more-btn .btn-text::before {
  content: "Read more";
}

#bio-section.expanded .read-more-btn i {
  transform: rotate(180deg);
  transition: transform 0.2s;
}

.read-more-btn i {
  transition: transform 0.2s;
}

/* Service Tags */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.service-tag {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--color-navy);
  font-weight: 500;
}

/* Hero CTA Row */
.hero-cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-book-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: var(--color-coral);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(235, 104, 92, 0.3);
  letter-spacing: 0.3px;
}

.hero-book-btn:hover {
  background: var(--color-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(235, 104, 92, 0.4);
}

.hero-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.hero-resume-btn:hover {
  background: var(--color-navy);
  color: white;
}

/* Photo container - rounded square */
.hero-photo-container {
  position: relative;
  width: 100%;
}

.hero-photo-frame {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  position: relative;
  background: var(--color-bg-alt);
}

.hero-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Back Link (lightweight text link) */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--color-coral);
}

.back-link i {
  font-size: 13px;
}

/* Professional Background (full-width below hero) */
.credentials-section {
  background: white;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.credentials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.credentials-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.credentials-header h3 i {
  color: var(--color-coral);
  font-size: 16px;
}

.credentials-header .toggle-icon {
  color: var(--color-text-light);
  font-size: 14px;
  transition: transform 0.2s ease;
}

.credentials-content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
}

.credential-item i {
  color: var(--color-coral);
  font-size: 13px;
  min-width: 14px;
  margin-top: 4px;
}

/* ---------- Content Area with Sticky Sidebar ---------- */
.profile-content-area {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.profile-main-content {
  min-width: 0; /* prevents grid blowout from carousels */
}

.sticky-booking-widget {
  position: sticky;
  top: 24px;
  align-self: start;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sticky-widget-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.sticky-widget-photo-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 24px;
}

.sticky-widget-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0;
  text-align: center;
}

.sticky-widget-rating {
  font-size: 14px;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sticky-widget-rating .trust-bar-star {
  color: var(--color-star);
}

.sticky-widget-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: var(--color-coral);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s;
}

.sticky-widget-btn:hover {
  background-color: var(--color-coral-hover);
}

.sticky-widget-share {
  font-size: 13px;
  color: var(--color-text-light);
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sticky-widget-share:hover {
  color: var(--color-coral);
}

/* Mobile: Fixed Bottom Booking Bar — HIDDEN on desktop */
.mobile-booking-bar {
  display: none;
}

.mobile-booking-bar-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
}

.mobile-booking-bar-btn {
  padding: 12px 28px;
  background-color: var(--color-coral);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.mobile-booking-bar-btn:hover {
  background-color: var(--color-coral-hover);
}

/* Mobile: show bottom bar, hide sidebar widget */
@media (max-width: 900px) {
  .profile-content-area {
    grid-template-columns: 1fr;
  }

  .sticky-booking-widget {
    display: none;
  }

  .mobile-booking-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 100;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-booking-bar.visible {
    display: flex;
  }
}

/* Legacy support */
.profile-photo {
  width: 350px;
  height: 350px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

.profile-info h1 {
  font-size: 42px;
  margin: 0 0 8px 0;
  color: var(--color-navy);
}

.profile-subtitle {
  font-size: 18px;
  color: var(--color-text-light);
  margin: 0 0 12px 0;
}

.profile-location {
  font-size: 20px;
  color: var(--color-navy);
  margin-bottom: 16px;
  font-weight: 500;
}

.profile-bio {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 20px;
}

/* ---------- Profile Photo Carousel Arrows ---------- */
.profile-photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 2px solid var(--color-navy);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s;
  z-index: 10;
}

.profile-photo-arrow:hover {
  background: var(--color-navy);
  color: white;
}

.profile-photo-arrow-left { left: -20px; }
.profile-photo-arrow-right { right: -20px; }

@media (max-width: 768px) {
  .profile-photo-arrow { display: none; }
}

/* ---------- Services Badge (legacy, kept for non-hero usage) ---------- */
.services-badge {
  display: inline-block;
  padding: 12px 24px;
  background-color: white;
  border: 2px solid var(--color-border);
  border-radius: 50px;
  font-size: 15px;
  color: var(--color-navy);
  font-weight: 500;
  margin-bottom: 20px;
}

/* ---------- Documents ---------- */
.documents-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.document-box {
  background: white;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border: 1px solid var(--color-border);
}

.document-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.document-box h4 i {
  color: #ea7a57;
  font-size: 12px;
}

.document-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: var(--color-bg);
  color: var(--color-navy);
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid var(--color-border);
}

.document-link:hover {
  background-color: var(--color-bg-alt);
  border-color: var(--color-navy);
}

.document-link i.fa-file-pdf {
  color: var(--color-danger);
  font-size: 16px;
}

.document-link i.fa-file-image,
.document-link i.fa-file-alt {
  color: #2563eb;
  font-size: 16px;
}

.certification-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.no-documents {
  font-size: 12px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ---------- Certification Badges ---------- */
.certification-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.certification-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.certification-badge i {
  font-size: 14px;
}

/* ---------- Resume Link ---------- */
.resume-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--color-bg-alt);
  color: var(--color-navy);
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
  border: 2px solid var(--color-border);
  margin-bottom: 24px;
}

.resume-link:hover {
  background-color: var(--color-border);
  border-color: var(--color-navy);
}

.resume-link i {
  color: var(--color-danger);
  font-size: 20px;
}

/* ---------- Buttons ---------- */
.book-now-btn {
  display: inline-block;
  padding: 14px 36px;
  background-color: var(--color-coral);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
}

.book-now-btn:hover {
  background-color: var(--color-coral-hover);
}

.back-to-team-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
  transition: background-color 0.2s;
}

.back-to-team-btn:hover {
  color: var(--color-coral);
}

.back-to-team-btn i {
  margin-right: 8px;
}

.copy-url-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: var(--color-bg-alt);
  color: var(--color-text-light);
  text-decoration: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}

.copy-url-btn:hover {
  background-color: var(--color-border);
  color: var(--color-navy);
  border-color: #d1d5db;
}

.copy-url-btn.copied {
  background-color: #ecfdf5;
  border-color: var(--color-success);
  color: var(--color-success);
}

.copy-url-btn i {
  font-size: 12px;
}

.edit-profile-btn-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: var(--color-navy);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.edit-profile-btn-top:hover {
  background-color: #1a2633;
}

.edit-profile-btn-top i {
  margin-right: 8px;
}

/* ---------- Section Titles ---------- */
.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-navy);
  margin-top: 48px;
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-light);
  font-style: italic;
  margin-bottom: 32px;
}

/* ---------- Fun Facts ---------- */
.fun-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.fact {
  background: white;
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.fact-question {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.fact-answer {
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

/* ---------- Professional Background ---------- */
.professional-background {
  background: white;
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.professional-background h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.professional-background h2 i {
  color: #ea7a57;
  font-size: 22px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
}

.credential-item:last-child {
  margin-bottom: 0;
}

.credential-icon {
  color: #ea7a57;
  font-size: 18px;
  min-width: 18px;
  margin-top: 3px;
}

/* ---------- Sidebar ---------- */
.sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

/* ---------- Social Media Links ---------- */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  justify-content: center;
}

.social-link {
  font-size: 36px;
  transition: opacity 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-link:hover,
.social-link:focus-visible {
  opacity: 0.7;
  transform: scale(1.1);
}

.social-link:focus-visible {
  outline: 2px solid var(--color-navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.social-link-facebook { color: #1877F2; }
.social-link-instagram { color: #E4405F; }
.social-link-linkedin { color: #0A66C2; }

/* ---------- Accordion Icon Rotation ---------- */
.rotate-180 {
  transform: rotate(180deg);
}

.menu-toggle-btn i,
.accordion-toggle i {
  transition: transform 0.3s ease;
}

/* ---------- Mobile Responsive: Hero & Bio ---------- */
@media (max-width: 900px) {
  .profile-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Photo stacks above info on mobile */
  .hero-photo {
    order: -1;
    position: static;
  }

  .hero-photo-container {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-photo-frame {
    width: 100%;
    max-width: 340px;
    height: 340px;
  }

  .hero-photo-placeholder {
    width: 100%;
    max-width: 340px;
    height: 340px;
  }

  .hero-name {
    font-size: 32px;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .service-tags {
    justify-content: center;
  }

  .trust-bar {
    justify-content: center;
  }

  .certification-badges {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .fun-facts {
    grid-template-columns: 1fr;
  }

  .section-title {
    margin-top: 48px;
  }

  /* Mobile: center hero info */
  .hero-info {
    align-items: center;
    text-align: center;
  }

  .hero-location {
    justify-content: center;
  }

  .hero-additional-locations {
    text-align: center;
  }

  /* Collapsible Professional Background on mobile */
  .credentials-section .credentials-content {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.3s ease;
  }

  .credentials-section.expanded .credentials-content {
    max-height: 600px;
    margin-top: 20px;
  }

  .credentials-header .toggle-icon {
    display: block;
  }

  .credentials-section.expanded .credentials-header .toggle-icon {
    transform: rotate(180deg);
  }
}

/* Desktop: show full credentials content */
@media (min-width: 769px) {
  .credentials-header .toggle-icon {
    display: none;
  }
}

/* ==========================================================================
   Info Cards Section - Availability & Service Area
   ========================================================================== */
.info-cards-wrapper {
  position: relative;
  margin-top: 48px;
  margin-bottom: 48px;
}

.info-cards-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* When only one info card exists (e.g., calendar without map), span full width */
.info-cards-section > .info-card:only-child {
  grid-column: 1 / -1;
  max-width: 100%;
}

.info-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  min-width: 320px;
  flex: 1;
}

/* Hide arrows on desktop */
.info-cards-arrow {
  display: none;
}

/* On mobile: horizontal swipeable carousel with arrows */
@media (max-width: 768px) {
  .info-cards-wrapper {
    position: relative;
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 0 24px;
  }

  .info-cards-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 8px 0 16px 0;
    padding-right: 40px; /* Space for last card to scroll into view */
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .info-cards-section::-webkit-scrollbar {
    display: none;
  }

  .info-card {
    scroll-snap-align: start;
    min-width: 85%;
    max-width: 85%;
    flex: 0 0 85%;
  }

  /* Hide arrows on mobile too - peek design */
  .info-cards-arrow {
    display: none;
  }
}

/* ==========================================================================
   Shared Profile Card Base Class
   ========================================================================== */
.profile-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Card Carousel System
   ========================================================================== */
.carousel-container {
  position: relative;
  margin-bottom: 48px;
  padding: 0 56px; /* Space for arrows outside the cards */
}

.carousel-container.single-item .menus-carousel {
  justify-content: center;
  overflow: visible;
}

/* Carousel Arrows — overlay on top of cards */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid var(--color-navy);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
  box-shadow: var(--shadow-md);
}

.carousel-arrow:hover {
  background-color: var(--color-navy);
  color: white;
}

.carousel-arrow-left { left: 0; }
.carousel-arrow-right { right: 0; }
.carousel-arrow i { font-size: 18px; }

/* Carousel Track */
.menus-carousel,
.carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 20px 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  align-items: flex-start;
}

.menus-carousel::-webkit-scrollbar,
.carousel-track::-webkit-scrollbar {
  display: none;
}

/* Mobile carousel styles */
@media (max-width: 768px) {
  .carousel-container {
    padding: 0; /* No arrow space needed on mobile */
  }

  .carousel-arrow {
    display: none;
  }

  .menus-carousel,
  .carousel-track {
    gap: 16px;
    padding: 16px 4px;
    padding-right: 40px;
  }

  .menu-card,
  .dish-card,
  .service-card,
  .concept-card,
  .kitchen-card,
  .photo-card {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   Menu Cards
   ========================================================================== */
.menu-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  pointer-events: all;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-cover-photo {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--color-bg-alt);
}

.menu-placeholder {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 64px;
  height: 240px;
}

.menu-card-content {
  padding: 24px;
  flex: 1;
  overflow: hidden;
}

.menu-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 12px 0;
}

.menu-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.menu-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.menu-course-count i {
  margin-right: 6px;
  color: var(--color-coral);
}

.menu-toggle-btn {
  background: none;
  border: none;
  color: var(--color-coral);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  justify-content: space-between;
}

.menu-toggle-btn:hover {
  color: var(--color-coral-hover);
}

.menu-toggle-btn i {
  transition: transform 0.3s;
}

.menu-toggle-btn.active i {
  transform: rotate(180deg);
}

.menu-courses-content {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--color-border);
}

.course-section {
  margin-bottom: 32px;
}

.course-section:last-child {
  margin-bottom: 0;
}

.course-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-coral);
}

.dish-item {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-bg-alt);
}

.dish-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Unified dish-header (merged duplicate definitions) */
.dish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.dish-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  flex: 1;
}

.dish-photo-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* Unified dish-description (merged duplicate definitions) */
.dish-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
  font-style: italic;
  margin: 0;
}

/* ==========================================================================
   Dish Cards
   ========================================================================== */
.dish-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.dish-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.dish-photo-container {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--color-bg-alt);
  position: relative;
}

.dish-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--color-bg-alt);
}

.dish-placeholder {
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-coral-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  height: 240px;
}

.dish-card-content {
  padding: 20px;
}

.dish-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0;
  flex: 1;
}

.dish-category {
  background-color: var(--color-coral);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.dish-accordion-wrapper {
  margin-top: 16px;
}

.dish-description-content {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--color-border);
}

/* ==========================================================================
   Photo Cards
   ========================================================================== */
.photo-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
  cursor: pointer;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.photo-card-content {
  padding: 1rem;
}

/* ---------- Photo Lightbox ---------- */
.photo-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.photo-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.photo-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.photo-lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.photo-lightbox-title {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
}

.photo-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.photo-lightbox-close:hover {
  color: #ea7a57;
}

@media (max-width: 768px) {
  .photo-card {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
  }
}

/* ==========================================================================
   Service Cards
   ========================================================================== */
.service-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-photo {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: var(--color-bg-alt);
}

.service-placeholder {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 64px;
  height: 240px;
}

.service-card-content {
  padding: 24px;
}

.service-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 12px 0;
}

.service-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.service-accordion-wrapper {
  margin-top: 16px;
}

.service-full-content {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--color-border);
}

.sub-services {
  margin-top: 20px;
}

.sub-services-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 12px 0;
}

.sub-service-item {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-bg-alt);
}

.sub-service-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.sub-service-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}

.sub-service-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-light);
  font-style: italic;
  margin: 0;
}

/* ==========================================================================
   Brand Concept Cards
   ========================================================================== */
.concept-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
}

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.concept-logo {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background-color: var(--color-bg);
}

.concept-placeholder {
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-coral-hover) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 64px;
  height: 240px;
}

.concept-card-content {
  padding: 24px;
}

.concept-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px 0;
}

.concept-tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-coral);
  margin: 0 0 12px 0;
}

.concept-accordion-wrapper {
  margin-top: 16px;
}

.concept-menu-content {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--color-border);
}

.concept-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin: 0 0 20px 0;
}

/* services-grid and concepts-grid classes removed — unused in HTML */

/* ==========================================================================
   Live Kitchen Cards
   ========================================================================== */
.kitchen-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  scroll-snap-align: start;
  flex-shrink: 0;
  position: relative;
}

.kitchen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.kitchen-cover-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.kitchen-placeholder {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 64px;
  height: 200px;
}

.kitchen-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: #22c55e;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: white;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.kitchen-card-content {
  padding: 20px;
}

.kitchen-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 8px 0;
}

.kitchen-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-light);
  margin: 0 0 16px 0;
}

.kitchen-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--color-text-light);
}

.kitchen-item-count i,
.kitchen-location i {
  margin-right: 4px;
  color: var(--color-coral);
}

.kitchen-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background-color: var(--color-coral);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.kitchen-order-btn:hover {
  background-color: var(--color-coral-hover);
}

/* ==========================================================================
   Customer Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-text-light);
  font-size: 18px;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-author {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 16px;
}

.review-date {
  font-size: 13px;
  color: var(--color-text-muted);
}

.review-stars {
  font-size: 18px;
  margin-bottom: 12px;
}

.review-comment {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  font-style: italic;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #22c55e;
  font-weight: 500;
}

.review-badge i {
  font-size: 14px;
}

@media (max-width: 768px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mini Calendar
   ========================================================================== */
.mini-calendar-wrapper { margin-bottom: 32px; }

.mini-calendar {
  display: inline-block;
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
  max-width: 220px;
}

.mini-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mini-cal-nav {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--color-text-light);
  padding: 2px 6px;
  border-radius: 4px;
}

.mini-cal-nav:hover { background: var(--color-bg-alt); }

.mini-cal-month {
  font-weight: 600;
  color: var(--color-navy);
  font-size: 13px;
}

.mini-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 10px;
  font-weight: 600;
  margin-bottom: 4px;
}

.mini-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.mini-cal-days span {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 11px;
}

.mini-cal-days .past { color: #d1d5db; }
.mini-cal-days .avail { background: var(--color-success); color: white; }
.mini-cal-days .unavail { background: var(--color-bg-alt); color: var(--color-text-muted); }
.mini-cal-days .today { font-weight: 700; box-shadow: inset 0 0 0 1px var(--color-navy); }

.mini-cal-legend {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
  font-size: 10px;
  color: var(--color-text-light);
}

.mini-cal-legend span { display: flex; align-items: center; gap: 4px; }

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.legend-dot.available { background: var(--color-success); }
.legend-dot.unavailable { background: var(--color-bg-alt); border: 1px solid #d1d5db; }

/* ==========================================================================
   Review Summary Card (Phase 7)
   ========================================================================== */
.review-summary {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px 32px;
  text-align: center;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.review-summary-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 4px;
}

.review-summary-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
}

.review-summary-count {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ==========================================================================
   Final CTA Banner (Phase 8)
   ========================================================================== */
.final-cta-section {
  background: linear-gradient(135deg, var(--color-coral) 0%, #d85a4e 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  margin-top: 48px;
  margin-bottom: 24px;
}

.final-cta-section h2 {
  color: white;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.final-cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  margin: 0 0 24px 0;
}

.final-cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: white;
  color: var(--color-coral);
  border: none;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.final-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Fun Facts - Single Column (Phase 8)
   ========================================================================== */
@media (min-width: 769px) {
  .fun-facts {
    grid-template-columns: 1fr;
    max-width: 700px;
  }
}

/* ==========================================================================
   Detail View Button (replaces old accordion toggle)
   ========================================================================== */
.detail-view-btn {
  background: none;
  border: none;
  color: var(--color-coral);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, gap 0.2s;
}

.detail-view-btn:hover {
  color: var(--color-coral-hover);
  gap: 10px;
}

.detail-view-btn i {
  font-size: 12px;
  transition: transform 0.2s;
}

/* ==========================================================================
   Detail Modal (shared popup for menus, dishes, services, concepts)
   ========================================================================== */
.detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.detail-modal-container {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.detail-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.detail-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
}

.detail-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.detail-modal-close:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.detail-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

/* Style the content inside the modal (reuse existing course/dish styles) */
.detail-modal-body .course-section {
  margin-bottom: 24px;
}

.detail-modal-body .course-name {
  font-size: 18px;
}

.detail-modal-body .dish-item {
  padding: 12px 0;
}

.detail-modal-body .menu-description,
.detail-modal-body .service-description,
.detail-modal-body .concept-description,
.detail-modal-body .dish-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .detail-modal-container {
    max-height: 90vh;
    border-radius: 12px;
    margin: 10px;
  }

  .detail-modal-header {
    padding: 16px 20px;
  }

  .detail-modal-body {
    padding: 20px;
  }
}
