/* Split Screen Landing Page Styles */
.split-screen {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.section {
    position: relative;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

/* Background Handling */
.section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(40%) brightness(0.7);
    transition: transform 0.6s, filter 0.6s;
    z-index: 1;
}

.real-estate::before {
    background-color: var(--primary-blue);
    /* 图片加载前的背景色 */
    background-image: url('../images/real-estate.png');
}

.ramen::before {
    background-color: var(--primary-red);
    /* 图片加载前的背景色 */
    background-image: url('../images/photo3.jpg');
}

/* Content Layer */
.content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    transition: var(--transition-smooth);
}

.content h2 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 15px;
    letter-spacing: 0.3rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.content p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.jp-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 0.6rem;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Hover Interactions */
.section:hover {
    flex: 1.6;
}

.section:hover::before {
    filter: grayscale(0%) brightness(0.9);
    transform: scale(1.08);
}

.section:hover .content p {
    opacity: 1;
    transform: translateY(0);
}

/* Center Logo Overlay */
.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: #ffffff !important;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    border: none;
}

.branding-img {
    width: 120px;
    height: auto;
    mix-blend-mode: multiply;
}

.center-logo span {
    font-weight: 500;
    color: #666;
    font-size: 0.75rem;
    letter-spacing: 2px;
}

.center-logo .eight {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.branding-img {
    width: 70%;
    height: auto;
    object-fit: contain;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .split-screen {
        flex-direction: column;
    }

    .content h2 {
        font-size: 2.5rem;
    }

    .center-logo {
        width: 100px;
        height: 100px;
    }

    .center-logo .eight {
        font-size: 1.5rem;
    }

    .section:hover {
        flex: 1.2;
    }
}