/* ============ Barrista Dance Section ============ */
.barrista-section {
    width: 100%;
    padding: 80px 0;
    background-color: #fff;
}

.line-div-box {
    display: flex;
    align-content: center;
    align-items: center;
    gap: 10px;
}



.barrista-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.barrista-left,
.barrista-right {
    width: 50%;
}

/* Left side - Text Content */
.barrista-left {
    display: flex;
    flex-direction: column;
}

.barrista-divider-line {
    width: 180px;
    height: 1px;
    border-top: 1px solid #000000;
    margin-bottom: 20px;
}

.barrista-subtitle {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16.07px;
    line-height: 100%;
    text-transform: uppercase;
    color: #00000080;
    margin-bottom: 20px;
}

.barrista-title {
    font-family: 'InterFace Thin', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 48px;
    line-height: 87px;
    letter-spacing: 1px;
    vertical-align: middle;
    color: #000000;
    margin-bottom: 10px;
}

.barrista-hashtag {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    color: #FF6B35;
    margin-bottom: 30px;
}

.barrista-text {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 13.38px;
    line-height: 20.8px;
    letter-spacing: 0.6px;
    color: #332624bf;
    margin-bottom: 40px;
}

.barrista-download-btn {
    font-family: 'InterFace Trial', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17.33px;
    line-height: 21.47px;
    letter-spacing: 2.67px;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: #000000;
    border: 1.33px solid #000000;
    padding: 12px 30px;
    display: inline-block;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
}

.barrista-download-btn:hover {
    background: #000000;
    color: #ffffff;
}

/* Right side - Image */
.barrista-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.barrista-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ============ Perfect Brew Section ============ */
.perfect-brew-section {
    width: 100%;
    padding: 80px 0;
    background-color: #fff;
}

.perfect-brew-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.perfect-brew-title {
    font-family: 'InterFace Thin', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 72px;
    line-height: 87px;
    letter-spacing: 1px;
    text-align: center;
    vertical-align: middle;
    color: #212F2A;
    margin-bottom: 20px;
}

.perfect-brew-subtitle {
    font-family: 'InterFace', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    line-height: 27.5px;
    letter-spacing: -0.5px;
    text-align: center;
    vertical-align: middle;
    color: #4A4E50;
    margin-bottom: 60px;
}

.perfect-brew-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.perfect-brew-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.perfect-brew-card-img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.perfect-brew-card-title {
    font-family: 'InterFace Trial', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.17em;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: #2F2F2F;
    margin-bottom: 15px;
}

.perfect-brew-card-desc {
    font-family: 'InterFace Trial', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15.38px;
    line-height: 25.8px;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;
    text-decoration-style: solid;
    color: #2F2F2F;
}

.perfect-brew-card-desc u {
    text-decoration: underline;
}

/* Card structure */
.brew-card {
    display: flex;
    justify-content: space-between;
    background: #fff7f0;
    border: 1px solid #3d4421;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    height: 450px;
    position: sticky;
    top: 100px;
    margin: 0 0 317px 0;
}

.brew-card-left,
.brew-card-right {
    width: 50%;
    padding: 60px;
    box-sizing: border-box;
    position: relative;

    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: center;
}

/* Left content */
.brew-card-title {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    line-height: 64px;
    letter-spacing: -0.5px;
    color: #584a35;
    text-align: start;
    margin-bottom: 20px;
}

.brew-card-text {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15.38px;
    line-height: 25.8px;
    color: #2c2216;
    margin-bottom: 40px;
    text-align: justify;
}

.brew-card-btn {
    display: inline-block;
    background: #e5e5da;
    border-radius: 3px;
    padding: 12px 30px;
    font-family: Outfit;
    font-weight: 500;
    font-size: 13.13px;
    line-height: 16.1px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1e3932;
    text-decoration: none;
}

/* Right side */
.brew-card-right {
    background-image: url("../../images/front-office/barrista-dance/section-two-bg.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.brew-card-product {
    width: 260px;
    z-index: 2;
}

/* Parallax stacking effect */
.brew-card:nth-child(1) {
    z-index: 1;
}

.brew-card:nth-child(2) {
    z-index: 2;
}

.brew-card:nth-child(3) {
    z-index: 3;
}

.brew-card+.brew-card {
    margin-top: -200px;
    /* overlap for stacking effect */
}

/* === BREWING GUIDES SECTION === */
.brewing-guides-section {
    width: 100%;
    padding: 100px 0;
    background-color: #fff;
    position: relative;
}

.brewing-guides-section-bg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 70%;
    height: 100%;
    background: #F8F9F8;
    z-index: 0;
}

