/* Custom Styling for Churros Your Face Off */

.bg-success {
    background-color: #59ab6e !important;
}

.btn-success {
    background-color: #59ab6e !important;
    border-color: #59ab6e !important;
}

.btn-success:hover {
    background-color: #418852 !important;
    border-color: #418852 !important;
}

.text-success {
    color: #59ab6e !important;
}

.logo {
    font-weight: 700 !important;
    letter-spacing: -0.5px;
}

#template-mo-zay-hero-carousel {
    background-color: #efefef !important;
    position: relative;
}

.carousel-inner img {
    max-height: 440px;
    object-fit: cover;
    width: 100%;
}

/* Fix carousel indicators positioning so they never overlap buttons */
#template-mo-zay-hero-carousel .carousel-indicators {
    position: absolute;
    right: 0;
    bottom: 12px !important;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin-right: 15%;
    margin-left: 15%;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    list-style: none;
}

#template-mo-zay-hero-carousel .carousel-indicators li {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 30px;
    height: 4px;
    background-color: #59ab6e !important;
    opacity: 0.5;
}

#template-mo-zay-hero-carousel .carousel-indicators li.active {
    opacity: 1;
}

/* Mobile Responsiveness & Layout Fixes */
@media (max-width: 768px) {
    .h1 {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        margin-top: 0.75rem !important;
    }
    .h2 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.5rem !important;
    }
    .carousel-inner img {
        max-height: 220px;
        border-radius: 8px;
    }
    .carousel-inner .row.p-5 {
        padding: 1rem 1.25rem 3.5rem 1.25rem !important;
    }
    p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .btn-lg {
        padding: 0.4rem 1.2rem !important;
        font-size: 0.9rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    /* Position carousel arrows ONLY over the top image on mobile, so they NEVER touch text */
    #template-mo-zay-hero-carousel .carousel-control-prev,
    #template-mo-zay-hero-carousel .carousel-control-next {
        top: 90px !important;
        bottom: auto !important;
        height: 60px !important;
        width: 40px !important;
    }
    #template-mo-zay-hero-carousel .carousel-control-prev i,
    #template-mo-zay-hero-carousel .carousel-control-next i {
        font-size: 1.8em !important;
        background: rgba(255, 255, 255, 0.85);
        border-radius: 50%;
        padding: 6px 10px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    }
}
