/**
 * Sweets Website
 * =============================================================
 * File: branches.css
 * Description: Branches page styles
 * =============================================================
 */

.p-branches {
    background-color: #f8f1e7;
    color: #4a2b1e;
}

.p-branches section {
    background-image: none;
}



.c-branches-hero__container {
    padding: 0 1.5rem;
}

.c-branches-hero__frame {
    position: relative;
    background: url('../../images/banners/branches/branches.png') no-repeat center center;
    background-size: cover;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 0;
    margin-bottom: 2.5rem;
    min-height: 900px;
    border-radius: 20px;
    overflow: hidden;
}

.c-branches-hero__kicker {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    color: #4a342a;
    z-index: 5;
}

/* Removed inline media styles since using background image */
.c-branches-hero__media {
    display: none;
}

.c-branches-hero__stats {
    position: relative;
    bottom: 6.5rem;
    margin-top: 2rem;
}

.c-branch-stat {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.c-branch-stat:hover {
    transform: translateY(-5px);
}

.c-branch-stat__icon {
    width: 54px;
    height: 54px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* Specific icon background colors from screenshot */
.c-branch-stat--locations .c-branch-stat__icon {
    background-color: #fdf5d3;
    color: #b48c46;
}

.c-branch-stat--presence .c-branch-stat__icon {
    background-color: #ebd8bf;
    color: #8c5a3c;
}

.c-branch-stat--trusted .c-branch-stat__icon {
    background-color: #fef3c7;
    color: #d67a18;
}

.c-branch-stat__label {
    font-weight: 800;
    margin-bottom: 0.15rem;
    color: #7b1d1d;
    font-size: 1.1rem;
}

.c-branch-stat__value {
    margin-bottom: 0;
    color: #6a4c3e;
    font-size: 0.85rem;
    font-weight: 500;
}

.c-branches-intro {
    padding: 2.5rem 0 1.5rem;
}

.c-branches-intro__title {
    font-family: var(--ff-heading, 'Playfair Display', serif);
    color: #7b2b1f;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 1rem;
    font-weight: 800;
max-width:697px
}

.c-branches-intro__text {
    color: #5c3d2b;
    font-size: 1.55rem;
    line-height: 1.7;
   max-width: 521px;
   
}



.c-branches-intro__card img {
    border-radius: 12px;
    margin-bottom: 0.9rem;
}

.c-branches-intro__card-title {
    display: block;
    font-weight: 700;
    color: #7b2b1f;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.c-branches-list {
    padding: 1.5rem 0 2.5rem;
}

.c-branches-list__title {
    font-family: var(--ff-heading, 'Playfair Display', serif);
    color: #7b2b1f;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.c-branch-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.3rem 1.3rem 1.1rem;
    border: 1px solid rgba(214, 122, 24, 0.2);
    height: 100%;
    box-shadow: 0 12px 20px rgba(66, 39, 22, 0.08);
}

.c-branch-card h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #7b2b1f;
    margin-bottom: 0.75rem;
}

.c-branch-card p {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: #5c3d2b;
    margin-bottom: 0.45rem;
}

.c-branch-card i {
    color: #b24a2a;
    margin-top: 2px;
}

.c-branch-card__btn {
    display: inline-block;
    margin-top: 0.8rem;
    padding: 0.5rem 1.2rem;
    background: #8a2c22;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.c-branch-card__btn:hover {
    background: #74231a;
    color: #fff;
}

.c-branches-list--alt {
    padding-top: 0.5rem;
}

.c-branches-factory {
    padding: 2.2rem 0 3rem;
}

.c-branches-factory__title {
    font-family: var(--ff-heading, 'Playfair Display', serif);
    color: #7b2b1f;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.c-branches-factory__name {
    font-weight: 700;
    color: #b24a2a;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.c-branches-factory__address {
    color: #5c3d2b;
    font-size: 0.95rem;
    max-width: 760px;
}





@media (max-width: 1024px) {
    .c-branches-hero__frame {
        padding: 1rem;
        min-height: 500px !important;
        border-radius: 0px;
    }

    .c-branches-hero__stats {
        margin-top: 1rem;
        
       
    }


    .c-branch-card {
        padding: 1.1rem;
    }
}

@media (max-width: 768px) {
    .c-branches-hero__frame {
        padding: 1rem;
        min-height: 431px !important;
    }

    .c-branches-hero__stats,
    .c-branches-hero__kicker {
        
    }
    
    .c-branches-hero {
        padding-bottom: 0 !important;

    }
    .c-branch-stat{
       flex-direction: column;
       align-items: flex-start;
       margin: 0px 0px;
    }
}

@media (max-width: 576px) {
    .c-branches-hero__frame {
        background-image: url('../../images/banners/phone-screen-banner/branches-moblie screen.png') !important;
        background-size: cover !important;
        background-position: center !important;
        min-height: 152px !important;
        margin-bottom: 0 !important;
      
    }

    .c-branches-hero__stats,
    .c-branches-hero__kicker {
        display: none !important;
    }
    
    .c-branches-hero {
        padding-bottom: 0 !important;
    }
}

@media (max-width: 375px) {
    .c-branches-hero__frame {
        min-height: 132px !important;
    }
}

@media (max-width: 320px) {
    .c-branches-hero__frame {
        min-height: 120px !important;
    }
}
