/*
✅ What changed:

background: transparent; for .bottom-menu a on desktop/tablet.

Shimmer effect remains, sliding diagonally on buttons and icons.

Buttons still keep burgundy background for luxury feel.
*/
/* -------------------- */
/* Body padding to avoid footer being hidden */
body {
  padding-bottom: 90px; /* mobile default */
}

/* -------------------- */
/* Floating Buttons (Mobile default) */
.floating-buttons {
  position: fixed;
  bottom: 38px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 1000;
  padding: 0 6px;
}

.floating-buttons .btn {
  flex: 1;
  max-width: 160px;
  background: #800020; /* burgundy */
  color: white;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 34px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: slideInUp 0.7s ease forwards;
  --shimmer-delay: 0s;
}

/* Stagger buttons */
.floating-buttons .btn:nth-child(1) { --shimmer-delay: 0s; animation-delay: 0.1s; }
.floating-buttons .btn:nth-child(2) { --shimmer-delay: 0.3s; animation-delay: 0.3s; }
.floating-buttons .btn:nth-child(3) { --shimmer-delay: 0.5s; animation-delay: 0.5s; }

/* -------------------- */
/* Bottom thin icon strip (Mobile default) */
.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background: #800020;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
  padding: 0;
}

.bottom-menu a {
  color: white;
  font-size: 18px;
  text-decoration: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.6s ease forwards;
  --shimmer-delay: 0s;
}

/* Stagger mobile icons */
.bottom-menu a:nth-child(1) { --shimmer-delay: 0s; animation-delay: 0.2s; }
.bottom-menu a:nth-child(2) { --shimmer-delay: 0.3s; animation-delay: 0.4s; }
.bottom-menu a:nth-child(3) { --shimmer-delay: 0.6s; animation-delay: 0.6s; }
.bottom-menu a:nth-child(4) { --shimmer-delay: 0.9s; animation-delay: 0.8s; }

/* -------------------- */
/* Metallic shimmer overlay */
.floating-buttons .btn::after,
.bottom-menu a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 25%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0.2) 75%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg) translateX(-100%);
  animation: shimmerMetal 2.5s linear infinite;
  animation-delay: var(--shimmer-delay);
  pointer-events: none;
}

/* -------------------- */
/* Animations */
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmerMetal {
  0% { transform: skewX(-20deg) translateX(-100%); }
  50% { transform: skewX(-20deg) translateX(100%); }
  100% { transform: skewX(-20deg) translateX(100%); }
}

/* -------------------- */
/* Tablets & Laptops: vertical circular icons + bottom buttons */
@media (min-width: 768px) {
  .floating-buttons {
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 400px;
    gap: 12px;
    padding: 0;
  }

  .bottom-menu {
    position: fixed;
    top: 50%;
    left: 10px;
    bottom: auto;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: transparent;
    padding: 0;
  }

  .bottom-menu a {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent; /* removed burgundy */
    color: inherit;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    transform: translateX(-40px);
    animation: slideInLeft 0.6s ease forwards;
    --shimmer-delay: 0s;
  }

  /* Stagger desktop icons */
  .bottom-menu a:nth-child(1) { --shimmer-delay: 0s; animation-delay: 0.2s; }
  .bottom-menu a:nth-child(2) { --shimmer-delay: 0.3s; animation-delay: 0.4s; }
  .bottom-menu a:nth-child(3) { --shimmer-delay: 0.6s; animation-delay: 0.6s; }
  .bottom-menu a:nth-child(4) { --shimmer-delay: 0.9s; animation-delay: 0.8s; }

  .bottom-menu a:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  .bottom-menu a.phone { color: #25D366; }
  .bottom-menu a.google { color: #4285F4; }
  .bottom-menu a.map { color: #34A853; }
  .bottom-menu a.facebook { color: #1877F2; }
  .bottom-menu a.instagram { color: #E4405F; }

  body { padding-bottom: 50px; }
}

/* -------------------- */
/* Responsive tweaks for very small phones */
@media (max-width: 600px) {
  .floating-buttons .btn {
    max-width: none;
    height: 36px;
    font-size: 13px;
  }
  .bottom-menu { height: 34px; }
  .bottom-menu a { font-size: 17px; }
  body { padding-bottom: 80px; }
}

/* ------------------------------------------------------
   PHONE / MOBILE DEFAULT (Applies when screen width is < 768px)
   ------------------------------------------------------
*/
/*OR #hero*/
.hero-9 {
  /* Set a tight padding value for mobile screens where space is limited */
  padding-top: 30px !important; 
  padding-bottom: 10px !important; /* Optional: Adjust bottom padding too */
}

@media (min-width: 768px) {
  .hero-9 {
    padding-top: 40px !important; /* Your previous rule takes priority here */
  }
  #sb-3-1,
  #sb-3-2,
  #sb-3-3 {
    border-right: 1px solid var(--silver);
   /* border-bottom: 1px solid var(--silver);*/
    margin-bottom: 20px;
  }
}

#page {
  min-height: 100dvh;  /* fills the visible screen */
  display: flex;
  flex-direction: column; /* keep header/content/footer stacked */
}
