:root {
  --background: 23 25% 94%;
  --foreground: 22 9% 17%;
  --primary: 192 79% 45%;
  --primary-foreground: 23 25% 94%;
  --accent: 41 38% 75%;
  --accent-foreground: 22 9% 17%;
  --muted: 24 2% 42%;
  --page: 23 25% 94%;
  --section-alt: 0 0% 100%;
  --card: 30 27% 96%;
  --service-card: 30 25% 97%;
  --footer-band: 42 34% 77%;
  --footer: 27 24% 93%;
  --input-light: 0 0% 100%;
  --cat-blue: 192 79% 45%;
  --cat-gold: 43 64% 57%;
  --cat-teal: 188 68% 62%;
  --border: 22 9% 17%;
  --input: 22 9% 17%;
  --ring: 192 79% 45%;
  --radius: 4px;
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.mobile-menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid hsl(var(--border) / 0.18);
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 9999px;
  background: hsl(var(--foreground));
}

.mobile-menu-button:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

.floating-contact-overlay {
  position: fixed;
  top: 20px;
  right: 0px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-contact-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 80px;
  height: 80px;
  padding: 0 18px 0 18px;
  border-radius: 9999px 0px 0px 9999px;
  background: hsl(var(--primary));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  text-decoration: none;
  transition: width 0.25s ease, padding 0.25s ease, gap 0.25s ease, transform 0.25s ease;
}

.floating-contact-button:hover,
.floating-contact-button:focus-visible {
  width: 210px;
  gap: 10px;
  padding: 0 18px 0 14px;
  transform: translateX(-4px);
}

.floating-contact-icon {
  flex-shrink: 0;
  color: white;
  font-size: 1.75rem;
  line-height: 1;
}

.floating-contact-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  color: white;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  transition: max-width 0.25s ease, opacity 0.25s ease;
}

.floating-contact-button:hover .floating-contact-label,
.floating-contact-button:focus-visible .floating-contact-label {
  max-width: 160px;
  opacity: 1;
}

@media (max-width: 640px) {
  .floating-contact-button {
    width: 60px;
    height: 60px;
    padding: 0 14px;
  }

  .floating-contact-button:hover,
  .floating-contact-button:focus-visible {
    width: 175px;
    padding: 0 14px 0 12px;
  }

  .floating-contact-icon {
    font-size: 1.5rem;
  }
}

.phone-badge-icon {
  color: white;
  font-size: 1.625rem;
  line-height: 1;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

html {
  scroll-behavior: smooth;
}

.photo-track {
  display: flex;
  width: max-content;
  animation: photo-scroll 30s linear infinite;
}

.photo-track:hover {
  animation-play-state: paused;
}

.photo-item {
  width: 370px;
  height: 350px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 0.25rem;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes photo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.375rem));
  }
}

.photo-wrapper {
  position: relative;
  overflow: hidden;
}

.photo-wrapper::before,
.photo-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.photo-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #faf0ec, transparent);
}

.photo-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #faf0ec, transparent);
}

.hero {
  background-image: url("images/hero-bg.png");
  background-size: 82%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #faf0ec;
}

/* Remove background image on screens 768px or smaller */
@media (max-width: 768px) {
  .hero {
    background-image: none;
  }
}