﻿/* Welcome Section Styles - Bambuk Studio inspired */
.welcome {
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

.flex-c {
    align-items: center;
    display: flex;
    justify-content: center;
}

.flex-v {
    display: flex;
    flex-direction: column;
}

.welcome-bg {
    backface-visibility: hidden;
    height: 110%;
    left: -5%;
    pointer-events: none;
    position: absolute;
    top: -5%;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: 110%;
}

.welcome-preloader {
    background: radial-gradient(circle at center, var(--Default-1000), var(--Default-1000) 100%);
}

.full-bg {
    inset: 0;
    position: absolute;
}

.container {
    -moz-column-gap: clamp(16px,1.042vw,20px);
    column-gap: clamp(16px, 1.042vw, 20px);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    max-width: var(--max-width);
    padding-inline: clamp(60px, 5.208vw, 100px);
    position: relative;
    width: 100%;
}

.welcome .container {
    height: 100%;
    padding: 0;
}

.welcome-button {
    align-items: center;
    align-self: center;
    cursor: pointer;
    display: inline-flex;
    grid-area: 1 / 8 / 2 / 13;
    height: clamp(80px, 8.594vw, 165px);
    opacity: 1;
    pointer-events: auto;
    position: relative;
    width: -moz-max-content;
    width: max-content;
    z-index: 10;
}

.welcome-button.loaded {
    pointer-events: auto;
    opacity: 1;
}

.welcome-text {
    align-self: center;
    color: var(--TypoWhite);
    filter: blur(50px);
    grid-area: 1 / 8 / 2 / 11;
    pointer-events: none;
    visibility: hidden;
    z-index: 2;
}

.welcome-panda {
    grid-area: 1 / 1 / 2 / 9;
    height: 100%;
    pointer-events: none;
    position: relative;
    transform-origin: bottom;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    z-index: 1;
}

.welcome-panda canvas {
    visibility: hidden;
    z-index: 1;
}

/* Button styles */
.welcome-button__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loaded {
    flex-direction: column;
    align-items: center;
}

.welcome-button.loaded .loading {
    display: none;
}

.welcome-button.loaded .loaded {
    display: flex;
}

.load-percents {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.welcome-button__icon {
    margin-top: 20px;
}

.circle {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.arrow {
    color: white;
}

/* Text styles */
.font-1--100 {
    font-size: clamp(48px, 5vw, 100px);
    font-weight: 100;
    line-height: 1.1;
    margin-bottom: 20px;
}

.font-5--32 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
}

/* Button styles */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn--primary {
    background: white;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    height: 100px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    border: 1px solid #b6ff7f;
    padding: 2rem;
    font-size: 12px;
}

.btn--large {
    padding: 20px 40px;
}

.btn-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.btn:hover .btn-circle {
    transform: scale(1);
}

.btn-text {
    position: relative;
    z-index: 2;
}

/* Logo styles */
.welcome-logo {
    grid-area: 1 / 1 / 2 / 3;
    align-self: start;
    padding-top: 40px;
}

.logo--white {
    color: white;
}

.main-logo {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

/* Hero section scroll behavior - make it fixed so content scrolls over it */
.minimal-hero {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

/* Ensure the rest of the content scrolls over the hero */
body {
    position: relative;
}

/* Add margin to the first section after hero to start content below the viewport */
.we-deliver-section {
    margin-top: 100vh;
    position: relative;
    z-index: 2;
    background: #ffffff;
}

/* Ensure all sections after hero have proper z-index */
section:not(.minimal-hero) {
    position: relative;
    z-index: 2;
}

/* Temporary fix to ensure scrolling works */
html, body {
    overflow-y: auto !important;
    overflow-x: hidden;
}

/* Ensure the pointer doesn't interfere with scrolling */
.custom-pointer {
    pointer-events: none !important;
}

.custom-pointer {
    background-color: #4c2381;
    border-radius: 50%;
    height: clamp(20px, 1.198vw, 23px);
    mix-blend-mode: difference;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transform-origin: center center;
    transition: width .6s cubic-bezier(.22,1,.36,1), height .6s cubic-bezier(.22,1,.36,1), opacity .6s cubic-bezier(.22,1,.36,1), background-color .6s cubic-bezier(.22,1,.36,1);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    width: clamp(20px, 1.198vw, 23px);
    z-index: 9999;
    align-items: center;
    display: flex;
    justify-content: center;
}

.hero-side-container{
    position: absolute;
    top: 15%;
    right: 10%;
}

/* CSS Variables for colors */
:root {
    --Default-1000: #000000;
    --TypoWhite: #ffffff;
    --max-width: 1440px;
}

/* Additional welcome section styles */
.welcome-bg {
    opacity: 0.8;
}

.welcome-gallo {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-gallo:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 150px;
    height: 150px;
}

.welcome-gallo:nth-child(2) {
    top: 60%;
    right: 15%;
    width: 180px;
    height: 180px;
}

.welcome-gallo:nth-child(3) {
    bottom: 20%;
    left: 20%;
    width: 120px;
    height: 120px;
}

/* Smooth transitions */
.welcome * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Button hover effects */
.welcome-button:hover .circle {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.welcome-button:hover .arrow {
    transform: translateY(2px);
}

/* Text animation */
.welcome-text h1 {
    animation: fadeInUp 1s ease-out 1.5s both;
}

.welcome-text .subtitle {
    animation: fadeInUp 1s ease-out 1.7s both;
}

.welcome-text p {
    animation: fadeInUp 1s ease-out 1.9s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@media screen and (max-width: 768px){
    .welcome-text {
        grid-area: 1 / 3 / 2 / 11;
        padding-bottom: 2rem;
    }
    .welcome-button {
        grid-area: 1 / 4 / 2 / 13;
    }
    
    /* Mobile scroll fixes - keep hero visible but allow scrolling */
    .minimal-hero {
        position: relative !important;
        height: 100vh;
        min-height: 100vh;
        overflow: visible;
    }
    
    .we-deliver-section {
        margin-top: 0;
        position: relative;
        z-index: 2;
    }
    
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden;
        position: relative;
    }
    
    .welcome {
        overflow: visible;
        height: 100vh;
        min-height: 100vh;
    }
    
    /* Ensure content flows naturally on mobile */
    section:not(.minimal-hero) {
        position: relative;
        z-index: 2;
    }
}