h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
}
body {
    font-family: 'Montserrat', sans-serif;
    padding-top: 80px;
}
span {
    color: #6cbd45;
}
.navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1030;
    transform: translateY(0);
    transition: transform 0.35s ease-in-out;
}

.navbar-custom.hide {
    transform: translateY(-100%);
}
.margin-on-scroll {
    scroll-margin-top: 80px;
}

.nav-pills .nav-link.active {
    background-color: #6cbd45;
}
.nav-link {
    color: #6cbd45;
}
.nav-link:hover {
    color: #3fb306;
}
.btn {
    background-color: #6cbd45;
    border-color: #6cbd45;
}
.btn:hover {
    background-color: #64924E;
    border-color: #64924E;
}
.hero-card {
    height: calc(100vh - 80px);
    overflow: hidden;
    position: relative;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content h1,
.hero-content p {
    text-shadow: 2px 4px 8px #198754;
}
.hero-content {
    background: rgba(121, 121, 121, 0.45);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: inline-block;
}

.carousel-item {
  transition: transform 0.5s ease-in-out;
}
.carousel-gastro {
    position: relative;
}

/* Botones */
.carousel-gastro .carousel-control-prev,
.carousel-gastro .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
}

/* Posicionarlos fuera del área de imágenes */
.carousel-gastro .carousel-control-prev {
    left: -10px;
}

.carousel-gastro .carousel-control-next {
    right: -10px;
}

/* Íconos más visibles */
.carousel-gastro .carousel-control-prev-icon,
.carousel-gastro .carousel-control-next-icon {
    filter: brightness(0.2);
}

.carousel-img {
    width: 320px;
    height: 213px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.carousel-img:hover {
    transform: scale(1.05);
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .carousel-img {
        width: 100%;
        max-width: 320px;
        height: auto;
        aspect-ratio: 320 / 213;
    }
}

.counter-box {
  min-width: 120px; /* evita que el flex se reajuste */
}
.counter {
  font-size: 1.5rem;
  font-weight: bold;
}
.counting-style {
  display: inline-block;
  min-width: 3ch;        /* reserva espacio para 3 dígitos */
  font-variant-numeric: tabular-nums; /* números de ancho fijo */
}

/* Swiper JS */
.swiper {
    width: 80%;
    height: 80%;
}
.mySwiper {
  --swiper-theme-color: #6cbd45;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: yellow;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}
.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.swiper-slide img:hover {
    transform: scale(1.05);
}
.swiper-pagination {
    position: relative !important;
    margin-top: 1.5rem;
}
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.6s ease;
}

.animate-text.visible {
    opacity: 1;
    transform: translateY(0);
}