/* ES Rebond Grotesque Font Family */

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Hairline-BF661890413e3d1.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-HairlineItalic-BF66189040b3182.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Thin-BF6618904123ce3.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-ThinItalic-BF66189041177e8.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Extralight-BF6618904107ccc.otf') format('opentype');
    font-weight: 250;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-ExtralightItalic-BF66189041219b7.otf') format('opentype');
    font-weight: 250;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Light-BF66189040e6001.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-LightItalic-BF6618904058974.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Regular-BF66189040b697b.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Italic-BF66189040a4d2d.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Medium-BF6618904088566.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-MediumItalic-BF6618904082cb3.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Semibold-BF66189040640ea.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-SemiboldItalic-BF6618904043e67.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Bold-BF66189040400df.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-BoldItalic-BF6618904029e34.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-Extrabold-BF661890400e032.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ES Rebond Grotesque';
    src: url('../fonts/rebond-grotesque/ESRebondGrotesqueTRIAL-ExtraboldItalic-BF6618903f81f73.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Gazpacho Font Family */

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Italic Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Italic Light.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Italic Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Italic Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Italic Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Italic Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gazpacho';
    src: url('../fonts/gazpacho/Gazpacho Italic Black.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Header Styles - BEM Methodology */

/* Header Block */
.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Main Navigation Section */
.header__main {
    background-color: #FFF0EE;
    padding: 20px 0;
    position: relative;
}

/* Logo */
.header__logo-link {
    font-size: 32px;
    font-weight: bold;
    color: #d32f2f;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

.header__logo-link img {
    height: 43px;
    width: auto;
}

.header__logo-link:hover {
    color: #b71c1c;
    text-decoration: none;
}

/* Navigation */
.header__nav {
    max-height: none;
    overflow: visible;
    opacity: 1;
}

.header__nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.header__nav-item {
    color: var(--Ribena-red, #E3061B);
    font-family: "ES Rebond Grotesque";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 0;
}

.header__nav-link {
    color: #E3061B;
    text-decoration: none;
    font-family: "ES Rebond Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0px;
    transition: color 0.3s ease;
    will-change: color;
    position: relative;
}

.header__nav-link:hover {
    color: #E3061B;
    text-decoration: none;
}

.header__nav-link--active {
    font-weight: 900;
    color: #E3061B;
}

@media (min-width: 913px) {
    .header__nav-link::after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -2px;
        width: 0;
        height: 2px;
        background-color: #E3061B;
        transition: width 0.3s ease;
        will-change: width;
    }

    .header__nav-link:hover::after {
        width: 100%;
    }

    .header__nav-link--active::after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -2px;
        width: 100%;
        height: 2px;
        background-color: #E3061B;
    }
}

/* Social Icons */
.header__social {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    align-items: center;
}

.header__social img {
    width: 25px;
    height: 25px;
}


/* Footer Styles - BEM Methodology */

/* Footer Block */
.footer {
    width: 100%;
}

/* Main Footer Content */
.footer__main {
    background-color: #FFF0EE;
    padding: 40px 0;
}

/* Navigation */
.footer__nav-list {
    list-style: none;
    display: flex;
    gap: 38px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer__nav-item {
    margin: 0;
}

.footer__nav-link {
    color: #E3061B;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    font-family: "ES Rebond Grotesque", sans-serif;
    transition: color 0.3s ease;
    will-change: color;
}

.footer__nav-link:hover {
    color: #b71c1c;
    text-decoration: none;
}

/* Separator Line */
.footer__separator {
    height: 1px;
    background-color: #e8c4c4;
    margin: 30px 0;
    width: 100%;
}

/* Logo */
.footer__logo {
    text-align: center;
    margin: 30px 0;
}

.footer__logo-text {
    font-size: 64px;
    font-weight: bold;
    color: #d32f2f;
    font-family: "ES Rebond Grotesque", sans-serif;
    line-height: 1;
    display: block;
}

.footer__logo-text img {
    max-width: 192px;
    height: auto;
}

/* Copyright */
.footer__copyright {
    text-align: center;
    margin-top: 30px;
}

.footer__copyright-text {
    color: #d32f2f;
    font-size: 14px;
    font-family: "ES Rebond Grotesque", sans-serif;
    margin: 0;
    line-height: 1.5;
}

/* Hamburger Menu Icon 4 Styles */
#nav-icon4 {
    width: 33px;
    height: 25px;
    position: absolute;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: transform .5s ease-in-out;
    -moz-transition: transform .5s ease-in-out;
    -o-transition: transform .5s ease-in-out;
    transition: transform .5s ease-in-out;
    will-change: transform;
    cursor: pointer;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    /* Hidden on desktop by default */
}

#nav-icon4 span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #E3061B;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    -moz-transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    -o-transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    transition: transform .25s ease-in-out, opacity .25s ease-in-out;
    will-change: transform, opacity;
}

/* Icon 4 */
#nav-icon4 span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
    top: 9px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
    top: 18px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
    transform: translate(8px, 0px) rotate(45deg);
}

