/**
 * SlotsJuice Hero Header 1 - Frontend Styles
 * 
 * @package SlotsJuiceHead1
 * @version 1.0.8
 */

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
    --slotsjuicehead1-orange: #FF6B35;
    --slotsjuicehead1-orange-dark: #E55A2B;
    --slotsjuicehead1-orange-light: #FF8A65;
    --slotsjuicehead1-cream: #FFF8E1;
    --slotsjuicehead1-green: #2E7D32;
}

/* ===========================
   PREVENT HORIZONTAL SCROLLBAR - WIDGET SCOPED
   =========================== */
.elementor-widget-slotsjuicehead1 {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-width: 100% !important;
}

.elementor-widget-slotsjuicehead1 .elementor-widget-container {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-width: 100% !important;
}

/* ===========================
   HERO SECTION BASE
   Full-Width Mobile Layout with calc(-50vw + 50%)
   =========================== */
.slotsjuicehead1-hero-section {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 40%, #FF8A65 100%);
    padding: 2.5rem 1.25rem 3.75rem;
    position: relative;
    overflow: hidden !important;
    min-height: auto;
    height: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    box-sizing: border-box !important;
    border-radius: 0 0 1.875rem 1.875rem;
}

/* ELEMENTOR CONTAINER OVERRIDE - FULL WIDTH WITH calc(-50vw + 50%) */
.elementor-element .slotsjuicehead1-hero-section,
.elementor-widget-container .slotsjuicehead1-hero-section {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* ===========================
   32" DISPLAY FULL WIDTH
   =========================== */
@media (min-width: 1920px) {
    .slotsjuicehead1-container {
        max-width: 100% !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
}

/* ===========================
   FULL-WIDTH MOBILE LAYOUT WITH calc(-50vw + 50%)
   Edge-to-Edge Mobile Design Technique
   Breaks out of Elementor container constraints
   GPU-accelerated to prevent iOS Safari disappearing bug
   =========================== */
@media (max-width: 767px) {
    .slotsjuicehead1-hero-section {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 1.875rem !important;
        /* GPU acceleration to fix iOS Safari disappearing bug */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
        will-change: transform;
    }
    
    /* Extra mobile override for Elementor */
    .elementor-element .slotsjuicehead1-hero-section,
    .elementor-widget-container .slotsjuicehead1-hero-section {
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        border-radius: 1.875rem !important;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* ===========================
   ORGANIC JUICE WAVE SHAPES
   =========================== */
.slotsjuicehead1-has-blobs::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 43.75rem;
    height: 43.75rem;
    background: radial-gradient(circle, rgba(255, 248, 225, 0.15) 0%, transparent 65%);
    border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
    animation: slotsjuicehead1-morphBlob 8s ease-in-out infinite;
    pointer-events: none;
}

.slotsjuicehead1-has-blobs::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 34.375rem;
    height: 34.375rem;
    background: radial-gradient(circle, rgba(229, 90, 43, 0.2) 0%, transparent 70%);
    border-radius: 60% 40% 45% 55% / 55% 60% 40% 45%;
    animation: slotsjuicehead1-morphBlob 10s ease-in-out infinite reverse;
    pointer-events: none;
}

@keyframes slotsjuicehead1-morphBlob {
    0%, 100% {
        border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
        transform: rotate(0deg) scale(1);
    }
    50% {
        border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%;
        transform: rotate(5deg) scale(1.05);
    }
}

/* ===========================
   CONTAINER
   =========================== */
.slotsjuicehead1-container {
    max-width: 87.5rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding-left: 30% !important;
    padding-right: 2.5rem !important;
}

/* ===========================
   HERO CONTENT LAYOUT
   =========================== */
.slotsjuicehead1-hero-content {
    display: grid;
    grid-template-columns: 1fr 25rem;
    gap: 3.75rem;
    align-items: center;
}

/* Content starts from 30% */
.slotsjuicehead1-hero-text {
    position: relative;
    z-index: 3;
}

/* ===========================
   BREADCRUMB NAVIGATION
   =========================== */
.slotsjuicehead1-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.slotsjuicehead1-breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.3125rem 0.625rem;
    border-radius: 0.5rem;
}

.slotsjuicehead1-breadcrumb a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.slotsjuicehead1-breadcrumb span {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.slotsjuicehead1-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================
   MAIN TITLE - GOLDILOCKS ZONE
   =========================== */
.slotsjuicehead1-hero-title {
    font-size: 2.625rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.05rem;
    text-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.15);
}

.slotsjuicehead1-highlight {
    background: linear-gradient(135deg, #FFF8E1, #ffffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* ===========================
   FRESH BADGE - GOLDILOCKS ZONE
   =========================== */
.slotsjuicehead1-fresh-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.625rem 1.125rem;
    border-radius: 3.75rem;
    margin-bottom: 1.375rem;
    backdrop-filter: blur(0.9375rem);
    border: 0.125rem solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
    animation: slotsjuicehead1-pulseGlow 3s ease-in-out infinite;
}

@keyframes slotsjuicehead1-pulseGlow {
    0%, 100% {
        box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.2), 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
    }
}

.slotsjuicehead1-badge-icon {
    font-size: 1.25rem;
    animation: slotsjuicehead1-rotate360 4s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.slotsjuicehead1-badge-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

@keyframes slotsjuicehead1-rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.slotsjuicehead1-badge-text {
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.03125rem;
    text-transform: uppercase;
}

/* ===========================
   HERO DESCRIPTION - GOLDILOCKS ZONE
   =========================== */
.slotsjuicehead1-hero-description {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    max-width: 42.5rem;
}

/* ===========================
   JUICE BOTTLE ILLUSTRATION
   =========================== */
.slotsjuicehead1-juice-illustration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slotsjuicehead1-floatBottle 5s ease-in-out infinite;
}

@keyframes slotsjuicehead1-floatBottle {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-1.5625rem) rotate(3deg);
    }
}

