/* Cheetah Adventures Gutenberg Blocks - Frontend Styles */

/* Block Container Styles */
.cheetah-hero-slider-block,
.cheetah-intro-section-block,
.cheetah-popular-tours-block,
.cheetah-popular-destinations-block,
.cheetah-why-travel-block,
.cheetah-tours-carousel-block,
.cheetah-gallery-lightbox-block,
.cheetah-two-column-sticky-block,
.cheetah-explore-destinations-block {
    margin: 0;
    padding: 0;
}

/* Block Placeholder Styles */
.block-placeholder {
    background: #f8fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #718096;
    font-weight: 500;
    margin: 1rem 0;
}

/* Ensure blocks inherit theme styles */
.cheetah-hero-slider-block *,
.cheetah-intro-section-block *,
.cheetah-popular-tours-block *,
.cheetah-popular-destinations-block *,
.cheetah-why-travel-block * {
    box-sizing: border-box;
}

/* Block-specific overrides if needed */
.cheetah-hero-slider-block .hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cheetah-popular-tours-block .tours-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.cheetah-popular-tours-block .tours-carousel-item {
    flex: 0 0 auto;
}

/* Responsive adjustments for blocks */
@media (max-width: 768px) {
    .cheetah-popular-tours-block .tours-carousel-item {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .cheetah-popular-tours-block .tours-carousel-item {
        width: 50%;
    }
}

@media (min-width: 1025px) {
    .cheetah-popular-tours-block .tours-carousel-item {
        width: 33.333333%;
    }
}

/* Block spacing */
.wp-block-cheetah-adventures-hero-slider,
.wp-block-cheetah-adventures-intro-section,
.wp-block-cheetah-adventures-popular-tours,
.wp-block-cheetah-adventures-popular-destinations,
.wp-block-cheetah-adventures-why-travel-with-us {
    margin-bottom: 2rem;
}

/* Editor-specific styles */
.block-editor-block-list__layout .wp-block-cheetah-adventures-hero-slider,
.block-editor-block-list__layout .wp-block-cheetah-adventures-intro-section,
.block-editor-block-list__layout .wp-block-cheetah-adventures-popular-tours,
.block-editor-block-list__layout .wp-block-cheetah-adventures-popular-destinations,
.block-editor-block-list__layout .wp-block-cheetah-adventures-why-travel-with-us {
    margin-bottom: 1.5rem;
}
