/* 
 * Naya Çiçekçilik - Mockup Reconstruction
 * Exact 1:1 Implementation of the 2026 UI Design
 */

.mockup-hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #020406;
    /* overflow: hidden; Removed to allow flower spillover */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 40px;
    padding-top: 100px; /* Space for fixed header */
    z-index: 10;
}

/* Clean Background: Deep Space / Dark Silk */
.mockup-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020406;
    z-index: -2;
}

.glow-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130vw;
    height: 130vh;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.08) 0%, rgba(2, 4, 6, 0) 70%);
    filter: blur(100px);
}

.swirl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(53, 76, 114, 0.2) 0%, transparent 60%);
    opacity: 0.5;
    z-index: -1;
}

@keyframes rotateSwirl {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Floating Navigation Pills - Fixed Premium UI */
.nav-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 25px;
    border-radius: 100px;
    color: white;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.brand-pill {
    font-weight: 500;
}

.brand-pill img {
    height: 18px;
    filter: brightness(10);
}

.menu-pill {
    gap: 30px;
}

.menu-pill a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.menu-pill a:hover {
    color: white;
}

/* Header & Footer Nav Containers */
.mockup-nav-top {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.mockup-nav-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Center Content */
.mockup-center {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-bottom: 5vh;
}

/* Cinematic Title - Clean & Visible */
.mockup-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 7.5rem);
    /* Slightly smaller for elegance */
    font-weight: 400;
    font-style: italic;
    line-height: 0.85;
    letter-spacing: -2px;
    color: #FFFFFF !important;
    text-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
    z-index: 50;
    pointer-events: none;
    margin-bottom: -8vh;
    /* Tightened margin */
    opacity: 1 !important;
    /* Force visibility */
}

.mockup-main-title span {
    display: block;
    position: relative;
    opacity: 1 !important;
    /* Ensure children are visible */
}

/* The Flower Container - 3D WebGL Holder */
#lotus-3d-container {
    width: 100vw;
    /* Full width to prevent clipping */
    height: 900px;
    z-index: 5;
    cursor: grab;
    transform: translateY(0);
    /* Resetting for overflow freedom */
}

#lotus-3d-container:active {
    cursor: grabbing;
}

.mockup-flower-wrapper {
    position: relative;
    width: 100vw;
    height: auto;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -16vh;
    /* Further elevated */
    pointer-events: none;
    /* Let scrolls pass through if not on the canvas */
}

#lotus-3d-container canvas {
    pointer-events: auto;
    /* Enable interaction only on the 3D model */
}

.flower-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.12) 0%, rgba(2, 4, 6, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Center Call to Action */
.mockup-cta-btn {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 55px;
    border-radius: 100px;
    color: white;
    text-decoration: none;
    text-transform: capitalize;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.mockup-cta-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
}

/* --- Phase 3: Poetic Frames (Paralaks Hikayecilik) --- */
.poetic-frames-section {
    padding: 20vh 0;
    background: #020406;
}

.frames-grid {
    display: flex;
    flex-direction: column;
    gap: 15vh;
}

.poetic-frame {
    display: flex;
    align-items: center;
    gap: 100px;
    position: relative;
    padding: 0 5vw;
}

.poetic-frame:nth-child(even) {
    flex-direction: row-reverse;
}

.frame-media {
    width: 45vw;
    height: 70vh;
    overflow: hidden;
    position: relative;
}

/* Organic Geometric Masks */
.frame-1 .frame-media {
    clip-path: polygon(0 0, 100% 10%, 90% 100%, 5% 90%);
}

.frame-2 .frame-media {
    clip-path: polygon(10% 10%, 90% 0, 100% 90%, 0 100%);
}

.frame-3 .frame-media {
    clip-path: polygon(5% 5%, 95% 15%, 85% 95%, 15% 85%);
}

.frame-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.5s var(--transition-smooth);
}

.poetic-frame:hover .frame-img {
    transform: scale(1);
}