.slotsjuicehead1-juice-bottle-container {
    position: relative;
    width: 17.5rem;
    height: 20rem;
}

/* ===========================
   JUICE GLASS/BOTTLE
   =========================== */
.slotsjuicehead1-juice-glass {
    width: 11.25rem;
    height: 16.25rem;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 139, 101, 0.4) 30%,
        rgba(255, 107, 53, 0.8) 100%
    );
    border-radius: 1.875rem 1.875rem 3.125rem 3.125rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 1.875rem 3.75rem rgba(255, 107, 53, 0.4),
        inset -0.625rem 0 1.875rem rgba(255, 107, 53, 0.3),
        inset 0.625rem 0 1.875rem rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(0.625rem);
    border: 0.1875rem solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

/* ===========================
   JUICE LIQUID BUBBLES
   =========================== */
.slotsjuicehead1-juice-glass::before {
    content: '';
    position: absolute;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    bottom: 20%;
    left: 20%;
    animation: slotsjuicehead1-bubbleRise1 4s ease-in-out infinite;
}

.slotsjuicehead1-juice-glass::after {
    content: '';
    position: absolute;
    width: 1.875rem;
    height: 1.875rem;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    bottom: 30%;
    right: 25%;
    animation: slotsjuicehead1-bubbleRise2 5s ease-in-out infinite;
}

@keyframes slotsjuicehead1-bubbleRise1 {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-5rem) scale(0.8);
        opacity: 0;
    }
}

@keyframes slotsjuicehead1-bubbleRise2 {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.25;
    }
    50% {
        transform: translateY(-6.25rem) scale(0.7);
        opacity: 0;
    }
}

/* ===========================
   STRAW
   =========================== */
.slotsjuicehead1-juice-straw {
    width: 0.5rem;
    height: 12.5rem;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.7) 100%
    );
    border-radius: 0.625rem;
    position: absolute;
    left: 65%;
    top: 5%;
    transform: rotate(15deg);
    box-shadow: inset -0.125rem 0 0.3125rem rgba(0, 0, 0, 0.2);
}

.slotsjuicehead1-juice-straw::before {
    content: '';
    position: absolute;
    width: 1.5625rem;
    height: 1.5625rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: -0.9375rem;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0.1875rem 0.625rem rgba(0, 0, 0, 0.2);
}

/* ===========================
   RESPONSIVE DESIGN - GOLDILOCKS ZONE SCALING
   =========================== */

/* Tablet Large (1199px) */
@media (max-width: 1199px) {
    .slotsjuicehead1-hero-section {
        padding: 2.1875rem 1.25rem 3.4375rem;
    }
    
    .slotsjuicehead1-container {
        padding-left: 25% !important;
        padding-right: 2rem !important;
    }
    
    .slotsjuicehead1-hero-title {
        font-size: 2.375rem;
        letter-spacing: -0.04375rem;
    }
    
    .slotsjuicehead1-hero-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .slotsjuicehead1-badge-text {
        font-size: 0.75rem;
    }
    
    .slotsjuicehead1-badge-icon {
        font-size: 1.125rem;
    }
    
    .slotsjuicehead1-badge-icon svg {
        width: 1.125rem;
        height: 1.125rem;
    }
    
    .slotsjuicehead1-hero-content {
        grid-template-columns: 1fr 20rem;
        gap: 2.8125rem;
    }
    
    .slotsjuicehead1-juice-bottle-container {
        width: 14.375rem;
        height: 16.875rem;
    }
    
    .slotsjuicehead1-juice-glass {
        width: 9.6875rem;
        height: 13.75rem;
    }
}

