/* ==========================================================================
   Hero & Cinematic Sections (Living Forest & 2.5D Animations)
   ========================================================================== */

/* Ken Burns continuous zoom effect for immersive experience */
@keyframes kenBurns {
    0% { transform: scale(1) translate(0, 0); }
    50% { transform: scale(1.08) translate(-1%, -1%); }
    100% { transform: scale(1) translate(0, 0); }
}

.hero-section {
    background-color: var(--color-moss);
}

.parallax-layers {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    will-change: transform;
}

.layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* Forest Conceptual Intro */
.layer-1 { 
    background-image: url('https://images.unsplash.com/photo-1595183925765-b1a9f9316e6d?q=80&w=2000&auto=format&fit=crop'); 
    filter: brightness(0.6) contrast(1.1) saturate(0.9);
    animation: kenBurns 30s ease-in-out infinite;
}

.layer-2 { 
    background-image: url('https://images.unsplash.com/photo-1448375240586-882707db888b?q=80&w=2000&auto=format&fit=crop'); 
    opacity: 0.25;
    filter: blur(8px) brightness(0.4); 
    mix-blend-mode: overlay;
}

.layer-3 { 
    background: linear-gradient(to bottom, rgba(var(--color-moss-rgb), 0.5), rgba(var(--color-moss-rgb), 0.95)); 
}

.layer-4 { 
    background-image: url('https://images.unsplash.com/photo-1595183925765-b1a9f9316e6d?q=80&w=1000&auto=format&fit=crop'); 
    opacity: 0.12;
    mix-blend-mode: screen;
    filter: blur(15px);
}

.hero-text-container {
    position: relative;
    z-index: var(--z-content);
    text-align: center;
}

.hero-headline {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.15;
    color: var(--color-cream);
    text-shadow: 0 10px 40px rgba(0,0,0,0.6);
    font-weight: 400;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: var(--z-content);
    opacity: 0.7;
}

.scroll-text {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-cream);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold) 50%, transparent 50%);
    background-size: 100% 200%;
    animation: scrollLineAnimation 2.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes scrollLineAnimation {
    0% { background-position: 0 100%; }
    50% { background-position: 0 0; }
    100% { background-position: 0 -100%; }
}

/* Bean Section */
.bean-section {
    background-color: var(--color-moss);
}

.bean-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26vw;
    height: 26vw;
    min-width: 260px;
    min-height: 260px;
    z-index: var(--z-base);
    perspective: 1000px;
}

.bean-visual {
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1559525839-b184a4d698c7?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    box-shadow: inset -20px -20px 50px rgba(0,0,0,0.8), 0 30px 60px rgba(0,0,0,0.9);
    transform-origin: center;
    position: relative;
    filter: contrast(1.25) brightness(0.7);
    will-change: transform, opacity;
}

.bean-text {
    position: relative;
    z-index: var(--z-content);
    text-align: center;
    pointer-events: none;
    margin-top: 15vh;
}

/* Coffee Cup / Steam elements integrated into bean section */
.coffee-cup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    will-change: transform, opacity;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.coffee-cup {
    width: 280px;
    height: 280px;
    background-image: url('https://images.unsplash.com/photo-1507133750070-4ba3dfb03650?q=80&w=800&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8), inset 0 0 100px rgba(0,0,0,0.8);
}

.steam-svg {
    position: absolute;
    top: -100px;
    width: 180px;
    height: 240px;
    pointer-events: none;
}

/* REAL EXTERIOR SECTION */
.exterior-section {
    background-color: var(--color-moss);
}

.exterior-image-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: circle(0% at 50% 50%);
    will-change: clip-path;
}

.layer-exterior-main {
    background-image: url('../assets/images/exterior/exterior_main.jpg');
    filter: brightness(0.7) contrast(1.05);
    transform: scale(1.2);
    will-change: transform;
}

.exterior-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(var(--color-moss-rgb), 0.2), rgba(var(--color-moss-rgb), 0.9));
}

.exterior-text {
    position: relative;
    z-index: var(--z-content);
    text-align: center;
    pointer-events: none;
    margin-top: 10vh;
}

/* REAL INTERIOR SECTION */
.interior-section {
    background-color: var(--color-moss);
}

.interior-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.layer-entrance {
    background-image: url('../assets/images/exterior/entrance.jpg');
    filter: brightness(0.6);
    transform: scale(1.1);
    z-index: 1;
}

.layer-seating {
    background-image: url('../assets/images/interior/seating.jpg');
    filter: brightness(0.75);
    opacity: 0;
    transform: scale(1.2);
    z-index: 2;
}

.layer-counter {
    background-image: url('../assets/images/interior/counter_view.jpg');
    filter: brightness(0.7);
    opacity: 0;
    transform: scale(1.1);
    z-index: 3;
}

.interior-text {
    position: relative;
    z-index: var(--z-content);
    text-align: center;
    pointer-events: none;
}

/* Story Section */
.story-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    background-color: var(--color-moss);
    position: relative;
    z-index: 20;
}

.story-text {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.2vw, 2.8rem);
    color: var(--color-cream);
    opacity: 0.85;
    margin-top: 3.5rem;
    line-height: 1.45;
}