.frame-content {
    max-width: 400px;
}

.frame-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    opacity: 0.1;
    display: block;
    margin-bottom: -10px;
}

.frame-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -1px;
    line-height: 1.1;
}

/* --- Phase 3: Bento Atelier (Modern Sergi Alanı) --- */
.bento-atelier-section {
    padding: 15vh 0;
    background: #020406;
}

.bento-header {
    margin-bottom: 80px;
    text-align: left;
    padding: 0 5vw;
}

/* Bento Section Responsive Fixes */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .bento-big {
        grid-column: span 2;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-big,
    .bento-tall,
    .bento-small {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-card {
        min-height: 350px;
    }

    .bento-item:hover .bento-img {
        transform: scale(1.05);
    }

    .bento-info h4 {
        font-size: 1.5rem;
    }
}

/* Liquid Bloom Section */
.liquid-bloom-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 15vh 0;
}

.liquid-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.liquid-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
    transform: scale(1.1);
    transition: filter 0.8s var(--transition-smooth);
}

.liquid-bloom-section:hover .liquid-vid {
    filter: brightness(0.5) contrast(1.2);
}

.liquid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.liquid-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.liquid-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.liquid-title em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    color: var(--color-bloom-light);
}

.liquid-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.8;
    max-width: 500px;
    margin: 0 auto;
    font-weight: 300;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .liquid-bloom-section {
        margin: 8vh 0;
        height: 80vh;
    }

    .liquid-title {
        font-size: 2.8rem;
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 25px;
    padding: 0 5vw;
}

.bento-item {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.bento-big {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-small {
    grid-column: span 1;
}

.bento-card {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: all 0.6s var(--transition-smooth);
}

.bento-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(1);
    transition: all 0.8s var(--transition-smooth);
}

.bento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 4, 6, 0.8) 100%);
    z-index: 1;
}

.bento-info {
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0.8;
    transition: all 0.5s var(--transition-smooth);
}

.bento-cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    display: block;
    margin-bottom: 5px;
}

.bento-info h4 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 15px;
}

.bento-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 3px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s var(--transition-smooth);
}

/* Bento Hover Effects */
.bento-item:hover .bento-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.bento-item:hover .bento-img {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

.bento-item:hover .bento-info {
    transform: translateY(0);
    opacity: 1;
}

.bento-item:hover .bento-link {
    opacity: 1;
    transform: translateY(0);
}

/* Phase 3: Liquid Bloom (Immersive Video Break) */
.liquid-bloom-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.liquid-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.liquid-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    filter: brightness(0.7) contrast(1.1) saturate(1.2);
}

.liquid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.liquid-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
}

.liquid-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    margin-bottom: 30px;
    font-weight: 300;
}

.liquid-title em {
    font-style: italic;
    color: var(--accent);
}

.liquid-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Animations Trigger */
.fade-up-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--transition-smooth);
}

.fade-up-scroll.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Original Horizontal Re-style */
.gallery-horizontal-section {
    background: #020406;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Fixes - 2026 Premium Standards */
@media (max-width: 1024px) {
    .mockup-main-title {
        font-size: 14vw;
        margin-bottom: -5vh;
    }

    #lotus-3d-container {
        height: 600px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }

    .poetic-frame {
        flex-direction: column !important;
        gap: 40px;
        align-items: flex-start;
    }

    .frame-media {
        width: 100%;
        height: 50vh;
    }
}

@media (max-width: 768px) {
    .mockup-hero {
        padding: 20px;
    }

    /* Old nav removed - using standard header */

    .mockup-nav-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .mockup-main-title {
        margin-bottom: 2vh;
        font-size: 16vw;
        letter-spacing: -1px;
    }

    #lotus-3d-container {
        height: 500px;
    }

    .mockup-flower-wrapper {
        margin-top: 0;
    }

    .mockup-cta-btn {
        padding: 12px 40px;
        font-size: 0.85rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-big,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}