/* Responsive adjustments for offerings scroll */
@media (max-width: 1199px) {
    .offering-box {
        flex: 0 0 calc((100% - (2.5 * 20px)) / 3.5);
    }
}

@media (max-width: 767px) {
    .offering-box {
        flex: 0 0 calc((100% - (0.5 * 20px)) / 1.5);
        min-width: 220px;
    }

    .offerings-scroll-container {
        gap: 15px;
    }

    /* Responsive adjustments */
    body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
    }

    .custom-container {
        width: 100% !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
        overflow-x: hidden;
    }

    .sticky-sidebar {
        overflow-x: hidden;
    }

    main.col-md-9,
    aside.col-md-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
    }

    /* Gallery mobile adjustments */
    .gallery-item img {
        height: 300px;
    }

    .gallery-caption h5 {
        font-size: 1.2rem;
    }

    .gallery-caption p {
        font-size: 0.9rem;
    }

    #photoGalleryCarousel .carousel-control-prev,
    #photoGalleryCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #photoGalleryCarousel .carousel-control-prev {
        left: 10px;
    }

    #photoGalleryCarousel .carousel-control-next {
        right: 10px;
    }

    /* Responsive adjustments for floating buttons */
    .fixed-action-buttons {
        right: 10px;
        top: auto;
        bottom: 80px;
        transform: none;
    }

    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Pulse animation for attention */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(255, 255, 255, 0.1);
    }
}

/* Hide on very small screens if needed */
@media (max-width: 480px) {
    .fixed-action-buttons {
        gap: 10px;
    }

    .fab-button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}
