html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: #222;
  color: white;
  z-index: 1000;
  transition: left 0.3s ease;
  padding: 2rem 1rem;
}

.mobile-menu .mobile-link {
  display: block;
  padding: 1rem 0;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.mobile-menu .mobile-link:hover {
  background-color: #333;
}

#main-content.shifted {
  transform: translateX(250px);
  transition: transform 0.3s ease;
}
.navbar.is-dark{
  background-color: #2c3c20;
}
.navbar-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.navbar-brand, .navbar-tabs {
  align-items: center !important;
}

.hero {
  background-image: url(../images/header.jpg);
  background: linear-gradient(#35481d69, #324623e8), #2c3c20 url(../images/header.jpg) no-repeat;
  background-size: cover;
  background-position: 28%;
}

.hero-body img {
  margin: 0 auto;
}

.has-shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.button.is-primary,
.button.is-link {
  background-color: #2c3c20;
}

.progress.is-primary:indeterminate {
  background-image: linear-gradient(to right, #2c3c20 30%, #ededed 30%);
}

.button.is-primary[disabled],
.button.is-primary:hover,
.button.is-link:hover {
  background-color: #3f6026;
}

#giftGallery img {
  max-height: 300px;
  width: 100%;
  object-fit: cover;
}

.has-text-primary {
  color: #2c3c20 !important;
}

.tabs li.is-active a {
  color: white;
  background-color: #2c3d20 !important;
  border-radius: 10px 10px 0px 0px;
}

/* Garante altura mínima e layout flexível dos cards */
.gift-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}

/* Garante que imagens preencham bem o espaço */
.card-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Sombra suave para visual agradável */
.has-shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Permite que card-content cresça para empurrar o botão para baixo */
.card-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}


.skeleton-box {
  background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  border-radius: 6px;
}

.skeleton-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #e0e0e0;
}

.skeleton-line {
  height: 1rem;
  margin-top: 0.5rem;
  background-color: #e0e0e0;
  border-radius: 4px;
}

.skeleton-line.title {
  width: 70%;
  height: 1.25rem;
}

.skeleton-line.subtitle {
  width: 50%;
}

.skeleton-button {
  width: 100%;
  height: 2.5rem;
  border-radius: 999px;
  margin-top: 1rem;
  background-color: #dcdcdc;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}



#location {
  position: relative;
  padding: 0;
  height: 450px;
  width: 100%;
}

#location iframe {
  border: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#location .location-card {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  z-index: 10;
}

.swiper {
  width: 100%;
  height: auto;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 180px;
  /* ajuste conforme a imagem */
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.skeleton {
  background: #e0e0e0;
  border-radius: 12px;
  height: 180px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #333;
}

.swiper-pagination-bullet-active {
  background-color: #333;
}

.swiper-button-next,
.swiper-button-prev {
  color: #2c3d20 !important
}

@media (max-width: 768px) {
  .tabs.is-boxed ul {
    overflow-x: auto;
    white-space: nowrap;
    flex-wrap: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    padding: 0 1rem;
  }

  .tabs.is-boxed ul::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }

  .tabs.is-boxed ul li {
    display: inline-block;
    flex: 0 0 auto;
    margin-right: 0.5rem;
  }

  .tabs.is-boxed a {
    min-width: 120px;
    justify-content: center;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 6px;
  }

  .tabs.is-boxed li.is-active a {
    background-color: #3273dc; /* cor do Bulma primary */
    color: white;
  }
}