/* Tablet Small (1023px) */
@media (max-width: 1023px) {
    .slotsjuicehead1-hero-section {
        padding: 1.875rem 1.125rem 3.125rem;
    }
    
    .slotsjuicehead1-container {
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
    
    .slotsjuicehead1-hero-title {
        font-size: 2.125rem;
        letter-spacing: -0.0375rem;
    }
    
    .slotsjuicehead1-hero-description {
        font-size: 0.8125rem;
        line-height: 1.6;
    }
    
    .slotsjuicehead1-breadcrumb {
        font-size: 0.8125rem;
    }
    
    .slotsjuicehead1-fresh-badge {
        padding: 0.5625rem 1rem;
    }
    
    .slotsjuicehead1-badge-text {
        font-size: 0.6875rem;
    }
    
    .slotsjuicehead1-hero-content {
        grid-template-columns: 1fr;
        gap: 2.1875rem;
    }
    
    .slotsjuicehead1-juice-illustration {
        order: -1;
    }
    
    .slotsjuicehead1-juice-bottle-container {
        width: 13.125rem;
        height: 15.625rem;
    }
    
    .slotsjuicehead1-juice-glass {
        width: 9.0625rem;
        height: 13.125rem;
    }
}

/* Mobile (767px) */
@media (max-width: 767px) {
    .slotsjuicehead1-hero-section {
        padding: 1.5625rem 0.9375rem 2.8125rem;
        border-radius: 0 0 1.875rem 1.875rem;
    }
    
    .slotsjuicehead1-container {
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }
    
    .slotsjuicehead1-hero-title {
        font-size: 1.875rem;
        letter-spacing: -0.03125rem;
        line-height: 1.3;
    }
    
    .slotsjuicehead1-hero-description {
        font-size: 0.8125rem;
        line-height: 1.6;
    }
    
    .slotsjuicehead1-breadcrumb {
        font-size: 0.75rem;
    }
    
    .slotsjuicehead1-fresh-badge {
        padding: 0.5rem 0.875rem;
    }
    
    .slotsjuicehead1-badge-text {
        font-size: 0.625rem;
    }
    
    .slotsjuicehead1-badge-icon {
        font-size: 1rem;
    }
    
    .slotsjuicehead1-badge-icon svg {
        width: 1rem;
        height: 1rem;
    }
    
    /* Hide juice illustration on mobile */
    .slotsjuicehead1-juice-illustration {
        display: none;
    }
}

/* Small Mobile (479px) */
@media (max-width: 479px) {
    .slotsjuicehead1-hero-section {
        padding: 1.25rem 0.75rem 2.5rem;
        border-radius: 0 0 1.5625rem 1.5625rem;
    }
    
    .slotsjuicehead1-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .slotsjuicehead1-hero-title {
        font-size: 1.625rem;
        letter-spacing: -0.025rem;
        line-height: 1.3;
    }
    
    .slotsjuicehead1-hero-description {
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    .slotsjuicehead1-breadcrumb {
        font-size: 0.6875rem;
        gap: 0.5rem;
    }
    
    .slotsjuicehead1-fresh-badge {
        padding: 0.375rem 0.75rem;
    }
    
    .slotsjuicehead1-badge-text {
        font-size: 0.5625rem;
    }
    
    .slotsjuicehead1-badge-icon {
        font-size: 0.875rem;
    }
    
    .slotsjuicehead1-badge-icon svg {
        width: 0.875rem;
        height: 0.875rem;
    }
    
    /* Hide juice illustration on small mobile */
    .slotsjuicehead1-juice-illustration {
        display: none;
    }
}

/* ===========================
   ELEMENTOR EDITOR PREVIEW FIX
   =========================== */
.elementor-editor-active .elementor-widget-slotsjuicehead1 {
    min-height: 31.25rem;
    display: block !important;
    visibility: visible !important;
}

.elementor-editor-active .elementor-widget-container {
    min-height: auto;
}

.elementor-editor-active .slotsjuicehead1-hero-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 23.75rem !important;
}

