/*
Theme Name: bl
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A custom theme from scratch.
Version: 1.0
Tags: custom-theme
Text Domain: bl
*/

/* put the footer at the bottom*/
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
}
.custom-logo {
    max-height: 50px;
    height: auto;
    width: auto;
}
.main-content {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

/* Ensure full height on all containers */

    .hero-section,
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item,
    .carousel-slide-container {
        height: 100vh;
        min-height: 110vh;
        overflow: hidden;
    }

    @media (max-width: 768px) {
    .hero-section,
    .hero-section .carousel,
    .hero-section .carousel-inner,
    .hero-section .carousel-item,
    .carousel-slide-container {
        height: auto;
        min-height: 30vh;
        
    }
    }

    .carousel-slide-container img {
        object-fit: cover;
        object-position: center;
        height: 100%;
        width: 100%;
    }

    .carousel-caption-overlay {
        max-width: 90%;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    }

    .hero-title {
        font-size: clamp(1.5rem, 5vw, 3rem);
        font-weight: bold;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }

    .carousel-caption-overlay .btn {
        font-size: 1rem;
       padding: 0.75rem 1.5rem;
    }


.features-section .card i {
    color: #0d6efd;
    }

.features-section .card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    }

.features-section img {
    max-height: 60px;
    object-fit: contain;
}

.features-section .card-title {
    font-weight: 600;
}

.features-section .card {
    transition: transform 0.2s ease;
}

.features-section .card:hover {
    transform: translateY(-5px);
}

iframe {
    width: 100%;
    height: 100vh;
    border: none;
}

.page-template-booking-page header,
.page-template-booking-page footer {
    display: none !important;
}

@media (max-width: 768px) {

    .minimal-header,
    .minimal-footer {
        display: none;
    }

    .booking-frame {
        height: 100vh;
    }
}

/* blog page*/
.blog-section .card-img-top {
    /*object-fit: cover;*/
    height: 200px;
}
.nav-pills .nav-link {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.nav-pills .nav-link.active {
    background-color: #0d6efd;
    color: #fff;
}

/* bag styling */
.badge {
    font-size: 0.75rem;
    text-transform: capitalize;
}

/* single post*/
.single-post-page h1 {
    font-size: 2rem;
}

.author-box {
    border-left: 4px solid #0d6efd;
}
.post-navigation a {
    max-width: 45%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* page php*/
.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #222;
}

.page-featured-image img {
    max-height: 450px;
    object-fit: cover;
}

.page-article {
    font-size: 1.05rem;
    line-height: 1.7;
}

.page-article h2, h3, h4 {
    margin-top: 2rem;
    font-weight: 600;
}

.page-content img {
    max-width: 100%;
    height: auto;
}
.contact-section i {
    color: #0d6efd;
}

.contact-section a {
    text-decoration: none;
}

.footer-social a {
    color: #fff;
    margin: 0 0.5rem;
}
.footer-social i {
    transition: transform 0.2s ease;
}
.footer-social i:hover {
    transform: scale(1.2);
}
.contact-form-wrapper form {
    max-width: 600px;
    margin: 0 auto;
}
.contact-section .btn-success {
    background-color: #25D366;
    border-color: #25D366;
}
.contact-section .btn-success:hover {
    background-color: #1ebe5d;
    border-color: #1ebe5d;
}

.bg-contact {
    background-color: rgb(174 223 243) !important;
}
.bg-news {
    background-color: rgb(49 143 181) !important;  
}

/* custom bl posts*/
.bl-posts-list,
.bl-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.bl-post {
    border: 1px solid #ddd;
    padding: 1rem;
    background: #fff;
}
.bl-blog-posts-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 30px;
}

.bl-blog-post {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.bl-blog-post:hover {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.bl-thumbnail img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.bl-title {
    margin: 15px 0 10px;
    font-size: 1.25em;
}

.bl-excerpt {
    font-size: 0.95em;
    color: #666;
}

/* funeral page*/
.bl-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.bl-category-list li a {
    background-color: #f0f0f0;
    padding: 8px 14px;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
}

.bl-category-list li a:hover {
    background-color: #e0e0e0;
    color: #000;
}

.bl-blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.bl-blog-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.bl-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.bl-title {
    font-size: 20px;
    margin: 15px 0 10px;
}

.post-categories a {
    font-size: 13px;
    background: #eee;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 5px;
    text-decoration: none;
    color: #666;
}

.post-categories a:hover {
    background: #ddd;
}

/*.dropdown-menu {} */
.dropdown-menu {
    background-color:#bf6200 !important ;
}

/* chat bot*/
.chatbot-button {
    padding: 12px 25px;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.chatbot-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
#chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: white;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    z-index: 10000;
    display: none;
}

#chatbot-container.active {
    display: block;
}
.grecaptcha-badge {
    visibility: hidden !important;
}

@media (max-width: 480px) {
    .wpcf7-form-control {
        font-size: 14px;
        /* Smaller text on mobile */
    }
}