/*
Theme Name: BelleBeau Migration Theme
Theme URI: https://example.com
Author: BelleBeau
Version: 0.2.0
Description: WordPress theme matching legacy Laravel BelleBeau frontend.
*/

body {
    background: #ffffff;
}

.wp-admin-bar #bb-nav {
    top: 32px;
}

@media (max-width: 782px) {
    .wp-admin-bar #bb-nav {
        top: 46px;
    }
}

#bb-logo a {
    display: block;
}

#bb-logo img {
    width: 142px;
    height: auto;
}

#bb-nav button {
    border: 0;
}

#nav-overlay.hidden {
    display: none;
}

#nav-overlay {
    position: fixed;
}

#nav-overlay.show {
    display: block;
}

.grid-item {
    overflow: hidden;
}

.grid-item img {
    transition: transform 200ms;
}

.grid-item img:hover {
    transform: scale(1.055);
}

.bb-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cf56b6;
    margin-bottom: 1rem;
}

.bb-offer-hero h1,
.bb-service-hero h1 {
    line-height: 1.05;
}

.bb-offer-count {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #fff4fb;
    border: 1px solid #f5c3ea;
    font-size: 0.85rem;
    font-weight: 500;
}

.bb-category-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(26, 23, 27, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bb-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 38px rgba(26, 23, 27, 0.14);
}

.bb-category-content h2 {
    line-height: 1.15;
}

.bb-category-media .image {
    position: relative;
    overflow: hidden;
}

.bb-category-media .image img {
    width: 100%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.bb-service-hero {
    padding-top: 1.6rem;
}

.bb-backlink {
    font-family: Poppins, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #6d2f61;
}

.bb-service-intro {
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.8;
}

.bb-service-image img {
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.bb-children-wrap {
    margin-top: 2.25rem;
    margin-bottom: 1.25rem;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.bb-children-head {
    margin-bottom: 1.25rem;
}

.bb-children-head h2 {
    font-family: Playfair Display, serif;
    font-size: 2rem;
    line-height: 1.1;
    color: #1a171b;
}

.bb-subcat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 1.1rem;
    align-items: start;
}

.bb-subcat-card {
    width: auto !important;
    margin: 0 !important;
    background: #ffffff;
    border: 1px solid #e7edf1;
    border-radius: 12px;
    border-top: 4px solid #bde8f8;
    padding: 1.25rem 1.1rem;
    box-shadow: 0 5px 14px rgba(19, 34, 48, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bb-subcat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(19, 34, 48, 0.11);
}

.bb-subcat-card h3 {
    margin-bottom: 0.7rem;
    line-height: 1.15;
}

.bb-subcat-card .p-text {
    line-height: 1.58;
}

.bb-subcat-card .p-text ul {
    margin-top: 0.5rem;
}

.bb-detail-grid {
    margin-top: 2rem;
    gap: 1rem 0;
}

.bb-detail-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #f0e6f0;
    box-shadow: 0 12px 28px rgba(26, 23, 27, 0.06);
}

.bb-price-row {
    border-bottom: 1px dashed rgba(41, 38, 42, 0.12);
    padding-bottom: 0.3rem;
    margin-bottom: 0.35rem;
}

.bb-process-row {
    padding: 0.45rem 0.4rem;
    border-radius: 8px;
}

.bb-process-row:nth-child(odd) {
    background: #faf7fb;
}

.bb-process-index {
    font-weight: 600;
    color: #a03e8d;
}

@media (max-width: 767px) {
    .bb-category-card {
        margin-bottom: 1.4rem;
    }

    .bb-service-image img {
        border-radius: 10px;
    }

    .bb-subcat-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .bb-children-head h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 1150px) {
    .bb-subcat-grid {
        grid-template-columns: 1fr;
    }
}

/* About page layout fixes */
#bb-about-first {
    align-items: center;
}

#bb-about-first > div:nth-child(2) {
    margin-top: 0 !important;
}

#bb-about-second {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    gap: 1.5rem;
    position: static !important;
    margin-top: 1.75rem !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    z-index: 1 !important;
    align-items: center;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}

#bb-about-second > div:first-child {
    margin-left: 0 !important;
    border-radius: 18px;
    overflow: hidden;
    padding: 2.5rem !important;
}

.bb-about-image-col {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
}

#bb-about-second img {
    width: 100%;
    max-width: 460px;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(26, 23, 27, 0.18);
}

@media (max-width: 1023px) {
    #bb-about-second {
        display: block;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 1rem !important;
    }

    #bb-about-second > div:first-child {
        border-radius: 0;
        padding: 2rem !important;
    }

    .bb-about-image-col {
        margin-top: 1.25rem !important;
    }
}
