/* =========================================
   BRAND PITCH DECK & SCROLL PARALLAX
   ========================================= */

/* Floating Leaves Wrapper */
.parallax-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
    overflow: hidden;
}

/* Base leaf element – JS sets position, size, animation */
.floating-leaf {
    position: absolute;
    height: auto;
    opacity: 0;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.12));
    will-change: transform, opacity;
}

/* ─── Floating bob keyframes ─── */
@keyframes float-bob-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(4deg); }
}

@keyframes float-bob-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-5deg); }
}

@keyframes float-bob-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(3deg); }
}

/* Pitch Deck Sections */
.deck-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--card-bg);
    transition: background-color var(--transition-fast);
}

.bg-gradient-alt {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(255, 140, 0, 0.05) 100%);
}

[data-theme="dark"] .bg-gradient-alt {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(255, 165, 0, 0.03) 100%);
}

.deck-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.deck-grid.reverse {
    grid-template-columns: 0.9fr 1.1fr;
}

.deck-grid.reverse .deck-content {
    order: 2;
}

.deck-grid.reverse .deck-media {
    order: 1;
}

/* Content Elements */
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding: 6px 16px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-main);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Stats */
.deck-stats {
    display: flex;
    gap: 40px;
    margin-top: 35px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 5px;
}

/* Media Glow */
.img-glow-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.img-glow-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 40px rgba(255, 140, 0, 0.2);
    pointer-events: none;
}

.deck-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.deck-image:hover {
    transform: scale(1.03);
}

/* What We Do Cards */
.category-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.category-card-home {
    background: var(--card-bg);
    border: 1px solid var(--input-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.category-card-home:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.category-card-home h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-main);
}

.category-card-home p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.2s ease;
}

.category-card-home:hover .card-link {
    gap: 12px;
}

/* How We Do It List */
.how-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.how-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.how-list li i {
    color: #2ECC71;
    font-size: 1.2rem;
}

/* Rolling Bottle */
.relative-container {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rolling-bottle-wrapper {
    position: absolute;
    width: 200px;
    height: auto;
    z-index: 10;
    cursor: grab;
}

.rolling-bottle {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.25));
    transition: transform 0.1s ease-out;
}

/* Why Factor */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-item {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid var(--input-border);
    transition: all var(--transition-fast);
}

.why-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.why-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.why-item h4 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.why-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Section Header Helper */
.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .deck-grid, .deck-grid.reverse {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .deck-grid.reverse .deck-content {
        order: 1;
    }
    .deck-grid.reverse .deck-media {
        order: 2;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .relative-container {
        height: 350px;
    }
    .rolling-bottle-wrapper {
        width: 160px;
    }
    .section-title {
        font-size: 2.2rem;
    }
}

/* =========================================
   ROLLING BOTTLE BANNER STRIP
   ========================================= */
.rolling-banner-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
    background-color: var(--light-bg);
    overflow: hidden;
    padding: 60px 0;
    margin: 40px 0;
}

.banner-strip {
    width: 110vw;
    margin-left: -5vw;
    height: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    border-top: 2px solid rgba(255,255,255,0.2);
    border-bottom: 2px solid rgba(255,255,255,0.2);
    z-index: 2;
}

/* Orange banner – tilts left */
.banner-strip-orange {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
    transform: rotate(-2deg);
}

/* Green banner – tilts right */
.banner-strip-green {
    background: linear-gradient(90deg, #2e7d32 0%, #66bb6a 100%);
    box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
    transform: rotate(2deg);
}

.banner-text-marquee {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: marquee-scroll 25s linear infinite;
}

/* Reverse direction for green banner */
.banner-text-marquee-reverse {
    animation: marquee-scroll-reverse 25s linear infinite;
}

.banner-text-marquee span {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
    padding-right: 50px;
}

@keyframes marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marquee-scroll-reverse {
    0% {
        transform: translate3d(-50%, 0, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

.rolling-bottle-track {
    position: absolute;
    left: 0;
    width: 100%;
    height: 280px;
    pointer-events: none;
    z-index: 5;
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* Orange bottle track – top half */
.rolling-bottle-track-orange {
    top: 10%;
}

/* Green bottle track – bottom half */
.rolling-bottle-track-green {
    bottom: 10%;
}

.rolling-bottle-vertical {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
    will-change: transform;
    transform-style: preserve-3d;
}

/* ─── MOBILE: Hide floating fruits/leaves, keep bottle ─── */
@media (max-width: 768px) {
    .parallax-wrapper {
        display: none;
    }
}

/* =========================================
   GLOBAL PRODUCT TRANSFORMATION STYLES
   ========================================= */
.global-transformation-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.transformation-object-container {
    position: absolute;
    width: 180px;
    height: 280px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    will-change: transform;
}

.transform-img {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}

/* Stage 4 Bottle Wrapper */
.bottle-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.bottle-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 25px 40px rgba(255, 140, 0, 0.2));
}

.bottle-label-overlay {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 75px;
    overflow: hidden;
    pointer-events: none;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottle-logo-overlay {
    position: absolute;
    width: 90%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    z-index: 2;
}

.bottle-shimmer {
    position: absolute;
    top: -50%;
    left: -150%;
    width: 150%;
    height: 200%;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 45%, rgba(255, 255, 255, 0.45) 55%, transparent 65%);
    transform: rotate(20deg);
    animation: shimmer-swipe 4s infinite linear;
}

.liquid-wave {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255, 140, 0, 0.2) 100%);
    mix-blend-mode: overlay;
    border-radius: 0 0 10px 10px;
    animation: liquid-pulse 3s ease-in-out infinite alternate;
}

@keyframes shimmer-swipe {
    0% { left: -150%; }
    40% { left: 150%; }
    100% { left: 150%; }
}

@keyframes liquid-pulse {
    0% { transform: scaleY(0.9) translateY(4px); }
    100% { transform: scaleY(1.1) translateY(-2px); }
}

/* Hide on mobile screen size if viewport is too narrow */
@media (max-width: 768px) {
    .global-transformation-wrapper {
        display: none;
    }
}

