/* Our Brands Section Styles */
#ourbrands {
    padding: 0;
}

.brand-frame {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    padding: 60px 0;
}

.brand-frame .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.brand-content {
    position: relative;
    z-index: 2;
    color: white;
    width: 100%;
}

.brand-content h1,
.brand-content h3 {
    color: white;
}

.brand-devider {
    height: 4px;
    width: 120px;
    background-color: #b5a46d;
    margin: 1.5rem 0;
}

.brand-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Title Styles */
.our-brands-title {
    font-size: clamp(2.5rem, 6vw, 65px);
    font-weight: 700;
    margin-bottom: 1rem;
}

.steakquette-title {
    font-size: clamp(2.5rem, 6vw, 65px);
    font-weight: 700;
    width: 100%;
    margin-bottom: 1rem;
}

/* Our Brands Animations */
.animfadeInDown {
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s ease;
}

.animbounceInLeft {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.animbounceInRight {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s ease;
}

.animfadeInRight {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animfadeInUpBig {
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.8s ease;
}

.animate-in .animfadeInDown,
.animate-in .animbounceInLeft,
.animate-in .animbounceInRight,
.animate-in .animfadeInRight,
.animate-in .animfadeInUpBig {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== BRAND FRAME 1 (BINGO PIZZA) ===== */

.brand-frame:first-child .brand-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.brand-frame:first-child .brand-content h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* Text line styles for desktop */
.brand-frame:first-child .brand-content .text-line {
    display: block;
    white-space: nowrap;
    line-height: 1.2;
}

.brand-frame:first-child .brand-content h1 .text-line:not(:last-child),
.brand-frame:first-child .brand-content h3 .text-line:not(:last-child) {
    margin-bottom: 0.1em;
}

/* Mobile - Brand Frame 1 - FIXED */
@media (max-width: 768px) {
    .brand-frame:first-child .brand-content .text-line {
        display: none;
    }

    .brand-frame:first-child .brand-content h1::before {
        content: "A spark of delicious \A authentic Italian food.";
        display: block;
        font-size: clamp(1.3rem, 4.5vw, 1.6rem);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.3;
        margin-bottom: 0.3rem;
        white-space: normal;
        word-wrap: break-word;
    }

    /* .brand-frame:first-child .brand-content h1::after {
        content: "that's Bingo!";
        display: block;
        font-size: clamp(1.3rem, 4.5vw, 1.6rem);
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.3;
        margin-bottom: 0.5rem;
        white-space: normal;
    } */

    .brand-frame:first-child .brand-content h3::before {
        content: "When the flavors hit just right, that’s Bingo!";
        display: block;
        font-weight: 300;
        letter-spacing: 0.5px;
        line-height: 1.4;
        margin-top: 0.5rem;
        white-space: normal;
        word-wrap: break-word;
    }

    .brand-frame:first-child .brand-image {
        max-width: min(280px, 60vw);
        margin: 0 auto 1.5rem;
    }

    .brand-frame:first-child .row.align-items-center {
        flex-direction: column;
    }

    .brand-frame:first-child .brand-content.text-left {
        text-align: center;
    }

    /* Additional mobile optimization */
    .brand-frame:first-child .brand-content h1,
    .brand-frame:first-child .brand-content h3 {
        padding: 0;
    }
}

/* ===== BRAND FRAME 2 (STEAKQUETTE) - FIXED ===== */

.brand-frame:nth-child(2) .brand-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    text-align: center;
}

.brand-frame:nth-child(2) .brand-content h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    text-align: center;
}

/* ===== STEAKQUETTE IMAGE - FORCE SMALL AND CENTERED ===== */
.steakquette-image,
.brand-frame:nth-child(2) .brand-image.animfadeInUpBig,
.brand-frame:nth-child(2) img.brand-image,
.brand-frame:first-child .brand-image,
.brand-frame:nth-child(2) img[src*="Steakquette_banner_pic"] {
    max-width: 400px !important;
    width: 400px !important;
    height: auto !important;
    margin: 0 auto 1rem !important;
    display: block !important;
}

/* Responsive sizing for Steakquette image */
@media (max-width: 992px) {
    .steakquette-image,
    .brand-frame:nth-child(2) .brand-image.animfadeInUpBig,
    .brand-frame:nth-child(2) img.brand-image,
    .brand-frame:nth-child(2) img[src*="Steakquette_banner_pic"] {
        max-width: 350px !important;
        width: 350px !important;
    }
}

@media (max-width: 768px) {
    .steakquette-image,
    .brand-frame:nth-child(2) .brand-image.animfadeInUpBig,
    .brand-frame:nth-child(2) img.brand-image,
    .brand-frame:nth-child(2) img[src*="Steakquette_banner_pic"] {
        max-width: 300px !important;
        width: 300px !important;
        margin-bottom: 0.8rem !important;
    }
}

@media (max-width: 576px) {
    .steakquette-image,
    .brand-frame:nth-child(2) .brand-image.animfadeInUpBig,
    .brand-frame:nth-child(2) img.brand-image,
    .brand-frame:nth-child(2) img[src*="Steakquette_banner_pic"] {
        max-width: 250px !important;
        width: 250px !important;
    }
}

@media (max-width: 400px) {
    .steakquette-image,
    .brand-frame:nth-child(2) .brand-image.animfadeInUpBig,
    .brand-frame:nth-child(2) img.brand-image,
    .brand-frame:first-child .brand-image,
    .brand-frame:nth-child(2) img[src*="Steakquette_banner_pic"] {
        max-width: 220px !important;
        width: 220px !important;
    }
}

/* Ensure centering for Brand Frame 2 */
.brand-frame:nth-child(2) .container .row.justify-content-center {
    justify-content: center !important;
}

.brand-frame:nth-child(2) .col-12.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== GENERAL RESPONSIVE STYLES ===== */

/* Tablet */
@media (max-width: 992px) {
    .brand-frame {
        padding: 50px 0;
    }

    .brand-frame:first-child .brand-image {
        max-width: min(320px, 50vw);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .brand-frame {
        padding: 40px 20px;
        background-attachment: scroll;
    }

    .brand-frame:first-child .brand-content h1,
    .brand-frame:nth-child(2) .brand-content h1 {
        white-space: normal;
        margin-bottom: 0.3rem;
    }

    .brand-frame:first-child .brand-content h3,
    .brand-frame:nth-child(2) .brand-content h3 {
        white-space: normal;
        margin-bottom: 1rem;
    }

    .brand-frame:first-child .brand-image {
        max-width: min(250px, 55vw);
        margin-bottom: 1rem;
    }

    .brand-devider {
        margin: 1rem 0;
        width: 100px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .brand-frame {
        padding: 30px 15px;
        min-height: 90vh;
    }

    .brand-frame:first-child .brand-image {
        max-width: min(220px, 50vw);
    }

    .brand-devider {
        width: 80px;
        margin: 0.8rem 0; 
    }
}

/* Mobile brand images: match pizza and steak sizes */
@media (max-width: 991px) {
    #ourbrands .brand-frame:first-child .pizza-image,
    #ourbrands .brand-frame:nth-child(2) .steakquette-image {
        max-width: 340px !important;
        width: 340px !important;
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 576px) {
    #ourbrands .brand-frame:first-child .pizza-image,
    #ourbrands .brand-frame:nth-child(2) .steakquette-image {
        max-width: 300px !important;
        width: 300px !important;
    }
}

@media (max-width: 400px) {
    #ourbrands .brand-frame:first-child .pizza-image,
    #ourbrands .brand-frame:nth-child(2) .steakquette-image {
        max-width: 270px !important;
        width: 270px !important;
    }
}

/* General mobile styles */
@media (max-width: 768px) {
    .brand-logo-container {
        position: absolute;
        top: 20px;
        left: 0;
        right: 0;
        text-align: center;
        padding: 0 15px;
    }

    .more-about-container {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        text-align: center;
        padding: 0 15px;
    }

    .brand-frame br {
        display: none;
    }
}

/* Mobile: shrink top brand logo */
@media (max-width: 991px) {
    #ourbrands .pizza-logo-image {
        max-width: 265px !important;
        width: 265px !important;
    }
}

/* Brand Frame 1 Desktop Layout */
@media (min-width: 769px) {
    .brand-frame:first-child .brand-content.text-left {
        padding-left: 2rem;
    }

    .brand-frame:first-child .brand-image {
        max-width: min(450px, 40vw);
    }
}

.fontWeight {
    font-weight: 400 !important;
    color: white;
}