#nav-icon4.open span:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
    transform: translate(7px, 6px) rotate(-45deg);
}

/* Responsive Styles */
@media (max-width: 912px) {

    /* Show hamburger icon on mobile */
    #nav-icon4 {
        display: block;
    }

    .header__logo {
        text-align: center;
        padding: 10px 0px;
        position: relative;
    }

    /* Overlap menu styles for mobile */
    .header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        z-index: 999;
        background-color: #9B26B6;
    }

    .header__nav.menu-open {
        max-height: 600px;
        opacity: 1;
    }

    .header__main {
        padding: 0;
    }

    .header__nav-list {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 20px 0 20px;
        text-align: center;
    }

    .header__nav-item {
        width: 100%;
    }

    .header__nav-link {
        display: block;
        padding: 9px 0;
        width: 100%;
    }

    .header__social {
        justify-content: center;
        margin-top: 20px;
    }

    .footer__nav-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        text-align: center;
    }

    .footer__logo-text {
        font-size: 48px;
    }

    .footer__copyright-text {
        font-size: 12px;
        padding: 0 15px;
    }


    .header__main {
        position: relative;
    }

    .header__nav-list {
        background-color: #9B26B6;
    }

    .header__nav-link {
        color: #FFF0EE;
        text-align: center;
        font-family: "Gazpacho", serif;
        font-size: 25px;
    }

    .header__nav-link:hover {
        color: #fff
    }


    #nav-icon4 {
        z-index: 2;
    }

    .header__nav.menu-open {
        z-index: 1000;
    }

}

.aos-fix[data-aos] {
    transform: none !important;
}

.fade-only {
    opacity: 0;
}

.fade-only.aos-animate {
    opacity: 1;
    transition: opacity 1s ease;
    will-change: opacity;
}

.fade-only[data-aos] {
    transform: none !important;
}

.zoom-out-custom {
    opacity: 0;
    transform: scale(1.5) !important;
}

.zoom-out-custom.aos-animate {
    opacity: 1;
    transform: scale(1) !important;
    transition-property: opacity, transform !important;
    transition-duration: 1.2s !important;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: opacity, transform;
}

.slide-down-custom {
    opacity: 0;
    transform: translateY(-100%) !important;
}

.slide-down-custom.aos-animate {
    opacity: 1;
    transform: translateY(0) !important;
    transition-property: opacity, transform !important;
    transition-duration: 1.2s !important;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: opacity, transform;
}

.slide-down-preserve-x {
    opacity: 0;
    transform: translate(var(--droplet-x, 0), -100%) scale(0.5) !important;
}

.slide-down-preserve-x.aos-animate {
    opacity: 1;
    transform: translate(var(--droplet-x, 0), 0) scale(1) !important;
    transition-property: opacity, transform !important;
    transition-duration: 1.2s !important;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: opacity, transform;
}

.slide-right-custom {
    opacity: 0;
    transform: translateX(100px) scale(var(--bottle-scale, 1)) !important;
}

.slide-right-custom.aos-animate {
    opacity: 1;
    transform: translateX(0) scale(var(--bottle-scale, 1)) !important;
    transition-property: opacity, transform !important;
    transition-duration: 1s !important;
    will-change: opacity, transform;
}


.slide-only-right-custom {
    opacity: 1 !important;
    transform: translateX(100vw) scale(var(--bottle-scale, 1)) !important;
}

.slide-only-right-custom.aos-animate {
    opacity: 1 !important;
    transform: translateX(0) scale(var(--bottle-scale, 1)) !important;
    transition-property: transform !important;
    transition-duration: 1s !important;
    will-change: transform;
}

.fade-scale-custom {
    opacity: 0;
    transform: scale(var(--pack-scale, 1)) !important;
}

.fade-scale-custom.aos-animate {
    opacity: 1;
    transform: scale(var(--pack-scale, 1)) !important;
    transition-property: opacity !important;
    transition-duration: 1s !important;
    will-change: opacity;
}

.zoom-down-custom {
    opacity: 0;
    transform: translateY(-400px) scale(0.5) !important;
}

.zoom-down-custom.aos-animate {
    opacity: 1;
    transform: translateY(0) scale(1) !important;
    transition-property: opacity, transform !important;
    transition-duration: 1.2s !important;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1) !important;
    will-change: opacity, transform;
}

.duration-500 {
    transition-duration: 0.5s !important;
}

.slide-up-custom {
    opacity: 0;
    transform: translateY(100%) scale(var(--bottle-scale, 1)) !important;
}

.slide-up-custom.aos-animate {
    opacity: 1;
    transform: translateY(0) scale(var(--bottle-scale, 1)) !important;
    transition-property: opacity, transform !important;
    transition-duration: 1.2s !important;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: opacity, transform;
}

.droplet-intro {
    opacity: 0;
    transform: translateY(-200px) scale(0.5) !important;
}

.droplet-intro.aos-animate {
    opacity: 1;
    transform: translateY(0) scale(1) !important;
    transition-property: opacity, transform !important;
    transition-duration: 1.5s !important;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    will-change: opacity, transform;
}