:root {
    --color-blue: #00335b; /* NOGA dark blue */
    --color-brown: #a08477; /* Dusty brown for COMING SOON */
    --bg-top: #ffffff;
    --bg-bottom: #f2efe9;
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Nunito', 'Assistant', sans-serif;
    overflow-x: hidden;
}

.facebook-icon {
color: #1877F2 !important;
}

.inst-icon {
    color: white;
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    border-radius: 25%;
}

.split-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.bg-top {
    height: 22vh; /* Splitting line precisely behind the characters */
    background-color: var(--bg-top);
}
.bg-bottom {
    height: 78vh;
    background-color: var(--bg-bottom);
}

/* Layout */
.main-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 3vh;
    height: 12vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-height: 120px;
    max-width: 80%;
    object-fit: contain;
}

.logo-text {
    font-size: 5rem;
    color: var(--color-blue);
    letter-spacing: 0.2em;
    margin: 0;
    font-weight: 900;
}

/* Hero & Text Banner */
.hero-section {
    position: relative;
    width: 100%;
    text-align: center;
    margin-top: 2vh;
    min-height: 250px;
}

.coming-soon-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12vw;
    position: relative;
}

.word {
    font-size: 10vw;
    color: var(--color-brown);
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    z-index: 2;
}

.subtitle {
    color: var(--color-blue);
    font-size: 1.8vw;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 40px;
    text-transform: uppercase;
    position: relative;
    z-index: 4;
}

/* Hebrew Adjustments */
.hebrew-banner {
    gap: 0;
}
.hebrew-banner .word {
    font-size: 11vw;
    z-index: 2;
}

.he-panda {
    /* Adjust center panda for Hebrew single word */
    transform: translate(-150%, -50%) !important;
}

/* Animations for Pandas */
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes floatUp {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -15px; }
}

@keyframes gentleSwing {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(3deg); }
}

/* Pandas */
.panda {
    position: absolute;
    pointer-events: none; /* Let clicks pass through if needed */
}

.center-panda {
    width: 22vw;
    max-width: 260px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -45%);
    z-index: 3;
    animation: floatUp 4s ease-in-out infinite;
}

.left-panda {
    width: 16vw;
    max-width: 220px;
    left: 2%;
    bottom: -15%;
    z-index: 4;
    transform-origin: bottom center;
    animation: breathe 3.5s ease-in-out infinite;
}

.right-panda {
    width: 16vw;
    max-width: 220px;
    right: 2%;
    top: -15%;
    z-index: 4;
    transform-origin: top right;
    animation: gentleSwing 5s ease-in-out infinite;
}

/* Video Section */
.video-wrapper {
    margin-bottom: 40px;
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 800px;
    background: #ffffff;
    padding: 25px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(160, 132, 119, 0.1);
}

.video-title {
    color: var(--color-brown);
    font-weight: 800;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.video-player-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.promo-video {
    width: 100%;
    display: block;
    cursor: pointer;
    outline: none;
}

/* Footer Section */
.site-footer {
    width: 100%;
    text-align: center;
    padding: 10px 20px 40px;
    z-index: 10;
    position: relative;
}

.extra-text {
    color: #00335b;
    font-family: 'Varela Round', 'Nunito', sans-serif;
    font-size: 1.3rem; 
    font-weight: 400;
    line-height: 1.6;
}

.extra-text p {
    margin: 6px 0;
}

.extra-text a {
    color: var(--color-blue);
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s ease;
}

.extra-text a:hover {
    opacity: 0.7;
}

/* Language Switcher */
.lang-switch {
    position: fixed;
    top: 25px;
    right: 30px;
    z-index: 100;
    display: flex;
    gap: 8px;
}

.lang-switch button {
    background: transparent;
    border: 2px solid var(--color-blue);
    color: var(--color-blue);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    font-family: inherit;
    transition: all 0.3s ease;
}

.lang-switch button.active, .lang-switch button:hover {
    background: var(--color-blue);
    color: white;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .word { font-size: 11vw; }
    .coming-soon-banner { gap: 15vw; }
    .center-panda { width: 28vw; }
    .subtitle { font-size: 2.8vw; }
    
    /* Adjust hero section and pandas to close gaps */
    .hero-section { padding-bottom: 50px; }
    .left-panda { bottom: -30px; width: 22vw; left: 5%; }
    .right-panda { top: auto; bottom: -20px; width: 22vw; right: 5%; }
    
    .bg-top { height: 20vh; }
    .video-wrapper { margin-top: 50px; }
}

@media (max-width: 600px) {
    /* Fix Banner Text Width so it doesn't cut off */
    .word { font-size: 10vw; }
    .coming-soon-banner { gap: 16vw; }
    .hebrew-banner .word { font-size: 13vw; }
    
    /* Adjust center panda */
    .center-panda { width: 32vw; transform: translate(-50%, -45%); }
    .he-panda { transform: translate(-100%, -45%) !important; }

.video-title { 
	font-size: 1.1rem;
	margin-bottom: 15px;
}
    
    /* Subtitle closer */
    .subtitle { font-size: 3.8vw; margin-top: 15px; }
    
    /* Fill empty space with pandas */
    .hero-section { padding-bottom: 60px; min-height: 150px; }
    .left-panda { width: 26vw; bottom: -50px; left: 5%; }
    /* Move right panda to the empty space on the right, mirroring the left panda */
    .right-panda { width: 25vw; top: auto; bottom: -30px; right: 5%; }
    
    /* Video and other adjustments */
    .logo-text { font-size: 3.5rem; }
    /* Reduce huge gap above video */
    .video-wrapper { padding: 15px; margin-top: 40px; margin-bottom: 30px; } 
    .lang-switch { top: 15px; right: 15px; }
    .bg-top { height: 16vh; }
    
    .site-footer { padding-top: 0; }
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icon {
    font-size: 32px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    opacity: 0.7;
    transform: scale(1.1);
}