.brewing-guides-header {
    text-align: center;
    margin-bottom: 60px;
}

.brewing-guides-title {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 63px;
    line-height: 100%;
    letter-spacing: -0.5px;
    color: #000000;
}

.brewing-guides-subtitle {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15.38px;
    line-height: 28.8px;
    letter-spacing: 0.6px;
    color: #332624bf;
}

.brewing-guides-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1306px;
    position: relative;
    z-index: 1;
}


.brewing-right {
    height: 500px;
    margin: auto;
}

.brewing-left,
.brewing-right {
    width: 50%;
}

/* Left Column */
.brewing-method {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.brewing-number {
    width: 30px;
    height: 30px;
}

.brewing-method-label {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16.07px;
    line-height: 100%;
    color: #4A4E50;

    text-transform: uppercase;
}

.brewing-method-title {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 34px;
    line-height: 100%;
    letter-spacing: -0.5px;
    color: #000000;
    margin-bottom: 30px;
}

.brewing-steps-label {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15.38px;
    line-height: 28.8px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #332624bf;
}

.brewing-steps-list {
    list-style: decimal;
    margin-left: 20px;
    color: #332624bf;
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15.38px;
    line-height: 100%;
    letter-spacing: 0.6px;
}

.brewing-divider {
    border-bottom: 4px solid #584a35;
    width: 30%;
    margin: 30px 0;
}

.brewing-recipe-label {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15.25px;
    line-height: 28.8px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #332624bf;
    margin-bottom: 10px;
}

.brewing-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #33262433;
    padding: 8px 0;
}

.brewing-row-label {
    font-family: "InterFace XBold";
    font-weight: 400;
    font-size: 13.34px;
    line-height: 25.2px;
    letter-spacing: 0.6px;
    color: #332624bf;
}

.brewing-row-value {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-size: 13.45px;
    line-height: 25.2px;
    letter-spacing: 0.6px;
    color: #332624bf;
}

/* Right Column */
.brewing-right-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* === FINAL BANNER SECTION === */
.brewing-final-section {
    position: relative;
    width: 100%;
    height: 480px;
    background: url("/assets/images/front-office/barrista-dance/last-bg.png") center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

/* Darken the background using a filter overlay */
.brewing-final-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    /* darkness level */
    backdrop-filter: brightness(0.8) contrast(1.1);
    z-index: 1;
}

.brewing-final-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.brewing-final-title {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 70px;
    line-height: 94px;
    letter-spacing: -0.5px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0px 2px 5px #00000040;
}

.brewing-final-subtitle {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
    line-height: 25.5px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 35px;
    text-shadow: 0px 1px 4px #00000040;
}

.brewing-final-btn {
    font-family: "InterFace", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 16.1px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #211709;
    background: #ffffff;
    border: 1px solid #211709;
    padding: 16px 40px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover and Click Effects */
.brewing-final-btn:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.brewing-final-btn:active {
    transform: scale(0.97);
}

/* Responsive */
@media (max-width: 992px) {
    .brew-card {
        flex-direction: column;
        height: auto;
    }

    .brew-card-left,
    .brew-card-right {
        width: 100%;
        padding: 30px;
    }

    .brew-card-product {
        width: 200px;
    }

    .brew-title {
        font-size: 30px;
        line-height: 35px;
    }

    .brew-header {
        margin-bottom: 40px;
    }

    .brew-card-title {
        font-size: 32px;
        line-height: 36px;
    }

    .brew-card {
        top: 10px;
    }

    .brew-card {
        position: unset;
        margin: 0 0 123px 0;
    }
}

/* ============ Responsive ============ */
@media (max-width: 992px) {
    .barrista-container {
        flex-direction: column;
        gap: 40px;
    }

    .barrista-left,
    .barrista-right {
        width: 100%;
    }

    .barrista-title {
        font-size: 50px;
        line-height: 60px;
    }

    .perfect-brew-title {
        font-size: 40px;
        line-height: 50px;
    }

    .perfect-brew-cards {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .perfect-brew-section {
        padding: 60px 0;
    }

    .brewing-left,
    .brewing-right {
        width: 100%;
    }

    .brewing-guides-content {
        flex-direction: column-reverse;
    }

    .brewing-final-btn {
        line-height: 16.1px;
        padding: 11px 31px;
    }

    .brewing-guides-title {
        font-size: 42px;
    }

    .brewing-final-section {
        height: 350px;
    }
}

.brewing-final-title {
    font-size: 29px;
    line-height: 31px;
}

.brewing-steps-list li {
    list-style: auto !important;
    margin: 0 0 10px 0;
}