/* css/dreamStudio.css */
.studio-page {
    background-color: #0f1015;
    height: 100%;
    width: 100%;
    position: absolute;
    padding-top: 90px;
    color: var(--text-light);
}

/* Sub Navigation Bar at the top of Studio Page */
.studio-sub-nav {
    height: 100px;
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: absolute;
    top: 90px; /* Di bawah header merah */
    left: 0;
    z-index: 40;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.sub-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888888;
    cursor: pointer;
    padding: 0 20px;
    height: 100%;
    box-sizing: border-box;
    transition: var(--transition-smooth);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    gap: 8px;
}

.sub-nav-icon {
    height: 28px;
    width: 28px;
    object-fit: contain;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.sub-nav-item.active {
    color: var(--ariston-red);
    font-weight: 700;
}

.sub-nav-item.active .sub-nav-icon {
    opacity: 1;
}

.sub-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--ariston-red);
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

/* Landing state inside studio */
.studio-landing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/builder/bg-simulator.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    z-index: 30;
}

.studio-landing-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40.5%;
    height: 72%;
    background-image: url('../images/builder/geometri.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Letakkan konten di bagian bawah geometri */
    padding: 0 60px 90px 75px; /* Padding bawah 90px untuk mengangkat konten, kiri 75px */
    box-sizing: border-box;
}

.studio-landing-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.25;
    color: #ffffff;
}

.studio-landing-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 45px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 480px;
}

.studio-landing-overlay .btn-primary {
    background: #ffffff !important;
    color: var(--ariston-red) !important;
    border: none;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
    padding: 18px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    width: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.studio-landing-overlay .btn-primary:hover,
.studio-landing-overlay .btn-primary.focused {
    background: #f5f5f5 !important;
    color: var(--ariston-red-hover) !important;
    transform: scale(1.03);
}

/* Designer Interface Grid */
.studio-grid {
    display: flex;
    height: calc(100% - 100px);
    width: 100%;
    margin-top: 100px; /* Di bawah sub-nav */
}

.studio-sidebar {
    width: 500px;
    background-color: #1a1c24;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
}

.studio-main {
    flex: 1;
    background-color: #0f1015;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.studio-preview-box {
    width: 100%;
    max-width: 1000px;
    height: 600px;
    border-radius: var(--radius-md);
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.studio-option-group {
    margin-bottom: 25px;
}

.studio-label {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    display: block;
}

.studio-select {
    width: 100%;
    background-color: #2b2e3c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    outline: none;
    cursor: pointer;
}

.studio-prompt {
    width: 100%;
    height: 120px;
    background-color: #2b2e3c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 15px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    resize: none;
    outline: none;
}

.studio-ai-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(211, 18, 42, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.studio-ai-desc {
    background: rgba(0,0,0,0.7);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    max-width: 1000px;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
    border-left: 4px solid var(--ariston-red);
}
